/srv/irclogs.ubuntu.com/2011/06/09/#ubuntu-arm.txt

=== asac_ is now known as asac
=== Lopi is now known as Lopi|idle
MrCuriousis there a way to predict when the next version of ubuntu after 11.04 will be released08:32
MrCuriousfor arm :D08:32
MrCuriousi am seeing usb speed issues on 11.04. can anyone replicate?08:32
ogra_https://wiki.ubuntu.com/OneiricReleaseSchedule+08:35
ogra_err08:36
ogra_https://wiki.ubuntu.com/OneiricReleaseSchedule08:36
ogra_11.10 daily images are on cdimage.ubuntu.com08:36
MrCuriousty08:38
sveinseI'm trying to migrate my target system to natty, but I'm having some problems with cross compilation. It seems like libs like libpthread.so.0 and libdl.so.2 are moved to /lib/arm-linux-gnueabi/. OOI why is it done this way?09:13
persiasveinse, I'm not entirely sure, but suspect it's fallout from multiarch.09:22
persiaHow are you migrating?09:23
sveinseWell, as discussed earlier, I'm building the rootfs with rootstock (which seems to work)09:23
sveinseThe problems are because my cross compilation of a Qt app fails09:24
sveinseIt can't find libpthreads.so.0 by itself anymore09:24
persiaAre you using hrw's cross compilation environment?09:24
sveinseNo, we've made our own. Are you thinking of xdeb or xapt ?09:25
persiaNo.  hrw put together some cross-toolchain packages, which seem to behave sanely.09:26
sveinseDo you where I can find it?09:26
persiaBut I don't know much about them (I avoid cross compilation)09:26
persiaI think one just installs "gcc-arm-linux-gnueabi" on an i386 or amd64 system.09:27
sveinseYes, I know. But still cross compilation is neccessay/useful. Qt for example is built for cross compilation09:28
persiaWell, we don't build it that way :)09:28
persia(but, yes, I know)09:28
persiaI'm not convinced that the combination of cross-compiled and native-compiled has been extensively tested, nor that there is consistent ABI.  I may be mistaken, and I'd be happy if someone did the research to confirm they are the same.09:28
sveinseOh yes, of course. It is gcc-arm-linux-gnueabi we're using. The beauty of that cross compiler is that it's configured the same way as the armel native couterpart09:28
sveinsearmel cross compilation is an experienced area in gcc. In fact it has existed even longer as cross compiler than the native version09:30
sveinseIt just recently it has become possible to compile armel code natively09:30
persiaOh, I know.09:30
persiaThe cross-compiler is likely more mature.09:30
persiaMY concern is about mixing (well, also about having everything behave the same so I can ignore which architecture I'm using)09:31
sveinseSo I have no distrust in gcc in that respect. And the issue I have is related to linker search paths, I believe09:31
persiaBut I'm a bit of a crank about this: feel free to ignore me :)09:31
persiaI *thought* hrw's linker was multi-arch aware.  Hrm.09:31
persiaMaybe catch him when he's around.09:31
sveinseSurely object, I don't mind (except if it takes me away from my task :D )09:32
sveinseIn fact, I'd rather merge over to native compilation. But recompiling Qt is a *heavy* task, and we do that a lot (We're not using X11)09:33
sveinseAnd such, Qt and our apps are cross build using the armel cross compiler09:33
persiaRight.  In your very special case, I think you're probably doing the least painful way.09:33
persiaIn general, I think folk ought use X :)09:33
sveinseYes, agree. Unfortunately our target (OMAP3) does not have any accelerated 2D driver for X1109:34
persia(as I think I argued with you many months ago, only to discover convincing you personally didn't affect the results)09:34
sveinsehehe09:34
persiaHrm?  I thought we had one of those in the archive.09:34
persiapvr-something.09:34
sveinsepowervr or sgx. That a 3D accel, not 2D09:35
sveinseThats OMAPs limitation, not Qt nor X1109:35
persiaAh, yeah.  For OMAP3 it appears there are only the EGL and GLES drivers.09:36
sveinseAnyways since you mentioned our discussion: I am going to test to run stock qt4-x11 on X in one single fullscreen Qt app to bechmark its performance vs. the direct QWS/FB implementation09:37
sveinseIf it works good, we can ditch our own Qt compilation and merge over to pure native compilation09:38
hrwpersia: we cannot be multiarch with cross compilation yet09:38
hrwpersia: no support for multiarch headers09:38
persiahrw, Ah.  Maybe you know what sveinse needs to do to transition the dev environment to natty?09:39
hrwsveinse: you need to update your own cross compiler to handle multiarch paths09:39
hrwpersia: did you saw http://jeffbastian.blogspot.com/2011/06/storage-speed-on-pandaboard-revisited.html page?09:42
persiaI didn't09:42
persiaOh my.  That's a bug needs fixing.09:43
ogra_persia, well, depends which kernel he used, he doesnt give a clue09:44
ogra_i would suspect its a PM issue09:45
ogra_if the pinging improves speed that smewhat points to that09:45
persiaogra_, Sure.  Something to test against the kernels we have I suppose.09:46
ogra_well, i would expect that as part of GrueMaster's or janimo's spec work this cycle09:46
hrwprpplague wrote on pandaboard ML that issue happens also without smsc on board09:46
hrwyes most likely it is. i've modified a pandaboard to remove the09:47
hrwLAN9514 and wire a host port connector to the EHCI. even with the09:47
hrwLAN9514 removed i am still have similar issues. this leaves the USB09:47
ogra_i sere something similar on the ac100 ....09:47
hrw </quote>09:47
ogra_*see09:47
ogra_and i actually suspect we have a general issue with USB speed on arm09:47
persiaWe've had lots of issues before with unexpectedly poor performance from USB storage.09:48
ogra_welll, i dont think its a storage prob at all09:49
ogra_i think its on a lower level09:49
* persia suspects interrupt handling09:50
persiaThat said, it's low-level enough that I don't trust myself to guess09:51
ogra_i also think its related to the USB NIC driver segfaults we see with many differnt drivers09:51
persiaAnd perhaps the reports of horridly distorted audio with some USB audio devices09:51
ogra_since it seems the majority of USB NICs  needs vm.min_free_kbytes set to some high value to not drop packages09:52
persiaThat's just wrong.09:53
ogra_thats the only known workaround currently09:53
ogra_i dont think anyone has tracked that bug further yet09:53
persiaHow does one debug this sort of thing?09:53
ogra_no idea, ask the kernel team :)09:53
ogra_likely by scattering printks all over the code09:54
persiaRight.09:54
* persia climbs back up the stack into code that doesn't even get compiled09:54
ogra_on the ac100 is see some funny behavior with PM and wlan ... PM powers down the card faster than a ping returns ...09:55
ogra_so you get proper throughput when you have a constant stream of data ... but if you ping you get like 3-5sec return times09:56
ogra_(when pinging without traffic in the card)09:56
sveinseI'm trying to use arm-linux-gnueabi-gcc without sysroot (since it does not support it). How do you prevent arm-linux-gnueabi-gcc to attempt to link with host libs?10:02
sveinseIt tries to load: "opened script file /usr/lib/x86_64-linux-gnu/libz.so" which is not correct10:03
ogra_hey, but its 64bit, probably makes your binaries run faster on arm then :P10:07
sveinseThe armel-cross ld shouldn't be searching /usr/lib and /lib, should it ?10:07
sveinse:P10:07
ogra_no idea, i dont touch cross stuff10:08
sveinsehrw ^^10:08
sveinsedoing arm-linux-gnueabi-gcc -v ... reveals:10:21
sveinseLIBRARY_PATH=/usr/lib/gcc/arm-linux-gnueabi/4.5.2/:/usr/lib/gcc/arm-linux-gnueabi/4.5.2/../../../../arm-linux-gnueabi/lib/:/usr/lib/x86_64-linux-gnu/10:22
sveinseI don't see why the latter is present10:22
hrwsveinse: and ' --with-headers=/usr/arm-linux-gnueabi/include --with-libs=/usr/arm-linux-gnueabi/lib' is shown too10:22
hrwsveinse: here arm-linux-gnueabi-gcc -v does not show LIBRARY_PATH10:23
hrwsveinse: http://pastebin.com/vmHmg8t610:24
sveinseI think you need it in a complete line where it tries to link10:24
sveinseTry this: arm-linux-gnueabi-gcc -Wl,--no-undefined -Wl,-e,qt_core_boilerplate -Wl,-O1 -shared -Wl,-soname,libQtCore.so.4 -o libQtCore.so.4.7.2 -lpthread -lz -lm -ldl -lrt -v10:25
sveinseIts does nothing, but it reveals the settings10:25
sveinseFYI this is arm-linux-gnueabi-gcc 4.5.2 from natty stock10:27
sveinsehrw, 4.5.2-8ubunutu3 to be more specific10:28
hrwthx - it really looks strange10:35
=== Daviey is now known as Da
=== Da is now known as Daviey
sveinsehrw, why was --sysroot removed from the toolchain? Isn't it just about not using --sysroot and then it behaves equal to ld without sysroot support?11:36
sveinseBecause when cross building (non debian source), if ld encounters a linker script with say "GROUP ( /lib/arm-linux-gnueabi/libphread.so.0)", using --sysroot would make ld prefix that path with a dir, while it's rather cumbersome without sysroot because I have to alter the linkerscripts.11:41
sveinseAlternatively, does ubuntu have some chroot tool/environment to do cross building in?11:42
hrwsveinse: iirc I already wrote why in your bug report11:42
ogra_sveinse, qemu-debootstrap11:42
sveinsehrw, no offence but this means that there is no will to resolve the issue and make sysroot available. With other words: I don't understand why the cross toolchain is broken by a setting which can be omitted.11:44
=== chuck_ is now known as zul
hrwsveinse: Linaro will provide binary toolchain which will be sysrooted11:46
hrwUbuntu cross compilers will still be like they are cause they are more targetted as helping tool for those who want to cross compile for ubuntu then as cross compiler for embedded target developers (like in your use case)11:47
sveinsedo you know if there exists a pre-build PPA for that?11:47
hrwno ppa - it will be tarballs not packages11:47
sveinseok11:47
hrwI can send you link when will produce first working one11:47
sveinseexcellent!11:47
hrwbut hope that will get sane suggestions/opinions ;D11:48
sveinseyes, you'll have to excuse my naive questions, I'm just sitting here with a system which does not work.11:49
sveinseAnd yes, I hoped the armel-cross were a cross tool similar to codesourcery, but apparently not11:50
sveinseeven though I dont think it's far off being one11:50
sveinseAs a tempoarary workaround (today) I can either create a small tool which will search for all linker-script in my rootfs and replace it with the host path11:51
sveinseOr, perhaps as ogra_ suggest qemu-debootstrap, but I'm not sure how to use it though11:52
ogra_like debootstrap11:52
ogra_behaves the same from a user POV11:52
sveinseso you can run arbitrary command inside a chroot?11:53
ogra_you can run a full arm userspace in a chroot11:54
sveinseUsing host executables (and not binfmt/qmeu)?11:54
ogra_no11:54
ogra_it indeed uses binfmt11:54
sveinseSo compiling qt will be much slower then11:55
hrwsveinse: http://home.haerwu.biz/~hrw/t/ is my experimental one - no warranty that works11:55
ogra_will be faster than in a qemu VM but yeah, slower than cross11:56
sveinsehrw, thanks I'll try11:56
hrwsveinse: fetch and ping me - I will remove tarballs11:59
sveinseYou know, I actually planned on blogging how we did our setup to make a working cross build environment. But I'm uncertain if there are interest for such a blog because we're using all the tools which is not recommended or "you're on your own"... We use rootstock to create a rootfs-dev/ dir where all -dev packages are installed. And then we used to do gcc --sysroot to that rootfs-dev/ to...12:01
sveinse...cross build apps.12:01
sveinsehrw, eta. 4mins or so12:01
sveinseI do understand cross building is not the way ubuntu does it or wants to do it, but it's not more dirty to cross build than any other method. Apparently a bit more cumbersome obviously.12:04
sveinsehrw, done, thanks12:06
hrwthx. dropped12:06
hrwsveinse: write a post12:06
sveinseany ideas of a site where I can blog?12:07
hrwcreate own on on wordpress.com?12:15
sveinsehrw, cc1plus seems to depend on a set of libs. e.g. libgmp.so.10 is missing from my system (and I cant find it on packages.ubuntu.com)12:19
hrwsveinse: what is your system?12:20
sveinseStrange... ldd sais something else...12:20
sveinseamd64, natty12:20
hrwshould work under natty. I built under oneiric12:21
sveinseI can try, and ignore the warning.12:22
sveinseIt seems to fail because of this missing so. At least it does not give any other indication why it fails12:32
sveinsehrw, http://pastebin.com/1cqLSe8512:33
sveinsethis is from a configure test within qt in our build setup12:33
hrwnatty has libgmp.so.312:39
hrwtry in oneiric chroot12:39
hrwonce I will get it into buildable state I will do build under natty or maybe even lucid12:43
ericm|ubuntuppisati, ping13:35
ppisatiericm|ubuntu: pong13:35
ogra_GrueMaster, do you happen to have an up to date netbook/desktop image around on a panda or so ?15:27
GrueMasterNot atm, but I can image one and do stuff very quickly.15:28
* ogra_ would like to know if Bug 794938 happens on panda too15:29
ubot2Launchpad bug 794938 in lightdm "lightdm dies with "Failed to fork: Cannot allocate memory" on login" [High,New] https://launchpad.net/bugs/79493815:29
ogra_since thats our default login manager since a few days, it would be good if it worked ;)15:29
ogra_which reminds me ...15:29
* ogra_ looks what it takes to switch to the desktop seed, i should do that now15:30
GrueMasterlet me know what the new name will be.  I am also mirroring the kubuntu stuff and want to make sure of no filename conflicts.15:30
ogra_i hope it will be the same as the main x86 image with just preinstalled added and armel as subarch15:31
ogra_we'll see what comes out at the rear end i guess :)15:31
GrueMasterThat's the same name as the kubuntu files.15:31
GrueMasterI wish there was a way to differentiate.  Would make my life easier.15:32
GrueMasterGuess I'll have to modify my mirror script again.15:32
* GrueMaster checks to see if the coffee is ready.15:33
ogra_well, ideally we would have the same name just different subarch15:33
ogra_but we dont do isos and we're preinstalled15:33
GrueMasteroneiric-preinstalled-desktop-armel+omap4.img.gz is the name of the kubuntu image.15:36
ogra_well, i just fired off a build15:38
ogra_lets see if we're lucky and the archive is in sync :)15:38
ogra_if so, we'll see what comes out :)15:38
ogra_i'm curious where it will be published :)15:39
janimohrw, thanks for the storage speed on panda link, checking it now15:43
hrwnp15:43
janimohrw, although it indeed looks a board specific issue and not something to take into account in our storage speedup blueprint which si SD centric anyway15:54
hrwSD should die15:55
hrw0.5$ sd card reader can get better results from simple tests then omap4 controller sometimes15:56
ogra_hmm, seems my build will survive, its over 20min in16:00
GaragothHello.16:08
GaragothI'm having problem with my Ubuntu on BeagleBoard-xM16:09
Garagothmmcblk0: error -110 sending read/write command, response 0x0, card status 0x400e0016:09
Garagothlots of those messages during boot16:09
GrueMasterGaragoth: What image are you using?16:25
Garagothnetinstall16:26
Garagothit installed fine... I used it for a while...16:26
Garagoththen reboot16:26
Garagothand it cannot boot as / cannot be mounted16:27
GrueMasternetinstall?  We don't currently have a supported netinstall.16:27
Garagothyou have...16:27
GrueMasterThey are enabled and get built with the debian installer, but they are untested and buggy.16:28
Jef91Howdy folks.16:28
Garagothhttp://elinux.org/BeagleBoardUbuntu#Ubuntu_11.04_.28Natty.2916:28
Garagothnetinstall image16:29
Garagoths/image/method/16:29
=== zyga is now known as zyga-afk-bbl-sry
GaragothGrueMaster: So netinstall I made is not supported by any means?16:32
GrueMasterNot by Ubuntu.  We are working on it this cycle.16:32
GaragothAh well. 3 days of work lost.16:33
Jef91I'm following the guide here - https://wiki.ubuntu.com/ARM/RootfsFromScratch16:36
Jef91And when I try to launch the qemu I am getting kernel panic16:36
Jef91Any ideas why?16:36
GrueMasterGaragoth: Most of the files these instructions use are not even from Ubuntu.  I'm looking over the scripts now.  There is no way we can support something someone else has cobbled together.17:01
GrueMasterWe do have a preinstalled image for both headless & netbook for 11.04 though.  The headless image uses the serial console to run oem-config, and you can select different tasks from it for server or desktop workloads.17:02
GaragothGrueMaster: headless install failed for me.17:04
GrueMasterOh?  How so?17:04
GrueMasterWhat rev board do you have?17:04
GaragothI can re-try it now and then I can provide you with details.17:04
GaragothBB-xM rev C17:04
GrueMasterThere were some changes apparently.  You might need my updated x-loader/u-boot.17:05
GrueMasterLet me find the link17:05
Garagothis x-loader/u-boot update required for headless to install?17:09
GaragothI have Texas Instruments X-Loader 1.5.0 (Mar 29 2011 - 09:06:55)17:09
GrueMasterI'm looking.  It is bug 770679 if you want to read up on it.17:10
ubot2Launchpad bug 770679 in linux "Missing proper support for Beagle XM rev B and C" [Medium,Fix committed] https://launchpad.net/bugs/77067917:10
GrueMasterLooks like a kernel fix.17:12
GrueMasterFor natty.17:12
Garagothis it in headless image already, or should I patch it somehow?17:13
GrueMasterrsalveti: ^^^  Any hints on this?17:13
Jef91anyone know of a prebuilt kernel that works with arm qemu?17:14
GrueMasterGaragoth: If it requires adding a kernel to the image, I'll bundle it in a tarball with instructions.17:14
GaragothThanks.17:15
GaragothIn the meantime I will re-try with headless image17:16
rsalvetiGrueMaster: just need to generate an uImage from latest kernel available at proposed17:16
rsalvetiit's not going to boot for the first time17:16
rsalvetiyou need to replace it at the image to make it boot and then install it correctly17:17
rsalvetikind of the same issue we had in the previous cycle17:17
GrueMasterok.  I'll pull it in on my XM and create a tarball & instructions.  Thanks.17:17
rsalvetiGrueMaster: yeah, but best thing is to compile the same kernel that's available with the release, adding the important patches on top17:17
rsalvetias then we can just request the user to download the uImage17:18
GaragothHm. I got installer, but installer failed as it had not network. Is it likely the symptom?17:18
rsalvetiinstead of downloading the deb and installing it17:18
rsalvetiGrueMaster: I'll generate the uImage with the same kernel version used at the release17:18
rsalvetiGrueMaster: can you just get what kernel version is the one used at the released image?17:18
GrueMasterlinux-image-2.6.38-8-omap 2.6.38-8.4217:20
rsalvetithanks17:21
GaragothWhen booting current headless image I get: "init: ureadahead-other main process (372) terminated with status 4"17:21
rsalvetigive me some minutes17:21
rsalvetithat's expected17:21
Garagothok.17:21
GaragothAnd it says: Beagle unknown 0x0217:23
rsalvetithis should be fixed with the new kernel17:25
rsalvetihold some minutes and I'll have an uImage for you to test17:25
GaragothSure.17:26
rcn-eeGaragoth, what kernel (uname -a) where you running when you were getting flooded with -110 errors?17:36
Garagoth2.6.39-x117:36
rcn-eehumm, weird.. which board?17:37
GaragothBB-xM rev C17:37
Garagothduring install those errors appeared (during boot only I think)17:39
rcn-eevery strange.. i haven't seen that yet on my xM's.. i did pushout an 2.6.39.1-x1 update a couple days ago.. if you still have the image, are you able to try it? http://rcn-ee.net/deb/natty/v2.6.39.1-x1/ (install-me.sh script)17:39
Garagothand after reboot same errors caused / to be unable to be mounted17:39
Garagoththat image does not boot anymore17:39
Garagothfails with message that / cannot be mounted17:40
rcn-eeSweet, then my 2.6.38 -> to 2.6.39 broke boards.. great..17:40
Garagoth:-)17:41
GaragothYour netinstall script was fine17:41
Garagotheverything worked except no slip kernel module17:42
Garagothand I need it :-)17:42
rcn-eewhat config do you need?17:42
rcn-eeHere's my last xm stress test: http://rcn-ee.homeip.net:81/dl/gcc/sys/dmesg-174678-2.6.39-x1-beagle-xma-512mb.log  (why i'm not getting the mmc -110 error..)17:43
GaragothI have pair of Xbee connected over USB and I need to connect then using slip ...17:43
rsalvetiGrueMaster: http://people.canonical.com/~rsalveti/beaglexm/uImage17:43
rsalvetiGrueMaster: this is the kernel  2.6.38-8.42 with the rev c patches included17:43
GaragothAre you using own sd card? I'm using card shipped with beagle...17:44
rsalvetiGrueMaster: just update the wiki doc explaining to replace the uImage from the sdcard with this one17:44
rsalvetithen the first boot should be fine17:44
rcn-eeGaragoth, yeah, i thru away the ones came with the xM's.. to slow..17:45
rcn-ee(thru/burned)17:45
Garagothrcn-ee: Hm. So maybe this is a reason... I mounted that card on my laptop, fsck'ed it.. copied it fully using dd .. no errors in process.17:45
Garagothbut on BB-xM it fails to work.17:46
rsalvetiGrueMaster: the user should also replace the vmlinuz that's inside the second partition, at /boot17:46
rsalvetiGrueMaster: replace it with http://people.canonical.com/~rsalveti/beaglexm/zImage17:46
GaragothSame card works fine with Angstrom17:46
rsalvetiGrueMaster: as one step from jasper is to run flash-kernel again17:46
rsalvetireplacing both files should be enough to get a working system based on the released images17:47
rsalvetisame procedure as we used during maverick17:47
rsalvetiGrueMaster: also put a note saying the user should enable natty-proposed in case he's updating his system17:48
GrueMasterok17:48
Garagothrcn-ee: Also, same sd card 'looks' faster under Angstrom then under Ubuntu17:48
rsalvetias otherwise he'll get a newer kernel but not the one with the fixes17:48
GrueMasterActually, there is no newer kernel excpet in proposed at the moment.17:48
rsalvetiand that should do it17:48
rsalvetieven better17:48
rsalvetithought we had Ubuntu-2.6.38-9.4317:49
rcn-eeGaragoth, yeah the mmc driver has changed a lot since 2.6.32 in Angstrom... Do you need the other 3 config's enabled http://pastebin.com/5BwQT9aN17:49
GrueMasterHaven't seen one.17:49
rcn-eeThey also boot at 1Ghz..17:49
GrueMasterMy xm is currently running natty headless as I am using it for usbboot testing on panda.  I have been monitoring updates.17:50
Garagothrcn-ee: Mm. well, slip was only thing I missed so far; usb serial, fddi and pl drivers were there... does your .39 kernel and build include patches rsalveti included?17:51
rsalvetiprobably17:51
rsalvetias rcn-ee was the one who created the patches ;-)17:51
rcn-eeit was one of those #'s.. https://bugs.launchpad.net/bugs/770679 ;)17:52
ubot2Ubuntu bug 770679 in linux "Missing proper support for Beagle XM rev B and C" [Medium,Fix committed]17:52
mattwaddelrsalveti: rcn-ee; I've been fighting the same battles as Garagoth over the last few days and I'm curious, does u-boot need to be updated to detect bb-Xm rev C also?17:52
Garagothrsalveti: :-)17:52
rcn-eei thought no... but a couple android people running xM C's with old u-boot these last few days have show otherwise..17:52
Garagothmattwaddel: I have bb-xm rev c17:53
Garagothso yes..17:53
mattwaddelGaragoth: where did you get the updated u-boot?17:53
rsalvetimattwaddel: check bug 77067917:53
ubot2Launchpad bug 770679 in linux "Missing proper support for Beagle XM rev B and C" [Medium,Fix committed] https://launchpad.net/bugs/77067917:53
rsalvetiyou'll find the patches17:53
rsalvetibut I don't think they are really necessary17:53
mattwaddelrsalveti: got it, thx17:54
rcn-eeOh rsalveti, heads up a new older beagle "C5" is coming out with new memory, mlo/u-boot patches have been posted to the beagleboard group...17:55
rsalvetircn-ee: yeah, saw that17:55
rsalvetiwill be integrating in the following days17:55
rsalvetibut thanks for heads up17:55
rcn-eeah okay cool.  Been updating my script to include it to..17:55
GrueMasterrsalveti: Do you have a vmlinuz for the patched kernel?17:58
rsalvetiGrueMaster: grab the zImage at the same link I sent17:58
GrueMasterOk.  I'll just rename it.  Make it less confusing for the users.17:59
rsalvetiGrueMaster: would be good to rename with the correct version18:02
GrueMasterDo we care about fixing maverick?18:02
rsalvetiGrueMaster: do you have in hands?18:02
rsalvetilike vmlinuz-2.6.38-foobar18:03
rsalvetiI can rename at my host area18:03
GrueMasterI have it now.  Am posting up to my updates directory.18:03
rsalvetiok, cool18:03
rsalvetiGrueMaster: for now let's just fix natty18:03
GrueMasterok18:04
MrBIOSre18:20
GaragothGrueMaster: How long till new files for testing will be there? Or should I just grab what rsalveti published? (It is important as I am hungry and I wonder if I have time to go eat something before I get something to test)18:22
GrueMasterGaragoth: Done.  https://wiki.ubuntu.com/ARM/OmapNetbook18:22
GrueMasterSame instructions and files apply to headless (updating that wiki now.)18:23
GaragothCool, thanks.18:27
GaragothApplying...18:27
GrueMasterLet me know if there are any issues with the kernel or my instructions.18:28
GaragothInstructions are fine.18:29
Garagothone more thing... netbook image does not have /boot/initrd.img-2.6.38-8-omap18:31
Garagothbut there is symlink pointing to it18:32
GrueMasterYes, that is correct.  It is made by oem-config.18:34
Garagothoooh. it detected network. Better.18:37
Garagothhm, so netbook install now will give me working mouse and keyboard, right? (previously they were dead, just image on screen)18:38
GrueMasterThey should if you are using the netbook image.  If you are installing from the headless image...I don't know.  May need to tweak the cmdline.18:40
GaragothHow can I convert headless to give me console? u-boot params?18:41
Garagoth& getty ?18:41
GrueMasterAfter running through oem-config, edit /boot/boot.script and either add console=tty0 or remove the current console==ttyO2,115200n8.  Then rerun flash-kernel & reboot.18:42
GaragothSounds easy. Thanks.18:43
GrueMaster(should be only one "=".  I have phat phingers)  :P18:43
GaragothMm, figured it out.18:43
GrueMasterIf you remove the "console= " entirely, you should get a nice graphical boot screen.18:44
GaragothHm? But I will loose serial console, right?18:45
GrueMasterTrue.18:45
GaragothAngstrom does have both, serial & X at same time.18:45
Garagothbut their ld is broken somehow.18:45
GrueMasterYou can add a serial login by copying /etc/init/tty2.conf to /etc/init/ttyO2.conf and editing the file to use ttyO2 115200.18:46
GrueMasterYou won't see boot messages, but you will have a serial console login.18:47
Garagothbut won't u-boot display there anyway?18:47
GrueMasterYes, that won't change.  What you would see is u-boot log output, followed by a login screen.18:48
GaragothHmm. Gonna figure out how Angstrom did that... but later, for now headless is fine.18:49
GaragothBy the way, why headless install displays red screen on dvi?18:50
Garagothbright red18:50
MrBIOSbecause it's written by commies18:50
GrueMasterI don't see that.18:51
GrueMasterWhen do you see that?18:52
Garagothall the time18:52
Garagothfor whole install18:52
Garagothit is now removing packages, and still bright red18:52
GrueMasterMight be due to the last minute color map changes made prior to release.18:52
Garagothor another rev C difference?18:53
mattwaddelGaragoth: that's one of the things I'm seeing with the Linaro images also18:55
persiaThat's not really surprising: it's the same uboot.19:05
GrueMasterIt could be that u-boot isn't recognizing the silicon and throwing up a red screen.  I noticed on the bug that there is a patch floating around upstream.  Shouldn't be critical though.19:06
persiaWorkaround: either initialise a framebuffer or don't attach a screen :)19:10
Garagoth:-)19:10
Garagothum... why there is no libserial on ubuntu-arm ?19:54
Garagothnormal natty has it19:54
ogra_WOHOOOO !19:55
ogra_http://cdimage.ubuntu.com/daily-preinstalled/current/19:55
ogra_GrueMaster, looks like the name is the same as kde :/19:56
GrueMasterPffft Figures.19:56
* GrueMaster modifies scripts accordingly.19:56
* ogra_ is really surprised it built19:57
GaragothHey, what about libserial? I kinda need it :-)19:57
GrueMasterGaragoth: apt-get install libserial?19:57
GrueMasterThe headless images are very minimal.19:58
ogra_ITYM libserial019:58
GaragothE: Unable to locate package libserial19:58
GrueMasterogra_: When will netbook disappear?19:58
GaragothE: Unable to locate package libserial019:58
GrueMasterGaragoth: make sure universe is enabled.19:59
ogra_GrueMaster, after i changed the crontab (which i'll do after the call)19:59
Garagothlibserial-dev is also non-present for arm19:59
Garagothhmm19:59
* ogra_ sees it 19:59
GrueMasterGaragoth: libserial019:59
Garagothuniverse you say....20:00
GrueMasteryep.20:00
GrueMasterpool/universe/libs/libserial/libserial0_0.6.0~rc1-0ubuntu2_armel.deb20:00
GaragothMy fault for not checking this... I assumed that repo config is same as for desktops20:03
GrueMasterIt "should" be.  Thought we had that fixed.20:03
GrueMastergrmbl.20:03
ogra_we did20:04
ogra_what image is that ?20:04
Garagothubuntu-11.04-preinstalled-headless-armel+omap.img20:04
ogra_hmm, that should definitely enable universe in your sources.list20:04
Garagothonly restricted was uncommented20:05
ogra_hmpf20:05
ogra_oh, wow20:09
ogra_the first upload of linux 3.020:09
ogra_that was quick20:09
Garagothnetbook image also has only restricted sources enabled.20:23
rsalvetiGaragoth: did the image work for you?20:26
GaragothI just installed it. A second please, I will reboot it now to verify.20:27
Garagothit still says: "Beagle unknown 0x02"20:28
Garagothuhm...20:29
GaragothALERT!  /dev/disk/by-uuid/b1971b59-d07f-4f96-9478-4c96a43e1e56 does not exist.  Dropping to a shell!20:29
rsalvetithat's weird, same happened with Matt_O20:29
Matt_Oeh?20:29
rsalvetifirst time he tried it showed unknown, then after a reboot it showed rev C20:29
Garagothwell... I still see unknown 0x02... and root device is not found20:31
Garagothinitramfs shell20:31
Garagothfrom busybox20:31
Garagothand that is all I have now...20:31
Garagothbut dmesg shows: mmcblk0: p1 p220:33
GaragothHm! it has dirrefent uuid ...20:34
GaragothHm, no editor in initramfs / ash ?20:38
Martynnot usually20:39
Martynbut you can do the usual "dumb" editor20:39
Martynecho > file20:39
Martynecho >> file20:39
Martynad nauseum20:39
GaragothI use cat | sed20:39
Martynno sed20:39
Garagoth:D20:39
Garagothyes sed20:39
Martynis there sed in that busybox?20:40
Martynor initramfs?20:40
Garagothyes20:40
Garagothand awk20:40
Martynyeah, then cat | sed20:40
Garagothash20:40
MartynI thought that they still had some nano/pico or vi in there20:40
Martynit's gone?20:40
Martyncause it was the most useful thing in there, for interactive editing20:41
Garagothso it seems20:41
Martyndamn20:41
MartynThat's unfun20:41
* Martyn checks on his Versatile Express20:41
MartynI'll be sporked .. yeah .. no vi, no pico20:41
Garagothhm... where does that path exist?20:43
GaragothI corrected fstab20:43
Garagothwhere else?20:43
Garagothahm. initramfs20:44
Garagothhow can I edit this?20:46
GaragothI have a request... please include nano and flash-kernel into initramfs21:02
ogra_why ?21:02
ogra_its on the rootfs21:02
ogra_just chroot into it21:02
Garagothchroot... and remount /proc and /dev21:02
Garagothinto chroot21:02
ogra_mount --bind /dev /root/dev ...21:02
ogra_before chrooting21:03
GaragothMm.21:03
ogra_then mount sys and proc if you are inside21:03
GaragothOk. You are right...21:03
Garagothrsalveti: Ok. System went up after fixing boot.script & flash-kernel21:05
rsalveticool21:05
Garagothfor rome reason there was wrong uuid21:05
Garagothfor root device21:05
Garagothand not whong as a typa.. entirely wrong21:06
Garagothtypo*21:06
Garagothis mpurate in boot.script a cpu speed?21:08
ogra_yes21:08
Garagothit is set to 500... as I have bb-xm, can I change it to 800 or 1000 ?21:08
rsalveti800 is the maximum recommended21:09
ogra_i think 900 is max with that kernel21:09
ogra_and 800 the max recommended ;)21:09
MartynStick to 80021:09
Martynyou don't want all the heat that you get at 90021:09
Martyn(power consumption is a nasty, power function curve)21:09
=== zyga-afk-bbl-sry is now known as zyga
GaragothI do not care about power consumption21:09
GaragothI have attached to beagle 2 microframe motors, each consuming 15 Amps @ 24 V21:10
rsalvetiyou can also get some weird errors with 900mhz21:10
ogra_yes, it can cost stability21:10
GaragothSo advertised 1GHz is a myth?21:11
MartynNo, it's just high sort21:11
rsalvetino, lack proper software support21:12
MartynI have an i.mx53 running at 1Ghz .. it's hot, and it's not entirely stable, but with a heatsink it does stabilize and works well21:12
GaragothHm, so heatsink would be a solution you say... and what does mpurate=auto do?21:12
Martynlets it float21:12
Garagothfrom to where?21:13
Martyndunno .. I'd have to dig around the kernel code :)21:13
rsalvetiGaragoth: bug 77153721:13
ubot2Launchpad bug 771537 in linux "mpurate=1000 fails on beagleXM" [Medium,In progress] https://launchpad.net/bugs/77153721:13
Martynbetween 500 and 70021:15
GaragothSmart reflex?21:15
GaragothMartyn: thanks. I will set 800 then...21:15
rsalvetiGaragoth: dynamic voltage and frequency support21:16
rsalvetihttp://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12032&contentId=460921:16
GaragothYeah, found the same link... had no idea that linux has this...21:17
GaragothI assumed it is a hardware solution, not software...21:18
rsalvetiyou also need support at the software side21:19
Garagothmpurate is 800... what about core clock? (332)21:35
ogra_Martyn, the PXE code ...21:39
ogra_Martyn, does that send any identifier to the DHCP server during the communication so we can make out what device sent the request ?21:39
Martynyes21:40
Martynalthough I don't have the code in front of me21:40
Martynbest person to ask is Jason -- jason.hobbs@calxeda.com21:40
ogra_i.e.a vendor-class identifier or some such21:40
jhobbsyea21:41
ogra_how does it set that ?21:41
ogra_based on the board name ?21:41
jhobbsyes21:41
jhobbsCONFIG_BOOTP_VCI_STRING21:41
ogra_awesome21:41
jhobbsfor versatile express: U-boot.ca9x4_ct_vxp21:42
Martynthanks :) I knew you were online :)21:42
MartynI just wasn't sure if you were watching IRC :)21:42
jhobbsthere's also a client architecture field that can be used, it's stuff like "x86_32" or "x86_64" usually, but doesn't have official definitions for ARM parts21:43
ogra_yeah, that doesnt help our usecase ... but a vendor-class-identifier will21:44
ogra_we need to know the subarch, not the arch :)21:44
MrCurious_ gruemaster: if i install a headless image, there is no reason that i cant have it upgrade the packages to be an image with display, but after the initial install right?22:58
MrCurious_as in, there is no special bit of magic outside of the package manager installed bits differentiating head and headless installs22:58
GrueMasterJust run tasksel to select what environment you want.22:58
GrueMasterThe only other tidbit is you will need to edit /boot/boot.script and either delete the console= section or add console=/dev/tty023:00
MrCurious_cool, so not involved at all23:02

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