/srv/irclogs.ubuntu.com/2010/01/26/#ubuntu-arm.txt

=== lbt is now known as lbt_
ogracooloney, this is not funny ! everytime i file a bug you already have a fix prepared ... moaning and grumbling isnt fun anymore this way :)09:37
ograj/k indeed :)09:37
ograthanks for the devtmpfs fix, i'll test it later today09:38
persiaogra: Consider it an exercise in testing expectations.  The set of solutions may be vast, but you only get that for which you've asked :)09:38
ograheh, yeah :)09:39
asacpersia: do you know why a bunch of channels like -motu etc. require you to be registered now?10:24
asacwhat incident triggered this ... and is that permanent?10:24
asacsomeone said there was a spambot attack on weekend ...10:24
asacbut i am sure we had that before ;)10:25
* persia is laggy because of a meeting, but will post the URL10:25
persiahttp://blog.freenode.net/2010/01/javascript-spam/10:26
persiaShould be sorted by next week.  tsimpson is monitoring and coordinating.10:27
asacok10:30
asacbut someone must have followed on our side and set +R on the channel10:30
asacwas there really a big problem?10:30
asaci havent seen it and i was more or less regularly online10:30
persiaIt's been a reasonably large issue in some channels.10:32
persiatsimpson has been handling things.10:32
persiaI haven't set +r or +R here yet because I haven't seen spam.10:32
persiaBut I only track ops stuff in -motu, -devel, and -arm, so I may be missing bits.10:33
* persia should probably go find out the status of -mobile, and handle that as well10:33
asacpersia: -devel seems to have the problem too10:33
asace.g. i dont autojoin there somewhat10:33
asacanymore10:33
persiaYes.  There was vast quantities of spam, and tsimpson made it go away.10:33
asacits -devel -motu -bugs -desktop it seems10:33
persiaThe solution is annoying, but like I said, we only need it until the end of the week.10:34
persiaAnd -meeting, at least.10:34
persiaProbably more.10:34
asachmm ok10:34
asac-meeting seems to be ok10:34
persiaThe flags get turned on and off depending on how much we get hit.10:34
ograok, i got hard numbers for uboot vs redboot now:10:34
persiaYou happened to join at the right time.10:34
persiaAnyway, people are working on it.  I'm watching them work on it.  It will be all over this weekend :)10:35
* persia goes back to paying attention to the meeting10:35
ograstopwatched to "uncompressing linux" with nearly identical setup (no boot.scr for uboot and the like which adds extra load time)10:35
ograuboot: 23 sec10:35
asacresult?10:35
ograredboot: 11sec10:35
asacyeah. thats ho wit feels10:35
JamieBennett:(10:36
asacthe mmc driver alone takes half of that time at least10:36
asaci guess10:36
ograthe loading isnt the part thats slowing down most though10:36
ograits the part wheer it unpacks the uimage/uinitrd that seems to add extra time10:36
asacJamieBennett: hi ... did you file the final MIRs for launcher?10:36
asaci think there is one still missing?10:36
asacnetbook-launcher-efl10:37
JamieBennettasac: should all be there10:37
asacah10:37
asaci see it10:37
asacbug 51234310:37
ubot4Launchpad bug 512343 in netbook-launcher-efl "[MIR] netbook-launcher-efl" [Undecided,New] https://launchpad.net/bugs/51234310:37
JamieBennett:)10:37
ograalso redboot doesnt separately initialize HW like uboot does ... i.e. the mmc is initialized directly where uboot needs to exec a command10:37
JamieBennettasac: now just need to prode someone to review it10:37
asacJamieBennett: did the other packages all get accepted now? or are there some with outstanding issues left?10:37
JamieBennettasac: all accepted10:38
asacyes10:38
JamieBennettjust need n-l-e then I'll update the seed10:38
persiaDoes it need wncksync?  normal netbook does, which is causing some issues now (needs another MIR)10:39
JamieBennettpersia: no unless someone changed it without me looking10:41
asacok assigned ... lets see10:41
JamieBennettasac: thanks10:42
asacif it doesnt go quick (like by tomorrow) let me know10:42
JamieBennettwill do10:42
asaci finally want this to be ready for the flip10:42
asac;)10:42
JamieBennettas do I along with the casper stuff I'm doing10:43
asacright10:43
asacJamieBennett: how is the fix going?10:43
asacfor caching the db/template?10:43
JamieBennettReally close, hope to have something sometime today.10:43
asacreally cool10:44
JamieBennettI think it will shave about 30% off of the live-cd boot time if not more :)10:44
asaci hoped for 50% ;)10:45
asacj.k.10:45
JamieBennettmaybe ;)10:45
JamieBennettIt takes *3 minutes to boot* so knocking that down to 2 minutes helps :)10:46
JamieBennettand we have time to improve further10:46
ograasac, so, on imx51 after install the SD still has a vfat partition with the livefs that always gets automounted on the desktop ... we cant wipe it during install because its mounted ... i researched a bit and it seems partitions labeled "RECOVERY" will never be automounted, any objections if we make our livefs partition on the imx51 image a recovery one ?14:18
ogra(filesystem still stays as is, it just gets an extra label (one line change in debian-cd))14:19
asacogra: does that have other implications?14:22
asaclike something offering to recover system from there?14:22
asacand then everything gets trashed or something?14:22
ograwell, we could provide a script that turns the SD into a install media again :)14:22
ograbut by default it simply would not mount the partition14:23
ograi just dont want to have the Sd icon on the desktop all the time after install14:23
ograand the user could happily reformat the partition to actually make use of the space (the label would be gone then)14:24
ograthere is nothing that would react on a recovery patition elsewhere14:24
ograso nothing would "offer to recover system from there" or some such14:25
ogra(though we could write somethng easily as i said above and sell that as a feature ;) )14:25
plarssounds pretty useful actually14:36
ograthe recovery option you mean ?14:37
ograor not having the SD mounted all the time14:39
plarsmaking use of the recovery partition as both a solution, and an added bonus14:43
ograwell, as asac said above its a pretty dangerous feature14:44
ograso it would require some extra thought how to prevent a user to use it accidentially ...14:44
ografor now i just want to prevent mounting ... the idea that we could actually make use of that as a recovery tool just occured to me later14:45
ograthough that doesnt even require to label the partition14:45
ograyou just need to flash the initramfs from the casper dir into redboot and change the cmdline back to the livefs one14:45
asacogra: how is the RECOVER feature implemneted?14:46
ograthats a three line script14:46
asaccant we do the same just for "BOOTFLOPPY" ?14:46
ograasac, udev has a rule to ignore all partitions that are labeled in a special way14:46
ograwe dont needf to do that for BOOTFLOPPY14:46
ograit doesnt ahve a filesystem14:46
ograi.e. it doesnt get automounted14:47
ogra# recovery partitions (taken from old hal rules)14:47
ograENV{ID_FS_TYPE}=="ntfs|vfat", \14:47
ogra  ENV{ID_FS_LABEL}=="RECOVERY|HP_RECOVERY|Recovery Partition|DellUtility|DellRestore|IBM_SERVICE|SERVICEV001|SERVICEV002", \14:47
ogra  ENV{DKD_PRESENTATION_HIDE}="1"14:47
ograthats from /lib/udev/rules.d/95-devkit-disks.rules14:47
ograits just to prevent the vfat/ntfs partitions labeled in a special way to get automounted14:48
asacogra: lets take one step back. i think i dont understand whats this about.14:49
asaci was under the impression it was aobut the /boot partition on the liveimage14:49
asacwe planned to have for uboot14:49
ograno14:49
ograits about the livefs partition we currently use on the imx51 image14:49
ograthis is a vfat partition containing casper and the squashfs14:49
ograbecause it is mounted during install we cant delete or wipe it14:50
asacyes. so i would label it LIVEFS then ;)14:50
ograso after install (since you need the SD to boot) that second partition is still there and devkit automounts it on your desktop14:50
asacof course we need to ensure it gets still loaded for the live image14:50
ogracasper doesnt care for labels14:51
asacgood14:51
ograthat will only affect the automounting after install14:51
asacso why not use CASPERLIVEFS or someting ?14:51
ograits a paper cut and a one liner can fix it14:51
asacright14:51
ograbecause then i need to patch devkit14:51
asacdoesnt feel like a big thing14:51
ograwhich i'D like to avoid14:51
asacusing some other label that doesnt match what we do just because we dont want to touch devdisk isnt great either14:52
ograwell14:52
ograits essentially is a recovery partition14:53
ograthere is just not anything that makes use of it14:53
asaca recovery partition is something else in my book14:53
asacusually recovery partitions can be check pointed etc.14:53
asacoh that is backup14:53
asacso yes. if you are sure that a recovery partition would be a casper partition then its fine14:54
asacbut only if thats really the case ... is it?14:54
ograwith a littel script that turns the SD back into a live image it is a recovery partition14:54
ograbut indeed that would trash your install (as recovery tools often do)14:55
asacwhat i am wondering is if there already is such a thing like ubuntu recovery partitions14:55
ograi dont think so14:55
asacif there is we shouldnt reinvent the wheel14:55
ograi just want to prevent automount for now :)14:55
ograwe could use an uglier way though14:55
ograsee type 12 on http://www.win.tue.nl/~aeb/partitions/partition_types-1.html14:55
asacfor me it feels bad to reuse a label that has a meaning14:55
asacif its not true14:55
asacrather we should really add a new label14:56
asacand getting that into udev-disks doesnt sound that hard14:56
ograwell, i find it uglier to patch devkit than just adding a pointless label14:56
ograbut inventing a new one surely works too ... its just more patching in different places14:57
asacthe current list of labels in devkit are just added as needed14:57
asacat least they look like14:57
ogra# special MBR partition types (EFI, hidden, etc.)14:57
ogra# see http://www.win.tue.nl/~aeb/partitions/partition_types-1.html14:57
ograENV{DKD_PARTITION_SCHEME}=="mbr", \14:57
ogra  ENV{DKD_PARTITION_TYPE}=="0x00|0x11|0x12|0x14|0x16|0x17|0x1b|0x1c|0x1e|0x27|0x3d|0x84|0x8d|0x90|0x91|0x92|0x93|0x97|0x98|0x9a|0x9b|0xbb|0xc2|0xc3|0xdd|0xef", \14:57
ogra  ENV{DKD_PRESENTATION_HIDE}="1"14:57
asaci dont see why we cant add UBUNTU_CASPER there14:58
ograthats not as needed14:58
asacdoes casper mount 12?14:58
ograbut i dont want to play with the type if there is an easier way14:58
ogracasper looks for filesystems14:58
ograso type shouldnt matter as long as its vfat14:58
asacso yeah. lets use that15:00
asacunless you see a reason against that15:00
asacogra: do bootloaders agree?15:00
asaclike uboot recognizing that?15:00
ogradoes uboot matter ?15:01
ograit doesnt use that partition15:01
ograinitramfs is the only thing that counts here15:01
ograi.e. casper15:01
asacoh15:01
asacwell. i thought if we used uboot we could boot the initfs and kernel from the casper cd15:01
ograwell, you know how uboot works :)15:02
ograit loops over the vfat/ext2 partitions it finds15:02
ograas long as fatload works it wont care for partitioning or types15:02
ograi.e. the FS counts15:03
asacogra: i know that it does that, but i dont know 100% that it doesnt check fs type first15:03
asacbut if you say it doesnt then i believe you15:03
ograit looks for the fat signature, doesnt care for label or type15:05
ograso both should be fine to use15:05
ograasac, <ogra> but i dont want to play with the type if there is an easier way15:12
asacah15:12
asacwell. seems we can do everything on our own udev rule ;)15:12
ograi prefer LABEL its less dangerous15:12
ograright, so it doesnt matter :)15:12
ograwe can even use an arch specific label then15:13
ograBABBAGE_LIVEFS or some such15:13
asacyeah. if that makes most sense, go for it15:14
ograyup15:14
asacwe can make it more generic if needed15:14
asaclater15:14
* ogra looks how to do that from casper without slowing it down with additional bloat15:14
NCommanderogra, I thought the goal with imx51 was to have it put its bootloader right into SPI-NOR and remove the need for the boot floppy approach to power up15:44
ograNCommander, with uboot, yes15:45
ograbut we're unlikely to do uboot15:45
NCommanderogra, what was the major hangup with uboot (sorry, I think I missed part of the conversation here yesterday)15:45
ograyou seem to have missed the whole meeting today :P15:46
ograuboot still needs /boot on SD15:46
NCommanderogra, oh, right.15:46
* NCommander is not quite on his A game this morning15:46
ograwhich would mean we'd need to a) build out images with three partitions and b) still use the bootfloppy15:47
ograand that for losing about 15 seconds bootspeed15:47
* NCommander puts the dunce cap on and stands in the corner15:47
NCommanderOh well, at least we can have a uboot+imx51 spec again for lucid+1, continuing a UDS tradition15:48
ograbeyond that it would require awful ubiquity hackery to make ubiquity reformat /boot and all during install on a mounted media15:48
ograi dont think i'll support uboot until USB support appears ...15:49
ograso likely ... never ...15:49
ograi.e. likely no lucid+1 spec15:49
* ogra dist upgrades his arm chroot to build new redboot15:52
zenvoidhello Stskeeps, I see you are everywhere :P16:00
zenvoidI was going to ask about the default gcc flags used in karmic build16:01
zenvoidI was expecting an improvement of performance over 9.04 on a armv6 device16:03
zenvoidbut it turns out that it is 50% slower16:03
zenvoidspecially perl and scripting languages16:03
zenvoidI guess it is related to vfp, but not sure16:04
ograshesh ... we'll do a jump from 200938 to 200952 with redboot17:19
loologra: It's just ww17:25
ograww ?17:26
loolwork weeks17:26
ograah17:26
ograwell, i expect some bbg3.0 additions17:26
loolI can assure you there wont be a 200953  :-)17:26
ogralol17:26
loolSo it's effectively 2 months of development or so17:26
ograyeah17:27
ograwell, i didnt expect to touch redboot again at all :)17:27
=== bjf is now known as _bjf
* ogra grumbles17:46
ogradpkg-source: warning: executable mode 0755 of 'debian/patches/02_freescale_imx51.dpatch' will not be represented in diff17:46
ograwhy the heck do all patch editing tools create them with executable bit then17:46
ogratsk17:46
loolOnly dpatch actually17:46
loolBecause it's a shell script too17:47
ogracdbs-edit-patch too17:47
loolWhich is why I hate dpatch17:47
loologra: Really?  never seen that17:47
loologra: Perhaps cdbs-edit-patch if it's a dpatch17:47
ograno idea, i only usually edit existing ones with it and afterwards i usually get this warning17:48
loolcdbs-edit-patch has no chmod or umask calls so I don't think it's the culprit17:48
ograweird17:48
ograok /me crosses fingers that the build fiup patch still applies and runs debuild -b for redboot17:49
ogra*fixup17:50
* ogra cries 17:51
ogra/tmp/ccszJnU4.s: Assembler messages:17:51
ogra/tmp/ccszJnU4.s:473: Error: shift must be constant -- `orr r11,r10,r9,lsl r5'17:51
loolThe warnings are benign anyway; these are only an issue if you actually want the file to have this mode once installed and no tools ensure it does at build time (such as dh_fixperms or dpkg-builddeb)17:51
loolThat looks like a broken patch17:52
ograno, thats thumb17:52
ograneeds -marm17:52
ograi was expecting it (every other bootloader i built did need -marm) but was hoping to save the time17:53
loolHmm I thought lsl was an instruction but it's actually a register17:53
loolHmm no it's definitely an instruction; I wonder what it's doing in your line17:53
ograno idea17:54
loolBesides orr is supposed to take two args, bah I don't read arm assembly very well  :-(17:55
loolorr r0, r2, lsr #8 is like r0 |= (r2 >> 8)17:56
looland you can't shift by a register in thumb mode apparently17:56
ograright17:57
ograas i said, needs -marm ...17:57
ogralike apex does as well as uboot does17:57
ograi'm happy if its only that though17:57
ograroot@babbage2:/redboot-imx-200952# chmod a-x debian/patches/*18:00
ogradpkg-source: warning: executable mode 0755 of 'debian/patches/03_build_fixups.dpatch' will not be represented in diff18:00
ograTSK !18:00
loolYeah hug dpatch18:03
=== lbt_ is now known as lbt
ogragod, so many warnings18:11
ograthe quality degrades with every release ... but it builds18:12
ogradpkg-deb: building package `redboot-imx51-babbage' in `../redboot-imx51-babbage_200952-0ubuntu1_armel.deb'18:12
ograha!18:12
* ogra takes a break until conf call ...18:12
asac19:45 < Riddell> asac: just accepted chromium, well done again on a heroic license evaluation feet18:46
ograwohoo '!!!!!18:57
ogracongrats18:57
armin76what does that mean?18:57
ograthat chromium is in the archive18:58
armin76oh18:58
armin76http://opensource.freescale.com/git?p=imx/linux-2.6-imx.git;a=tree;h=refs/heads/imx_2.6.31;hb=imx_2.6.31 <- from #efika19:13
=== zenvoid_ is now known as zenvoid
loolarmin76: Cool19:21
ogralool, yeah, in case you didnt notice there is http://opensource.freescale.com/git since a few days :)19:22
loolYeah I was looking at that, amazing19:26
=== bradf is now known as bjf
ogra:)19:26
loolLinking to an obsolete uboot homepage :)19:26
ograheh19:26
loolltib -- never heard of that19:27
loolApparently a decently old project19:27
ojnyeah, it's freescale's own bsp distro19:28
loolOh it's developed by freescale?19:28
ograyes19:28
ojnyeah, they've used it on ppc for quite a while I think19:28
ograits also carrying the linux trees of the BSP patches19:28
ojnnever really looked at it, we preferred to ship a regular distro instead. :)19:28
ojnogra: in ppc land, those patches were a tall stack of cr*p. :)19:29
ojnmostly old versions of patches someone else had cleaned up and merged in newer mainline kernels. seems like their arm side isn't as good. :)19:29

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