/srv/irclogs.ubuntu.com/2010/04/14/#ubuntu-arm.txt

andrukIf I use u-boot to configure my beagleboard to use SPI, will the stock Ubuntu kernel pick up on the device?  where will it show up in /sys/?02:37
rcn-eeandruk, those u-boot spi setting in 2010-03 are still in their infancy..  I'm not even sure if Angstrom's 2.6.32-psp kernel does that either...03:06
andrukrcn-ee: oh, okay.  so, to adjust the SPI settings in the kernel, I just need to get the source from https://code.launchpad.net/~beagleboard-kernel/+junk/2.6-stable ?  will it be blindingly obvious how to compile a new kernel?03:17
rcn-eeandruk,  you have a zippy1 right?03:17
andrukrcn-ee: nope, just a vanilla bb03:18
rcn-eeah yes, i remember now, you were just wanting to get "spidev" to work...  this patch works: http://elinux.org/BeagleBoard/SPIPatch-2.6.3203:19
rcn-eeall you need to do is "bzr branch" the 2.6-stable... add that patch anywhere in the patch dir, then add a "patch -p1 -s < ${DIR..etc" to patch.sh then run build_kernel.sh...  ALl you need is CC defined in system.sh03:20
rcn-eesomething like this: http://pastebin.com/hZd2XLu6  (had it saved in my temp since our last conversation)03:23
rcn-eeandruk, if it actually works for you and your spi devices work, I'll rework the patch and actually commit it...03:25
andrukrcn-ee: so, is that a patch for patch.sh?03:55
andrukrcn-ee: the pastebin link, I mean03:55
rcn-eeyeah, it's a patch for patch.sh and it adds the SPIPatch-2.6.32.diff file...03:55
andrukrcn-ee: patch unexpectedly ends in middle of line (\n) patch: **** malformed patch at line 240:04:07
rcn-eeyeap, noticed that too...  (my cable modem is very slow tonight) fixing as we speak..04:08
rcn-ee2nd try the charm: http://pastebin.com/5SDB3ZKC  just do a "bzr diff > remove.diff" "patch -p0 -R < remove.diff" then "patch -p0 < newpastebin"04:14
andrukso, this is what patch.sh should look like (check near the bottom): http://pastebin.com/YgATCjdJ    and this is what patches/spi/SPIPatch-2.6.32.diff should look like: http://pastebin.com/h2LJgJK3    right?04:21
rcn-eeit looks like you still have the old one, the source was different around: static void __init omap3_beagle_init(void)04:24
andrukoh, kay04:24
rcn-eeand that was what was causing the patch to stop...04:24
andrukuhoh...same error around line 238 this time04:29
andrukrcn-ee: ping04:33
rcn-eevery weird... well i don't want to break 2.6-stable till tomorrow, so i just pushed it to another tree, that change is here: "bzr branch lp:~beagleboard-kernel/+junk/2.6-stable-spi"04:33
andrukrcn-ee: you are too kind for a faltering noob like me04:35
andruk:-)04:35
rcn-eelaughs, we are all noob's here.. wait till i finally figure out git, then force everyone to git clone my tree.. ;)04:35
=== jldugger is now known as pwnguin
andrukrcn-ee: is there anything i need to do for Kconfig?04:58
rcn-eeno, the mcspi method is on by default...  the only thing you need to worry about for the Kconfig is if your running for lucid or (all the others)  IS_LUCID define in system.sh takes care of that...04:59
andrukrcn-ee: cool.  thanks.05:02
andrukfuck...05:02
andrukrcn-ee: http://pastebin.com/L0HdENxz05:05
rcn-eelaughs, i think i know the bug you see...  Use this uImage and Modules i built last time: http://rcn-ee.homeip.net:81/dl/testing/spidev/05:05
rcn-eeheading to bed, i'll dig up why it didn't work in the 2.6-stable tree tomorrow..  the one i posted above was from last week when we were talkign about it, not sure if  i have the whole patch anymore...05:07
andrukrcn-ee: :-/ okay thanks for you help!05:08
DanaGhmm, is plymouth going to be used on ARM?  Or rather, present tense, is it used on ARM?07:38
DanaGOn any system with serial console (in addition to local tty0), Plymouth refuses to show the splash screen.07:39
DanaGhttp://users.csc.calpoly.edu/~dgoyette/amtterm.log -- this is from my host system.07:39
ograplymouth is a dependency of mountall, so yes, its on all ubuntu systems now07:40
DanaGBummer it's not usable with serial console. :(07:41
DanaG'I would expect to see splash on tty0 and messages on ttyS0.;07:42
* ogra has that here07:43
ograwith plymouth07:43
DanaGhmm, maybe I should try putting back "quiet"... but that gets rid of messages on serial console, too.07:45
ograamitk-afk, with the new kernel it hangs but without OOPS07:45
DanaGI'll have to try it with ARM sometime again.07:45
ograoh, wait07:46
ograif you use console= plymouth wont show a splash at all07:46
DanaGyeah.07:46
ograthats known07:46
DanaGhttps://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/51682507:46
ubot4`Launchpad bug 516825 in plymouth (Ubuntu) "plymouth doesnt show any splash as soon as a console= commandline option is used on boot (affects: 2)" [Medium,Fix released]07:47
ograright07:47
DanaGit's marked fixed... but I disagree with that.07:47
=== amitk-afk is now known as amitk
ograamitk, http://paste.ubuntu.com/414122/ :(07:47
ograthats what i get after some unsuccessful boots07:48
DanaG[main.c]                            check_for_consoles:checking if splash screen should be disabled07:49
DanaG[main.c]                            check_for_consoles:serial console found!07:49
* ogra removes the HUB and attaches the USB key directly07:49
ograhmm, hangs too07:50
ograno oops07:50
amitkw/o hub, it won't work07:50
ograwell, it finds the disk and mounts it07:50
ograbut hangs right after with no messages07:51
amitkogra: line 41 on the paste says you had a ext4 error07:51
amitkdid your FS become corrupt?07:51
ograamitk, i doubt ext4 *can* get corrupt that way07:52
ograits never mounted RW07:52
ogramy boot doesnt get that far07:52
amitkEXT4-fs error (device sda1): __ext4_get_inode_loc: unable to read inode block - inode=267617, block=104914207:52
ograright07:52
amitkogra: we've had lots of issues with ext4 corruption, was this tried on a fresh image?07:53
ograi know what you think, but my boot never gets to mountall07:53
ogra(mountall is remounting / RW)07:53
amitkwe are talking about "read" here...07:53
ograamitk, thats the USB install from yesterday07:53
ograusing your newest kernel from people07:53
amitkso it could be corrupted in the last shutdown07:54
ograamitk, i know, but how would the disk get corrupted if itwas never mounted ?07:54
ograi mean RW mounted07:54
ograhmm, unpowered HUB doesnt work either07:54
ogranor does the mini USB port07:54
amitkwhat are you using the OTG port for?07:55
ograwell, i was just trying all options and attached the disk with adapter07:55
ograi didnt expect that to work :)07:55
amitkogra: so you're saying that the kernel is lying about the ext4 error? :)08:01
ograamitk, not sure if it lies or if it has a hiccup08:01
* amitk doubts it08:02
ograthough i'd guess given the other USB issues i see that its not the FS but the underlying layer08:02
ograi havent had any other ext4 errors08:02
ograi dont have any other errors at all now, it just gets stuck08:03
ograsometimes it managed to print the ureadahed message, sometimes it just gets stuck when leaving the initramfs08:03
ograi didnt get further than ureadahead with this kernel08:03
ograthe archive kernel got a bit further (up to the apparmor messages ) and got stuck then08:04
ograand either oopsed or not08:04
ograwithout USB we're a bit screwed :/08:05
* ogra gets more coffee08:06
amitkogra: you are seeing errors now!08:07
=== XorA|gone is now known as XorA
amitk[   35.254974] EXT4-fs error (device sda1): __ext4_get_inode_loc: unable to read inode block - inode=267617, block=104914208:07
amitk[   35.267272] EXT4-fs error (device sda1): ext4_find_entry: reading directory #2 offset 008:07
amitk[   35.277526] Kernel panic - not syncing: Attempted to kill init!08:07
amitk[   35.283630] [<c003c81c>] (unwind_backtrace+0x0/0xe8) from [<c043e434>] (panic+0x54/0x138)08:07
amitk[   35.291900] [<c043e434>] (panic+0x54/0x138) from [<c006717c>] (exit_notify+0x0/0x144)08:07
amitk[   35.299804] [<c006717c>] (exit_notify+0x0/0x144) from [<00000001>] (0x1)08:07
amitk                               ^^^ that is the beginning of a panic aka oops08:07
ograthat was in one out of 20 boots08:10
ogradidnt show up again08:10
ogranow it just gets stuck08:10
ograno oops no error at all, just locks up08:11
ograand yes, i mounted the usb key on my desktop inbetween where it doesnt show any issues, i also fsck'ed it already with no errors08:11
ograits definately not the filesystem08:13
loologra: did you see my comments on the dove netboot images bug?08:14
ograif it wouldnt take ages i'd try another install right now08:14
ogralool, havent read my bugmail yet, if you made comments today i didnt see them, i saw your last one yesterday08:14
* ogra looks at evo08:14
loologra: No need for a full install, just loading the images is a good enough test08:15
ogralool, ah, well, at least we build the netboot initrd the same way the cdimage one is built now08:15
loologra: So GrueMaster was saying that the initrd has incorrect values08:15
ogralool, i cant test dove i dont have the HW08:15
loolSo the bug should probably be reopened, but I dont have the hardware either08:16
ograonly NCommander GrueMaster or plars can test08:16
ograi was just aiming for consistency, the cdrom initrd which is an initramfs obviously worked for GrueMaster08:16
ograso we excluded at least one breaking factor here08:17
NCommanderlool: what was the bug number? I can recheck08:17
ograBug 54139908:17
ubot4`Launchpad bug 541399 in linux-mvl-dove (Ubuntu) (and 1 other project) "netboot image fails to boot. (affects: 1) (heat: 8)" [Undecided,New] https://launchpad.net/bugs/54139908:17
ogralool, you shouldnt need ramdisk_size with initramfs08:18
ograor /dev/ram008:18
ograwhat i dont get is why we use a different load address at all08:18
ograthat seems broken08:18
ograbuilding the same setup the cdrom initrd has while keeping the same address should suffice08:19
ograah, sweet, omap netboot has its boot.scr now http://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/omap/netboot/omap/08:20
ograi wish i had the time to make a dd'able image out of it08:20
ograamitk, do you still need my broken USB install ? else i'll start over with a fresh install to see if it changes anything08:21
* ogra wants to try if he can probably get away with a minimal install to SD if running netinst08:22
ograthats better than nothing given time runs short08:23
amitkogra: please do, I'm interested in a fresh install08:27
amitkI'm doing that here too08:28
ograwell, i wont do a USB install08:28
ograwhich is our main issue atm08:28
ograthough i'm not sure parted can handle installing to the media we run from but netinst makes me hope08:28
ogragrr, so partman doesnt let me create /boot as fat08:35
ograthats a prob08:35
amitkogra: I'm still ooming on the new image while installing...08:56
ogracan you check with free ?08:56
ograif swap is actually 128M08:56
amitkogra: yes it is08:57
amitkI checked on serial console08:57
* ogra curses very loudly08:57
amitkI'm stuck at the keyboard layout dialog08:57
ogradid you modify anything else than adding serial ?08:57
amitknew kernel and serial08:57
* ogra wonders why it doesnt OOM for him08:58
amitkubuntu@ubuntu:~$ free -m08:58
amitk[  684.363372] Out of memory: kill process 1743 (gnome-session) score 50392 or a child08:58
amitk[  684.371276] Killed process 1974 (metacity) vsz:32548kB, anon-rss:1000kB, file-rss:7380kB total       used       free     shared    buffers     cached08:58
amitkMem:           240        205         35          0          8         4908:58
ogracan you change the cmdline and add only-ubiquity to it ?08:58
amitk-/+ buffers/cache:        146         9308:58
amitkSwap:          120        118          108:58
ograi guess we'll have to default to that08:58
ograit wont start the desktop but go directly into the installer08:59
ograindeed the user needs to have a big enough swap in his install08:59
* ogra sees a pile of release notes ahead08:59
* ogra is afk for a moment09:01
amitkjust 1M of swap free, I guess even starting a serial console shell is a step towards oom09:01
ograyes09:01
ograbut lets go the only-ubiquity path ...09:02
ograits the best fallback we have09:02
ogra<- really afk09:02
=== hrw|gone is now known as hrw
hrwmorning09:55
amitkogra: "The installer encountered an unrecoverable error. A desktop session will now be run so that you may investigate the problem or try installing again"09:56
amitkhrw: morning09:56
ograamitk, at which point ?09:56
* ogra definately sees an issue with update-initramfs atm09:56
amitkogra: last I saw it was almost finished with the install09:56
ograright, thats likely either the kernel installation or the bootloader step09:57
amitkogra: I have the session active in case you want some information to help you debug09:57
amitkhrw: since you're involved with OE, what kernel version do they ship for beagleboard?09:57
ograyeah, file a bug with ubuntu-bug -p ubiquity09:57
hrwamitk: 2.6.32 based on linux-omap-psp branch09:59
amitkwhat is psp?09:59
hrwTI branch of linux-omap10:00
hrwnever read what makes it special10:00
XorAPlatform Support Package10:00
XorATI language for BSP10:00
hrwsaid TI OMAP OE expert10:01
XorAand there is nothing special, about it, everything goes upstream10:01
hrwXorA: but TI code lands in psp and then migrate to linux-omap - right?10:01
nosse1ogra, did you resolve the "Unhandled fault: external abort on non-linefetch" issue?10:02
XorAhrw: yes I beleive thatd the path, but its so damn quick these days10:02
ogranosse1, yes, fixed in todays images10:02
hrwamitk: git://arago-project.org/git/people/sriram/ti-psp-omap.git10:02
nosse1May I ask what it was? Compile flag issue?10:02
hrwamitk: OE uses da0c86a8f3bd57fad0ccd05eb1b5e3326d7f36aa revision + 41 patches added10:03
amitkhrw: where would I find their defconfig?10:04
ogranosse1, code in parted that tried to run dmidecode snippets to read BIOS info from /dev/mem10:05
hrwmoment10:05
XorAamitk: arch/arm/configs10:05
XorAamitk: if you mean TI defconfig10:05
amitkohh, so they use the defconfigs?10:05
ograsigh, so we cant install to mmc10:05
XorAOE has its defconfig in metadata10:05
hrwamitk: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux-omap-psp-2.6.32/beagleboard/defconfig10:05
ograinitramfs-tools has no support for it10:05
* amitk looks, although a lot has changed in 2.6.3310:06
XorAso which image should I use on my beagle today?10:06
amitkogra: bug 56288810:07
ubot4`Launchpad bug 562888 in ubiquity (Ubuntu) "omap installation failed with unrecoverable error (affects: 1)" [Medium,New] https://launchpad.net/bugs/56288810:07
ograamitk,10:08
ograJan  1 00:48:52 ubuntu python:   File "/usr/share/ubiquity/install.py", line 1664, in configure_bootloader10:08
ograJan  1 00:48:52 ubuntu python:     raise InstallStepError("No bootloader installer found")10:08
ograJan  1 00:48:52 ubuntu python: InstallStepError: No bootloader installer found10:08
ograi wonder why it didnt show the correct error msg though10:09
* amitk wonders how ogra managed to install yesterday10:09
ograamitk, i used d-i10:09
ograthats more flexible10:09
ograd-i offers you actually to install without bootloader, in ubiquity thats possible too but a bit hidden10:10
* amitk has wasted 2 hours 10:10
ograon the last page you can select "advanced"10:10
ograthere you can check "dont install bootloader"10:10
ograamitk, use netinst and do a minimal install10:11
ograits way faster10:11
ograhttp://ports.ubuntu.com/ubuntu-ports/dists/lucid/main/installer-armel/current/images/omap/netboot/omap/10:11
ograas long as your target is USB it will work10:11
ogradonty try mmc though, initramfs-tools is buggy10:11
amitkogra: just copy these to casper/ ?10:12
ograamitk, nope, just have a vfat SD card ... copy all three files to /10:12
ograif you want to use serial for installing, edit boot.scr10:12
ograi'll set up wikipages for all install variants after freeze ... once i have time for that10:13
ograamitk, you didnt waste the 2h ... now we are at least sure that only-ubiquity wont OOM, thanks a lot10:13
* XorA guesses he better find out how to install u-boot on a beagle :-)10:25
hrwXorA: you need to finding it out? I thought that you can do that anytime ;D10:26
XorAhrw: I have never done it10:26
XorAhrw: never needed to until now10:27
hrwXorA: use Koen's instructions on angstrom /demo/beagleboard/README10:27
hrwXorA: I always used those10:28
nosse1ogra, the gnome desktop has become very smooth. Even on my 256M system. I think the fix last night really improved my issues10:32
ogragreat10:33
XorAhrw: thanks, they are nice and easy to follow :-)10:48
XorAarse I hit the C3 EHCI bug really quick :-(11:10
persiaXorA: On the bright side, that means you managed to get the system up and running really quick :)11:12
bmwiedemannhello. are you aware that http://www.ubuntu.com/getubuntu/releasenotes/1004 links to a non-existing https://wiki.ubuntu.com/ARM/LucidReleaseNotes page?11:12
XorApersia: but as you guys dont support the zippy I cant install it, only live disk11:13
persiabmwiedemann: Feel free to create that page if you like.  I'm not sure anyone has composed the ARM-specific release notes yet (but more help is always welcome)11:14
persiaXorA: What happens when you try to install?  Bugs are welcome, although most of them probably end up being 10.10 candidates.11:15
XorApersia: my EHCI port shuts down, its a hardware bug on C3 and earlier boards11:15
bmwiedemannpersia: I could drop in a place-holder page. so far I have only used Debian/Lenny on armel (openrd, gumstix, RD-6281-A)11:15
persiaBasically, if a patch is simple and easy to maintain, there's no reason for it not to be there.11:15
persiaBasically, if a patch is simple and easy to maintain, there's no reason for it not to be there.11:15
persiaXorA: Oh, a known hardware issue that can't be worked around in the kernel?  Yeah, not much hope there.11:16
persiabmwiedemann: That'd be a great start, if you don't mind.  Thanks.11:16
XorApersia: its what the C4 boards fixed11:20
bmwiedemannpersia: done11:23
XorAyou goes should turn on heartbeat on one of the leds by default11:24
persiabmwiedemann: Thanks.11:24
persiaXorA: The seeds aren't subarch (let alone board) aware, so there's no easy/safe way to do that.  On the other hand, if you have some code that does that in userspace, it could be in a package (although not for 10.04) that folks are encouraged to install on such a device.11:25
XorApersia: ok, its quite easy as you in the led class in sysfs11:26
persiaXorA: So one could write a tool that flashed the led if present, and didn't if not, and have it safely present everywhere?11:28
XorApersia: its literally as easy at echo heartbeat >/sys/class/leds/name/function11:31
=== jussi01 is now known as jussi
XorAtrigger not function, but you see what I mean11:31
persiaWe we just need a good way to pick *which* led to flash for heartbeat.11:32
XorApersia: anyway Im concentrating on just getting the damn thing installed :-)11:32
persiaUnfortunately, it seems there's no direct correlation between /sys/class/leds/* and the leds on my laptop :(  Some of them seem to be known to the kernel, but not exposed, and others are exposed, but unknown to the kernel.11:33
XorAarse my EHCI port seems to have given up completely11:35
XorAany of you guys been installing with OTG port?11:40
XorAnot using the zoom2 SD card helps11:43
loologra: 09:18 < ogra> lool, you shouldnt need ramdisk_size with initramfs12:03
loologra: are you sure?12:03
ogralool, yes12:05
ograi had the same issue with omap12:05
ograinitrd needed ramdisk_size set, initramfs didnt12:05
ograthats why i moved dove to initramfs for netinst12:05
ograi'm waiting for feedback from NCommander who wanted to test that hours ago12:06
ogralool, i think its a differece of mounting compressed vs fully unpacking12:07
ogra(though thats just a guess)12:07
ograOMAP3 beagleboard.org # ext2load mmc 0 0x80000000 uImage12:08
ograLoading file "uImage" from mmc device 0:1 (xxa1)12:08
ogra ** ext2fs_devread() read error - block12:08
ogra** Unable to read "uImage" from mmc 0:1 **12:08
ograah well, i had to try at least :/12:08
nosse1Anyone else that have had problems with "BUG: soft lockup - CPU#0 stuck for 61s!"?12:17
ogranope12:17
nosse1I'm getting it when doing heavy disk activity (e.g. dpkg) when using NFS12:17
ograthough i never use NFS12:18
nosse1I'm kind of stuck as for some reason my EHCI driver started to give in, so my connection to my USB disk also fails12:18
hrwXorA: did you upgraded MLO too?12:19
XorAhrw: yes12:19
XorAhrw: both from Angstrom12:19
amitknosse1: you're not using the Ubuntu kernel though...12:19
nosse1It's a coincidence that this occurs at the same time that the HW bug is discussed in this channel :(12:19
XorAnosse1: C3 beagle?12:20
nosse1amtik, no I'm not12:20
nosse1XorA, no. The AM3517-EVM. That's why I cannot run the vanilla ti-omap kernel12:20
XorAnosse1: C3 and earlier beagle there is not enough grunt in the power rail of EHCI and port drops out under heavy load12:21
hrwand I have C3+C3+B7 ;(12:21
hrwhope that TI will release XM soon12:21
* XorA has C3 and B612:21
nosse1XorA. This might be it. I use a bus powered hub (because of this USB 1.1 vs. 2.0 thing in OMAP) connected to USB disk, kbd and mouse. Perhaps the load of the kbd and mouse is too heavy12:22
hrwand one of C3 has to work as mediaplayer plugged to TV12:22
XorAyeah we all need XMs :-D12:23
XorAotherwise ubuntu work is going to be painful12:23
ogra++12:24
ograthough we're getting closer to at least have *something* for lucid12:24
hrwXorA: too bad that this time I would rather have to pay for Beagleboard... the ones which I have I got for free12:24
ogramake your employer pay ;)12:25
hrwogra: you mean me myself?12:26
hrw:D12:26
hrwogra: I am self employed12:26
ograif you are self employed, reclaim it from taxes ;)12:26
ograits a "tool" :)12:26
hrwI know12:26
rcn-eehrw, i'm not planning to stop my experimental builds, so you can always use an external kernel with ubuntu for Bx/Cx's...12:26
hrwI just bought 42" plasma TV for my work12:27
XorAogra: you live disk image looks nice, I just cant actually do anything with it12:27
ograthats indeed an important tool to have :)12:27
hrwrcn-ee: most of my Debian machines use own kernels12:27
ograXorA, can you define that ?12:27
XorAogra: I have no working usb12:27
ogra"anything" is a bit broad :)12:27
XorAogra: so I can stare at the screen :-)12:28
hrwXorA: connect BB to TV and boot ubuntu - nothing to stare at ;D12:28
ograXorA, http://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-live/current/ tried a recent one ?12:28
XorAogra: usb in the image works, it appears my port just blew12:28
ograit should definately work on the C4 ... not sure about 312:29
rcn-eeogra, i was playing around with a hacked rootstock that installed apt/dpkg -dbgsym's and it still locked up at iso-codecs is there anything i can dump for a useful trace?12:29
hrwbeagleXM with 2xsize and good wifi/bt on board would be nice12:29
ograrcn-ee, attach gdb to the hanging apt and get a backtrace12:29
rcn-eeokay, I'll try that.. it only locked up 50/50, on my two runs, so i'll try that...12:31
ograhey, 50/50 is already better than 100% :)12:31
rcn-eei know... ;) it almost installed netbook-image last night.. right before it segfaulted in the middle of the last stage of apt-get...12:32
ograsigh, i want class 20 SD cards13:10
ograi bet the card is worn out once i'm done with install tests13:10
persiaYou just need a better FTL on your card.13:15
* persia wishes there was a handy generic interface to hint to FTLs which filesystem one intended to use so it could use the flash optimally.13:16
ograok, finallly i get the right initramfs-tools13:17
* ogra crosses fingers13:17
ograWOHOO !13:18
ograuser setup reached13:18
ograand we're in pkgsel13:18
* ogra gets some coffee while d-i does its duty13:19
ograamitk, so my SD install seems to have similar issues13:43
ograi see no oops though13:44
amitkogra: break=premount doesn't give me a shell13:44
ograugh13:44
ograit definately shoudl give you busybox13:44
* ogra tries here13:45
ograwhat i see is that the SD read LED is flickering very fast13:45
ograbut booting stops at13:45
ograBegin: Running /scripts/init-bottom ...13:45
ograDone.13:45
ograinit: ureadahead main process (128) terminated with status 513:45
nosse1ogra, This one I also get all the time13:46
ogra(note status 5 means it recognozed flash media it doesnt want to read and exited gracefully)13:46
ogranosse1, how did you get stuck with the ubuntu kernel before ? did that look similar ?13:47
nosse1Yes, it locked up sometime after that message13:47
nosse1I never actually learned what and where it stopped13:48
ograso thats similar then ... and it was fixed for you with a custom kernel but same rootfs/initrd ?13:48
ograamitk, break=bottom clearly gets me to busybox13:49
* ogra tries premount13:49
nosse1ogra, break=bottom worked for me as well13:49
nosse1Yes, custom kernel. And generate new initrd from that kernel's modules13:50
ograbut using update-initramfs from ubuntu. right ?13:50
nosse1yes13:50
ograamitk, so i can chroot /root from busybox but dont get to a prompt13:51
nosse1I inject the kernel into the NFS root tree and use update-initramfs with qemu (in chroot env)13:51
* ogra reboots and checks /dev ... i have a suspicion13:52
ograhmm, no, all devices are there, devtmpfs is mounted fine13:52
nosse1ogra, Speaking of which: In my effort to root out the NFS problem, I now try to run the kernel config from TI.13:52
nosse1now I have a message during boot saying: mount: mounting none on /dev failed: No such device13:53
nosse1But I get into login, and /dev has been mounted properly13:53
ograthats because you dont have devtmpfs enabled in your kernel13:54
ogracomes from initramfs' init13:54
ograamitk, i wonder if it makes sense to compare our config to nosse1's13:54
nosse1Could this be related?13:56
amitkogra: I'm not getting a shell with break=bottom (I see the panic instead)13:56
amitkor break=premount13:56
ograi do on SD card13:56
nosse1I mean this error you now describe is the exact reason why I cannot use the ti-omap kernel13:56
* amitk tries break=top13:56
ograamitk, which kernel do you use ? my install indeed uses the archive kernel still13:57
amitkmy own kernel13:57
amitkinstalled in chroot13:57
ograright13:57
ograarchive kernel definately gets me busybox ... but no boot either13:58
* amitk tries the arhive kernel13:58
* ogra goes and makes all initscripts as noisy as he can13:58
nosse1I'm sorry guys, I need to leave for kindergarden. I'm unable to be of any further assistance until tomorrow13:59
nosse1I am very keen on following this discussion though14:00
* ogra didnt know nosse1 was *that* young14:00
nosse1*lol*14:00
ogra:)14:00
ograamitk, hmm, i added --debug to mountall which should be the next thing running after ureadahead and i dont get anything14:01
amitk[    0.000000] Kernel command line: console=ttyS2,115200n8 console=tty0 ro root=49b39455-6136-471e-8140-cd514:01
amitk8dbc48900 vram=12M omapfb.mode=dvi:1280x720MR-16@60 break=bottom debug usbcore.blinkenlights=1 initcall_deb14:01
amitkug14:01
amitkogra: ^ my cmdline, still no busybox shell on break14:01
ograso i suspect we get actually stuck in ureadahead14:01
loologra: mountall doesn't output to the console by default14:01
ogralool, i added --debug in the initscript14:01
ograit should make a lot of noise14:02
loologra: If you want it to do that, add console output, and switch from daemon to verbose14:02
loologra: As I said, it doesn't log to the console by default14:02
hrwusbcore.blinkenlights=1? what it does?14:02
ogra--debug turned it on when i debugged with KEybuk recently14:02
ograhum14:03
ograindeed lool is right once again14:03
ogra--verbose is the parameter14:03
loolRight14:04
amitkhrw: blinken blinks the lighs on the usb hub (useful to tell if usbcore is working fine)14:04
ograok, lets see what --verbose gets us14:04
=== nosse1 is now known as nosse1_away
ograno output at all14:04
loologra: do drop --daemon14:05
ogralool, i did14:05
loologra: do you have console output in your mountall.conf?14:05
ograits only mountall --verbose14:05
ogralool, seems to be the default14:05
ogra 22 # temporary, until we have progress indication14:06
ogra 23 # and output capture (next week :p)14:06
ogra 24 console output14:06
ogra...14:06
ogra 31     exec mountall --verbose # --daemon $force_fsck $fsck_fix14:06
ograbut i get no output at all14:06
ograso that somewhat makes me think we get stuck in ureadahead14:06
amitkogra: does break have anything to do with splash (i've removed that)14:07
ograamitk, not to my knowledge14:07
ograbut plymouth might have changed the world14:07
* amitk hates it14:07
ograsigh, where is Keybuk if i need him14:07
ograi wonder if we miss some magical kernel bit for ureadahead14:08
loologra: Does upstart start at all?14:08
loologra: are you past initrd?14:08
ogralool, yes14:08
ograBegin: Running /scripts/local-bottom ...14:08
ograDone.14:08
ograDone.14:08
ograBegin: Running /scripts/init-bottom ...14:08
ograDone.14:08
ograinit: ureadahead main process (134) terminated with status 514:08
ogralool, ^^^14:08
ograthats where we get stuck14:09
ogramy USB image gets a bit further but hangs then as well14:09
ograon the USB install i can actually see the apparmor profiles being set14:09
amitkapw also seemed to think that bits of userspace is being run and exiting...14:10
ograamitk, right, but that a different kernel made it work for nosse1 is suspicious14:10
ograso i suspect we miss a kernel setting that some userspace bit requires14:10
ograwhich is why i'd love to consult Keybuk ... who isnt here14:11
ograaha14:14
ograBegin: Running /scripts/init-bottom ...14:14
ograDone.14:14
ograinit: Failed to spawn ureadahead main process: unable to execute: Permission denied14:14
ogramoo14:14
ograi made ureadahead unexecutable14:15
ograand added "echo "moo"" to mountall directly when the script is exece'd14:15
ograit doesnt move on though14:15
ograthe SD LED is flickering very fast again14:16
ograamitk, silly question, but what are our console settings ?14:17
ograi dont seem to get any tty0 output at all14:18
amitkogra: yeah, I don't see anything on tty0 either. Only serial14:21
ograright, there is something wonky with text consoles here14:21
ogra# CONFIG_FRAMEBUFFER_CONSOLE is not set14:23
ograah14:23
ograamitk, i guess we need that :)14:24
ograimx51 and dove have it14:24
ograamitk, and that makes me guess that plymouth might be unhappy and crash or something similar14:25
amitkogra: ok, will look, meanwhile I've added some comments to the bug (https://bugs.edge.launchpad.net/ubuntu/+source/linux-ti-omap/+bug/562343)14:27
ubot4`Launchpad bug 562343 in linux-ti-omap (Ubuntu Lucid) (and 1 other project) "installation to USB device results in a non-booting system with OOPS (affects: 1) (heat: 8)" [High,New]14:27
ograamitk, init doesnt exit for me14:28
ograand the flashing SD card LED somewhat indicates that something acesses the filesystem14:28
ograamitk, hmm, looking at your log you dont even get into initramfs14:30
ogra(you should have shown me the full log earlier)14:30
ograin fact *your* crash is exactly if you enter the initramfs ... is you boot.scr ok ?14:31
amitki posted it up there ^^^^14:31
ograamitk, only the bottom snippet14:32
ograamitk, the full log shows that you are not even entering initramfs14:32
amitkogra: i meant my boot.scr14:33
ograah, yeah, the log has it too14:33
ograseems ok14:33
ograseems your initramfs isnt though14:34
ograthe udev line is clearly *inside* initramfs ...14:34
ograand it dies immediately after firing up udev14:34
ogratry to regenerate your initramfs14:35
amitkogra: yeah, disregard that. I'm currently running the archive kernel with my own initramfs (to debug the break=) problem. Will switch back to my own kernel.14:35
ogra   Image Type:   ARM Linux RAMDisk Image (uncompressed)14:35
amitkogra: kernel with FB almost done14:35
ogra   Data Size:    2261686 Bytes =  2.2 MB14:35
ograway to small14:35
ograthere are bits missing for sure ... by whatever reason14:36
ograhmm, or no ... newer initramfses on my systems are as small ...14:36
ogra... more coffee...14:43
amitkogra: kernel with FB in on people14:45
amitkthat fixed tty0, but our problem still remains...14:45
ograok14:47
rsalvetimorning14:47
ograi'd really love to talk to KEybuk, sigh14:47
ograamitk, FB compiled in or module ?14:47
amitkcompiled-in14:48
ograah, then i should be able to just use my initrd14:48
amitkogra: but I _still_ don't get a busybox shell14:48
ogrado you get through initramfs ?14:49
ograyou should see all the "running scripts init-blah" messages14:49
amitknope14:49
ocs_hi. how much does a Freescale i.MX51 Babbage board pda cost?14:50
ocs_(about)14:50
ogra$75014:51
ograamitk, re-roll your initramfs something is corrupt there14:51
ocs_and... which is the cheapest board on which ubuntu-arm has been tested ?14:51
amitkogra: doesn't kernel install already do that?14:51
kaouthiahttp://store.digi.com/index.cfm?fuseaction=product.display&Product_ID=171114:51
ograamitk, it re-rolls, but did you mkimage etc ?14:52
amitkogra: yes, mkimage uImage, uInitrd14:52
kaouthiahttp://www.digi.com/products/embeddedsolutions/connectcore-wi-mx51.jsp#overview <-- Click "contact us" for the Linux version14:52
kaouthiaGoogle is your friend14:53
ograamitk, strange ... my boot definately goes through even with your current kernel ...14:53
amitkogra: the latest one?14:53
ograyup14:53
rsalvetiogra: did you find why the upstart was stopped during the boot?14:53
* amitk wonder if he should run a apt-get upgrade on the chroot14:53
rsalvetiwas following the problem but had to get to work14:54
ograamitk, didnt you use your USB installation root ?14:54
rsalvetiI tested yesterday when I was playing with u8500 and had to remove some services to get it to boot, but didn't had time to go and further debug upstart to check who was the culprit14:54
amitkogra: I did..14:56
ograthats very strange, i havent seen such behavior14:56
hrwrsalveti: u8500 got some available boards or still ST-E internal only?14:56
ograamitk, want a uInitrd on people ?14:56
amitkogra: give me the whole package, uImage, boot.scr and uInitrd14:57
ograok14:57
rsalvetihrw: we've been working with then with other projects and boards, so we got some u8500 to work with when it was released14:57
rsalvetihrw: but the kernel, boot loader, mali driver and etc are all internal only atm14:58
ocs_thanks14:58
rsalvetihrw: they're pushing the kernel upstream, but the support is still very basic14:58
hrwrsalveti: so same like it was with NDK-1514:58
hrwbut this time they learnt that using few years old kernel is not good14:58
ograamitk, btw, no messages on console ... only a blinking cursor ... did you see kernel msgs ?14:59
rsalvetihrw: sure, currently we're using 2.6.2914:59
amitkogra: yes14:59
rsalvetiquite old and the kernel itself is not that stable, but it's working fine14:59
ograamitk, http://people.canonical.com/~ogra/beagle/15:00
hrwrsalveti: when I had ndk-15 it was using 2.6.16.2 which at that time was up to .51 stable update. now I have NHK-15 with 2.6.20 kernel which I do not even want to look at15:00
amitkogra: I see the kernel messages15:00
ogranote i'm fiddling with boot.scr atm15:00
rsalvetihrw: we got oe and maemo running on top of it as a proof of concept15:00
ograyou might want to change it for your purpose15:00
hrwrsalveti: and android15:00
rsalvetihrw: sure, they are working inside mainly with android15:00
hrwrsalveti: on SCW'09 ST-E shown android on u850015:00
rsalvetinow that maemo/meego stuff got more attention15:01
rsalvetihrw: yeah, the kernel is being developed mainly to support android15:01
ograamitk, oh, intresting ... there *are* messages, but the console blanks at the point where i have the hang15:02
ograi just switched my monitor over to late15:02
rsalvetihrw: we also have the basic mali support, but this will be closed source in the end, like sgx stuff15:02
hrwrsalveti: it it will be redistributable then it will be good15:02
rsalvetihrw: currently we're developing basic support for X acceleration, like exa, dri2 and xvideo15:02
hrwrsalveti: we (OH) did that for stn8815 few years ago15:03
rsalvetihrw: yeah, andrea was talking about it15:03
rsalvetithen oh went for intel and they had to drop the project15:03
hrwanyway stn8815 is dead15:03
ograamitk, whats even more intresting, while i still have the hang, the LDE behavior changed15:03
ogra*LED15:04
ograboth SD LEDs are solid green now15:04
hrwogra: I have a board which talks after 'system halted'15:04
amitkogra: USR0 and USR1?15:05
ograamitk, HAHAHAHAHA !!!15:06
* ogra fixes /lib/init/fstab15:06
* amitk prepares to strangle ogra :)15:06
rsalvetihrw: but I think that with u8500 ste will at least make it full supported upstream15:07
ograamitk, so i suspect the "console output" line in mountall.conf tries to write to plymouth ... while fbcon was broken it just got stuck there ... now i see the old "mount time in the future" bug15:08
hrwrsalveti: I hope too - it makes maintaince much cheaper15:08
rsalvetihrw: sure, besides making it easier for everyone that wants to used it as a product15:09
rsalvetithe quality is much better when it's upstream15:09
rsalvetivendor's kernel is always a mess15:09
persiaLots of that is code-review issues.  Going through that many layers of code review internally could theoretically generate a good vendor kernel, but it's really expensive (and seems odd when one can mainline it for the same effort and lower cost)15:10
amitkogra: no change with your initrd and kernel, I'll check my boot.scr now15:10
ograamitk, yeah, probably one of your kernel debuig settings prevents initrd from being used15:11
* ogra curses 15:11
rsalvetipersia: yeah, but people seems afraid of mainline developers :-)15:11
ograi cant get past fsck !15:11
amitkogra: did you fix both fstabs?15:12
ograamitk, only /lib/init/fstab that usually suffices15:12
* ogra edits /etc/fstab too15:13
GrueMasterlool: I tested http://ports.ubuntu.com/dists/lucid/main/installer-armel/20081029ubuntu98/images/dove/netboot/dove/ image yesterday and it now works.  Completed the install with no issues.15:14
ograStarting kernel ...15:14
ograUncompressing Linux... done, booting the kernel.15:14
ograUbuntu lucid (development branch) ubuntu ttyS215:14
ograubuntu login:15:14
ograWOHOOOOO !!!!15:14
ograamitk, so the console fix is essential :)15:15
ograamitk, lets corner Keybuk in brussels ... he owes us beer ... lots of ... i asked him yesterday and he insisted the bug would be 100% fixed in any case15:15
ograLinux ubuntu 2.6.33-500-omap #5 Tue Apr 13 11:58:48 EEST 2010 armv7l GNU/Linux15:16
ograUbuntu 10.04 (lucid)15:16
ograWelcome to Ubuntu!15:16
ogra:D15:16
* ogra is happy that he can finally start to work 15:17
* amitk hugs ogra 15:18
amitkogra: so fixing both fstabs was reqd?15:19
ograamitk, yep15:19
ogranow the point that counts ...15:20
* ogra tries update-initramfs with vfat /boot15:20
ograasac, why dont i have network on my cmdline system ? shouldnt NM sort that ?15:21
ograoh, i dont have a driver15:21
ograamitk, ergh ... no more USB with your latest kernel from people15:22
loolGrueMaster: Ok, the uinitrd settings were *not* changed15:31
amitkogra: new kernel uploaded to people with OTG settings reverted.15:36
* ogra pulls15:36
prpplagueogra: greetings15:40
ograamitk, urgh and shutdown (sudo halt) results in an oops15:42
amitkogra: try with archive kernel first, there are several changes in my kernel that we might not want at such short notice15:44
ograhey prpplague (sorry i'm *very* busy ... final freeze is tomorrow)15:44
prpplagueogra: np, just saying hello15:44
* ogra curses 15:47
ograamitk, so while initramfs creation works, linux-image isnt installable on vfat :(15:48
ograsilly postinst !15:48
amitkogra: any luck? (I need a break from this stuff)15:58
ograamitk, gimme a min ... just got into a discussion in -kernel16:03
amitknp16:04
amitkogra: so what did you have to change in /lib/init/fstab? Just the 1 -> 016:07
amitk?16:07
ograamitk, yep16:07
ogracrapo i trashed my SD16:08
ograamitk, lookd good16:15
ogra*looks16:15
ograamitk, if you upload dont forget to adjust the deps16:23
ograwe need flash-kernel and uboot-mkimage16:23
amitkogra: against linux-image-2.6.33.....?16:26
ograyep16:26
amitkogra: so usb is working now, right?16:29
ograamitk, gimme a sec, it works with the SD install ... i want to make sure root on USB works too16:30
ograamitk, root on USB works too now16:40
ograamitk, so lool just pointed me to code that cares for uboot-mkimage ... but flash-kernel shoudl be a dep16:43
* ogra wonders why he hasnt gotten flash-kernel installed on omap now16:45
loologra: we might not need flash-kernel as a strong dep for the same reason16:53
loologra: these are usually recommends16:53
ogralool, i dont have it at all in my two omap installs16:53
ograand iirc we had a reason to make it a dep in imx5116:54
* ogra chacks again16:54
ogra*checks16:54
amitkogra: I don't think it was a dep for imx5116:54
ograRecommends: flash-kernel16:55
ogralinux-image-2.6.31-605-imx5116:55
loologra: You need to update flash-kernel-installer for the same reason16:55
ograso right, make it a recommends16:55
ogralool, yes, i'm doing that with some really ugly code16:55
loologra: No16:55
amitkogra: only flash-kernel?16:55
loologra: see debian/flash-kernel-installer.postinst line 4816:56
ograamitk, yes16:56
loologra: the Recommends is optional and just there to "be nice" to people installing an omap kernel by hand16:56
ogralool, there was a reason for having the recommends ... iirc it was to enable people who manually roll images16:56
ograright16:56
loologra: Yes16:56
ograso lets stay nice :)16:56
ograand have that recommends in omap too16:56
ograno dep though16:57
loologra: not related to the fact you're missing it in your installed image16:57
ograi'll handle that in flash-kernel-installer16:57
ograyeah, i know16:57
loolIf you used ubiquity / d-i that is16:57
ograi did16:57
ograwell, d-i16:57
ograubiquity needs another image chjange before we can use it16:57
amitkogra: I don't think it is even in recommends, in the kernel pkg16:57
ogragod, i cant type anymore16:57
amitkit is only in the bootloader section16:58
ograamitk, please make it one for people maunally installing kernels16:58
* ogra thinks these flash-kernel-installer changes will forever destroy the bit of reputation his coding style has left 16:58
ografiddling with fstab is really really nasty :/16:59
loologra: So if you used d-i / ubiquity, the problem is in flash-kernel-installer, not in deps17:01
ograhmm17:01
loolI agree we want a recommends or a suggests, but I would personally go for a suggests17:01
ograit is in deps17:01
ograits just not executed17:01
ograsince there is no match for the beagle17:01
loologra: Yes, exactly17:01
loologra: that's not related to deps17:02
ogralool, so ... i need an opinion17:02
ogramdz suggested to create /boot/uboot for the first partition of the mmc (vfat needed for booting)17:02
ograthe only way i see to create that dir and make sure its mounted under /boot/uboot (for running mkimage) is to add code that adds this stuff to fstab in flash-kernel-installer17:03
ogralool, do you have any better idea ?17:03
ograi dont think i can invent a new partman module right now some hours before the freeze17:04
loologra: You need to update flash-kernel and flash-kernel-installer for OMAP beagleboard17:04
amitklool: we have a debian.ti-omap/control.d/vars.<flavour> where we define the bootloader. The control generation scripts then automatically add that to a Recommmends in the control file.17:04
ogralool, yes, i know17:04
ogralool, i know what to do there ... please read above ... that fstab fiddling is more important17:04
loologra: Ok; need to finish a call to focus on the questions17:05
loolamitk: That's nice to have; I would _personally_ to for a suggests instead of recommends17:06
ogralool, ok, i'll write some code you can review then17:06
loolI can argue why, but I'd rather convince ogra so that he agrees with the approach17:06
lools/to/go17:06
ograwell, go with whatever you feel is right :)17:06
ograi'm way to focused to finish omap :)17:06
loologra: So recommends make it a bit harder to replace the bootloader17:06
loologra: e.g. to use grub for arm, or mukluk17:07
ograwell, do you ever expect omap to not use uboot ?17:07
ograoh, ok17:07
ograthats an argument :)17:07
ograamitk, go with a suggests :)17:07
loolHmm that was easy  :)17:07
ograheh17:07
ogralool, i promised you i'D work on it ;)17:08
loologra: I didn't understand that /boot/uboot story; is this for images, for installed system, or both?17:10
ograinstalled17:11
loologra: Also, why do we have this requirement?  is it to have a copy of the installed uboot?17:11
ograto get around the hardlinks on /boot17:11
ograno its for uImage/uInitrd and boot.scr17:11
loologra: Which hardlinks are these again?17:11
ogralool, dpkg ... when replacing vminuz-*17:12
ograor System.map-* etc etc17:12
loolok, but u-boot is usually in /usr/lib?17:12
ograit tries to create backup files using hardlinks17:12
ogralool, well, we could call it /boot/bootloaderpartition if that makes it clearer17:13
ograi made up /boot/uboot17:13
loologra: Can't we have anything which needs to have hardlinks in /boot and have /boot be in extN?17:13
ograthe point is that we cant have /boot on vfat ... and that the bootpartition needs to be mmcblk0p117:13
=== hrw is now known as hrw|gone
ogralool, nope, omap uboot doesnt support ext217:13
ograwe talked about it in nice and thats supposed to be fixed at some point17:14
ograbut not atm17:14
loologra: Ok; dont we flash the kernel in NAND?17:14
ograno17:14
ograwe use SD for booting17:14
ograsimilar to imx5117:14
ograbut with a real vfat partition17:15
ograso that partition should have an fstab entry17:15
loologra: So the NAND stuff is for post 10.04?17:15
ograyeah17:15
loologra: Would I be you, I would find it much more easy and clean to implement the NAND stuff right now17:15
ogralool, i have a working kernel since noon today :) i'm trying what i can17:15
loolI think in terms of coming up with a working design and such, the vfat approach is horrible17:16
ograit is17:16
ograits quick though17:16
loolAlso, we will dump it after 10.04!17:16
ograand i only have a few hours left17:16
ograyes17:16
loolUpgrades will be disastrous17:16
ograthats was the plan from the beginning17:16
amitklool: ogra: I'm going with what is automatic for all kernel flavours (define it in var.flavour) and let the control-scripts do the rest. I don't like this sort of change 5 minutes before a freeze17:17
ograthats handleable17:17
amitkbesides all x86 flavours and fsl-imx51 use it already17:17
loolamitk: Oh you mean it's not easy to switch from suggests to recommends?17:17
ograamitk, yes, all i want is the same imx51 does17:17
loolamitk: It doesn't matter then17:17
amitklool: it is probably easy, I don't know enough about the ramifications...17:17
ogralool, i think the other way round17:17
ogracurrently it is a recommends17:17
loologra: I understand, was justan example17:18
ograin imx51 at least17:18
loolamitk: No need to worry about it17:18
ograyerah17:18
loolwe can visit Recommends -> suggests later17:18
ograjust go for it17:18
loolThe main point is: this dep doesn't really matter for us in practice, it's just a nice to have, and on the long term a suggests would make more sense17:18
loologra: So back to your vfat issue17:19
ogralool, yeah :)17:19
loologra: flash-kernel was initially meant to flash stuff to NAND17:19
loologra: It's really meant for that17:19
ograi know17:19
ograbut mtd is totally untested with our kernel17:19
loologra: I would find it easier to just implement that instead of this complex SD setup17:19
ograSD works17:19
loologra: is it hard to test?17:19
ograno idea17:19
ograi have not much experience with mtd ...17:20
ograand if i trash my board now we're screwed17:20
loologra: I seriously think you'll lose many days to build a decent design for what you're trying to do with vfat on SD and hardlinks in another partitions and that will be a waste post 10.04 and will prevent upgrades17:20
loologra: you can't really trash it17:20
loologra: you can always press user button and boot from SD17:20
amitkwe'd have to setup partitioning to use mtd and something like ubifs?17:20
ograi dont have *many days*17:20
loolamitk: No need for a FS17:20
loolamitk: it's just for kernel + initrd17:20
ograi have a few hours17:20
loologra: Exactly, so would I be you, I would pick the simplest thing being NAND17:21
ograthe simplest thing is SD for me17:21
ograsince i have experience with that and dont need to start to learn while implementing17:21
ograit just butt ugly17:21
loolYou're in trouble IMO17:21
ograi am17:22
ograthat was supposed to land a week ago17:22
ograbut i didnt have anything to work with17:22
loologra: So I'll just finish exploring the NAND stuff to have it here for reference: I think flash-kernel currently writes to mtdblock devices; you only get these if the kernel knows which areas of the flash map to each mtdblock device; problem is that IIRC beagleboard doesn't have any partition table for them17:23
loologra: So it would either be absolute addressing from the whole mtdblock device, or making sure we have partitions (perhaps we do have partitions?)17:23
ograit should create one device for each partition17:24
ogralool, ogra@ubuntu:~$ ls /dev/mt*17:24
ograls: cannot access /dev/mt*: No such file or directory17:24
ograno mtd support ...17:24
loologra: For SD; I dont understand enough details of the problem; I suspect it impacts partman which is complex and picky17:24
ogralool, it will be a hack in flash-kernel-installer at this point of time17:25
ograsurely not partman at all17:25
loolamitk: Do you know why we miss MTDs in the kernel support?  Is this missing drivers, missing config, bug...?17:25
loologra: "lol"17:25
loologra: Ok; so here's what I would propose17:26
loologra: That will make your like easy to some extent17:26
ograok17:26
loologra: a) make sure we create a flash-kernel.conf which explains that we're in a special mode to support beagleboard on sd card in 10.0417:27
ograright, i was planning to17:27
ograessentially planned to steal from imx where i can ... apart from the fstab stuff17:27
loolb) flash-kernel should, when this mode is set, look for where the first partition of the SD card (VFAT) is mounted -- or you could have a hardcoded value -- and copy over the /boot/* bits into the mounted partition17:28
loolI don't really like /boot/uboot, but it could work17:28
ograwell, another option would be mcopy to the partition file17:28
loolIn reality, it should be /boot but it's too hard to move our files around17:28
loologra: I suspect you're taking risks by using mcopy17:28
ograyeah, probably17:29
loola) requires to ensure dosfstools is installed, new dep in multiple places17:29
ograbut it would overcome the fstab issue17:29
loolb) what happens if the partition is also mounted?17:29
loolFor fstab you have two options17:29
ograhmm, right17:29
amitklool: missing config. (http://paste.ubuntu.com/414408/). I did this yesterday but then got side tracked by this boot issue today, so reverted it out of my tree.17:29
loolEither you make sure there's an fstab entry and it's created in the install phase and then you just expect it's mounted at $place17:29
ograright, thats the /boot/uboot approach17:30
loolOR you hardcode the device / UUID where this should be written to, and then you check mounted filesystems to see whether it's mounted or not; if it is, you update this place, if it's not you mount it to $place and unmount it when done17:30
loolamitk: I think it's desirable, so please include it17:30
amitkogra: you'll have another kernel to test and confirm then (for flash support)17:31
ogralool, ok thats a bit more code than adding the following to flash-kernel-installer17:32
ogra        mkdir /target/boot/uboot17:32
ogra        uuid="$(block-attr --uuid /dev/mmcblk0p1)"17:32
ogra        echo "$uuid vfat defaults 0 0" >>fstab17:32
loolamitk: I am not a release manager, but I wouldn't think the feature freeze applies in the same conditions as on the other kernel packages here17:32
ograwell, /target/etc/fstab ... but essentially that17:32
ogralool, it doesnt17:32
ograwe have a bit more freedom in all places were we dont touch other arches code17:33
loologra: I personaly wouldn't write directly to fstab, if the installer can include/detect the partition that's fine, otherwise I wouldn't hack the contents of fstab17:34
ograthe above is surely the most minimal, quickest but also hackiest approach17:34
loola) you don't actually need an fstab entry b) it's very risky to touch it17:34
loologra: did you check whether the installer actually creates an entry for you already?17:34
ograyou mean i should better deal through flash-kernel with temporary mounting/unmounting ?17:34
loolIt might be creating entries not mounted by default for other-os partitions17:35
ograit doesnt17:35
loologra: yes; but if you do mount/umount, check that the fs isn't mounted somewhere else first17:35
ograi added all omap realted code the last two days there isnt anything magic in it yet17:35
ogra*any17:35
ograthats all 10.10 or for the interim17:36
ograindeed17:36
loologra: But I really really think that you take less risks by trying the NAND route and you'll save yourself time in the end17:37
ogralool, i'm scared to miss the freeze17:37
ograand that code touches other arches code17:38
ogralool, http://paste.ubuntu.com/414411/17:39
ograthats flash-kernel-installer17:39
* ogra needs a break and actually some breakfast ... i havent eaten today17:40
* amitk hands ogra his all-day liquid diet17:41
loologra: a) I suggest you put some flag for the special mode in flash-kernel.conf, e.g. "beagle-board-install-location = sd" or just install-location; b) do the mkdir if the dir doesn't exist just before mounting, that's more robust c) not sure whether boot_uuid= or rootfs= have a meaning in flash-kernel.conf already; make sure it's the same meaning and no new variable are introduced needlessly18:00
loologra: on that note I need to drop off18:00
ogra_cmpclool, thanks a lot18:05
ogra_cmpcroot uuid only has a meaning for boot.scr18:05
ogra_cmpcbut i think i'll just create that on the go in flash-kernel-installer18:06
* persia idly notes that not all hardware has NAND18:07
rsalvetipersia: at u8500 u-boot is loading the kernel and initrd from the emmc (bigger and chipier)18:10
rsalvetiShow romanization18:10
rsalveticheaper18:10
rsalvetiargh18:10
rsalvetimy logitech mouse is not working as it was before18:10
persiarsalveti: That's an example, indeed :)18:10
rsalvetipersia: i think it's 8gb18:11
rsalvetiso you can put the whole system there, besides the kernel18:11
rsalvetimuch like a desktop18:11
persiarsalveti: Ought be indistinguishable from any SD boot (e.g. booting my amd64 laptop from SD).18:13
persiaBut that depends, of course, on the bootloader :)18:13
rsalvetiyeah, sure18:13
sveinseogra, did you discover the kernel/initrd issue?18:21
* sveinse is nosse1@home18:21
amitkogra: people has the (hopefully) final kernel. Will upload after confirmation that it works for you.18:21
sveinseamtik, did you have to change the kernel today? I.e. are we looking at a ti-omap -6 ?18:23
amitksveinse: yes, several config changes to make the install process work fine (mtd, framebuffer console, rtc driver, etc.)18:26
sveinseamtik, then I can try it once more on my EVM tomorrow then18:26
amitksveinse: I doubt it will help a lot over -5 since I don't really have any EVM hardware to enable..18:27
amitkperhaps we'll be able to add more support when we get more boards after release18:28
sveinseamitk, well I can try at least. It's not the end of the world if doesnt work though18:28
amitksveinse: sure :)18:29
sveinsemay I ask the exact nature of the initrd boot issue ogra was working on when I left?18:29
amitkthe boot would stop somewhere in the initramfs18:30
sveinseBecause it is very similar to the symptoms I'm seeing on the AM3517-EVM, you see18:30
rsalvetiI also had this problem yesterday when trying it on u850018:30
amitkit turned out to be missing FRAMEBUFFER_CONSOLE support18:31
ogra_cmpcwell, in combination with mountall :)18:31
rsalvetiyeah, probably the issue I had was with mountall18:31
amitkright, the actual bug was in mountall18:31
amitkbut didn't show up because of lack of FB support :)18:32
ogra_cmpccat > /etc/e2fsck.conf << EOF18:32
ogra_cmpc[options]18:32
ogra_cmpcbroken_system_clock = true18:32
ogra_cmpcEOF18:32
ogra_cmpcthatsthe proper fix btw :)18:32
amitknice, no /lib/init/fstab hacking then :)18:32
ogra_cmpci'll see if we can make that a default on beagle18:33
ogra_cmpcsince we definately wont have a battery18:33
rsalveticool, will try it when I get home18:33
ogra_cmpcits less evil than fstab hacking .... it will still check the filesystem ... but ignore the clock18:34
sveinseBTW: Is that (the system clock) why when you boot you see the kernel time doing a sudden jump up to a high value?18:34
ogra_cmpcyep18:34
sveinseWill the arm release follow the same release schedule (RC then release) as the main release plan?18:38
ogra_cmpcyes18:38
ogra_cmpcfor now at least18:38
sveinseand it will be LTS?18:42
ogra_cmpcno18:44
amitksveinse: there isn't anything worth an LTS in here yet :)18:44
sveinseok. Point is LTS would fit our project/product schedule very well. If it were LTS, the customer support effort would be much simpler for us.18:47
sveinseOur product is designed for a market lifetime of 5 yrs (2017) after launch.18:48
persiasveinse: Even if 10.04 *was* LTS it wouldn't last until 2017.  12.04, if an LTS, would last that long.18:52
sveinseYes, yes I know. It's us as mfg responsibility to provide the end user support anyways. During the period it covered by LTS, we will have an easier job keeping it up to date due to the LTS, that's all18:53
persiasveinse: So if you're actually planning a 2012 launch, and you want a product that runs Ubuntu, my recommendation would be to run current-devel and participate in making Ubuntu work to meet the product needs, so that the 12.04 release was absolutely perfect for you, and so that you had a track record supporting some specific image that could be enough to get LTS approval for it.18:53
rcn-ee ogra, is the  "broken_system_clock = true" /etc/e2fsck.conf setting official for going forward now? (lucid -> lucid+1)18:54
sveinseThe customer will not know Ubuntu is running in the scenes in our product. In fact we will try hard not to reveal that fact.18:54
ogra_cmpcrcn-ee, well, i'm still discussing soemthing like a cmsdline option with Keybuk in -devel18:54
persiasveinse: Oh, if that's all you're worried about, there will be critical bug support for all of userspace for 5 years anyway: just no special arm-specific work after 18 months (but, frankly, if all the arm-specific stuff isn't ironed out in 18 months, there's not enough user testing to matter for 60 months).18:55
ogra_cmpcrcn-ee, i guess for 10.04 it will be our best option but we'll discuss a better solution at UDS18:55
sveinseBut we will use Ubuntu for deployment and upgrade. And drive the userspace system as well18:55
rcn-eeokay, nothing official yet.. ;)  I'll wait before i rewrite the scripts..18:55
persiasveinse: So you'd just be worried about the kernel.  WIth the current state of the Ubuntu kernels for ARM, you'd probably end up rolling your own kernel anyway (sadly, we're still a ways from truly generic kernels for ARM).18:55
sveinsepersia, not the kernel, no. Because we're running custom HW which mandates custom kernel anyways18:56
ogra_cmpcrcn-ee, its the most official thing we have18:56
rcn-eeof course, by 10.10, all the old beagles will be long gone, and everything should have spots for battery hookups. ;)18:57
sveinseBasically, it's the "PC" idea which is tempting: We worry only about the kernel and the end-user application. The rest is the distro.18:57
ogra_cmpcamitk, http://paste.ubuntu.com/414443/ (tring to reboot into the new kernel)18:57
sveinseWith Ubuntu, it is now possible to achieve this goal18:57
* ogra_cmpc climbs upstairs to hot the reset buttomn18:58
ogra_cmpc*hit even18:58
rcn-eesveinse, as long as you honor a couple specific config settings, it's pretty easy to use deb-pkg in a arm chroot to roll your own...18:58
persiasveinse: In that case, it's unlikely to matter that there's only 18 months of support for ARM, because there are 60 months of support for everything else, so most userspace will get critical bugfixes and security uploads.  Just make sure that any outstanding porting issues are hammered out in the first 18 months.18:58
persiaogra_cmpc: "hot" is probably also correct, although implies a lower level of hardware hackery :)18:59
ogra_cmpcheh18:59
amitkogra_cmpc: this is on bootup?18:59
sveinsepersia: and like you said, we can probably switch/participate on 12.04 as well and follow that when the time is right18:59
persiasveinse: The only possible issue would be if there was some massive change to the architecture that meant hardware in 2013 *couldn't build* for armel.18:59
ogra_cmpcamitk, no that was on shutdown19:00
ogra_cmpcamitk, i'm in the new kernel now seeing mtd[0-9] and mtdblock[0-n]19:01
* ogra_cmpc tries another reboot19:01
sveinsepersia, like the state of the art armel is called Cortex-A42 and not compatible with A8...19:01
persiasveinse: If you're thinking about switching, I *strongly* recommend that you base on 10.04, get into 10.10 as it is developing, attend the 11.04 UDS to start getting your base stuff implemented, attend the 11.10 UDS to make sure to fix the many significant bugs actual users exposed in that in 11.04, and then chase 12.04 for stabilisation and LTS-worthiness.  If you don't start now, it's unlikely you can get your stuff well-supported for LTS in 1219:01
persia.04.19:01
ogra_cmpcamitk, this time it worked, i'll try another reboot if i'm sure dpms kicked in19:01
ogra_cmpc(like in 10min)19:02
persiasveinse: Right.  Such a massive change would make 10.04 unsupportable in e.g. 2013, but I think that's unlikely.19:02
sveinsepersia, it is still possible to follow 10.04 and on, because the product release isnt until Q1-2012. I would expect a feature freeze of around Q2/3-201119:04
ogra_cmpcapw, kernel looks good so far i dont think its urgent to have the upload in tonights image though19:05
apwogra_cmpc, cool then i'll await your 'go/no-go'19:05
sveinsepersia, currently we are evaluating if we are to use Ubuntu. Coming from an purely embedded background (the project that is), it is a large jump into "mainline" distro philosophy -- like the fact that the packages are built natively19:05
persiasveinse: Hrm.  That gets tricky.  I'm expecting FF for 12.04 in Q4 2011.19:06
ogra_cmpcapw, i just want to wait for another 10min until dpms kicks in to be sure  http://paste.ubuntu.com/414443/ doesnt show up19:06
persiasveinse: Yeah, general-purpose-OS is fairly different from embedded.  That said, it offers a lot of flexibility it's hard to get in embedded, at the cost of a larger footprint.19:07
ogra_cmpcwell ...19:07
ogra_cmpcdepends how you will define embedded in five years19:07
sveinsepersia, Yes. And again the far greatest reason for wanting Ubuntu is the upgrade/package system which solves a lot for our part when it comes to deployment19:08
ogra_cmpci guess thne you are at the state of a normal low powered laptop of today19:08
sveinseour system is speced with 512M/1G NAND, so it will work, but not with too great margin (considering the space at least)19:09
ogra_cmpcrcn-ee, did you manage to capture any backtrace from apt ?19:09
persiaogra_cmpc: "embedded" means two things to me.  1) computers that are inside other things, and not expected to have any real "interface", so much as just run control software (e.g. the main processor in your keyboad).  2) a softwre building philosophy traditional for such environments, where ideally you want a single monolithic binary, but you may end up breaking it up a bit for ease-of-management: however you know, in advance, everything that it19:10
persia needs to do,and the code does that.19:10
persiasveinse: 1G NAND is tight.  Any chance that could be 2G?19:10
persia(or emmc works)19:10
rcn-eenah, nothing really good/useful yet..  Had some urgent emails this morning, where 1.4.4ss X-loader and 2010-03 seems to be causing issues with 9.10.. ;)19:11
sveinsepersia, perhaps. We landed on 1G because then you can use SLC NAND, which has a high data retention. MLC are poor in that respect19:11
sveinsePerhaps 2G SLCs are becoming more common now19:11
ogra_cmpcrcn-ee, pfft 9.10 ... thats so old19:12
persiasveinse: Worth a look.  We don't recommend installing Ubuntu with less than 2G space.  It's possible to do things like mount / and /usr separately, but that tends to annoy folk when some partition runs out, and there's still free space on the other.19:12
ogra_cmpcrcn-ee, i just remembered it because i see kirkland in #ubuntu-devel19:12
ogra_cmpc(he's our qemu maintainer)19:12
persia(and for general use we really recommend 4G, but 2G works, if necessary)19:12
rcn-eeI know.. ;)  but since i release images on rcn-ee.net i need to half ass support them before the next release.. ;)19:13
persiarcn-ee: Only two more weeks :)19:13
ogra_cmpcpersia, well, if i can make it :P19:13
sveinsepersia, yes. Ubuntu's reccomendation is not an issue, because we will strictly control the packages going into the product. Basically it will be ubuntu-minimal + custom QT (running on fbdev) + our app.19:13
rcn-eethanks, ogra, i'll watch ubuntu-devel for any hints...19:14
ogra_cmpcamitk, so i get the same oops after waiting 10min19:14
ogra_cmpcamitk, i guess there is an issue with dpms19:14
ogra_cmpcapw, ^^^^19:14
persiasveinse: How do you strictly control the packages?  Is there no UI available?19:14
persiasveinse: I'm all for folks using Ubuntu in products, but I worry that we may not be able to meet that requirement.19:15
sveinsepersia, no Ubuntu UI (gnome/kde), only our application.19:15
rcn-eepersia, can't wait, specially with daily X-loader/U-boot changes happening in Angstrom right now.. ;)19:15
sveinsepersia, is there a problem with that?19:15
persia(if nothing else, someone can spoof their local DNS, and swap a package name so the automatic updater installed e.g. ubuntu desktop)19:15
ogra_cmpcrcn-ee, we dont touch uboot/x-loader in 10.0419:15
persiasveinse: I can work around it in 20 minutes.  If that's acceptable to you, then there's no problem :)19:16
ogra_cmpcwe just rely on them being in NAND19:16
sveinsepersia, we won't associate ubuntu into this. At least not visibly. We must, however due to copyright and source references of course.19:16
persiasveinse: Understood.  I just want to make sure that you realise that while you can not install stuff by default, and not give the users a UI to install stuff, that if you allow updates over the network, and you're based on Ubuntu, it's trivial for a user to install anything they want.  This may be a hackers-only-manufacturer-unsupported use case, but if you have (e.g. regulatory) reasons why this *cannot* happen, I'm unsure that you've selected the19:17
persia right base.19:17
sveinsepersia, I think that's fine. The product we're building is training equipment for emergency medical personel.19:17
rcn-eeYeah i saw that...  Sadly I'm going the other way, betting on me finishing XM support at the last minute.. ;)  (need latest x-loader/uboot for xm) here's my nasty script: http://bazaar.launchpad.net/~beagleboard-kernel/%2Bjunk/image-builder/annotate/head%3A/tools/setup_sdcard.sh19:18
persiasveinse: Oh, that's easy.  Just make sure the end-user license specifies that it is no longer guaranteed to comply with X, Y, and Z if there is end-user modification to the base software, so that anyone who hacks it can't complain when it doesn't act like they expect.19:19
sveinsepersia, We don't think the customer will have the compteance or will to do that. However, if someone does, by GPL it's fine that they install ubuntu-netbook on it19:19
sveinseThe only thing we keep to our chest til the business logic19:19
persiasveinse: Yeah.  Just wanted to make sure.  Some regulatory regimes for some classes of equipment don't allow that, which makes it tricky.19:19
sveinseWe'll have to see. This isn't settled internally yet. But there's the TiVoization monster lurking in the back here as well19:20
persiaOh, good point.  I always forget about the GPLv3 restrictions.19:23
ogra_cmpchmm19:25
* ogra_cmpc wonders how to put initrd into nand on beagle19:25
sveinseogra_cmpc, if it's the same as the AM3517-EVM, its a specific region in the NAND19:26
sveinseogra_cmpc, http://elinux.org/BeagleBoardNAND19:26
ogra_cmpcsveinse, thats what i'm reading atm19:27
ogra_cmpcbut it diesnt have an explicid initrd partition19:27
sveinseogra_cmpc, ummm.. it doesn't mention initrd, no19:27
ogra_cmpci guess i need to use the filesystem one19:27
sveinseHold on, I'll dig up the descr for the AM351719:28
rcn-eeogra, just need to carve another section: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm/mach-omap2/board-omap3beagle.c;h=962d377970e9bb198d410abf1ac1b418d0658341;hb=HEAD ;)19:29
* sveinse is wondering if the partition table is hardcoded into u-boot...19:29
ogra_cmpcrcn-ee, no way ... amitk would kill me if i requested any change now19:30
rcn-eei know.. ;)  I'm keeping my mouth shut too..19:30
ogra_cmpcheh19:31
persiasveinse: It's not.19:32
rcn-eedid you guys decide on a mount name for the vfat /dev/mmcblk0p1 partition?  If so, I'll make it consistent with the demo images...19:33
ogra_cmpci'm still pondering to use NAND now that i have it actually19:35
ogra_cmpcthough i need to find the right runes for the uboot env and for initramfs19:36
amitkogra_cmpc: please file the bug and I'll start looking19:37
ogra_cmpcamitk, which one ? dss2 ?19:37
amitkogra_cmpc: so you get identical oops for halt and dpms?19:38
amitkright, the dss2 one19:38
ogra_cmpcamitk, for halt when dpms is active19:40
ogra_cmpcoh, i guess you meant reboot :)19:41
* ogra_cmpc didnt try halt yet19:41
ogra_cmpcamitk, yes, just tried, halt and reboot19:41
* ogra_cmpc sighs and climbs the stairs once more19:42
persiaogra_cmpc: If you have another machine up there, consider a USB-controlled switch :)19:43
persia(mind you, this may cause you to inadvertently gain weight)19:43
ogra_cmpci need a relais to press the reset button19:44
ogra_cmpci usually dont work from the living room :)19:44
ogra_cmpcno danger of gaining weight :)19:44
amitkogra_cmpc: so no-go for upload, right?19:47
DanaGhmm, is there another -500-omap kernel now?19:48
amitkDanaG: there will be by tomorrow19:49
DanaGAnd I did notice that you'd put not only musb_hdrc, but also g_ether (and nothing else) into the kernel.19:49
DanaGI wish there were a way to compile-in all the gadget drivers, and select via sysfs which one gets to be active.19:49
DanaGEither that, or have the musb_hdrc built-in but g_* as modules.19:50
amitkDanaG: I did that but ogra_cmpc reported that it killed his EHCI-connected peripherals19:50
amitkI have to investigate what is going on...19:50
DanaGWeird.19:51
amitkOTG might be fixed as an SRU (after release next week)19:51
DanaGI also have some weird behavior with my asix.19:51
amitkasix seems to work just fine here19:51
DanaGIt doesn't work when plugged in during boot.. I have to unplug and replug the usb+ethernet thingy for it to work.19:51
amitkthe USB code is all plain 2.6.33 mainline19:51
DanaGI can sniff packets with tshark, and get literally zero.19:51
amitkhuh19:52
DanaGAnd yet it thinks it's up.19:52
amitkthere is definitely something up with the usb stack of omap3 in 2.6.33 mainline.19:52
DanaGoh yeah, and I did get a log of plymouth (in this case, on my host) refusing to show splash.19:55
DanaGwww.csc.calpoly.edu/~dgoyette/amtterm.log19:55
DanaGconsole=ttyS0 console=tty019:56
ogra_cmpcamitk, well, its your reputation ... upload if you feel like20:03
ogra_cmpcamitk, apw, i'm happy with the functionallity for now if you guys feel ok with an oops on shutdown/reboot ...20:06
apwogra_cmpc, /me is just the monkey which pushed the buttons ...20:06
ogra_cmpcamitk, just note that slangasek just said 0000 UTC is freeze time20:06
ogra_cmpcah, you just asked the same :)20:07
goshawkcan i make ubuntu arm running on a Processor       : ARM926EJ-Sid(wb) rev 5 (v5l) ?20:17
Stskeepsarmv5te, so only ubuntu 9.0420:18
goshawkoh hi Stskeeps20:18
* NCommander waves to Stskeeps 20:21
Stskeeps'lo20:21
goshawkStskeeps: why only 9.04?20:21
Stskeeps9.10 is for armv6+vfp20:21
Stskeepsand next step again would be armv720:21
goshawkk understood20:22
goshawk9.04 is enough20:22
goshawkdo you have a rootfs ready somewhere?20:22
StskeepsMer?20:22
Stskeeps:P20:22
goshawkStskeeps: are you collaborating with ubuntu-arm too?20:22
goshawkStskeeps: well a mer image could be good too20:22
Stskeepsnop, i'm in the meego camp now20:22
persiaMer would be *lovely* but it proves exceedingly difficult to integrate with Ubuntu, unfortunately.20:25
goshawkcan i run rootstock from my x86 machine and have a generated armel rootfs ?20:30
goshawkit does not seem clear from this infos: https://wiki.ubuntu.com/ARM/RootfsFromScratch20:30
persiagoshawk: That is indeed the central usecase for the existence of rootstock.20:30
ogra_cmpcsigh20:34
ogra_cmpcso lool was right, NAND would be trivial20:34
ogra_cmpcbut i cant change the bootargs to actually load an initramfs or to change the cmdline20:34
* ogra_cmpc cires20:35
ogra_cmpc*cries too20:35
ogra_cmpcoh man20:38
ogra_cmpcthat would be so easy20:38
ogra_cmpcsigh, why does redboot appear so much easier every time i try to do something with uboot that goes beyond the defaults20:41
prpplaguehey who was using the AM3517 here?20:42
ogra_cmpcprpplague, nosse1_away20:44
prpplagueogra_cmpc: ahh thanks20:44
* ogra_cmpc wonders if anyone ever tried to cat boot.scr into the u/boot mtdblock partition and if that would work20:52
Martynit doesnt21:06
amitkogra_cmpc: calling it a day...21:08
ogra_cmpcamitk, did you upload anything ?21:14
ogra_cmpcapw, ??21:15
apwogra_cmpc, i was about to hit return on it21:15
ogra_cmpcok21:15
apwogra_cmpc, happy ?21:15
ogra_cmpcjustwanted to make sure21:15
ogra_cmpcapw, far from beimng happy but i'm ok21:16
ogra_cmpci still have a very long night ahead to implement what should have happened a week ago21:16
apwogra_cmpc, sorry if that is my fault ... i hate working late too21:16
ogra_cmpcapw, not your fault21:17
ogra_cmpccircumstances21:17
ogra_cmpcasac, can we get a last munite MIR ?21:19
ogra_cmpc*minute21:19
cwillu_at_workhmm, libcairo2 fails to build from source on karmic afaict21:30
mpoulletgood morning21:38
mpoulletI'm trying rcn latest Lucid prebuilt image on my Beagle, it works well but at startup I get some "could not write bytes: Broken pipe", what's wrong? http://pastebin.com/Wgr3hP1Z21:39
asacogra_cmpc: which one?21:55
ogra_cmpcasac, heh, not filed yet21:56
ogra_cmpcasac, uboot-envtools (two commands in the package)21:56
asacogra_cmpc: what for ?21:57
asacomap?21:57
ogra_cmpcwith that i could write kernel/initrd to NAND and have proper env variables set on beagle21:57
ogra_cmpcyeah21:57
asacogra_cmpc: where would the impl change land? flash-kernel?21:58
ogra_cmpcflash-kernel-installer and flash-kernel, yes21:58
asacwhats the risk?21:58
ogra_cmpcflash-kernel-installer would actually be the tool making use of the commands21:58
ogra_cmpczero ?21:58
asacuboot-envtools is definitly perfect ;)?21:58
ogra_cmpcwe wipe the NAND and replace the default setup with our vars21:59
ogra_cmpcno idea if its perfect21:59
ogra_cmpcits fw_setenv and fw_printenv21:59
ogra_cmpcdoesnt contain much more (some docs)21:59
ogra_cmpcso the idea is: flash-kernel-installer uses fw_setenv to set bootcmd and bootparms as well as bootdelay22:01
ogra_cmpcflash-kernel cats uInitrd to the Kernel mtd device and cats uInitrd to the filesystem mtd device22:02
ogra_cmpcthe bootcmd we set before automatically loads uImage and uInitrd and execs bootcmd then22:02
ogra_cmpcthat drops the requirement fo a SD card22:03
ogra_cmpcwe can boot directly from USB22:03
ogra_cmpcand dont need vfat /boot22:03
ogra_cmpcasac, bug #56339422:36
ubot4`Launchpad bug 563394 in uboot-envtools (Ubuntu) "MIR uboot-envtools is needed for flash-kernel installer in omap (affects: 1)" [Undecided,New] https://launchpad.net/bugs/56339422:36
asacogra_cmpc: can you fix the build system to not remove source files on make clean ;) ... and add the .o there and then run MAKE clean ;)22:46
asacalso add -g so we get debug symbols22:47
asacthat to debian/rules22:47
asacalso all the CONFIG_ variables are nowhere configured22:48
asacdoes that mean we want empty default?22:48
ogra_cmpcoh, sigh22:49
ogra_cmpcthats a lot of changes22:49
* ogra_cmpc will be busy with flash-kernel until the freeze kiscks in22:49
ogra_cmpcand i'm nit even sure i can make that one22:49
ogra_cmpc*not22:49
ogra_cmpci didnt expect it to be that bad22:50
asacogra_cmpc: any words when freeze will kick in?22:50
asacin 1h or rather 12 ;)22:50
ogra_cmpc0000 UTC22:52
ogra_cmpci'm unlikely to make it with flash-kernel22:52
ogra_cmpc(and i'm up since 6am ... cant even tyype straight)22:52
* DanaG wishes ubuntu had an official arm cross-compiler.23:31
ogra_cmpcsee /topic :)23:35
MartynDanaG : What do you mena?23:42
Martynmean?23:42
MartynOH .. well, yeah23:42
Martynnice thing about building natively on the buildd machines23:43
DanaGOddly enough, there _does_ seem to be an official ppc compiler.23:43
DanaGer, ppc cross-compiler.23:43
=== JaMa is now known as JaMa|Zzzz
=== XorA is now known as XorA|gone
ogra_cmpcphew23:52
ogra_cmpcso i got a working NAND implementation23:52
ogra_cmpcogra@ubuntu:~$ sudo flash-kernel23:53
ogra_cmpc[sudo] password for ogra:23:53
ogra_cmpcGenerating kernel u-boot image... done.23:53
ogra_cmpcErasing Kernel NAND space... done.23:53
ogra_cmpcFlashing kernel... done.23:53
ogra_cmpcErasing Initramfs NAND space... done.23:53
ogra_cmpcFlashing Initramfs... done.23:53
ogra_cmpcogra@ubuntu:~$23:53
Martynogra : What platform?23:53
ogra_cmpcbuti wont make flash-kernel-installer in time i guess23:53
ogra_cmpclool, ^^^ fyi23:54
ogra_cmpcMartyn, omap23:54
MartynI heard David Mandala's interesting speech at the Texas Linux Fest -- about a single kernel for ARM platforms.   He sees it as 3 years out...23:54
MartynI think we can do better than that :)23:54
rcn-ee3 years for maybe "all" arm.. omap should have multi-omap support by the end of the kernel release, then on top of your work and the device tree stuff...23:56
rcn-eeMartyn, do you have a git tree for your current multi arm work?23:56
Martynrcn-ee : Yes, internally at smooth-stone23:59
Martynrcn-ee : Not even ready for an -mm release23:59
DanaGhmm, so is the idea now to nand-flash the ubuntu kernel and initramfs?23:59
DanaGWhat about the beagle-xm, which may be sans NAND?23:59

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