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

=== prpplague^2 is now known as prpplague
NekoIn file included from up-device-csr.c:36:01:38
Neko/usr/include/libusb-1.0/libusb.h: In function 'libusb_fill_control_transfer':01:38
Neko/usr/include/libusb-1.0/libusb.h:928: error: cast increases required alignment of target type01:38
Nekoanyone seen this compiling upower?01:38
=== fta` is now known as fta
=== asac_ is now known as asac
=== lordargon is now known as kingargon
karmaGfahello.08:00
karmaGfaI would like to install ubuntu on a beagleboard. Do you know which version I should use, OMAP3 or OMAP4? (sorry for the stupid question)08:01
fairuzbeagleboard use omap308:03
karmaGfathank you08:04
=== Guest832 is now known as lag
=== lag is now known as Guest57644
diwicogra, ogra_ ping08:50
hrwhttp://lists.linaro.org/pipermail/linaro-dev/2011-May/004342.html09:28
=== doko_ is now known as doko
hrwunity on 640x480px looks interesting09:36
ndechrw: just saw your email. so hdmi is not working on panda? i am surprised09:55
hrwndec: in Linaro kernel09:56
hrwndec: ubuntu kernel has it working and do not ask me why09:56
ndechrw: well... at least i know why ubuntu has it working...09:56
ndechrw: dvi should work on ubuntu too.09:56
rsalvetindec: not all agreen changes got into the linaro tree09:57
hrwwith 1280x960 max?09:57
ndechrw: you might not have the 'auto detection' in dvi though, rsalveti?09:57
hrwI prefer hdmi with 1680x1050 (native of panel)09:57
rsalvetihrw: yes, but you need to set the resolution at cmdline09:57
rsalvetindec: we should have a new version of linaro kernel with both hdmi and dvi working09:57
rsalvetiwith the drm omap driver09:57
rsalvetiand compatible with omap 3 and omap 409:57
hrwone day I will pack my personal boards and get back to cross compilations only.09:58
ndecrsalveti: why not new ubuntu kernel?09:58
hrwit will give me 2-3 weeks of quiet and then mad mails from rsalveti will arrive ;D09:58
rsalvetindec: once this is released and working with the linaro kernel I'll request an sru to include the same changes09:58
rsalvetindec: just that the linaro one already included the drm driver and etc09:59
rsalvetiI'm using it to fix the bugs I saw09:59
rsalvetionce fixed, will also push it to the ubuntu kernel09:59
hrwrsalveti: and of course we do not have usb host working - none of my usb devices got detected09:59
ndecrsalveti: really? the omap-gpu drm driver is in linaro?09:59
rsalvetihrw: :-)09:59
rsalvetihrw: that's weird09:59
rsalvetindec: yup09:59
ndecrsalveti: link/09:59
ndeclink?09:59
hrwrsalveti: I have pandausb1->usbhub->keyboard,mouse pandausb2->usbhub->usbhdd10:00
rsalvetindec: http://git.linaro.org/gitweb?p=kernel/linux-linaro-2.6.38.git;a=summary10:00
hrwhave to solder pandausb3/4 one day10:00
rsalvetindec: was included when I ported it to omap 310:00
ogra_solder ?10:00
ogra_hrw, you just need a plug10:00
rsalvetiat that time the hdmi driver wasn't included at the tree, so that's why it's not working now with hdmi10:00
rsalvetineed some additional patches10:01
rsalvetihrw: can you send me your dmesg?10:01
ndecrsalveti: it would be nice to see the linaro kernel 'pull request' on a ML so that we can follow what gets merged. is that done already?10:01
hrwogra_: will it work reliable without soldering?10:03
rsalvetiI believe atm the landing teams are requesting the pull request directly to nicolas10:03
ogra_hrw, a std PC USB slot thingie with cable and plug will work10:03
ogra_just grab one from an old PC case10:03
rsalvetindec: not sure if they are all going into the ml10:03
hrwI have such10:03
* ogra_ curses git loudly10:04
ndecrsalveti: is there a TI landing team ML?10:04
rsalvetindec: you should tell me :-)10:04
rsalvetilet me check10:04
rsalvetindec: https://launchpad.net/~linaro-landing-team-ti10:05
rsalvetinops10:05
hrwrsalveti: http://paste.ubuntu.com/604014/10:06
rsalvetihrw: hm, lots of errors10:09
rsalvetibut this one seems that at least recognized your usb devices10:09
hrwrsalveti: it found only in-cpu-host and in-cpu-hub. no onboard hub, no onboard ethernet10:11
hrwogra_: where from flash-kernel gets omap4 boot.scr?10:11
rsalvetihrw: hm, true, saw the 3 ports detected messaged and thought it could be the external hub10:13
ppisatiany TI guy around? do you know where i can find one?10:16
rsalvetippisati: ndec10:17
ppisatithanks10:17
ppisatindec: ping10:17
hrwrsalveti: we need to add fbset, usbutils to default images10:20
hrwrsalveti: edid parser would be nice too10:20
rsalvetihrw: yeah, agree, was also missing fbset here10:23
rsalvetiand theses tools can probably help you with your tests10:23
rsalvetiguess you can open a bug requesting it10:23
hrwrsalveti: against lianro-images?10:24
hrwbug 77839810:26
rsalvetihrw: I believe linaro-images should be fine10:26
ubot2Launchpad bug 778398 in linaro-images "Add fbset into images" [Undecided,New] https://launchpad.net/bugs/77839810:26
ndecppisati: pong.10:27
hrwbug 77839910:27
ubot2Launchpad bug 778399 in linaro-images "Add usbutils into images" [Undecided,New] https://launchpad.net/bugs/77839910:27
ndecrsalveti: i should tell you what?10:27
rsalvetindec: just kidding about if I should know if TI lt has a m-l :-)10:28
rsalvetihrw: cool, thanks for filling the bugs10:28
ppisatindec: never mind, i answered my question by myself... :P10:29
ppisatibut i still beleive there's something wrong how we manage the L2 cache...10:29
rsalvetiamazing, I'm getting a higher resolution with omap 3 when comparing to panda's dvi10:33
rsalveti1400x900 with my xM and 1280x900 with panda10:33
rsalveti38/39 and we still don't have proper PM support for Beagle =\10:52
rsalvetiwith some luck it'll work with panda around 46/4710:52
ogra_get an ac100 :P we just got it working with .3710:52
ogra_PM i mean ...10:53
rsalvetiwell, people also got it working with 32 and 37, but none of the patches are upstream10:53
=== fairuz is now known as fairuz-lunch
ogra_ah, yeah, these bits arent upstream either yet10:54
ogra_but will be soon10:54
rsalvetiogra: do you need that weird daemon or proprietary software to make it work?10:54
ogra_not with .3710:54
ogra_we have a sane kernel now10:54
rsalvetioh, cool10:54
rsalvetithat's awesome10:54
ogra_i can even do kernel and initrd updates on the running machine10:54
ogra_flash-kernel support is around the corner ;)10:55
rsalveti:-)10:55
rsalvetijust missing images10:55
ogra_thats next :)10:55
ogra_proper cpufreq really helps the battery life :)10:56
ogra_only sound, suspend and resume are missing atm ... and the wlan driver could be more stable10:56
rsalvetinot that bad10:57
ogra_nope10:57
rsalvetiogra: how many hours of battery are you getting nowadays?10:57
ogra_thanks to chromiumos we got a really good base branch10:57
ogra_5-6 atm10:57
ogra_still not the 7-8 that android gets on the device but already pretty good10:58
rsalvetisure!10:58
ogra_and with 14 tabs in FF, xchat, one terminal and unity-2d running htop only shows 290M used :)10:59
ogra_and zero swap10:59
ogra_its really getting there11:00
ogra_now nvidia just needs to give us a driver :)11:00
ogra_though given the tegra is internally a geforce i wonder if nouveau wouldnt be hackable for it11:01
ogra_but that requires a brighter guy than me with more graphics knowledge11:02
hrwogra_: and gpu is probably not on agp/pcie link so harder to sniff11:13
=== fairuz-lunch is now known as fairuz
=== Guest57644 is now known as lag
GrueMasterI have to call BS on this one.  http://www.geek.com/articles/games/game-developer-david-braben-creates-a-usb-stick-pc-for-25-2011055/15:41
GrueMasterArm11 w/ 128M ram running Ubuntu at HDMI resolutions and web browsing?15:42
ppisatiwow15:42
ppisatithat David Braben!!!15:42
hrwGrueMaster: unsupported 9.04 even15:42
GrueMasterThat's what I posted.15:42
GrueMasterAlthough the arm version numbers escape me.  What rev is Arm11?  v5 or v6?15:43
ogra_iirc v515:44
ogra_or was it v4 ?15:44
ogra_arm really needs to do some marketing homework some day :P15:44
GrueMasterWell, like Intel is much better.  CPU family went from 4>5>6>F>6.15:45
GrueMasterF being the Pentium 4 family of products.15:46
GrueMaster6 being anything from the Pentium Pro (1996) to the iCore series of today.15:46
=== hrw is now known as hrw|away
davidmARm11 = ARMv617:39
lilsteviearm9=v4t2 arm11=v6t17:50
=== nielsslot_ is now known as nielsslot
rsalvetiGrueMaster: would you mind testing a new kernel with your monitors?21:23
rsalvetihttp://people.canonical.com/~rsalveti/linaro/kernel/21:23
rsalvetiI'm working to fix the drm issues with the hdmi driver first with the linaro kernel21:23
rsalvetiwhen fixed will request the sru for our kernel21:23
GrueMasterrsalveti: Ok, give me a sec.21:25
matt_ohas anyone got GLES2 to work on the latest natty install for beagleboard?  when I run "es2_info" it just segfaults (which is what I've been seeing happen any time I try to run a gles2 app lately).  I've got an xM rev C21:26
rsalvetiGrueMaster: this kernel should work with both panda and beagle21:29
GrueMasterInteresting.  ok.21:30
rsalvetiGrueMaster: if possible, boot it with omapdss.debug=y drm.debug=7 and send paste me your dmesg21:30
GrueMasterDamn.  FS remounted RO.21:30
GrueMasterGrrr.21:30
GrueMaster(not a kernel issue)21:30
rsalvetimatt_o: yup, I had that working with my xM just fine21:31
rsalvetidid you installed the sgx drivers?21:31
rsalvetialso, did you include yourself at the video group?21:31
matt_orsalveti, one sec I will check my dpkg list21:31
matt_oI have a bunch of libgles*, libegl1*, opengles* packages installed if that's what you mean21:34
matt_oand yeah I added my user to the video group21:34
matt_o(do I need to add root to that group too?)21:34
rsalvetimatt_o: https://wiki.ubuntu.com/ARM/OMAP/Graphics21:34
rsalvetiyou need libegl1-sgx-omap3 libgles1-sgx-omap3 libgles2-sgx-omap321:35
matt_orsalveti, yes I found that page earlier and followed the instructions21:35
matt_ogot those installed, yep21:36
rsalvetimatt_o: can you paste the output of strace es2_info?21:36
matt_ogood idea..21:36
matt_othis may take me a few mins.. I'll be back :)21:39
matt_oirc21:43
Matt_O|xMok.. I'm on my xM right now.. got the strace.. pasting it in a sec21:45
* GrueMaster waits patiently as he reflashes natty-netbook on an uSD card for XM kernel testing.21:46
Matt_O|xMhttp://home.rulecity.com/browse/trace.txt21:48
Matt_O|xMok there it is.. phew21:48
rsalvetiMatt_O|xM: urgh, you got a bad address while calling ioctl at the pvrsrvkm device21:49
rsalvetiMatt_O|xM: what is your kernel version?21:50
rsalvetiMatt_O|xM: you said beagle rev c?21:50
* ogra_ heard XM21:50
Matt_O|xMLinux version 2.6.38.4-x3 (root@beagle-256mb-0) (gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ) #1 SMP Wed Apr 27 08:00:04 UTC 201121:50
Matt_O|xMxM rev C, yes21:50
rsalvetiI'm afraid we're missing some bits for rev c21:51
Matt_O|xMso you think you know what the issue is?21:51
rsalvetiMatt_O|xM: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/77067921:52
ubot2Launchpad bug 770679 in u-boot-linaro "Missing proper support for Beagle XM rev B and C" [Undecided,New]21:52
rsalvetican you test this kernel? http://people.canonical.com/~rsalveti/770679/21:52
ogra_though that kernel version is weird21:52
Matt_O|xMI knew I shouldn't have used command-line IRC :)21:52
ogra_unless we recently started using multipliers in versions :)21:52
Matt_O|xM"apt-get install xchat" just looked like it would take a while :)21:52
rsalvetiO21:52
rsalvetiI'm surprised you could boot with this kernel21:53
Matt_O|xMI followed some instructions from a beagleboard/ubuntu wiki so I'm not sure what I've got21:53
ogra_oh my21:53
Matt_O|xMam I using somethnig hacked?21:53
rsalvetiyeah, seems this kernel is not produced by us21:53
Matt_O|xMahhh excellent... then I'll just reimage and use your stuff then21:53
Matt_O|xMI thouht that's what I was using ni e first place21:54
ogra_just follow https://wiki.ubuntu.com/ARM/OMAP21:54
rsalvetiMatt_O|xM: you probably got your kernel from robert nelson21:55
Matt_O|xMyeah.. is that unwise? :)21:55
Matt_O|xMogra: will do (very shortly)21:55
ogra_no, its not unwise, its just different from ours :)21:56
Matt_O|xMI am powering down my xM now but I will still see any replies on my other session21:56
matt_oaahhh.. you guys are making me feel so much better :)21:57
GrueMasterHmmm.  rsalveti, flash-kernel doesn't appear to like that kernel.  Will bork it in manually.21:58
ogra_linaro kernel ?21:59
rsalvetiyup22:02
rsalvetihttps://bugs.launchpad.net/bugs/72114722:02
ubot2Launchpad bug 721147 in flash-kernel "flash-kernel subarch check fails with Linaro OMAP kernels" [Undecided,Confirmed]22:02
rsalvetiGrueMaster: https://launchpadlibrarian.net/70890844/flash-kernel_2.28ubuntu19.1.debdiff22:03
rsalvetithe change is minimal22:03
ogra_just copy/paste it22:03
matt_orsalveti, just reading that launchpad bug report.. seems like you need people with xM rev C's to help test?  I'd be more than happy to :)22:04
rsalvetimatt_o: yup :-)22:05
rsalvetimatt_o: that would be nice22:05
matt_othe people on that bug report are the people I've been looking for since I got my xM :)22:06
GrueMasterrsalveti: I have a warning in dmesg.  Installing pastebin now.22:24
rsalvetiGrueMaster: that's fine22:24
rsalvetiexpected22:24
GrueMasterok22:24
matt_ofinished download, writing image to SD card now :D22:29
matt_oI can almost taste the successful conclusion :)22:29
matt_ohmmm... is it supposed to freeze at "booting the kernel." ? :)22:59
ogra_which image did you take ?22:59
GrueMastermatt_o: Are you running headless or do you have a keyboard,mouse, and monitor?23:00
ogra_netbook needs a display23:00
matt_oubuntu-11.04-preinstalled-netbook-armel+omap.img.gz23:00
GrueMasterThat is stand alone.23:00
matt_oit has a keyboard plugged in.. I can give it a display and a mouse23:00
* ogra_ thought he suggested headless in #beagle before 23:00
ogra_yeah, then do that23:00
rsalvetiI'm afraid the default image is not going to work for you23:01
rsalvetibecause the lack of rev C support23:01
rsalvetiyou're the first one actually verifying that it doesn't work :-)23:01
* ogra_ whispers ... headless :)23:01
rsalvetieven headless, same kernel23:02
ogra_oh, it breaks completely ?23:02
rsalvetiI'm afraid that the kernel is not going to boot23:02
ogra_i though it has only display issues23:02
rsalvetiogra_: nops23:02
rsalvetibut I couldn't confirm as nobody ever tested with rev c23:03
rsalvetithat's why I opened the bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/77067923:03
ubot2Launchpad bug 770679 in u-boot-linaro "Missing proper support for Beagle XM rev B and C" [Undecided,New]23:03
rsalvetimatt_o: do you still have your previous rootfs?23:04
rsalvetiif we confirm that my kernel fixes the bug, we can have the same workaround we had for rev B23:04
rsalvetiwith maverick23:04
rsalvetiadding the instructions at the wiki page pointing the fixed uImage23:05
rsalvetiand get work to have this fix as SRU23:05
matt_orsalveti, sure I have my previous one23:06
rsalvetimatt_o: can you just boot with this rootfs and install my kernel deb by hand?23:06
rsalvetiI first want to confirm that my kernel fixes your problem23:06
rsalvetithen I can generate a new uImage to be replaced at our images23:07
matt_oI just have to copy it to the vfat partition, right?23:07
rsalvetimatt_o: no, please download the linux-image deb, dpkg -i and then run flash-kernel23:07
matt_ooh ok23:07
matt_oso you want me to use my previous natty install (with the other kernel) and then boot it with your new kernel and see what happens?23:08
rsalvetimatt_o: exactly23:08
matt_ook... lemme boot it up.. glad I didn't blow it away hehe23:08
matt_oBTW, these micro SD cards are super tiny! I love them! :)23:09
GrueMasterYea, great.  Until some idiot vendor designs a system that uses them but makes it near-impossible to insert/remove without micro-tweezers.23:10
matt_ook... I went to http://people.canonical.com/~rsalveti/770679/ and see three files... which one doI get?23:12
matt_ooph..23:12
matt_onm23:12
matt_otwo of them are headers.. I see :)23:12
ogra_GrueMaster, just replace the spring with a stronger one ;)23:12
rsalvetimatt_o: :-)23:12
matt_oam I going to need to back up my current kernel image for this? hehe23:12
GrueMasterYea, microSD attack missile launcher.  Great.23:13
matt_oGrueMaster, I got a USB adapter for my microSD card that has that exact problem hehehe23:13
ogra_and you can use it as stapler later if you dont test on it anymore !23:13
GrueMasterHeh.  I did find a new use for my 256M microSD though.  It is perfect for the root image for my Nook color.23:14
ogra_256M ?23:15
GrueMasterYea.  The image is 128M.23:15
ogra_cant have many apps :)23:15
GrueMasterJust enough scripting to root the installed image.23:15
GrueMasterI'll show you next week.23:16
ogra_:)23:16
* GrueMaster just wishes he had more time to hack natty onto the system properly.23:16
ogra_roll an oneiric image instead ;)23:17
GrueMasterPfft.23:17
GrueMasterNeed a working package manager first.23:17
ogra_apt is fixed i think23:18
ogra_but i meant on cdimage ;)23:18
ogra_within the next cycle23:18
GrueMasterOh.  I see what you're saying.  I plan on it as part of my hw overlay stuff.23:19
ogra_sweet23:19
matt_ook.. here we go.. rebooting..23:19
GrueMasterMakes a perfect test platform for this work.23:19
ogra_yep23:19
matt_ocool, kernel booted and I'm at login prompt23:20
matt_othis is looking promising23:22
rsalvetimatt_o: awesome, can you paste me the dmesg output?23:25
rsalvetiit should say you have a rev C23:26
matt_o|xMok.. I'm on my xM again. the kernel boot worked but it looks like I will need a fresh sgx kernel module23:30
matt_o|xMI guessI should'ev installed those kernel headers :)23:31
matt_o|xMyay!  es2_info returns sane results!!23:44
rsalvetimatt_o|xM: awesome23:47
rsalvetimatt_o|xM: can you give dmesg and paste me your output?23:47
matt_orsalveti, I'm still here hehe23:51
matt_oyou want the whole dmesg?23:52
rsalvetimatt_o: yup23:53
matt_ohttp://home.rulecity.com/browse/dmesg.txt23:54

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