/srv/irclogs.ubuntu.com/2010/05/28/#ubuntu-arm.txt

=== JaMa is now known as JaMa|Zzzz
=== JaMa|Zzzz is now known as JaMa|Wrk
=== hrw|gone is now known as hrw
hrwmorning08:23
zygahrw, hi08:29
neurehi08:38
neureif a bug like https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap/+bug/584920 has been fixed, how can i get a the new, fixed installer image?08:39
ubot2Launchpad bug 584920 in linux-ti-omap (Ubuntu) "netinstall fails, it has no network driver for moschip (affects: 1) (heat: 6)" [Medium,Fix committed]08:39
neurea.. i mean, the :)08:39
ograneure, you have to wait for a debian-installer respin, that will likely happen for 10.04.1 (end of july)08:40
ograthe fix includes all USB NIC modules now, was uploaded this week08:40
neurecould i somehow would the installer myself?08:43
neurelike, i should be able to try the fix, right?08:44
amitkyou need plar's script to install a kernel into a live image08:44
amitks/install/update08:44
neurethats almost mumbo jumbo to me .. :)08:44
neureok that makes a bit more sense08:45
neureof course would be lovely if someone did that for me .. :)08:48
neurebut.. where do i get the script and where do i get the new kernel?08:49
neureand where do i get suitable live image?08:49
amitkhttp://people.canonical.com/~amitk/update-image-kernel-x86.sh08:53
amitkhttp://cdimage.ubuntu.com/ubuntu-netbook/ports/daily-live/current/lucid-netbook-armel+omap.img08:53
ograamitk, that wont help for netinstall though09:02
ograalso the live image is http://cdimage.ubuntu.com/ports/releases/lucid/release/ubuntu-10.04-netbook-armel+omap.img09:03
ogra(though its not really live, it just fires up an installer under X)09:03
amitkogra: no, it won't help with netinstall09:04
ograneure, the "live" image has the moschip driver included no need to update the kernel there, its just missing in the netinstall09:06
zygaasac, hi09:06
zygaasac, did plars talk with you about image identity/timestamps?09:06
neureso..09:08
neureis there some way for me to have installed with the netinstaller?09:08
ograneure, netinstaller works fine ait asix based NICs if you can get such a device it will definately just work09:15
ogras/ait/with/09:15
neureasix based?09:16
amitkneure: any reason you can't use live image?09:18
neurei dont know exactly what live image means in this case09:20
neureperhaps i could, i havent tried09:20
neureis it something that i could consider as 'preinstalled' ?09:21
ograneure, no, they are all installer images, the "live" image simply installs a netbook system to an USB key09:34
ograpreinstalled images will come with the next release09:34
neureno09:43
neurei can not use live image09:43
neureat least the server installer failed to access usb stick on my C2 beagleboard09:44
neurei tried two different powered USB hubs and two different USB keys09:44
ograweird09:45
neureso i assume all ubuntu installer images have the same issue: they can not access usb discs on this setup09:45
neureif you had some ideas, i could investigate further, but im really not a linux expert in any way09:45
hrwneure: anything other on usb was visible?09:45
* ogra doesnt have a C2 so cant tell09:45
neurekeyboard and ethernet were on the same usb09:45
neuresame hub09:46
neurekeyboard worked fine09:46
neureethernet wasnt working as it lacked the drivers09:46
neureangstrom works on the otg with powered hub and it can access usb discs and everything works09:47
neureso i wish you guys also supported otg :)09:47
neurebut of course im not sure if this was really usb issue or if for example my installer image was bad09:48
ograotg will come with maverick09:48
ograthere are MD5 files on the download page09:48
neurei was able to proceed with the installation to usb with a usb stick i had preformatted on pc09:48
neurebut then it failed complaining some package was corrupt09:48
neurei suppose i would need to read the image back from the sdcard and then check md5?09:49
ograif you didnt keep it on your PC09:50
neurewell im suspecting the image might have been corrupted while it was transferred to sdcard10:08
neureimage on pc could be ok10:08
hrwlool: ok, added note11:27
=== XorA|gone is now known as XorA
hrwlool: intermediate stages for gcc/eglibc: do we make subpackages for them (gcc-cross-stage1, gcc-cross-stage2) or other?11:28
hrwlool: 'build binutils with -sysroot support' is already done in packaging (--with-sysroot=/) since 2.20.51.20100407-0ubuntu1/lucid (08 Apr 2010)11:31
loolhrw: I'm not sure I understand the first question11:45
loolhrw: In the end, you will have a meta-package called e.g. cross-toolchain which will build-dep on the gcc source and the binutils source, you'll have to call the binutils rules and the gcc rules to achieve building a full set of cross-compiler packages11:46
hrwok, ignore first question now11:46
hrwlool: started binutils part11:48
loolhrw: You experienced the process of creating them in the emdebian way, right11:49
loolhrw: You could see how the various steps created more packages, which you then installed and allowed you to complete the next one11:50
loolhrw: Here, the hardest part is getting away without dpkg -i11:50
loolhrw: You're going to have to build all packages from a single meta-package build11:50
hrwI know11:50
looldpkg -i wontbe allowed11:50
hrwbasically "dpkg-source -x cross-toolchain-for-arm.dsc; cd cross-toolchain-for-arm; debuild -b -uc -us"11:51
loolhrw: In the end, we will upload a cross-toolchain-armel.dsc, and it will give binutils-arm.deb, gcc-arm.deb etc.11:52
loolhrw: The hard part is that while you have the full binutils sources and gcc sources and their packaging, you need to call into their packaging to reuse their logic as much as possible (as to give us cross packages which look identical to the non-cross ones)11:53
loolhrw: and you may not install them in /usr during the build, since the build runs as non-root11:53
hrwyep11:54
loolhrw: it is likely that you indeed have to build the intermediate stages, I highly suspect you will have to use --sysroot to achieve building in a subtree11:55
hrwwill get to it in one moment11:58
hrwnow working on binutils11:58
ogragrmbl12:07
* ogra starts to hate x-loader12:07
* amitk gives ogra redboot :)12:11
ograheh, i wish i could use it on omap4 :P12:11
hrwredboot... argh12:12
ograi can at least get it to build :P12:12
ograthat huge mess fo hard links between git trees is nearly unresolvable to get a natively building package12:13
XorAogra: working on the omap4 x-loader?12:14
ograyeah12:14
ograhow did you guess ? :)12:14
XorAogra: someone probably needs to a) pay sakoman to incorporate that work into his or b) merge WTBU trees with his12:14
XorAogra: I had to deal with that mess for Angstrom12:15
hrwXorA: and got it working?12:15
ograwell, i got the headers from u-boot in my tree now but x-load-arm.h seems to have broken assembler now12:15
ograits just massively messy12:15
ograand the biggest fun is that all i'm doing atm is throw away work because x-loader is going away anyway12:16
XorAhrw: for omap3 which is same tree I ended up just mirroring a tarball of the u-boot tree and extracting that next to the x-loader git repo12:16
ograbut currently we need it to get the image building for omap4 going12:16
ograXorA, heh, i did a giant patch with the headers ...12:17
XorAogra: I started that way then got real bored, I wasnt being paid for that work :-)12:17
ograbut nontheless there are assembler errors in x-load-arm.h12:17
hrwogra: maybe they use gcc 2.95 for building12:18
ograoh, assembling the patch didnt take much ... just a small script with some find loginc to search for dangling symlinks12:18
ogra*logic12:18
XorAtry fixing the arch to armv512:18
ograhmm12:18
* ogra tries12:19
XorAI vageuly remember armv7a needs and old gcc to actually compile that file12:19
ogranope12:20
amitkogra: what toolchain are you using?12:21
ogralucid atm12:22
* hrw → lunch13:06
amitkogra: do you know why I wouldn't get a password prompt after the login prompt?13:11
amitki return back to the login prompt on entering the user name (nfs root)13:11
=== rgreening_ is now known as rgreening
ograamitk, not really, check auth.log (with init=/bin/bash)13:42
ograx-loader-omap4_L24.6-p1git20100520-0ubuntu3_armel.deb14:14
ograyippie14:14
ographew, what a painful exercise14:18
loolDo we need a separate loader?14:21
loolI thought it was supposed to be backwards-compatible?14:21
ogralool, we need MLO for each single bpard until the header is added to u-boot14:22
ograand even then it needs to be a binary header per board since they are wired up differently14:22
ograpanda and blaze definately are different here, as well as XM and beagle14:23
ogras/beagle/C*/14:24
ogralool, though for omap4 i was told the boundary to block zero in vfat for MLO has fallen, so we can just ship all MLOs that exist and you can boot different boards with the same image through just renaming i.e. MLO-blaze to MLO14:26
ograthats already a big win14:26
ogra(or with the binary header you can rename u-boot-blaze.bin to u-boot.bin)14:26
hrwre14:32
loolis there public doc on the blaze?14:41
vstehlelool: I found this: http://svtronics.com/market_omap14:42
* hrw is building cross-binutils for all arches now using debuild14:43
loolvstehle: thanks14:43
vstehlelool: No schematics it seems14:44
loolvstehle: Oh right, I've actualy seen it14:44
vstehlelool: You need some specific info about the blaze?14:45
loolWas just curious what it was, but I see now, thanks14:45
asaczyga: we started to discuss that14:46
hrw 1 file changed, 52 insertions(+), 13 deletions(-)14:59
hrwwhole changes for binutils14:59
asaczyga: depends on what the imjage building concepts are etc.14:59
loolhrw: you found lp:ubuntu/binutils I guess?15:00
hrwlool: I took latest maverick package but will provide diff against that branch15:00
zygaasac, I think that even thought there are several bits of infrastructure involved having timestamp and image type inside the image is very important15:00
james_wwhat are the bootloaders usually used on ARM?15:03
ograjames_w, u-boot, redboot, apex are some we used before15:04
ograthere sadly are plenty15:04
hrwjames_w: uboot, redboot, apex, blob and few others15:04
james_wogra: all of them worth having support for in image building tools?15:04
ograjames_w, nope15:04
james_wogra: which would you pick to have support for?15:04
ograafaik jcrigby is doing some work to unify on u-boot15:04
hrwjames_w: u-boot15:05
ograu-boot though i like redboot too, but we dont use it anymore15:05
james_wok, that's what we will start with then15:05
james_wthanks ogra, hrw15:05
* ogra is just rolling u-boot-omap4 packages15:05
asaczyga: yes. i fully agree for images, but from what i understood plars wanted a way to have a way to describe what version an install is on15:17
asace.g. even after dist-upgrading other packages15:18
xorAxAxasac: ar917015:56
xorAxAxWTF16:05
xorAxAx# CONFIG_CFG80211_WEXT is not set16:05
xorAxAxbonkers!16:05
xorAxAxuseless!16:05
xorAxAxplease fix, quickly, total showstopper16:05
ograxorAxAx, i guess you rather mean amitk16:06
* amitk looks up16:07
ograamitk, he's right16:07
amitkmpoirier: ^^^ could you please look at this as a Lucid SRU?16:09
mpoirieramitk: you mean the discussion above ?16:09
amitkyes, enabling CONFIG_CFG80211_WEXT16:10
mpoirieramitk: Ok, I'll open a pub and fix it.16:10
* ogra will go and have a beer at mpoirier's pub :)16:11
amitkheh16:11
* amitk notes that it is beer o'clock here16:12
ograhere too but i'm out of beer :(16:12
XorAkeep working until new beer arrives :-)16:16
hrwhave a nice weekend everybody16:56
=== hrw is now known as hrw|gone
ograXorA, hmm17:07
ograXorA, did you ever try your mkcard script with a real SD cardreader ?17:08
ograand on a non english system :)17:08
XorAogra: non english no, but the version in OE should work for that if the patches I got from french speakers were correct17:11
XorAogra: and it certainly works on read SD card readers17:11
ograwell, it does explode on mmcblk0p1 :)17:12
ograsince you have the p there17:12
ograand "Disk" doesnt show up in german localized fdisk -l output17:12
ograi had to modify it like that for my system http://paste.ubuntu.com/440936/17:13
XorAogra: thats an old version of script, the one in OE is more robust17:14
ograah17:14
ograi took the one from your blog17:14
XorAI thought I had updated all the pages to point to OE git17:14
ograhttp://www.xora.org.uk/2009/08/14/omap3-sd-booting/17:15
XorAhttp://cgit.openembedded.net/cgit.cgi/openembedded/tree/contrib/angstrom/omap3-mkcard.sh17:15
ograwell, it works now, i just needed something quick17:15
XorAogra: top of that post tells you to go to OE git :-)17:15
ograheh, i'm blind17:16
XorA:-)17:16
XorAthat version even runs on the target platform :-)17:16
ogragrr, my MLO doesnt work :(17:16
ograNCommander, the driver for the otg port in lucid doesnt work17:25
NCommanderogra: ugh17:26
ogrause an usb nic17:26
NCommanderogra: I don't have one, or an ethernet jack I can plug it into17:26
NCommanderogra: why is it broken?17:29
ograbecause its broken ... no idea the patch didnt work17:34
NCommanderogra: ugh, ok. What package is x-loader in? (google is failing me)17:37
ograx-loader-omap17:37
NCommanderTexas Instruments X-Loader 1.4.3 (Mar 24 2010 - 21:16:42)17:39
NCommanderW00t17:39
NCommanderit boots from MMC!17:39
=== XorA is now known as XorA|gone
ographew18:04
* ogra dputs x-loader-omap418:04
ograand cllas it a day18:04
ogra*calls18:04
NCommanderogra: \o/18:28
NCommandersebjan: ping?18:53
xorAxAx what does the USR0 blinking mean in my lucid install?20:16
xorAxAxah, heartbeat20:21
=== rsalveti_ is now known as rsalveti
xorAxAxhow to overclock the beagle to 600 mhz without using memory pokes in uboot?21:08
=== sbambrough is now known as sbambrough-afk
DanaGhttp://www.engadget.com/2010/05/28/lenovo-kills-skylight-os-in-favor-of-android-u1-hybrid-and-skyl/23:16
DanaGhmm... does that mean the PRODUCT is dead... or just the OS?23:16
DanaGyeah, product is canned.  Dang.23:17
DanaGThey could've just taken the "skylight" and put ubuntu on it... and called it a full OS (which it is!).23:18

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