/srv/irclogs.ubuntu.com/2011/02/24/#ubuntu-arm.txt

=== lilstevi is now known as lilstevie
=== asac_ is now known as asac
TheUnirsalveti: ping04:17
rsalvetiTheUni: pong04:17
rsalvetiTheUni: was looking for you :-)04:18
TheUniheh04:18
rsalvetiTheUni: was checking xbmc code and etc now04:18
TheUnirsalveti: just wanted to let you know that one of our devs has a gstreamer POC up and running04:18
rsalvetiTheUni: yeah, I remember topfs2 said he made it work, but was still going to release the code04:18
TheUnialso that we've spoken to the enna devs some. they would rather work on openbricks and let us work on the mediacenter part :)04:19
rsalvetiTheUni: is this at master already?04:19
rsalvetiTheUni: yeah, xbmc is the future04:19
TheUnino, not yet04:19
rsalvetiTheUni: want to work with you at least to have a working PPA04:19
rsalvetidaily would be good to have04:19
TheUniyep, i've been working on that for the last week04:20
TheUnipbuilder currently chugging away on my laptop04:20
rsalvetinice, too bad I've being busy with some other stuff :-(04:20
TheUniit's no problem. it needs lots of help. i'm adding one hack after another to get it building. once nightlies are working, we can work on cleaning it up04:21
rsalvetiTheUni: cool04:21
rsalvetiTheUni: were are you putting all these modifications?04:21
rsalvetiany branch?04:21
TheUnii'm almost embarrassed to show you :)04:21
rsalvetiwell, at least pointers so I can try to help :-)04:21
TheUniheh04:21
TheUnihttps://github.com/xbmc/xbmc-packaging04:22
rsalvetihehe, I still need to learn to love github04:22
TheUnias i've said, it's built on years of shoving things in with not cleanup04:22
TheUniooh, the love will come.04:22
rsalvetinp, after finishing this enna testing will jump right at xbmc04:23
TheUnii'm on (i hope) the last build failure now. sec for log04:23
TheUniwe bundle our own ffmpeg builds, though we support external as well. packager can't find our internal ones...04:24
rsalvetigot the latest PVR driver available at the omap ppa, so I want to test xbmc with it :-)04:24
rsalvetisee how it goes04:24
rsalvetiand after test the gstreamer support04:24
rsalvetihm04:24
rsalvetibundle your own ffmpeg helps a lot, but it's evil04:24
TheUnihttps://launchpad.net/~team-xbmc/+archive/unstable/+buildjob/228056904:24
TheUniyea, but we carry ~45 patches04:24
rsalvetinot that much04:25
TheUniffmpeg is a bumpy road in the last month, anyway ;)04:25
rsalveti:-)04:26
rsalvetihm, failed at dh_shlibdeps04:26
TheUnirsalveti: more importantly though, we run on win32/osx as well04:26
TheUniso it's nice to know that all OSs are running the same version of ffmpeg, built the same way04:27
rsalvetiyeah, makes sense04:27
TheUnirsalveti: any tips for using LD_LIBRARY_PATH ? i can't seem to get it hooked up properly04:28
rsalvetiTheUni: but are you setting it at build time?04:31
rsalvetilet me check04:31
TheUnigoogle says it should be in the pbuilderrc. but not very helpful when uploading to launchpad04:33
TheUniso i tried setting it in the debian/rules as a test, but no luck04:34
rsalvetidh_shlibdeps also has the -l option04:36
TheUniright, but i couldn't figure out how to override it04:40
ruckuusHello all, I am the guy from two weeks ago asking about ubuntu ARM on s3c641004:41
ruckuusI am trying to specify the kernel to use on rootstock command, but I can't figure it out04:42
ruckuusDo I have to create .deb package for the kernel, then --seed linux-kernel-image-s3c6410 (the name of the kernel package)?04:43
ruckuusAnyone can give me a hint?04:44
ruckuusThanks in advance04:44
rsalvetiTheUni: did you try creating an override for dh_shlibdeps?04:46
rsalvetiruckuus: it's easier if you have the deb package04:46
rsalvetiyou can also use --kernel-image http://foobar/kernel.deb04:47
TheUnirsalveti: hmm, did see that i could override that04:47
ruckuusrsalveti: thank you. So, what I have to do now is to cross compile the kernel, then dpkg-buildpackage with the result .deb then use this package?04:50
rsalvetiruckuus: yup, if you want to generate the rootfs with the kernel deb, yes04:50
rsalvetiruckuus: you can also compile your kernel and then copy to the rootfs04:50
ruckuusrsalveti: or this packaging must be done in chroot jail with ARM based RFS?04:50
rsalvetiwith the correct modules04:50
rsalvetiruckuus: I usually use the kernel deb-pkg rule04:51
rsalvetimake -j 3 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- CONFIG_DEBUG_SECTION_MISMATCH=y deb-pkg04:51
rsalvetifor example, will cross compile and then create a deb for it04:51
rsalvetinot perfect, but works04:51
ruckuusrsalveti: thank you, I will try that04:51
ruckuusrsalveti: by using specified kernel, do I have to take care also the libc version?04:54
pcacjr_rsalveti: one question: once built the kernel with the deb-pkg stuff, that deb package will contain the *arch* specified by the ARCH= ? (e.g package_armv7el.deb)04:54
rsalvetipcacjr: yup, that's why it's useful while cross compiling it04:55
rsalvetiruckuus: you shouldn't04:55
pcacjr_rsalveti: hm, ok04:56
ruckuusrsalveti: OK, thank you04:56
pcacjr_rsalveti: I've had problems while compiling the kernel for x86_64 arch on an x86 one. the deb genereted by the make deb-pkg is always i386 instead of x86_6404:58
rsalvetipcacjr_: hm, how are you building it?04:59
pcacjr_rsalveti: make -j 3 ARCH=x86_64 deb-pkg05:00
pcacjr_rsalveti: however the binaries which it has are all 64-bit ones05:01
rsalvetipcacjr_: interesting, could be a bug at the packaging part05:02
pcacjr_so I had to use --force-architecture to install it on an x86_6405:02
rsalvetijust putting i386 for everything05:02
pcacjr_rsalveti: perhaps05:02
pcacjr_rsalveti: yep05:03
rsalvetiactually it's being quite a while that I don't build my own kernel for x86 :-)05:03
pcacjr_rsalveti: hehe :-)05:04
rsalvetijust ARM atm, unfortunately my main host is still x8605:04
pcacjr_ahahah05:04
pcacjr_let's just wait the quad core ARMs05:04
rsalvetiTheUni: if you're building locally you can try the debian rules calls by hand, without the need to rebuild everything05:05
rsalvetilike fakeroot debian/rules binary05:05
pcacjr_rsalveti: I'll try to reproduce the bug again later on05:05
rsalvetipcacjr_: :-)05:05
pcacjr_rsalveti: time to get some sleep. g'night05:06
rsalvetipcacjr: c-ya05:06
TheUnirsalveti: thanks for the tip. obviously deb packaging is new to me.05:06
rsalvetiTheUni: not a problem :-)05:06
rsalvetiTheUni: and where can I find the branch with initial gst support?05:07
rsalvetiif already available somewhere05:07
TheUnirsalveti: i think topfs2 has them local. i'll ask him to publish next time i see him05:07
TheUnias i said, it's just a POC. but he had playback in xbmc in 2 days, so think it's very reasonable05:07
rsalveticool, will ping him when he's around here05:08
rsalvetinice05:08
rsalvetipersia: ping07:31
rsalvetipersia: I'm thinking if it's worthy creating a task for our set-up-box blueprint, and how it'd be called07:33
rsalvetiwe currently already have many tasks related with mythtv07:33
rsalvetithat's kind the official and supported set-up-box solution at ubuntu07:33
rsalvetibut for arm we would still need a lighter solution, as enna is atm07:34
rsalvetiand soon xbmc07:34
rsalvetiso for us this task would basically install enna, and possibly lirc07:36
=== rsalveti` is now known as rsalveti
sveinseAre there any particular restrictions on the X-loader / MLO file when booting from SD?08:39
hrwother then mistic 'it has to be first file' or 'partition should start at X and end at 666'?08:40
hrwI would suggest to wait for ubuntu/arm guys to wake up and arrive08:41
sveinseMy point being today the boot is MLO->U-Boot->kernel, but perhaps it would be possible to do MLO->kernel or perhaps the MLO could be the kernel itself (with some customization)08:42
sveinseSure, I can wait08:42
hrwiirc you can add some headercode to kernel instead of mlo but I do not remember details08:44
sveinsehrw, are there any new updates to gcc 4.5 armel-cross in the loop (for maverick)?08:44
hrwsveinse: omap(3,4) cpu has bootrom which loads xloader (mlo) which initialize board and goes with booting08:44
hrwsveinse: next week will bring something08:44
hrwsveinse: I am at emdebian sprint this week08:45
sveinsehrw, sure, thanks. I just keep fighting compiling Qt with gcc4.5. It's either bugs in Qt or bugs in gcc4.5.. The ironic thing is that downgrading to gcc4.4 makes it compile, but its not maintained by linary iirc08:47
hrwgcc 4.4 is still supported by linaro08:47
hrwbut not for long - 4.6 is on a way to release08:47
lardman|homemorning09:49
lardman|homeI've got a question about my rootstock generated image for the Galaxy Tab, basically I'm trying to work out where/how Xorg is started (as I need to poke a sysfs entry to switch the LCD screen back on after X starts)09:50
lardman|homemy rootstock was built using --seed netbook-launcher-efl,onboard,ubuntu-netbook-efl-default-settings,wicd,wicd-curses,wicd-cli09:50
lardman|homeI can't find a gdm binary nor an X* binary anywhere in the bin/sbin directories; do they hide elsewhere?09:51
lardman|homeor is my --seed wrong and needs more options added?09:51
ograyou didnt specify them in your --seed09:51
ograand nothing of the packages you listed depends on them09:52
lardman|homeare they not pulled in as part of the other --seed meta packages?09:52
lardman|homeah ok09:52
lardman|homeis there a list anywhere of a recommended --seed list?09:52
lardman|homeI see here https://wiki.ubuntu.com/ARM/RootfsFromScratch that one can specify --seed xubuntu-desktop - presumably that will pull in all the X deps unlike the netbook-launcher-efl I specified?09:59
lilsteviehey lardman|home10:01
lardman|homehi lilstevie10:01
lardman|homein the absence of anyone knowing how to get multitouch working in Meego ARM, I'm having a go with Ubuntu10:02
lilstevieis there a way to change where the battery manager grabs its battery levels from?10:02
lilstevieah damn, meego on the tab would have been cool10:02
lardman|homewell I'll get there in the end, but I need some help working out what to enable in Qt and whether it still supports mtev, etc10:03
lilstevieah10:03
lardman|homeand really I'd like to be able to use the beast in the meantime :)10:03
lilstevie:)10:03
lilstevieI think samsung were just blowing me off by saying they handed my request to the development team10:04
lilsteviehavent heard anything since10:04
lardman|homeWell see what happens, you might have to give them a few days10:04
lardman|homefew more that is10:04
lardman|homethen start shouting about it10:05
lilstevieheh10:05
lardman|homeok, so I'll try a rebuild - I didn't get any kernel panics, so I guess the stock-ish Android kernel will work with Ubuntu too10:05
lardman|homewhich would mean dual boot is back in, and for those without the internal memory card, booting from an external card (which is the setup I'm using now)10:06
lilstevieheh yeah10:06
lilstevieproblem is audio drivers are going to need some mods10:06
lardman|homedid that rootstock list you put on the wiki work for you? There's apparently no Xorg in there...?10:06
lilstevieand possibly the V4L Driver10:06
lardman|homekexec it is then10:06
lilstevielardman|home: yeah I grabbed that out of my .bash_history10:07
lardman|homehmm strange10:07
lardman|homeI'm going to try with this, for want of any better ideas: rootstock --fqdn GalaxyTab --login ubuntu --password ubuntu --imagesize 5G --seed xubuntu-desktop,netbook-launcher-efl,ubuntu-netbook=efl-default,onboard,wicd,wicd-curses,wicd-cli,build-essential,openssh-server10:07
lilstevieadd gdm though10:07
lardman|homeah, I guess gdm might pull X in, which would solve the problems10:08
lardman|hometbh I don't like that efl launcher anyway, so might just go for the default xubuntu-desktop one10:09
lardman|homerootstock doesn't seem to cache packages...10:10
lilstevieno it doesnt :(10:11
lardman|homelilstevie: did you install mtev or just copy the binary in?10:14
lardman|homeand do you have a copy of the patched binary handy?10:14
lilstevieI copied the binary in from cb2210:14
lilsteviewait until a bit later when he shares the new one or do you want it now?10:15
lardman|homeI'm happy without the wierd and wonderful tap 3 times and hold your nose to left click stuff ;)10:15
lilstevieI don't have that stuff10:15
lilstevieI have a left mouse button only vers10:16
lardman|homeso yes, just the basic one which emits a click event would be useful10:16
lardman|homejust so I can add it now and get something up and running, can try the new all singing and dancing version later on10:16
=== XorA|gone is now known as XorA
lardman|homeouch, another 450MB being downloaded10:21
=== hrww is now known as hrw
ericb2hello15:04
ericb2are there pre-installed Ubuntu versions for OMAP3 available, and hat we can use with a screen 1024x768 only (BeagleBoard xM) ?15:05
rsalvetiericb2: https://wiki.ubuntu.com/ARM/OMAPMaverickInstall15:28
rsalvetiericb2: you can change the boot args and put the resolution you want/need15:29
ericb2rsalveti: I already tested these images, and I didn't find how to change that. Was simply not working. But maybe it was my fault.  Ok, I'll retry :)15:30
rsalvetiericb2: https://wiki.ubuntu.com/ARM/BeagleEditBootscr15:31
rsalvetiericb2: it should work, so ping me back if it fails again for you15:31
ericb2rsalveti: ok, I'll try. Thanks a ot15:31
ericb2rsalveti: btw, I did an ARM version of OOo4Kids, and I'm searching testers15:32
ericb2rsalveti: http://ftp.educoo.org/home/OOo4Kids/Linux_ARM/OMAP3/15:33
ericb2rsalveti: I optimized a critical part using assembler, but I didn't put online the version. Will do tonight or tomorrow15:33
rsalvetiericb2: cool!15:34
ericb2rsalveti: it works on sakoman version, not sure it will work on Ubuntu15:35
ericb2rsalveti: would be great to confirm15:35
rsalvetiwell, it should :-)15:35
ericb2rsalveti: I used ARCH_FLAGS+=-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__15:35
ericb2rsalveti: I'm not sure add -D__SOFTFP__ is a great idea, but was efficient15:36
ericb2rsalveti: is Ubuntu compatible with such flags ?  Was Steve Sakoman who suggested most of them15:38
rsalvetiericb2: yeah, you should be fine with it15:39
ericb2rsalveti: ok, great :)15:42
=== zyga is now known as zyga-afk
ericb2sakoman: ping ?15:55
sakomanpong15:55
ericb2sakoman: hello15:55
ericb2sakoman: after some investigations, looks like the flex issue was caused by a bad m4 path15:55
ericb2sakoman: in the recipes add #define M4 "/usr/bin/m4"   helped15:56
ericb2sakoman: and most of the issues were solved15:56
ericb2sakoman: I meant add this in the config.h  , in the recipes15:56
sakomanah, OK15:57
ericb2sakoman: the fix has been not been found by me, but I report it15:57
sakomanis there anything that I could do to avoid the need for this?15:57
ericb2sakoman: no idea. Maybe flex was built before m4 being installed ?15:57
sakomanperhaps, I will take a look at the recipe for flex15:58
ericb2sakoman: ok, thanks :)15:58
sakomanit might not have set m4 as a dependency15:58
ericb2sakoman: could be15:58
ericb2sakoman: btw, I did the assembler part, and indeed, its faster15:59
ericb2sakoman: but I need to continue, because I'm over 10s at first launch, and that's prohibitive15:59
sakomanericb2: looks like flex is indeed missing m4 as a dependency15:59
sakomanso it likely got built prior to m416:00
ericb2sakoman: good. So it might explain16:00
sakomanI'll fix that and we can see if that helps next time you do a build from scratch16:00
ericb2sakoman: sure. Just tell me when I can update16:00
ScottKogra: Correction from the meeting.  The kernel for n900 was uploaded, but rejected.  Needs a bit more work.16:20
ograah16:23
ograstill a chance it makes it before FF ?16:23
ScottKUsually with archive-admin rejected pacakges they can be reuploaded after FF.16:23
ScottKI don't think it'll have a hard time getting an FFe if needed.  The whole plasma-mobile effort (of which that's a part) is still tech preview.16:24
ograyeah16:25
GrueMasterogra: Is there a reason that the initrd.img-`uname -r` is missing from /boot on the preinstalled images prior to first boot?  The link is there, but the actual initrd is missing.16:40
GrueMasterI have checked several images since A2.16:40
ograGrueMaster, we dont need it16:41
GrueMasterWe will.  I will need it for test automation.  I need to be able to rip it apart and add scripts from my desktop prior to first boot.16:42
GrueMasterI can't do that with uInitrd.16:42
ograGrueMaster, did we use to have it ?16:47
dmartericb2: /quit16:47
* ogra dorsnt think so16:47
GrueMasterNot sure.  But the link is there, so it is being generated during image build.  And uInitrd has to come from somewhere.16:48
ograit is never generated *inside*  the rootfs, but separately16:48
ograthats why i sak16:48
ogra*ask16:48
ograif it was there before A2 and isnt anymore it must be a change we introduced16:49
GrueMasterThen what creates the link in the image?16:49
ogralivecd-rootfs16:49
sveinseHave anyone tried to let X-Loader load the kernel directly and not via U-Boot? I don't see why I want to use U-Boot on a SD-card, since its removable.16:49
GrueMasterogra: Doesn't make sense to create a link to a non-existent file.16:51
rsalvetisveinse: I know people that created the http://gitorious.org/0xlab-bootloader/qi-bootloader to load the uImage directly16:52
rsalvetibut I believe currently it only supports omap 316:52
ograGrueMaster, no, it rolls the initrd and during that process the link gets created16:52
GrueMastersveinse: I believe I heard someone doing this on beagle.  Not sure.16:52
rsalvetiat least for omap 3 it's very fast, and avoids loading u-boot16:52
GrueMasterogra: ok.  But why keep the link and not the file?16:53
sveinsefast is music :D16:53
XorAif you on an omap 3630/3730 you dont need x-loader, kernel can load directly16:53
XorAjust need someone to write a script to generate the correct header16:54
sveinseXorA, I'm on am3505 and omap3515, so the MLO is limited to 128k IIRC16:55
XorAsveinse: then you have to have some form of bootlader :-)16:55
sveinseXorA: yup, and the idea was to add the kernel init to X-Loader.16:56
sveinseXorA, today MLO/X-Loader loads U-boot which loads the kernel16:56
ograGrueMaster, the file reappears after update-initramfs was run .... its a space decision stemming from x8616:56
XorAdid you try renaming uImage to u-boot.bin :-)16:56
XorAthat might even just work (tm) :-)16:57
* ericb2 yet not understood what dmart wanted to say 16:57
XorAneed to hardcode the CMD_LINE and machine number of course16:57
ograGrueMaster, on live and preinstalled, that file is never used for booting, after ubiquity/oem-config has run the actual file to run the system is created (and differs quite a lot) on x86 isos it saves about 5M to not have it in /boot16:58
ograGrueMaster, if we want to keep that file that will need some hackery in livecd-rootfs16:58
sveinseXorA, hmm, that I'll try. However the bootprompt is not setup by X-Loader in that case16:58
XorAsveinse: Id be interested if you do code it to put it into OE16:59
GrueMasterogra: On x86 iso it does exist.  /casper/initrd.lz17:04
ograGrueMaster, thats the equivalent of uInitrd ;)17:07
ograGrueMaster, what you talk about would be /boot inside the squashfs17:08
GrueMasterAt least with x86, I can lzma -dc <initrd.lz >initrd.img and muck with it from there.  I have yet to successfully rip the uboot header from uInitrd.17:13
GrueMasterEven using dd to strip the 64 byte header.17:13
GrueMasterOr is it lz compressed as well?17:14
GrueMasterNope.  Decoder error.17:15
GrueMasterNevermind.  Figured it out.  It is gzip, but the file meta gets clobbered sometimes.  Very odd.17:16
prpplaguefyi, tomorrow is the last day to provide feedback for rev2 of the Trainer Board for use with the Beagle and Panda boards : http://www.elinux.org/BeagleBoard_Trainer17:26
sveinsePoll: Which device do you use for JTAG debugging?17:28
prpplaguesveinse: hehe, i'm biased but i use the flyswatter17:28
prpplaguesveinse: and soon the flyswatter217:28
sveinsehow soon?17:28
prpplaguesveinse: testing prototypes now, so i'd say probably 90 days17:29
prpplaguesveinse: flyswatter is fully tested with openocd and openocd has support for a wide range of processors and debugging methods17:30
sveinseopenocd, right? Do you know if openocd has scripts for omap3515 and am3505 ?17:30
prpplaguesveinse: not specific to those but omap3 and cortex-a817:31
* sveinse *googling*17:31
prpplaguesveinse: shouldn't be hard to add17:31
sveinseHmm. I've tried that once. Had to abandon it because I was missing docs for the properitary JTAG muxer inside the SoC17:31
prpplaguesveinse: this page is probably a little out of date but has the basic info - http://www.elinux.org/BeagleBoardOpenOCD17:31
prpplaguesveinse: yea that has been resolved17:32
prpplaguesveinse: TI has provided enough info for openocd to handle it17:32
sveinseWhere can I sign up for flyswatter2 preorder? ;)17:34
prpplaguesveinse: send an email to rusty@tincantools.com17:35
prpplaguesveinse: i know these guys are doing a bunch of openocd work http://www.ok-labs.com/leadership/bio/daniel-potts-phd17:38
* ogra feels it getting cold ...18:16
ografreeze is in effect18:16
GrueMasterand I just thought it was my wife. :P18:24
lardmanlilstevie: ping18:42
lilsteviepong18:43
lardmanso, after about 13s I get a dmesg message that the power has been set on on the LCD18:43
lardmanbut it then goes off immediately18:43
lilstevieinteresting18:43
lardmanso looks like it's up and running ok, just need to do some tweaking of where the sysfs echo is happening18:44
lardmanDoes your image use gdm?18:44
lardmanand do you have to login, or does it happen automatically?]#18:44
lilstevieI use GDM18:44
lilstevieand i have autologin set18:44
lardmanwas that set by default?18:44
lilstevieno18:44
lardmanjust wondering if the X server is restarted when the login happens, and I don't get to call the sysfs stuff again18:45
=== ogra is now known as Guest91304
armin76Guest91304: i like your new nick :D19:52
ScottKjanimo: python-qt4 built, so I can retry kdebindings here in ~20 minutes.20:25
ScottKjanimo: OK.  Let's see how it goes.20:37
ScottKlardman: By default when you logout, GDM does restart it, but KDM doesn't.  Don't think either one does on login.20:38
lardmanthanks ScottK20:38
lardmanam just trying to work out where to switch the LCD back on after X starts (which for some reason turns it off)20:39
=== ogra is now known as Guest61593

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