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

=== lilstevie|ZNC is now known as lilstevie
=== asac_ is now known as asac
=== panda is now known as Guest38046
MrCuriouspersia: are you around?04:05
MrCuriousi think it was you who reccomended that i use the ubuntu opencv linraries (from apt-get) rather than building them myself.  do you know if for pandaboard, the ubuntu opencv libraries have any DSP or 3d optimizations in them04:06
Martynthey do not, that I am aware of04:06
MrCuriouscurses!04:06
MrCuriouswonder if anyone is working on hardware acceleration for opencv on pandaboard04:08
MartynWell, there isn't all that much in there to help with accel04:08
MartynIt's not exactly like you can use CUDA on an omap 440004:08
MartynopenCL maybe?04:09
Martynthat uses the SGX accel04:09
MrCuriouslooks like opencl has not yet come to the pandaboard04:12
MrCurioushmmm OpenCL implementation is in work at this time and from what I understand it04:13
MrCuriouswill likely be made available in 2H11. Andrew is at Imagination Technologies04:13
MrCurious( the graphics IP vendor for OMAP4 SoC)  i.e, he has access to the inside04:13
MrCuriousimplementation he he is able to do such posts.04:13
MrCuriouswonder what 2H11 means?04:13
MrCurious2nd quarter 201104:13
MrCurioushttp://withimagination.imgtec.com/news/powervr-sgx-cores-get-opencl-conformance/04:19
MrCuriouslooking like you are right about opencl04:21
MrCuriousits just a question of can they be had04:21
persiaMrCurious, I don't know of anyone working on optimisation of OpenCV (except perhaps you).05:16
MrCuriousi am not working on, just inventorying what is available to me05:20
MrCuriousi am curious if anyone has a pandaboard and a web cam(running ubuntu or android) if they could check teh FPS they get with mplayer on /dev/video005:21
MrCuriouswould love to know if i have a less than optimum setup 3 web cams varying 8 FPS to 12 FPS05:22
persiaLooks like OpenCL isn't really well-supported right now.  There's a khronos-opencl-headers package, but it doesn't seem to be something that has dependencies.05:23
MrCuriousno library package for those headers?05:23
persiaOnly the nVidia CUDA implementation05:23
MrCuriousand my guess is that is not meant for pandaboard05:24
persiaAnd from what I can tell, that's not being distributed as part of Ubuntu currently.05:24
persiaHeh, no.05:24
persiaThe headers are from http://www.khronos.org/registry/cl/ , but from what I can tell, it needs N implementation libraries.05:25
persiaMeaning that there's probably lots of integration and interoperability work to be done as the implementations become available and packages are created.05:26
persiaFor the pandaboard, you'll probably get the fastest throughput with video capture using gstreamer.05:28
persiaI believe TI has some optimised gstreamer input plugins in their PPA.05:28
persia(although I may be mistaken: I haven't tried playing with video in)05:28
MrCuriousgstreamer... isnt that for working the DSP's?05:29
MrCuriousnot something to speed up USB ports05:29
persiagstreamer is an A/V programming framework: I believe that it helps deal with onboard processing once it's come over USB.05:32
persiaIf you think 8-12 FPS is limited by USB, then it probably won't help.05:32
MrCuriousat this point i am unsure of where its bottlenecked. thats why i seek comparison with other users05:35
MrCuriousgiven that my disk was much much slower than gruemaster05:35
MrCuriousand mine was ssd vs his spinning disk05:36
MrCuriouspanda has gstreamer support?05:40
persiaEverything has gstreamer support, but TI has some special gstreamer modules to make panda even faster at processing video.05:42
MrCuriousinteresting05:43
MrCuriouslots of packages come back in a gstreamer search05:44
persiaRight, but the ones with the panda-specific optimisations are probably those in ppa:tiomap-dev/release05:45
persiaI *think* you want gst-ducati (but I'm not really sure)06:00
MartynDamnit, I can't get a hold of George in New Zealand06:03
persiaIt's the end of the day there...06:03
Martynyes.. but the earthquake seems to have knocked out phones/cells again06:04
Martynthere was a swarm, starting at 1pm (5.5) ending with a pretty solid 6.0 quake at 2:20pm .. it's been a little over two hours06:04
persiaI seem to have some (sporadic) traffic from .nz hitting my router: I presume the lines are up and congested.06:09
Martyn.nz is big enough to be up away from Christchurch06:12
Martyncan you tell if there is much (if any) traffic coming from there?06:12
persiaNope.  I have insufficient knowledge of the relation between network topology and geography in that region.06:12
persiaI'm probably currently biased, but I'd presume that a series ending in 6.0 isn't likely to have been catastrophic, although that means nothing in terms of individuals.06:14
MartynYep, and what's bad is that NZ has many, many buildings that just aren't up to earthquake codes06:14
Martynthey happen, and lately frequently, but in the past not very often06:15
persiaThat could make it much worse then.06:15
MartynCan .. of course since the big quake four months ago, there has been a call to up the quality of construction (and shore/replace current structures)06:17
Martynbut it's only been four months06:17
persiaCode compliance requires a generation of buildings, which can be fairly long in places with heritage regulations.06:18
=== tonu__ is now known as tonu
garagothGood morning10:25
garagothI have a problem with mu Natty on BB-xM10:27
garagoth(again)10:27
garagothAfter reboot it does not bring up USB and network10:27
garagothalso, bridgedriver (for DSP) seems to be missing...10:30
garagothany hints?10:33
GrueMasterWhat rev beagleXM do you have?10:33
garagothC10:34
garagothit was working before reboot (except dsp)10:34
GrueMasterYep.  Known issue.  We have a new kernel for this.  Give me a sec and I'll paste the link up.10:35
garagothand kernel during startup correctly identifies my board (u-boot does not)10:35
garagothGrueMaster: Is this a second patch for Natty on xM rev B, C then?10:35
GrueMasterYes.10:36
garagothBut it started up correctly when I rebooted after headless install... ?10:36
GrueMasterhttps://wiki.ubuntu.com/ARM/OmapNetbook10:37
GrueMasterThe update is at the bottom of the wiki page.10:37
garagothI powered it off for weekend and it did not start.10:37
GrueMasterInstructions are the same for headless.10:37
garagothGrueMaster: Is this the same updated image I applied at hm, thursday or friday, when I reported problems with headless install here?10:38
GrueMasterMaybe.  I have lost track, as I had to fly to London for meetings.10:38
GrueMasterI can look through the backscroll to check.10:39
garagothBecause headless install was failing (no network), then applied your (and rsalveti) patch, went fine, reboot, still all fine... now not fine, after halt & poweroff10:39
GrueMasterOdd.  Same kernel or did it revert?10:40
garagothThe patch is exactly the same, md5 identical.10:41
garagothHm, dunno.10:41
garagothShould be the same?10:41
garagothHow can I check it?10:41
GrueMasterHere is my md5sums:10:43
GrueMaster6b627ef6dbbca9b9f8212a512fcd9561  uImage10:43
GrueMaster1747c4ab2cc6a9d0710207f48666a91d  vmlinuz-2.6.38-8-omap10:43
GrueMasterI don't have access to a beagleXM here, so I can't check the kernel signature.10:44
garagothmy uImage is different10:44
garagothbut I changed boot.script and executed flash-kernel10:45
GrueMasterflash-kernel would have changed the timestamp, but nothing else as long as it is using the same vmlinuz.10:46
garagothHmm!10:46
GrueMasterMake sure /boot/vmlinuz links to the vmlinuz updated kernel.10:47
garagothit is.10:47
garagothand flsh-kernel generated uImage with md5 2fb0dd0f4061e4b5c0ff482639d6924810:51
GrueMasterI don't know what to tell you off hand.  maybe rsalveti will have some ideas.10:53
garagothwhat is the kernel module responsible for usb on BB-xM ?10:53
GrueMasterNot sure, but I know that it is built in.10:54
garagothahm.10:54
garagothThen maybe you know something about missing bridgedriver module?10:55
GrueMasterNot offhand.10:56
garagothMm. Thanks.10:57
GrueMasterLet me see if my beaglexm is still running at home.  If so, I can do a quick test of this kernel.10:57
garagothSure.10:58
garagothAngstrom boots fine, so not a hardware issue...11:03
garagothGrueMaster: Also, u-Boot still reports Beagle unknown rev 0x02, while u-Boot from Angstrom displays Beagle xM. Kernel displays correctle as bb-xm rev C...11:10
garagothGrr. Why I always make a typo in correctly and usually in typo ...11:11
GrueMasterYes, I don't know if u-boot has been updated upstream yet.11:12
GrueMasterAlso, I can't get the kernel to work properly with networking either on my older XM, so definately a kernel issue.11:13
GrueMasterrsalveti:  ^^^11:13
=== nielsslot_ is now known as nielsslot
garagothrcn-ee: How is your work on 2.6.39 kernel for natty?12:33
jussiDoes anyone know about the driver for the HDMI expansion card on the freescale iMX53 quick start board? (ie. which driver it is)12:37
rcn-eegaragoth, haven't been able to repeat it, tried a bunch of mmc cards, haven't been able to get the mmc -110 on the current image..13:36
garagothrcn-ee: Also, your latest 2.6.39.1-x1 kernel fails to bring up my USB devices & network interface...13:37
rcn-eeare you using my u-boot?13:37
garagothI installed it on natty headless because 2.6.38-8 has same problem13:37
garagothrcn-ee: Not sure...13:38
rcn-eeandroid people where running the same issue.. if you don't have a u-boot that knows about the xM C, for some reason the usb is dead..13:38
garagothFunny thing is...13:38
garagoththat I installed headless natty (after installing patched 38-8 kernel), rebooted, all was fine... then I powered it off, waited 2 days, powered on and no USB13:39
rcn-eeso either, something was setup that got lost between reboot's, or the kernel changed..13:43
garagothKernel was the same...13:44
garagothBut few reboots it was working. It stopped after power off13:44
garagothfor few reboots*13:44
rcn-eehumm strange.. well got to run to work, will be back in just a bit..13:45
garagothMm.13:46
garagothOk. More strange things13:49
garagothI booted Angstrom (it booted fine, all USB working), then reset (without powering off), swapped cards, booted ubuntu... and all is working again...13:50
garagothrcn-ee: Let me know when you will be back, I need to learn about your uBoot14:47
rcn-ee_at_workgaragoth, nothing special, i just build it from angstrom's..14:48
garagothOk... how to install it? It is "special" as it works...14:49
rcn-ee_at_workon your fat partition, just copy it as is. "uboot.bin" would upgrade it.. MLO/X-loader it's usualy a toss up 50/50 you'll need to redo the sd card..14:50
garagothwhat would it upgrade?14:55
garagothMaybe I will just copy MLO & u-boot.bin from Angstrom? Will it work, or your files have something better/Ubuntu specific?15:05
=== prpplague is now known as prpplague^2
GrueMasterI would hope that we all are using the same u-boot source tree, instead of one for ubuntu, one for Angstrom, etc.  Our released package may be dated, but we should be using the same upstream source.15:14
rcn-ee_at_workthey are 2011.02 with a few patches: http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/u-boot/u-boot_git.bb?h=2011.03-maintenance#n2815:17
=== Jef91|AFK is now known as Jef91
garagothrcn-ee: None of your u-boot.bin files correctly identified my board15:52
garagothwhile Angstrom u-boot.bin identifies it correctly.15:53
garagothI was checking inages from here: http://rcn-ee.net/deb/tools/beagleboard/15:53
rcn-ee_at_workyeah, sorry those are pure mainline was using them to find a mmc card issue on an old Bx...15:54
rcn-ee_at_workfor the xM: http://rcn-ee.net/deb/tools/UBOOT/u-boot-beagleboard-2011.02+r75+gitrc7977858dcf1f656cbe91ea0dc3cb9139c6a8cc8-r75.bin15:54
garagothok, let me try....15:54
rcn-ee_at_work(that's one i built from angstrom's tree and uploaded)15:55
garagothOriginal Angstrom u-boot.bin file is looking for /boot/uImage from mmc device 0:215:55
garagothdoes your look for /uImage on mmc 0:1 ?15:56
rcn-ee_at_workno, i redirect it with: http://elinux.org/BeagleBoardUbuntu#boot.scr_-.3E_uEnv.txt  (on my demo images... )15:57
brendandis there a way to get flash working on pandaboard?15:58
garagothmmc0: unrecognised SCR structure version 616:00
garagothmmc0: error -22 whilst initialising SD card16:01
garagothmmc_erase: erase error -110, status 0x80016:01
garagothend_request: I/O error, dev mmcblk0, sector 33479316:01
garagothThis is on your 39.1-x1 kernel16:01
rcn-ee_at_workI'd really test another mmc card.. i might have the same one that came from beagle here at work.16:03
garagothrcn-ee: This is different card.16:32
garagothTranscend microsd16:33
garagoth4GB16:33
garagothbut there is only one such error and system boots up16:33
garagothon stock card there were hundreds of those...16:33
=== zyga is now known as zyga-afk
garagothrcn-ee: On 2.6.38-8 kernel there are no such errors.17:02
garagothand there seems to be some error with usb0 (network) - interface is up, bot not communication goes through. On 2.6.38-8 all is fine again.17:03
garagothbut your u-boot works.17:05
rcn-ee_at_workgaragoth, the only error i'm getting so far is: "mmc0: unrecognised SCR structure version 10, mmc0: error -22 whilst initialising SD card" but i believe that's related to the expansion mmc setup (it doesn't find it)17:05
garagothWhat can I say.17:06
rcn-ee_at_workthe one big difference between my 2.6.39 and the older 2.6.38 is we know have support for this mmc based device: http://boardzoo.com/product_info.php?products_id=117:08
garagothBeagle wlan adapter?17:09
rcn-ee_at_worksame wlan as on the panda17:09
GrueMasterbeagle has wlan?17:10
rcn-ee_at_workexpansion17:10
GrueMasterah.17:11
rcn-ee_at_workgaragoth, i had one of the mmc card's that came with a beagle xm, but i can't even write an image to it without that task hanging at the moment.. here's my pastebin with a good working card: http://paste.ubuntu.com/625969/17:19
garagothHm, looks like you have different xM revision17:20
garagothMine is: [    0.149444] OMAP3 Beagle Rev: xM C17:21
rcn-ee_at_workyeah in the lab here i only have my "xM B" labeled, my C is out in the field with another engineer..17:21
NCommand1rrsalveti: did you file a bug on the OMAP3/4 boards failing to reset with the new images?17:26
rsalvetiNCommand1r: nops, as I didn't test with the new images yet17:26
NCommand1rrsalveti: well I haven't built a new image yet (and the old images are sitll pre-install, but I'm working on it)17:27
GrueMasterNCommand1r: what reboot failure?17:29
GrueMasterOn oneiric?17:29
NCommand1rGrueMaster: when you boot a panda with a partition formatted with the new mkdosfs patch, the reset button onthe panda stops working17:30
GrueMasterAh.17:30
GrueMasterI wonder if it is similar to the toolchain issue with the omap3 kernel and usb?17:30
GrueMasterbug 79155217:31
ubot2Launchpad bug 791552 in linux "No USB support on beagle/beagleXM" [High,New] https://launchpad.net/bugs/79155217:31
NCommand1rrsalveti: is three a packaging for x-loader/u-boot? I need to create udebs19:44
=== zyga-afk is now known as zyga
rsalvetiNCommand1r: yup, for both20:58
rsalvetiNCommand1r: why do you need udeb for them?20:59
NCommand1rrsalveti: for d-i21:09
garagothHmm. I have Beagle-xM trainer board from tin can tools. u-boot correctly detects it.21:35
garagothBut, when ubuntu boots, I cannot see i2c bus 221:36
garagothonly 1 and 3 are visible21:36
garagothany hints?21:36
garagoth(Angstrom boots and sees i2c bus 2 out of the box and I am able to communicate on it. So not a hardware issue)21:36
rcn-ee_at_workgaragoth, i don't think ubuntu's kernel has support for any of the expansion board's..  (the patches angstrom have come with haven't been pushed to mainline either..)21:43
garagothbut i2c bus 2 is available on expansion port21:43
garagothbeagle trainer board just translates voltage levels21:43
rcn-ee_at_workonly 1 & 3 are visable because port 2 isn't setup in ubuntu or mainline either: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=arch/arm/mach-omap2/board-omap3beagle.c;h=7f21d24bd437732724a45af9302c50a514f56482;hb=HEAD#l41821:45
rcn-ee_at_workfor the expansion boards you need a patch similar to this: https://github.com/RobertCNelson/stable-kernel/blob/master/patches/sakoman/2.6.39/0032-OMAP3-beagle-add-support-for-expansionboards.patch21:46
garagothJust great...21:47
garagothThanks. will think over it tomorrow. It is already 11 PM here. I need to sleep...21:48
garagothCheers!21:48
garagothand good night...21:48

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