/srv/irclogs.ubuntu.com/2010/07/20/#ubuntu-arm.txt

godstarIve been at this for several hours. Anyone care to help me install Ubuntu on a ARM device?01:21
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== fta_ is now known as fta
=== lag is now known as Guest5966
=== Guest5966 is now known as lag_
=== fta_ is now known as fta
cooloneyrsalveti: need i connect the beagle to HDMI display to login the board?09:33
rsalveticooloney: not actually, only serial is enough09:34
cooloneyrsalveti: http://pastebin.ubuntu.com/466351/09:34
rsalveticooloney: just a moment, going there09:35
cooloneyrsalveti: i looks to me it hangs there09:35
cooloney*it looks09:35
lag_sebjan: ping09:37
sebjanlag_: pong09:37
lag_Hey sebjan09:45
lag_Do you deal with XM?09:45
sebjanlag_: hi Lee, no I haven't yet. Someday maybe?09:46
lag_So who's problem is it?09:46
ogralag_, go to #beagle and talk to koen, he should have working kernels09:46
lag_ogra: Who's koen? Is he with us?09:47
ograhe wors for TI and is the big beagle master09:47
ograhe is also angstrom upstream09:47
ogra*works09:47
lag_Nice one, thanks09:47
hrw;)09:52
hrwhttp://www.angstrom-distribution.org/demo/beagleboard/ will give you 2.6.32 for BB09:53
ograhrw, who is intrested in .32 nowadays :)09:54
ograwe dotn wnat spiderwebs and dust on our kernels :)09:54
amitkogra: that is state of the art in angstrom land ;)09:55
ograyeah09:55
ograthats why the ship a duster with the images, right ?09:55
hrwthat's what TI used internally09:55
amitkbut yeah koen is a nice dude to know related to beagle issue, lag.09:56
ograwell, we need patches for the maverick tree09:56
ogranot for hardy ;)09:56
hrwthere are few more people on #beagle with XMs09:57
hrwso maybe instead of waiting for _koen_ to appear better ask for XM kernel patches09:58
ograor look at rcn-ee's trees ;)09:59
ograsince his binaries seem to work fine09:59
ogra*and* are up to date09:59
hrwhttps://code.launchpad.net/~beagleboard-kernel/+junk/2.6.35-dev10:00
hrwyou mean that?10:00
=== lag_ is now known as lag
=== XorA|gone is now known as XorA
cwillu_at_workhrw, yep10:19
cwillu_at_workbinaries are available as well10:19
cwillu_at_workhttp://rcn-ee.net/deb/10:19
rsalveticooloney: your sd card reader is here, if you want to take it back :-)10:21
cwillu_at_workincidently:  rcn-ee, I've got patches to allow the re-use of the kernel tree, so you don't end up rechecking out (even from a local copy) multiple times, and which ends up making for far quicker compiles if possible10:21
cwillu_at_workto build_deb and company10:22
cooloneyrsalveti: yeah, thx for reminding.10:23
cooloneyrsalveti: but i failed to see any oops10:24
rsalveticooloney: with your kernel?10:25
rsalveticooloney: I remember that your kernel is installed on the sd card10:26
rsalvetiyou can try the 501, like I did yesterday10:26
rsalvetithen you can try to reproduce the issue10:26
rsalvetibecause it'll use the musb as module and load it as needed10:26
cooloneyrsalveti: ok, i understand.10:31
cooloneyrsalveti: $ ls10:34
cooloneyboot-35.scr  boot.scr  uImage  uImage.35  uImage-lucid  uInitrd  uInitrd.35  uInitrd-lucid10:34
cooloneyi got these files10:34
rsalveticooloney: probably if you just copy uI*-lucid for uI* it should run the 501 by default10:35
cooloneyrsalveti: ok, thx10:35
rsalvetiI remember I created these files to test 50110:35
cooloneyrsalveti: pls take a look at http://pastebin.ubuntu.com/466386/10:45
cooloneyrsalveti: i tried copy over uI*-lucid and uI*.3510:45
cooloneyrsalveti: and got that issue10:45
rsalveticooloney: just a sec10:46
cooloneyrsalveti: np10:46
lagcooloney: mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d ./initrd.img-* ./uInitrd10:50
ogralag, careful with wildcards ;)10:53
ograyou might have more than 1 ./initrd.img-* in that dir10:54
cooloneyrobclark: hdmi error: Failed to set PHY power mode to 011:08
ogracooloney, buy a better monitor11:10
NCommanderogra: http://paste.ubuntu.com/466397/11:13
cooloneyogra: i love my viewsonic at home11:13
* ogra is hapy with the samesung he has11:14
hrwogra: cheap chinese samsung fake clone?11:16
robclarkcooloney: hmm, ok, I get that 'PHY power mode' on my board too (but still monitor works)..11:18
cooloneyrobclark: oh, weird. need i bring my board for you ?11:19
robclarkcooloney: we can if you want...  I'm just installing meld to more easily diff the two dmesg txt files to see if I can spot some relevant difference11:19
cooloneyrobclark: yeah, i use meld heavily11:20
cooloneyrsalveti: if you can help to test Maverick on beagle for that OTG bug, it will be very helpful11:39
rsalveticooloney: yep, I'm just installing maverick, going to take a while but I believe it'll be ready for today ;-)11:40
cooloneysince i just checked th patches for musb driver, .34 lucid kernel missed lots of patches from current upstream11:40
cooloneybut those patches are in Maverick .35 kernel now. i think11:40
rsalveticooloney: yep, also noticed that11:41
cooloneyrsalveti: awesome, man, thx11:41
rsalvetinp11:41
robclarkcooloney: fwiw, your monitor is working now..  after letting it sit for a while11:41
cooloneyrobclark: really.11:41
robclarkI do see some different bits set in one of the hdmi irq status registers with your board...11:41
robclarkI'm trying to find what they mean.. maybe give some hint about the issue11:41
ograrsalveti, lp:~jasper-initramfs11:58
=== lag is now known as Guest14059
=== Guest14059 is now known as _lag
=== fta_ is now known as fta
ogralag_, http://gitorious.org/beagleboard-validation/linux/commits/beagleboardXM12:33
ograor rather http://gitorious.org/beagleboard-validation/linux12:34
rcn-eehey ogra, was reading #beagle, your guy's xm doesn't boot?12:34
ograrcn-ee, it boots but shows some opses12:34
ograrcn-ee, the worse part is that USB and the NIC dont work12:34
rcn-eethere's one oops for me.. the usart3 (i think there's a patch for that on l-o) but nic and usb work for me..12:34
ograthe oopses seem harmless (trying to probe uart3 and failing because it doesnt exist)12:35
rcn-eebut i also have the half memory version.. (you guys might have the 512Mb)12:35
lag_Hi rcn-ee12:35
rcn-eehi lag_12:35
lag_We've been waiting for you :)12:35
ograrcn-ee, well, we're using a pretty plain 2.6.35 mainline12:35
ograrcn-ee, so i suspect we miss some extra patches12:35
rcn-eeyeap me too.. here's what you need: http://bazaar.launchpad.net/~beagleboard-kernel/+junk/2.6.35-devel/files/head:/patches/xm/12:36
rcn-ee(most borrowed from sakoman)12:36
ogralag_, ^^^12:36
ogra:)12:36
rcn-eethe xm-dvi-ehci will fix the ehci..12:36
lag_I see :)12:37
lag_Do I need all 4 patches?12:37
ograthey seem to make sense12:38
rcn-eeyeah, all four.. most are just macro's which will be upstream eventually anayways..12:38
ograand dont look like they could cause regressions12:38
rcn-eenope, not for me atleast, same kernel is booting fine with no regressions on my bx's, cx's, xm, overo, igepv_2..12:39
ogracool12:40
* ogra needs to try the new gumstix board h just got12:40
=== sumits is now known as sumits|out
ograthough i guess the plain beagle MLO/u-boot wont work on it12:41
rcn-eeactually.. if you've bumped to 1.44ss and 2010-03 xm rev A support is included.. ;)12:41
ogralag_, btw, your panda install is done, want me to bring you the SD ?12:41
ograrcn-ee, yeah, XM is, we tested that already, (i'm still using 2010-03-rc though)12:42
lag_If you'd be so kind12:42
ograi just got one of the 512M gustix though12:42
lag_Well I'll apply and try to get them pushed into our kernel12:43
rcn-eeyeap, that one is fine.. 2010-03-rc was the first.. btw keep an eye on sakomon's tree, there might be some memory tweaks for the xm (512Mb revision)..12:43
ogragreat, i will12:43
rcn-eebtw, one thing odd about the xm's onboard lan, it comes up as a usbX device, which if you also have the gadget driver loaded it might confuse users (since that's usbx too) i've though about tweaking it to a normal 'ethX'...12:46
ograah, seems its the same HW as the panda has12:50
ograpanda alo has a usb012:51
ogra*also12:51
rcn-eeyeap the lan95xx, usb/eth hub..12:51
rcn-eeor wait, doesn't the panda have the smsc...12:51
ograyeah12:51
ograwith a good bunch of issues still12:52
rcn-eei just got my booting.. ;) no usb yet for me...12:52
ograyour panda ?12:52
rcn-eeyeap... ;)12:53
ograhttp://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-preinstalled/20100720.2/12:54
ogragrab the omap4.img.gz :)12:54
rcn-eewill do and give you some results12:54
ograjust dd it to an SD and boot (you need monitor, kbd, mouse attached)12:55
ogra(after gunzipping indeed)12:55
rcn-eei haven't posted much on #pandaboard, but have you guys forwared ported the u-boot patches to some less ancient?12:56
ograno, linaro is working on such stuff12:56
ograbut thats will likely still take a while12:56
ograi just took the panda branch from gitorious and made some changes to the defaults12:57
ogra(hush shell, script support and loading boot.scr by default form first mmc partition if it exists there)12:57
rcn-eei was kinda hoping for one kernel, but it doesn't look yet like you can share a non smp target with an smp one in arm yet.. (or my compiler is too old 4.3.1)13:00
tmztbecause of how cores are initialized?13:02
ograrcn-ee, there is work going on towards a unified oma kernel13:03
ogra*omap13:03
ograbut that will also still take a while13:03
ograwill probably hit the streets together with a unified u-boot version ;)13:03
NCommanderrcn-ee: also, very few devices are SMP ARM (panda is the only board I've seen with a multicore chip)13:03
=== fta_ is now known as fta
ograthere will be more soon13:04
ograisnt the tegra also SMP ?13:04
NCommanderogra: um, possibly?13:04
NCommanderno idea13:04
ograi think its A9 dual core13:04
lag_rcn-ee: Hi13:13
rcn-eehi lag_13:14
rcn-eeyeap the tegra is dual core...  otherwise it's still early for dual arm devices, the omap35/36 really didn't take off til a year after the beagle..13:16
lag_rcn-ee: Would you mind sending me a working kernel binary please? With USB and Eth working?13:16
lag_I would like to test it before my kernel compiles13:16
rcn-eeso maybe a year after the panda is released we will see some omap4 devices..13:16
lag_If it's not to much trouble13:16
rcn-eesure lag_ lucid or maverick?13:16
ogramavrick13:16
ogra+e13:16
lag_You have Lucid working on XM too?13:16
rcn-ee2.6.34 or 2.6.35.. (of course.. ;) )13:17
ogra.3513:17
lag_ogra: You have a big nose ;)13:17
ograhaha13:17
rcn-eelag_, http://rcn-ee.net/deb/maverick/v2.6.35-rc5-dl6/linux-image-2.6.35-rc5-dl6_1.0maverick_armel.deb13:17
rcn-eejust don't use a zippy2 on that, it's missing a patch that's in dl713:18
lag_So you downloaded our kernel, applied those 4 patches and everything sprung to life?13:18
lag_I don't even know what zippy is13:18
rcn-eeactually it's my own mainline +patches blend... config's are very similar..13:18
hrwrcn-ee: so far Ubuntu/Linaro people use plain BB - no extensions13:18
lag_He was a children's TV character when I was a kid :)13:18
cwillu_at_workI wuv my rcn-ee13:18
hrwI suppose that I am the only one in Linaro/Ubuntu team who has BB expansion board13:19
rsalvetiI got one zippy 2 here, but doesn't work by default, still have to apply some patches13:19
rsalvetimainly on rcn-ee tree, that got from angstrom13:19
cwillu_at_workrsalveti, zippy2's ethernet will leak memory without a patch13:19
rsalveticwillu_at_work: what patch?13:19
cwillu_at_worka 2 needed to be a 413:19
cwillu_at_workrcn-ee has it13:19
rsalvetioh, ok, I see it13:20
cwillu_at_workotherwise it'll leak about 2k every second or two while an ethernet cable is connected13:20
lag_That's the patch that ogra gave me and said it will make USB work, lol!13:20
rcn-eeyeap, and the beagle is building maverick's dl7 right now.. it's just no uploaded.. yet..13:20
cwillu_at_workslabtop -s s -> size-2048 will get into the 20,000 alloated range, and then everything will stop working :)13:20
ogralag_, i guessed :)13:20
lag_:D13:20
cwillu_at_workif you really need a binary with the patch in a hurry, I can send it to you13:20
ograwe rather need a working ubuntu kernel :)13:21
rsalvetiyep :-)13:21
cwillu_at_work... with btrfs compiled in :p13:21
hrwogra: binary which works can be used to test does lag's XM is working at all13:21
cwillu_at_worknone of this initramfs nonesense13:21
cwillu_at_work-e13:21
rcn-eecwillu_at_work, noticed there was more btrfs patches last night.. hopefully it gets in 2.6.35-rc6..13:22
ograhrw, well, we will just grab yours if lag_'s doesnt work :P13:22
cwillu_at_workoh, there's going to be lots of btrfs patches for the foreseeable future13:22
cwillu_at_workrcn-ee, if you really wanted to be my friend, you'd pull btrfs directly from git in patch.sh :)13:23
rcn-eeis it just usb/dss2 that's not working on the xm, those 4 from me will take care of it..13:23
hrwogra: mine? hah13:23
ograindeed yours :)13:23
rcn-eei thought about it... ;) since my builders will be free again in a couple hours..13:24
cwillu_at_workalso, did you want to look at the changes I made to build_deb.sh to make it re-use the build environment?13:25
rcn-eesure, cwillu_at_work i'd take a look at those tweaks..13:26
cwillu_at_workhttp://pastebin.com/rkgRsXnH13:28
cooloneyrsalveti: if the OTG port works, it is supposed to support a USB mouse connected with the USB mini connector you gave to me, right?13:28
=== sumits|out is now known as sumits
cwillu_at_workrcn-ee, patch isn't terribly clean, as your indentation is atrocious :p13:28
rsalveticooloney: without a powered hub, don't know13:28
cwillu_at_workrcn-ee, so what we do is...13:29
cooloneyrsalveti: i tried powered hub, the usb mouse doesn't work13:29
rsalveticooloney: I'll just test with maverick, rebooting...13:29
cooloneyrsalveti: cool13:29
rsalveticooloney: with 501?13:29
cooloneyrsalveti: with 501, if the oops shows up, the musb driver does not work at all13:30
cooloneyso the usb mouse won't work13:30
rsalveticooloney: yeah, only works when you don't get the oops13:30
cooloneyi never see the oops is gone with 501 kernel13:30
cwillu_at_worknever delete KERNEL, and only clone it if it doesn't exist already.  Then, before checking out a given version, we reset the working copy (which doesn't delete the partial files, so compilation will be quicker if appropriate), and then delete whichever branch we're about to create if necessary13:30
=== fta_ is now known as fta
rsalvetisometimes it does work13:30
rcn-eecool cwillu_at_work yeah the patch looks pretty clean and get what your doing.....  yeah it's indentation sucks big time, (damn editor)..13:30
cooloneyrsalveti: i still think we need to build in the modules and config the port as OTG13:31
cwillu_at_workwhat editor are you using?13:31
cooloneyrsalveti: currently, we just config it as host13:31
cooloneynot OTG13:31
rcn-eegedit and my left pinky... so it's mostly me to blaim.. ;)13:31
cwillu_at_workgedit isn't that bad Lo13:31
cwillu_at_work:p13:31
cwillu_at_workI do have some sanity plugins for it though13:31
cwillu_at_work(hippy text completion, incremental search improvements, an interesting take on code folding (which is a bit crashy), automatic session save and restore, etc13:32
cwillu_at_work(the code folding hide everything except for lines containing the word under the cursor, or the selected text, or the currently searched-for text13:34
tmztfolding?13:34
cwillu_at_workhides, rather13:34
tmztoh, not like msvs13:35
cwillu_at_worktmzt, that's traditional code folding13:35
cwillu_at_workwhich I never had much use for13:35
rsalveticooloney: oh, ok13:41
rcn-eeit's scary some questions people ask for their thesis work.. ;)13:42
cwillu_at_workI think I hate quilt13:51
hrwquilt is nice13:52
cwillu_at_workyes, but how the hell do you set it up the first time?13:52
cwillu_at_workit's not putting patches into debian/patches, and quilt setup doesn't have any place to say where I want them13:52
hrwQUILT_PATCHES=$PWD/debian/patches ?13:57
hrwand xport it13:57
=== fta_ is now known as fta
persiaThere's a lovely little .quitrc in /usr/share/doc/quilt that automates that bit.14:00
cwillu_at_workso a quilt'ed source package still requires a random environmen...14:00
cwillu_at_workit'd be nice if that was documented in dpkg-source :p14:00
hrwcwillu_at_work: do I force you to use quilt? patch is easy to use...14:00
cwillu_at_workhrw, I need an old inkscape version compiled for arm, and although there's no patch or series set up, it's complaining14:01
* cwillu_at_work continues grumbling14:01
cwillu_at_workbut if I understand correctly, a quilt'd source package doesn't actually work with quilt until you've set that environment variable?14:02
hrwI assume "dpkg-source -x package.dsc; cd package-*;debuild -b"14:03
cwillu_at_workdpkg-buildpackage you mean? :p14:04
hrwprefer debuild as it keeps build log for me14:04
hrwunless I need to pass env vars which debuild clears14:05
cwillu_at_workand you should be able to quilt new <patch>; quilt edit <file>; dpkg-buildpackage, and not have to quilt pop -f?14:05
cwillu_at_workwas complaining about the patch (that it just made) not unapplying cleanly14:06
cwillu_at_workwhich is inane, but probably my fault14:06
cwillu_at_workgrumble?14:07
ogracwillu_at_work, https://wiki.ubuntu.com/PackagingGuide/PatchSystems14:13
cooloneyrsalveti: i boot once without the oops and usb mouse + usb hub + external power works.14:13
rsalveticooloney: yeah, that happens sometimes14:13
rsalvetircn-ee: do you know why you're applying the fifo-mode patch for musb?14:17
rsalvetichanging the fifo mode14:18
cwillu_at_workogra, thanks;  it looks like the source of my grief is that the source package was slightly malformed14:25
cooloneyrsalveti: i am building a kernel which enable the debug in musb otg driver14:41
rsalveticooloney: ok14:41
rsalvetithat can help14:41
=== fta_ is now known as fta
laghrw: Are you still about?14:55
hrwlag: Chopin/Linaro room14:56
laghrw: My hardware is plugged in :)14:58
hrwfew minutes ok?14:58
hrwlag: sakoman_ is present in #pandaboard14:59
lagI saw15:00
=== fta_ is now known as fta
=== JaMa is now known as JaMa|Off
=== vincent is now known as Guest64843
=== fta_ is now known as fta
=== JamieBen1ett is now known as JamieBennett
=== Termana_ is now known as Termana
=== XorA is now known as XorA|gone
=== fta_ is now known as fta
hrwre17:56
=== fta_ is now known as fta
rcn-eersalveti, errata.. the omap34/omap35 musb memory is actually 4kb not 8kb which is what fifo=4 is setup for.. bug check: transfer 2GB from two high speed devices on the musb bus (harddrive, eth) and run md5sum, they'll mismatch..  last i heard the musb guys were going to apply the fifo based on board-device.c18:57
rcn-eebut right now it isn't a per device setting and just a global one..18:58
rsalvetircn-ee: oh, ok, makes sense now18:58
rsalveticool, thanks18:58
rcn-eewe ran into more often in the bx days.. but with good ehci ports no one notices it any more.. ;)18:58
rsalvetircn-ee: I'm also looking at the micrel and zippy patches, do you know if any of those are proposed upstream already?18:59
rsalvetior you're just basically maintaining at your patch tree18:59
rsalvetircn-ee: nice to know, going to test it here18:59
rcn-eethey are atleast from micrel, but the netdev maintainers keep shooting them down.. ;)18:59
rsalvetitrying to make the otg port to work with default ubuntu kernel18:59
rsalvetidon't know why it's not working correctly19:00
rcn-eei just keep forward porting and testing them on my self (since we sell zippy boards at digikey)19:00
rsalvetircn-ee: haha, ok :-)19:00
rcn-eei still think it's a config issue. take a look at my defconfig, i'm running bx's with usb hardrives on the musb port...19:00
rsalvetircn-ee: yep, that's what I'm checking now19:01
rsalvetijust installed your latest kernel and it worked fine19:01
rcn-eegood to hear, i try to keep it pretty in sync with ubuntu's config options just to keep me 'sane'... but main things i'm currently working on dspbridge and panda integration in the same kernel..19:03
hrwigep suxx19:04
rsalvetihrw: why? :-)19:04
rcn-eeyeah why, it's slightly faster then my C4 board at gcc bootstrap? ;)19:04
hrwthe one which steve brought has something with mmc - but some of you already know that19:05
armin76hrw: i can talk bad about a beagle which hanged from time to time :)19:09
hrwarmin76: beagle or beagleboard?19:09
armin76beagleboard19:09
armin76is there a beagle?19:10
hrwthere was19:11
hrwfew years ago netherlands company had a linuxpda with that name19:11
hrwnever got to the market but was shown in few places and was supported in openembedded19:11
rcn-eersalveti, one note on the micrel patches too..  Wireing up with the buddy= variable most of that came from Koen, it works quite well for detecting the zippy1/2 boards on boot and loading the correct drivers.  I'm working with someone too add an 'lcd' module and will use a simlar setup..19:12
rcn-eenone of that is upstream, so who knows if it'll be excepted..19:12
rsalvetircn-ee: yep, also just noticed that19:13
rsalvetifirst time I get a zippy on my hands19:13
rcn-eeit makes a prety big mess of beagle.c file. ;)19:13
rsalvetizippy219:13
rsalveti:-)19:13
rcn-eethey are actually 100% identical except the eth spi device..19:13
rsalvetiyep, but you need the correct id in order to load the correct driver19:14
hrw[   42.668029] mmci-omap-hs mmci-omap-hs.0: Failed to get debounce clock19:14
hrw[   42.781280] mmci-omap-hs mmci-omap-hs.1: Failed to get debounce clock19:14
rcn-eeyeap, and the first big shipment of zippy2's we got in march? had the zippy1 setting on the i2c bus. ;)19:14
rcn-eeit's simple to reprogram, but it's faq #1 on them..19:15
rsalvetircn-ee: hehe, mine also seems to be with the wrong id19:15
rsalvetiyep19:15
ssvbhrw: but at least it is probably not igepv2 design defect, but just one broken board? unlike USB on beagleboards older than rev C4...19:15
rcn-eetill you reprogram it, just force buddy=zippy2 in your boot.scr19:16
rsalvetircn-ee: do I need any jumper to disable the write protection?19:16
hrwssvb: yep19:17
rcn-eeyeap.. (crap i need one at home)19:17
hrwssvb: my c3 bb works quite good with extra capacitor added19:17
* cwillu perks up19:19
rcn-eecwillu, your patch works good, defintelly speeds it up. now i can't get my coffee. ;)19:20
cwillu:)19:21
rsalvetircn-ee: hm, jp 119:21
cwilluya, I was actually shocked how much faster the system was even shortly after a reboot19:22
rsalvetineeds to find a jumper around19:22
cwillursalveti, yes19:22
cwilluI just use an alligator clip19:22
rcn-eesteal it from one of the freescale boards, they always have extras.. ;)19:22
rsalvetiyeah, will try to find something to connect the pins :-)19:22
rsalvetioh, good idea :-)19:22
cwillurcn-ee, my rootstock image programs x-load/u-boot to nand, updates the eeprom if it hasn't been already, and a few other odds and ends automatically :)19:22
cwilluI can go from source to a burned sd card, and then booting a beagle and programming the zippy and such under 30 minutes :)19:23
cwilluit's been a good week :)19:23
rcn-eeyeah, i think it would be a good idea to put up a eeprom script for new zippy2 owners..19:23
cwillusec, let me grab it19:24
cwilluit's a single upstart job19:24
rsalvetiit'd help a lot, for sure19:24
cwilluit'll try each boot until it succeeds19:24
rcn-eethat might be overkill..  if your zippy2 is detected as a zippy1 run this script19:24
cwillursalveti, rcn-ee, fixups.conf19:25
cwillufixups.conf19:25
cwillu...19:25
cwilluhttp://pastebin.com/FjyjvdSN19:25
cwillumiddle click wasn't working :p19:25
cwilluthat's basically all the upstart script is anyway19:26
hrwok, one hour passed - igep goes back to the box19:26
* hrw -> movie19:26
rcn-eeyeap that script looks good and will do it..19:27
cwillurcn-ee, there was a cool looking auto-edid patch that I want to experiment when I get back too19:27
cwillui.e., detecting monitor resolution at boot19:27
cwilluhere's a question:  how long does it usually take rootstock to run?19:27
rcn-eethat would be very useful, i've thought of it a couple times, the drm layers has all the good edid stuff nowdays..19:28
rcn-eeit locks up for me in 25 minutes (maverick alpha-2+) at ldconfig or somethign19:28
cwilluheh19:28
cwilluyou guys are still on a full qemu vm?19:28
rcn-eethat one yes.. otherwise 3-4hours on my beagle..19:29
cwilluI really should figure out who needs which patches :)19:29
cwillurcn-ee, I have a finished image in 21 minutes19:29
rsalveticwillu: I'll try to change it to use full vm just for user19:29
rsalvetias root you can easily do most of the steps on user mode emulation19:29
rcn-eei still tar it up, which kills the poor beagle..19:29
rsalvetias you're doing it already19:29
cwilluyep19:29
rsalvetijust have to find some time during this week19:29
rsalvetiwill also try to push the native rootstock stuff19:30
rsalvetito run it at an arm board19:30
cwilluI'm just outputting a tarball;  I have separate mkcard script which actually writes the image / creates an image file if desired19:30
rcn-eebtw, just resynced my rootstock on arm patch on top of rootstrock trunk: http://bazaar.launchpad.net/~beagleboard-kernel/+junk/image-builder/annotate/head:/patches/native-arm.diff19:30
cwilluI'm going to be out of town till friday, but then I'm hoping to take some time off19:30
rsalvetircn-ee: nice, will take a look at it later19:31
lapadahi, my keyboard  and mouse drivers are not loading so i can not operate, can any one please tell me what could be the issue..?19:31
rsalvetiI'm at prague, so most of the time we're just discussing and debugging stuff, hard to find time for real coding19:31
rcn-eei haven't tested it yet, that node has been building kernels, but it's a forward port of my previous stuff.19:31
cwillulapada, 2.6.35 kernel?19:31
cwillulapada, you're missing a patch, and you actually don't have _anything_ that uses modules19:32
lapadadont know19:32
cwillulapada, easiest answer would be to drop back to 2.6.34, or to use the very latest rcn kernel19:32
cwilluor it might be something else entirely :p19:32
lapadait is from the image of ubuntu site19:32
rsalvetircn-ee: yep, just changed the config file and the musb is now working beautifully19:32
lapadalucid 10.0.419:32
cwilluah, no idea then :p19:32
rcn-eersalveti, good to here.19:33
rsalvetircn-ee: but will probably have the fifo bug, will also test that later19:33
lapadaI am following this procedure https://wiki.ubuntu.com/ARM/BeagleNetbookInstall19:34
rcn-eersalveti, for the fifo bug you can use this for justification.. http://www.spinics.net/lists/linux-omap/msg29025.html19:34
lapadabut when in installer screen no keyboard nor mouse responds19:34
rcn-eeactually this one is the original. (it was tweaked in that last post) http://www.spinics.net/lists/linux-usb/msg25777.html19:35
cwillulapada, what version of the beagle?19:35
cwilluand which usb port are you using?19:35
lapadarev c419:35
cwilluand the ehci port (the big one) or musb (the small one next to the power cable)19:35
cwillu?19:35
rsalvetircn-ee: nice, thanks a lot19:35
lapadathe big one19:36
rcn-eeyeap no problem, personally fought that bug for a good 3-4 months.. (i think i was the first to run big harddrives and ethernet adapters on the original bx's)19:36
lapadawith a hub connected19:36
cwillunot sure, sorry19:38
rcn-eelapada, is it a powered usb2.0 hub? does it help if you unplug and replug?19:39
rsalvetihm, hungry, will try to get something to eat around and will be back soon19:39
cwillusleepy, back in a few days :p19:39
lapadait is not a powered hub, but the power source of beagleboard can handle19:39
lapadaand besides already used the same hub with android distribution19:40
rcn-eeehh.. lapada back in the 2.6.29 days which is what most android for beagle uses, it kinda worked...  but wasn't suppost to..  i'd really get a powerd hub...19:40
lapadaok, I think I can get one19:42
lapadabut, any other idea if the problem isnt the hub?19:42
=== fta_ is now known as fta
=== fta_ is now known as fta
=== JaMa|Off is now known as JaMa
=== fta_ is now known as fta
lapadaone little doubt22:14
lapadaafter installing ubuntu lucid on beagleboard, after complete 100%, I get just a purple screen, after waiting a while I removed the sd card and booted the bb, but no ubuntu at all!!!!!!!!22:34
lapadaI receive the message:       ERROR: can't get kernel image!22:35
lapadawhat should I do?22:35
rsalvetilapada: how did you actually install it?22:36
lapadaform the ubuntu site I used the ubuntu-10.04-netbook-armel+omap.img22:38
hrwnetbook image on normal beagleboard? insane22:39
lapadaused the image writer to write to the sd card22:39
lapadaboot the beagleboard with the sd card and complete the installation of ubuntu 10.0.422:40
lapadahttps://wiki.ubuntu.com/ARM/Beagle22:40
lapadathe problem is I completed the installation, till finish 100%22:41
rsalvetihm, didn't try lucid myself but GrueMaster tested a lot, for sure22:42
lapadabut when restarting beagleboard it says https://wiki.ubuntu.com/ARM/Beagle22:42
lapadaops22:42
lapadabut when restarting beagleboard it says ERROR: can't get kernel image!22:42
rsalvetiit should just put the uImage and uInitrd on nand, set the boot.scr and reboot it22:43
rsalvetilapada: when do you get this error, at the bootloader?22:43
lapadayes22:43
rsalvetiit could be that your uboot is not reading the boot.scr, for some reason22:43
rsalvetilapada: can you paste the full uboot log for me?22:44
lapadaI will try22:44
rsalvetihrw: I'm testing maverick on a c4 and it's working quite well actually22:44
rsalvetilots of bugs still, but getting better22:44
rsalvetibootchart is installed by default, so the boot is slower than it should22:44
lapada    NAND read: device 0 offset 0x280000, size 0x400000                                4194304 bytes read: OK                                                          Wrong Image Format for bootm command                                             ERROR: can't get kernel image!22:46
lapadathe ubuntu is installed in the usb pen drive22:47
rsalvetitry to get at the bootloader (just press any button while booting) and run the following commands:22:47
rsalvetimmc init22:47
rsalvetifatload mmc 0 0x82000000 boot.scr22:48
rsalvetisource 0x8200000022:48
lapadaubuntu is booting22:51
lapadabut I guess it is the installer..22:51
lapadayep, the installer again22:52
lapadaisn't booting by22:52
lapadaisn't booting by usb22:53
rsalvetilapada: just remove your sd card, see if it works22:53
rsalvetiif you installed it at the usb, than it should boot fine22:53
lapadabut it is NOT!!!!22:54
lapadaNo MMC card found22:56
lapadaBooting from nand ...22:56
lapadaNAND read: device 0 offset 0x280000, size 0x40000022:56
lapada 4194304 bytes read: OK22:56
lapadaWrong Image Format for bootm command22:57
lapadathats it22:57
lapadaERROR: can't get kernel image!22:57
rsalvetiit seems that your uboot env is loading the script as it should, and if when loading it, for some reason it's probably setting the root partition to /dev/mmcblk0p2 instead of the usb one22:58
rsalveti*is not22:58
rsalvetiI should get some sleep :-)22:58
lapadait makes sense22:59
lapadahow can I change this?22:59
lapadapls dont sleep23:00
rsalvetilapada: to change the uboot env you just need to set up the correct arguments, or flashing/updating it to have the default behavior23:00
rsalvetinow to change the boot.scr you'd need access to the nand partition23:00
rsalvetiyou can try to set up the bootargs by hand and try to booting the rootfs from your usb23:01
rsalvetiand after booting it, you can mount the nand partition and fix the boot.scr by hand23:01
rsalvetifatload mmc 0:1 0x80000000 uImage23:02
rsalvetifatload mmc 0:1 0x81600000 uInitrd23:02
rsalvetisetenv bootargs  ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 root=/dev/sda1 fixrtc console=ttyS2,115200n823:02
rsalvetibootm 0x80000000 0x8160000023:02
rsalvetilapada: try this after pressing some button and getting into the uboot command line23:03
lapadai'm back23:06
pcacjr_<rsalveti> I should get some sleep :-)23:06
pcacjr_i'm sure you should23:06
lapadawaaaaaaaait23:06
lapadaI was disconnected23:06
lapadacan you send those commands again23:07
lapadafatload...23:07
pcacjr_fatload mmc 0:1 0x80000000 uImage23:07
pcacjr_atload mmc 0:1 0x81600000 uInitrd23:07
pcacjr_ setenv bootargs  ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-16@60 root=/dev/sda1 fixrtc console=ttyS2,115200n823:07
pcacjr_bootm 0x80000000 0x8160000023:07
pcacjr_enjoy23:07
rsalvetiyep, but actually this should try to load from the first sd partition, and not nand23:08
rsalvetifor lucid the kernel should be in nand, just maverick that gets it installed at the sd card23:08
pcacjr_rsalveti, then he should change to the proper partition23:09
rsalvetiargh, need to get this boot.scr from lucid23:09
pcacjr_would it be /dev/mmcblk0px ?23:10
rsalvetipcacjr_: this is for the sd, on linux23:10
rsalvetibut he first needs to load the uImage and uInitrd from nand, put it on memory, setup the correct arguments and load the images23:10
* pcacjr_ nods23:10
rsalvetiso he can actually boot the board23:10
pcacjr_i see23:10
lapadaprobably23:11
pcacjr_so would he have the rootfs on eMMC ?23:11
rsalvetilet me check the flash-kernel package from lucid23:12
rsalvetipcacjr: on usb23:12
lapadaand now I go sleep23:12
lapadathanks all23:12
pcacjr_lapada, cya23:13
pcacjr_rsalveti, ok23:13
=== kmargar is now known as markos_

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!