**** BEGIN LOGGING AT Sun Jul 15 02:59:59 2012 Jul 15 05:42:04 koen: you figured out what happened on the last episode of sherlock yet? Jul 15 05:46:58 <_av500_> gm Jul 15 06:28:57 _av500_: is it? Jul 15 06:43:03 prpplague: almost Jul 15 08:29:02 I'm trying to compile the updated version of the gspca_ov534 driver so I can do fancier stuff with a PS3 eye on a beaglebone, but I can't compile the new version without source Jul 15 08:29:34 what's the usual way of doing this? build the system image from scratch off-device? cross-compile the patch somewhere else? Jul 15 08:30:28 specifically this patch: http://oftw.wikidot.com/install-ps3-eye-camera-in-ubuntu Jul 15 10:09:10 Anybody know if I can use a transmitter connected to the bone which needs "7 TXD DC coupled input for 5V CMOS logic. Rin = 100k" Jul 15 10:09:28 I read that you cannot input logic signal 5V but it is only transmitter Jul 15 10:09:42 will it work - radiometrix hx1 Jul 15 10:43:18 no Jul 15 12:39:19 Hi everybody Jul 15 12:41:51 Do you know howto use spi with beaglebone ? google don't give me help. Jul 15 13:03:31 Heya! Is the pin mux on the 'bone set at uBoot time or when the kernel starts? Jul 15 13:06:22 What do you mean ? Jul 15 13:07:19 I'm trying to get a second MMC port recognized on the 'bone. Everything I see in the kernel code says "get it set early." Jul 15 13:08:13 So I'm wondering where the pin mux gets set, where I have to fiddle/patch. Jul 15 13:12:10 Ahhh! Got it, it's in the Kernel. Jul 15 14:41:43 Hi everybody Jul 15 14:41:50 Rehi Jul 15 14:42:31 Do you know howto use spi device with beaglebone ? Jul 15 14:45:36 Use it from userland? From what I see, a kernel needs to be compiled for it... Jul 15 14:46:30 Ugh... Okay, I'm starting some config menus in the 3.2.21+Bone kernel. Jul 15 14:46:52 ...as soon as my Gentoo install on my A3 'bone finishes. Jul 15 14:47:04 I want to use spi from user space. Kernel space is too complicated for me. Jul 15 14:48:00 There's a page if you Google for: "Beaglebone" spi Jul 15 14:48:05 I use the angstrom dictribution with kernel 3.2.18. Jul 15 14:48:18 Use the quotes, because Google thinkgs beaglebone=beagleboard. Jul 15 14:49:25 Ahhh, it is enabled in Angstrom. Jul 15 14:50:03 Did you run: opkg install kernel-module-spidev ? Jul 15 14:57:12 Sorry Jul 15 14:57:26 lsmod | grep spi Jul 15 14:57:30 give me Jul 15 14:57:36 spidev Jul 15 14:57:37 Using the IRC client on the beagleboard site? Jul 15 14:57:50 yes Jul 15 14:58:04 Figures. :) Jul 15 14:58:14 Okay, Got a /dev/spi* ? Jul 15 14:59:46 yes /dev/spidev2.0 Jul 15 15:00:27 Ahhh, okay. Jul 15 15:01:06 Sorry, had to come from the point of "you don't have it yet..." to "Oh, it's already there." Jul 15 15:01:40 Excuse me while I shoot TI for having a screwball kernel. Jul 15 15:03:09 Here's info on using the /dev/spidev2.0 device: http://www.kernel.org/doc/Documentation/spi/spidev Jul 15 15:04:06 I use angstron distribution 2012-05 linux 3.2.18 Jul 15 15:04:26 I go to this documentation Jul 15 15:06:27 Thanks Jul 15 15:09:45 Hi Folks, I would welcome some advice on getting XBMC running using Angstrom 2012-05 linux 3.2.18. I've been going round in circles for a while. I can make it run if I install libcurl5 and libgles-omap3-x11wsegl, but video is low on the framerate. Any thoughts ? Jul 15 15:10:18 Which board? Jul 15 15:13:27 Sorry, that would have helped.. BeagleBoard_XM revB Jul 15 15:14:31 I see many Flickr and Youtube evidence that it runs well, but can't make it go. Building it from the Angstrom distribution using OPenembedded-core/bitbake Jul 15 15:15:14 Is the DSP code installed? I think for decoding the video you need to run it through the DSP so the framerate's maxed. Jul 15 15:16:04 I've debugged it over the last few weeks and have it running after tweaking a few things.. but if I try and play an MP4 conversion of a movie, it's ab bit staccato... Jul 15 15:16:42 I've focused on making sure the SGX code is there, but not DSP code. Jul 15 15:17:46 yeah, if I remember correctly the omapfbplay code runs the video through the DSP. I'm not sure what XBMC uses or if it's trying to decode it manually. Jul 15 15:18:08 I should ask Koen if Angstrom is using hard float or not. Jul 15 15:18:34 people who mention 'hardfloat' should get taken out and kicked in the privates till they get a clue Jul 15 15:18:47 there's no real life difference between proper softfp and hardfloat Jul 15 15:19:16 angstrom on beagle* used both the VFP and the NEON coprocessors Jul 15 15:19:42 Okay, so the answer is yes. Jul 15 15:19:54 no Jul 15 15:20:01 angstrom currently uses softfp Jul 15 15:20:12 which will use vfp and neon Jul 15 15:20:49 But passes FP values in the integer registers. Theres a performance difference... but not massive... Jul 15 15:21:09 17:18 < koen> there's no real life difference between proper softfp and hardfloat Jul 15 15:21:36 we had to break out povray to find something that showed a measurable improvement Jul 15 15:22:00 SO Koen, am I wrong to be looking for my problem in the SGX drivers (which is where I have been concentrating)? Jul 15 15:22:10 and rememeber, ubuntu and derivates don't use neon in their 'hardfloat' builds Jul 15 15:22:12 For me, VFP & NEON is hard float (irreguardless of how it's passed through). Softfp is "Everything is emulated, no coprocessor" Jul 15 15:22:14 Ziggles: SGX has nothing to do with video decoding Jul 15 15:22:33 koen: Yeah, I can imagine. Or OpenGL immediate mode code, I expect... but then again, anyone using OpenGL immediate mode deserves all the performance suckage they get Jul 15 15:22:36 STrRedWlf: and you have it wrong Jul 15 15:22:55 XgF: xbmc used opengl for colourspace conversion and scaling/blending Jul 15 15:23:03 XgF: so faster opengl -> faster decode Jul 15 15:23:32 koen: As I say, OpenGL immediate mode. Which isn't even present in GLES... Jul 15 15:23:39 STrRedWlf: but I don't blame you, the hardfloat fanboys propaganda is purposefully confusing on that point Jul 15 15:25:02 And I thought getting this secondary MMC working was bad enough. Jul 15 15:28:02 XgF: Thanks .. so I'm looking in the wrong place. Jul 15 15:28:24 That's a big help, I'll stop wasting my time there then. Jul 15 15:28:53 Ziggles: On OMAP, video decoding is almost entirely handled by the IVA DSP. Jul 15 15:29:31 XgF: Reminds me of what folk are doing with the RaspPi and XBMC there. They're trying to get MPEG2 decoding done via OpenGL ES shaders. Jul 15 15:31:18 STrRedWlf: dafuk. Jul 15 15:31:56 but rasppi has a hardware codec right ? Jul 15 15:32:10 MPEG2 isn't licensed. MPEG4, H264 is. Jul 15 15:33:38 RasPi Foundation didn't licence all the codecs. Jul 15 15:33:57 It's up on their forums, anyway. Jul 15 15:33:57 coprocessors are overated Jul 15 15:34:18 nobody needs them, nobody should use floats ;) Jul 15 15:34:46 STrRedWlf: angstrom has to stick to softfloat because of the sgx-drivers Jul 15 15:35:04 Aaaah. Jul 15 15:35:11 XgF: So I take it that the application drives the video through the DSP using omapfbplay, as indicated by STrRedWlf? Jul 15 15:35:16 Oh yes, I forgot that. Jul 15 15:35:35 aholler: bah a chroot + some wrappers and it's done :D Jul 15 15:37:20 I now think I need to get Class 10 MicroSDHCs for now on. Jul 15 15:44:32 Ziggles: No idea how the Linux stack works. Sorry Jul 15 15:45:41 XgF: Well many thanks for the pointers in any case. I think you have helped me refocus my efforts towards the right place. Jul 15 16:06:40 is someone is interest by spi whith beaglebone ? Jul 15 16:14:37 Hi Folks, I've done a bit more digging and I've found that I'm only getting 12-15fps when in the menus of XBMC, and when I start a video it's down to 5-6fps. Jul 15 16:15:07 Which version of XBMC are you using, the Eden release? Jul 15 16:15:20 I assume that there is no video decode in the menus, so I still think that I might have a problem with the graphics. Jul 15 16:15:24 Yes Eden Jul 15 16:16:16 The fact that I have to opkg install libgles-omap3-x11wsegl before it will run at all makes me feel like I may not be using the graphic accelerator for all the functions. Jul 15 16:17:08 You'll have to forgive my ignorance, I admit to being a hardware engineer on a steep embedded linux learning curve. Jul 15 16:18:52 I've set the MPU freq to 1GHz, but I'm not sure what speed the DSP core is running at... I'm going to investigate how to do that tomorrow. Jul 15 16:19:29 Thancks for everybody who help me. The good documentation is in the kernel's source. Compile spidev_test and spidev_fdx. Put an wire on pin 29 and 30 on P9 and use spidev_test and spidevfdx. Good luck for you. And Thanck Jul 15 16:20:27 Hmmm... You may want to talk to the XBMC guys, because if I remember correctly they were working on killing the load on the GPU with the menus, put also producing a light-weight version. Jul 15 16:22:12 That was the area I have been looking at. I have been trying to get the lightweight skin developed by the excellent GSOC-2010 folks, but I must be doing something wrong in extracting it from Git/SVN because it claims there are files missing and doesn't run. Jul 15 16:22:50 I get the initial menu up, but the submenu files look to be incomplete. Jul 15 16:24:56 I'm assuming these skins were targetted at the Dharma release of XBMC and I'm not sure if they might be incompatible too. Jul 15 17:10:09 Thanks for all the tips folks. Jul 15 18:43:06 My PRU LBBO instructions from DDR and GPIO are stalling for about 60 and 30 cycles respectively. Is that expected? Any way to improve? Jul 15 20:48:28 I gotta love developing on the 'bone... Jul 15 20:55:10 why? Jul 15 20:59:55 I'm not comfortable with crosscompling. Jul 15 21:02:04 you should consider changing that Jul 15 21:03:07 Yeah, pulling the kernel tree that Koen pointed me to off the list seems to only go so far. Jul 15 21:04:10 ....and I just realize I don't have any swap on this card. Jul 15 21:10:35 Probably not that great an idea to have swap on the card if you care about th elongevity of the card. Jul 15 21:12:44 I'll be happier if I can do swap over SPI, and start tying all this spare RAM I have lying about into it. Jul 15 21:14:12 Heh... half tempted to make a proper RAM drive. Jul 15 21:14:18 Heh. Jul 15 22:28:18 Mmmm bone audio supplies... I wonder where they're located... (compiling kernel) Jul 15 22:42:02 * Desert read 'bose' audio supplies Jul 16 01:19:35 why is igepv2 that expensive Jul 16 01:31:42 Hi all. I am trying to startup a car gadget company. Can I use beagleboard for this ? Jul 16 01:32:05 karthee: That sounds like an excellent thing to use email for. Jul 16 01:37:01 agmlego: sorry I didn't get what you meant. Jul 16 02:30:30 infotainment? car gadget... **** ENDING LOGGING AT Mon Jul 16 02:59:57 2012