/srv/irclogs.ubuntu.com/2012/08/28/#ubuntu-arm.txt

=== k1l_ is now known as k1l
rsalvetiogra_: https://launchpad.net/~rsalveti/+archive/ppa/+packages?field.name_filter=&field.status_filter=published&field.series_filter=quantal09:26
rsalvetiogra_: for the new pvr-omap4 package, removing the dos2unix dependency and also fixing the packaging for quantal09:26
ogra_great, thanks09:26
rsalvetiinfinity: problem is that the builder is now caling debian/rules build-arch instead of debian/rules build09:26
rsalvetithat's why it failed09:26
ogra_(stop doing all these nightshifts, it will kill you some day !)09:26
rsalvetiand which you already fixed in other packages, by changing the build to depend on build-arch09:27
rsalvetipbuilder/debuild didn't get the problem because it's still calling with debian/rules build09:27
rsalvetiogra_: :-)09:27
rsalvetiogra_: wanted to finish this today still, as tomorrow is conference day09:27
rsalvetihard to get something done09:27
ogra_oh, indeed, i forgot about plumbers09:28
rsalvetiI'm at utc-7 today09:28
ogra_take a pillow to the talks though09:28
rsalveti:-)09:28
infinityrsalveti: You're not calling pbuilder/debuild with -B, then.10:32
* ogra_ wonders why he gets such a bad throughput from cdimage.u.c today11:37
ogra_zsnc goes rarely over 100kB11:38
ogra_*zsync11:38
xnoxogra_: have you seen bug 1041607 ? =)))) my panda is now stuck on top of microwave oven near the router to get LAN instead of WiFi =)11:44
ubot2`Launchpad bug 1041607 in linux-meta-ti-omap4 "cannot install linux-ti-omap4 3.5.0-209-omap4" [Undecided,New] https://launchpad.net/bugs/104160711:44
ogra_hmm, weird11:46
ogra_the bug should be against linux-ti-omap4 btw, not meta ...11:47
xnoxogra_: i filed it against omap4, somebody else moved it to meta....11:48
ogra_and it looks like an issue with update-initramfs, does it work if you do: sudo aupdate-initramfs -c -k 3.5.0-209-omap4; sudo dpkg --configure -a11:48
ogra_*update-initramfs indeed :P11:49
ogra_looks like that is teh issue: update-initramfs: deferring update (hook will be called later)11:50
ogra_since it directly tries to copy around the initrd.img right afterwards ...11:50
xnoxlet me try11:52
* xnox ssh panda.local11:52
ogra_i think the kernel package postinst scripts actually should force the update-initramfs run instead of using a trigger at that point11:53
ogra_(or alternatively the copy code shoudl be omitted ...)11:53
panda|zogra_: XFCE became alternative of Unity 2D?12:02
ogra_there is no "alternative" per se12:03
ogra_for ac100 is swithced the images to lubuntu12:03
ogra_its up to the people maintaining the images what they use i guess12:03
lilstevieI'm finding lxde glitchy on precise with the tf20112:10
xnoxogra_: was the WiFi missing on pandas bug fixed?12:11
xnoxogra_: what was the bug #?12:11
ogra_Bug 1032779 ?12:11
ubot2`Launchpad bug 1032779 in linux-firmware "Missing firmware for wireless chipset on pandaboard" [Medium,Fix released] https://launchpad.net/bugs/103277912:11
xnoxogra_: ok. so 3.5 supposedly doesn't use that firmware, but I still don't have wifi with 3.5 kernel this time. Which package should i file the bug against? firmware? linux-ti-omap4?12:18
xnoxgetting same thing in dmseg12:19
xnox[   23.202850] wl12xx: ERROR could not get nvs file ti-connectivity/wl1271-nvs.bin: -212:19
xnoxogra_: do you have wifi on your panda in quantal?12:19
ogra_no idea, havent tried it :)12:19
* ogra_ has a dedicated switch for all his arm boards12:19
ogra_i'll try once i'm done with PVR and can bear to trash the panda while playing with it :)12:20
xnoxogra_: can I bribe you with bamboo? =)12:23
ogra_lol, i'm not a panda !12:23
xnoxogra_: but you have so many of them =))))12:23
ogra_http://plus.url.google.com/url?sa=z&n=1346156762908&url=http%3A%2F%2Fbit.ly%2FRUbLqy&usg=OLZd5hl2msGAN9KAoBgn0GpCCcM.12:26
ogra_or better https://lh4.googleusercontent.com/-XsraXa6V0VY/UDya87ScR3I/AAAAAAAADMc/dQsqSah_KzM/w497-h373/ae0016-4.jpg12:26
ogra_:)12:26
xnoxogra_: from the intermediate photos, I would have never guessed the final result will be panda. I'd guess something else...12:28
ogra_haha, yeah ... pretty "else" ...12:29
* ogra_ twiddles thumbs waiting for the archive mail for the upload ... 12:47
ogra_... and considers to tra an ac100 isntall test12:47
ogra_*try12:47
ogra_i wonder what /lib/udev/mtp-probe is ...12:48
ogra_always generates warnings on boot12:48
xnoxogra_: mpt probe?12:49
ogra_yep12:49
ogra_ac100 doesnt use a splash atm... so i see these boot messages12:49
ogra_and udev seems to be unhappy with that script12:49
ogra_https://launchpad.net/ubuntu/+source/pvr-omap4/1.9.0.5.1.1-0ubuntu3/+build/374895212:53
ogra_ah, that looks better12:54
ogra_(1.6M vs 47 bytes)12:54
* ogra_ waits for the publisher12:54
ogra_rsalveti, pvr loads but i still see some errors:13:45
ogra_PVR:(Warning): PVRDRMSetFD: could not get plugin ioctl base: -22 [69, /pvr_bridge_u.c]13:45
ogra_ (EE) Couldn't get PVR Services status13:45
ogra_ PVR:(Error): OpenServices: drmOpen failed [120, /pvr_bridge_u.c]13:45
ogra_(EE) OMAP(0): ERROR: PVR2DCreateDeviceContext failed13:46
ogra_and es2_info doesnt work :(13:47
ogra_rsalveti, http://paste.ubuntu.com/1171824/13:49
ogra_rsalveti, so the issue seems to be that the header cant be found anywhere linux/omap_drv.h ... and it seems your fix to linux didnt work,14:21
ndecrsalveti: btw, what exactly did you have to change in live-build to use it? why can't we just use the default live-build? and when are you planning to merge your changes upstream?14:31
* ogra_ sighs14:40
ogra_so after shuffling headers around for 1h it now fails on omap_priv.h14:40
ogra_rsalveti, your headers fixes went into the wrong package :(  ... (linux vs linux-ti-omap4)14:42
ogra_and omap_priv.h seems to be nowhere on my filesystem14:43
ndecit's private ... ;-)14:50
ogra_heh, well, looks like it should be in include/drm/omap_priv.h14:51
ogra_but it isnt indeed14:51
=== doko_ is now known as doko
ogra_so that header situation is completely messed up :/14:52
ndecmaybe XavB knows about that...14:52
ogra_*sadpanda*14:53
XavBogra_: ndec: we do have a "hack" to add omap_drv.h and omap_drm.h to headers package but I think that Ricardo already picked that one14:55
ogra_XavB, he forgot omap:priv.h14:55
ogra_s/\:/_/14:55
ogra_me copy pastes omap_priv.h and omap_drm.h from robclark's lwn post :P14:57
ogra_Error! Bad return status for module build on kernel: 3.5.0-209-omap4 (armhf)14:57
ogra_Consult /var/lib/dkms/pvr-omap4/1.9.0.5.1.1/build/make.log for more information.14:57
ogra_*sniff*14:58
XavBogra_: can you pastebin your log please?15:00
ogra_if my panda ever comes back up again after the reboot i just did ...15:01
XavBogra_: are you sure about omap_priv.h? I only have omap_dmm_priv.h...15:01
ogra_http://paste.ubuntu.com/1171936/15:02
ogra_(sorry for the german :) )15:03
XavBogra_: in fact we do not have "include omap_priv.h" anymore on our kernel.15:07
XavBhttp://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commit;h=0428bbdcdb53255b8b42a8ed73ab6ec1d897505415:07
ogra_great15:07
ogra_so i guess the omap_drv.h i have is broken15:08
ogra_ubuntu@panda:~$ grep omap_drm /usr/src/linux-headers-3.5.0-209/include/linux/omap_drv.h|grep include15:20
ogra_#include "omap_drm.h"15:20
ogra_yeah. looks like15:20
ogra_now i wonder how rsalveti managed to get that workin15:20
ogra_g15:20
* ogra_ needs a break15:21
rsalvetindec: afaik the live-build we're using is just a rev from upstream15:34
rsalvetijust that we tested it and it worked fine15:34
rsalvetiinfinity: but why the previous builders (pecise) were also calling build first?15:35
rsalvetithis affected as well the ati and nvidia drivers I believe15:35
rsalvetiat least I saw you fixed the ati one15:35
rsalvetiogra_: the warning is ok, but the second error it seems to be related with the lack of module15:42
ogra_rsalveti, well, yeah, because it doesnt build, since the header file ended up in linux, not linux-ti-omap415:43
rsalvetiogra_: it is at linux-ti-omap4!15:43
rsalvetithat's where I sent my first patch15:43
ogra_and the header we have seems to be outdated and missing http://dev.omapzoom.org/?p=integration/kernel-ubuntu.git;a=commit;h=0428bbdcdb53255b8b42a8ed73ab6ec1d897505415:43
ogra_rsalveti, i dont have it15:43
rsalvetiweird, let me check that15:44
ogra_it is the in -209 but not in 209-omap415:44
ogra_*it is in15:44
ogra_ubuntu@panda:~$ find /usr/src/ -name omap_drv*15:47
ogra_/usr/src/linux-headers-3.5.0-209/include/linux/omap_drv.h15:47
ogra_/usr/src/linux-headers-3.5.0-209/drivers/staging/omapdrm/omap_drv.h15:47
ogra_/usr/src/linux-headers-3.5.0-12/drivers/staging/omapdrm/omap_drv.h15:47
ogra_dkms tries to use /usr/src/linux-headers-3.5.0-209-omap415:48
ogra_rsalveti, ^^^15:48
rsalvetilet me check locally15:48
rsalvetiogra_: you only need omap_drm.h and omap_drv.h, don't need the private one15:51
ogra_rsalveti, the omap_drv.h i have here has an include omap_priv.h15:52
ogra_i copied it from -209 to -209-omap415:52
ogra_which makes dkms work but then fail on this include15:52
* ogra_ pulls both headers out of the above commit and retries 15:53
ogra_Error! Bad return status for module build on kernel: 3.5.0-209-omap4 (armhf)15:55
ogra_GRRR !15:55
ogra_/var/lib/dkms/pvr-omap4/1.9.0.5.1.1/build/services4/srvkm/env/linux/private_data.h:95:28: fatal error: linux/omap_drv.h: Datei oder Verzeichnis nicht gefunden15:56
* ogra_ curses15:56
=== orated_ is now known as orated
ogra_#if defined(SUPPORT_DRI_DRM_EXTERNAL)15:59
ogra_#include <linux/omap_drv.h>15:59
ogra_hmm15:59
ogra_that the only trace i find in private_data.h15:59
ogra_http://paste.ubuntu.com/1172053/16:06
ogra_the full log again16:06
* ogra_ has to prepare for his ubuntu developer week talk about arm now 16:06
ogra_rsalveti, i clearly see an "#include "omap_priv.h"" in my omap_drv.h16:08
rsalvetiogra_: I'm checking that now16:08
ogra_not sure why you dont16:08
ogra_ok16:08
ogra_rsalveti, i'll leave that to you then, rtg asked for a bu with a fix attached if we need kernel changes16:09
ogra_*bug16:09
rsalvetiogra_: sure16:09
* ogra_ wonders what to talk about in UDW 16:09
rsalvetiogra_: root@ubuntu-desktop:/usr/src/linux-headers-3.5.0-209-omap4/include/linux# ln -s ../../../linux-headers-3.5.0-209/include/linux/omap_drm.h omap_drm.h16:18
rsalvetiroot@ubuntu-desktop:/usr/src/linux-headers-3.5.0-209-omap4/include/linux# ln -s ../../../linux-headers-3.5.0-209/include/linux/omap_drv.h omap_drv.h16:18
rsalvetito get your module to build16:18
rsalvetiI'm checking now why this header is not linked at the original package16:18
ogra_rsalveti, right, thats how i got to the omap_priv.h error :)16:19
rsalvetiogra_: just did that, and installed pvr-omap416:19
ogra_for me that fails with the above error16:19
ogra_and obviously there is an #include "omap_priv.h" in my omap_drv.h16:20
rsalvetiI don't have any here16:20
rsalvetiare you sure you just linked the files?16:20
rsalvetior you downloaded it from another source?16:21
ogra_from LP16:21
ogra_i downloaded teh linux-image package for -209-omap4, dpkg -i'ed it and its headers, then rebooted and apt-get installed pvr-omap416:21
ogra_to fail with the missing omap_drv.h ...16:22
ogra_then i linked the files as above and got to the point where it started failing on _priv.h16:22
ogra_*now* i have the files replaced by the ones from the omapzoom commit for a test, but that doesnt help either16:23
janimoinfinity, hello, the armadaxp bitss look clean to me, Marvell also again said they believe it sould be all GPL2 (one of their 3 options in HAL code)16:23
janimoso could the package be moved from PPA to archives ?16:23
ogra_janimo, they said they belive that last time too ... and NCommander uploaded a horridly illegal package16:24
ogra_(because he belived them)16:24
janimoogra_, do you recall what type of bits were illegal there?16:25
janimoI know the original patch had extra scripts in net and elsewhere where I would not have though there should be something arch specific16:25
ogra_janimo, not from the top of my head, and the discussion about it wasnt in a publically logges channel iirc16:25
ogra_*logged16:25
janimowell, anyway to me it looks like any other kernel code :)16:26
janimono blobs or other strange bits16:26
ogra_well, infinity might surely know more but it will be hard to catch him this week16:27
janimoapart from some C HAL code that is wrapped in linux specifics but that too has an ok license16:27
ogra_(plumbers)16:27
janimook16:27
rsalvetiogra_: http://paste.ubuntu.com/1172106/16:29
rsalvetiI'm now checking why the link is not done properly at the flavour specific headers package16:29
ogra_rsalveti, what io also dont get is, how do your headers end up in include/linux/ ... mine are definitely under drivers/staging/omapdrm originally16:30
rsalvetiogra_: this is the original path, but we have links at include/linux to drivers/staging16:30
ogra_ubuntu@panda:~$ ls -l /usr/src/linux-headers-3.5.0-209/include/linux/omap_drv.h16:31
ogra_lrwxrwxrwx 1 root root 40 Aug 22 18:37 /usr/src/linux-headers-3.5.0-209/include/linux/omap_drv.h -> ../../drivers/staging/omapdrm/omap_drv.h16:31
ogra_right, i missed that one, sorry16:31
rsalvetiogra_: ok, will investigate here what is happening with the flavor specific headers package16:32
ogra_thanks a lot !16:33
* ogra_ really doesnt get how you have teh patience to dig through all this every day ... 16:34
ogra_after fiddling with it for even half a day i got enough :)16:34
marvin24ah, I get the same usb ethernet oom with my mcs7830 on ac100 as on omap16:43
marvin243.6-rc2 kernel16:43
ogra_great16:44
marvin24yeah, everything works as expected ;-)16:50
marvin24now use u-boot to load the kernel16:51
* ogra_ still fails to see the advantage of usin u-boot16:52
talahi, using gcc 4.7.2 I try to build for a target  system based arch = armv5te. does anyone have a clue why It can't compile via gcc 4.7 ? and I get |error: bad value (armv5te) for -march= switch16:55
marvin24ogra_: he, too soon for apri jokes16:56
marvin24we can use initrd's > 2 MB16:58
ogra_offt, who wants that :)16:58
ogra_*pfft even16:58
marvin24yeah, boots up - but no backlight yet  :-(17:16
=== ogra_ is now known as ogra
=== ogra is now known as ogra_
raki1i would like to try porting ubuntu on arm where do i start?18:14
ogra_well, what HW do you have ?18:14
ogra_(read: where do you want to port it to)18:15
infinityjanimo: It wasn't blobs last time, it was a mess of drivers that just plain weren't free.18:19
* ogra_ is out now ... dinner etc 18:20
infinityjanimo: Diff between mainline and the Marvell sources, then rgrep 'opyright', and check headers for telltale signs like "all rights reserved" and such.18:20
raki1@ogra_ http://www.gsmarena.com/micromax_funbook_p300-4701.php18:21
infinityrsalveti: The behaviour of dpkg-buildpackage -B changed in Quantal to call build-arch if it exists.18:22
infinityrsalveti: Hence why this will work in precise, it will work in quantal with -b, but will fail in quantal with -B.18:23
infinityjanimo: Anyhow, I'm still hopping around between airports, I can try to have a look later, but I really don't want to be the one to do a full audit again.18:24
janimoinfinity, thanks, I understand.18:24
infinityjanimo: If I do a partial audit (and I will, if you ask me to copy it), and find non-free bits, I'll be annoyed. :P18:24
janimoone copyright header I see is the one mentioned above, with a slightly verbose boilerplate18:24
janimobut looks ok nonetheless18:24
raki1@ogra_ can i work with that hardware18:24
janimoinfinity, I do not want to annoy you good sir18:24
janimobecause you know my IP address18:25
infinityI'll sneak into your house in the middle of the night and force-feed you meat.18:25
infinityThat's a vegan's worst nightmare, right?18:25
janimoinfinity, I do have disturbing dreams of eating meat indeed18:25
janimonot nightmares but I feel disappointed while dreaming18:26
janimoso yes, you're pretty close18:26
infinityHah.18:26
ogra_raki1, with regard to bootloader and kernel this is hard to tell, there inst much info about the CPU  "1.22 GHz Cortex-A8" does not say much ... but from the specs you should definietly be able to run ubuntu userspace on it though18:26
infinityHoly crap, we might finally be boarding my 1.5h-late flight.18:26
infinity\o/18:27
janimowhich airport are you now in?18:27
ogra_huh ?18:27
ogra_you arent there yet ?18:27
janimomaybe there's a conference internal airport for lazy people18:27
ogra_LOL18:27
janimoto travel between wings of the same building18:27
ogra_wings eh ?18:28
janimooh, you found an unintended pun18:28
ogra_:)18:28
janimoI do not always pun but when I do they are really unintended18:28
ogra_anyway, really dinner now18:28
* ogra_ -> out 18:28
rsalvetiinfinity: got it, is this option only used for the archs !i386 at launchpad?18:49
rsalvetiafaik i386 is the one responsible for the arch indep packages18:50
NCommanderogra_: janimo what horribly illegal package?20:22
janimoNCommander, just assumptions. But armadaxp kernel20:22
NCommanderjanimo: oh, probably because I forgot to strip out the firmware >.<;20:22
janimoinfinity, says there were illegal bits in previous drops20:22
NCommanderOh20:23
NCommanderNo, I stripped those all out20:23
* NCommander went through file by file to make sure there wasn't anything illegal20:23
janimothere's a 3.5 drop now and infinity says we need to make sure it's not like that time, when it was also said to be all clean20:23
janimoso the firmware is now in linux-firmware or was not even needed for the armadaxp?20:24
NCommanderjanimo: the later I believe. I only did the initial 3.0 and 3.2 drops from Marvella nd those were both clean and were crosschecked to make sure the illegal bits were stripped oput20:47
GrueMasteriirc, the firmware is for Marvel Wifi (which is not on the board).  Their kernel blob has ALL of their development work in it for every product they are working on.  Makes stripping and cleaning...fun.20:49
GrueMasterFrom the 3.2 kernel, I seem to remember keeping ~10% of their mods.20:50
GrueMasterMaybe a little more.20:50
infinityrsalveti: Right, i386 builds with -b, everything else builds with -B21:00
rsalvetiinfinity: yeah, that explains better, thanks21:21

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