**** BEGIN LOGGING AT Tue May 01 03:00:03 2012 May 01 05:48:26 GrueMaster, im watching about LFNW https://www.youtube.com/watch?v=Rbqo5XkZoPQ May 01 05:48:28 how was it May 01 06:02:10 GrueMaster, im watching about LFNW https://www.youtube.com/watch?v=Rbqo5XkZoPQ May 01 06:02:13 how was it May 01 12:46:45 hi there May 01 12:46:53 is there a beaglebone image somewhere for 12.04? May 01 13:52:54 nagyz: Try the server image. http://cdimage.ubuntu.com/releases/precise/release/ubuntu-12.04-preinstalled-server-armhf+omap4.img.gz May 01 13:53:32 and how am I supposed to install that to an SD card? I guess a simple dd is not enough :-) May 01 13:55:58 Download it, then run "gunzip (i.e. /dev/sdf or /dev/mmcblk0)". May 01 13:56:26 simple enoug May 01 13:56:27 h May 01 13:56:34 I wonder if the beaglebone is omap4, or omap3... May 01 13:56:38 Or if you are running Windows on your desktop, unzip and use win32-imagewriter. May 01 13:56:47 beaglebone is omap3. May 01 13:57:33 ok, let me try it out :-) May 01 13:58:07 638 megz :( May 01 13:58:14 will take 5 mins to DL May 01 13:58:42 Grab a coffee. May 01 14:00:17 my problem with angstrom was that with the .13 kernel PWM was working fine but couldn't get my wifi stick working May 01 14:00:28 with their latest kernel (.14), wifi works fine but no PWM :) May 01 14:00:42 I wonder how many upstream TI patches does ubuntu ship in their omap kernel? May 01 14:01:36 The omap kernel in our images is directly from mainstream. May 01 14:05:26 well, worst case scenario I can apply the patches by hand May 01 14:06:12 gunzip running May 01 14:07:12 wouldn't zcat be better than gunzip? May 01 14:07:26 for this particiular case, I mean May 01 14:07:59 Either or. This is just what I use. May 01 14:10:09 nagyz, are you trying to run ubuntu's 12.04 preinstalled image on a beaglebone? May 01 14:10:14 yep May 01 14:10:25 saw your git tree with the patches and scripts too May 01 14:10:35 there's like zero 'am335x' patches in mainline v3.2... May 01 14:11:08 you'll either have to bring in angtrom's beaglebone kernel, or v3.2-staging branch from arago directly... May 01 14:21:25 rcn-ee so I've build the kernel with your build_kernel.sh May 01 14:22:05 okay, that one should work fine.. May 01 14:23:11 yeah but under arch/arm/boot I only see an Image; instead of an uImage May 01 14:23:28 is there an easy way to create a package that I could install with opkg on the armstrong? May 01 14:24:46 nagyz, if you want a uImage, enable the correct "ZRELADDR" setting in system.sh and also enable "BUILD_UIMAGE", other then the bone, all my other boards i support use zImages directly. .;) May 01 14:26:03 really no point in package a opkg package, just run "./tools/install-image.sh" it'll copy the image/modules to the card. (just make sure MMC is set correctly in system.sh) May 01 14:28:11 btw, since your only changing a few things. just run "./tools/rebuild.sh" then you won't have to rebuild everything from scratch.. May 01 14:29:12 the problem is I'm building on an other machine, not the one I have the SD card in :) May 01 14:29:26 but I can look into the script I guess May 01 14:29:29 to figure out how to port it ;) May 01 14:29:52 ah, that would be a problem... well both the "zimage/uImage & modules are under deploy" directory.. May 01 14:40:50 rcn-ee: you get your lvds board ok? May 01 14:41:45 yeap, got it mid week prpplague (still recovering from the ti summit last week) so i haven't opened it up yet. ;) May 01 14:41:57 rcn-ee: ahh ok May 01 14:42:09 rcn-ee: let me know if you have any questions May 01 14:42:51 sure, thanks prpplague... i'm attaching to an older panda, so i'll get to do some soldering. ;) May 01 14:43:16 rcn-ee: just fyi, the full pixel-qi kits as well as standard lcd kits are now in stock May 01 14:43:54 yeap i saw those too.. May 01 14:44:00 the full kits look nice.. May 01 14:49:08 rcn-ee will build_kernel.sh apply the patches to the latest mainline (eg now it's 3.2.17 or so), or will it use some other special branch? I see 3.2.0-psp7 here, whatever ps pis May 01 14:49:10 *psp is May 01 14:50:35 and I guess I can just easily copy over the uImage to /boot, link it in, and that's it? (and extract the modules under /lib/modules) May 01 14:51:24 because the arago patchset is so envasive, that merge actually fails.. after my images get updated this week, i'm moving to a shared repo with angstrom, one plus, they do have a 3.2.17 patchset on top of v3.2-staging.. May 01 14:52:07 for some reason in their latest kernel (3.2.14) the PWM driver is broken May 01 14:52:13 the pwm directory under /sys is empty May 01 14:52:17 with .13 it works fine May 01 14:53:10 any reason why I'd want to go with their 3.2.17 instead of 3.2.0-psp7? May 01 14:53:21 I saw some usb problems mentioned, could you elaborate on those? May 01 14:54:02 If you have any other cape then just "dvd-d" cape, use the angstrom kernel.. ;) (i got an lcd board coming, and i know my image is lacking with that cape) May 01 14:54:23 just my own cape so far May 01 14:54:35 I'm driving motors in a GPS-controller RC car :) May 01 14:54:50 well, I'd hardly call it a cape :-) May 01 14:54:52 musb: in a nut shell, there's currently a issues (race conditions) with the dma controller behind the usb port.. May 01 14:55:06 I plan to use the usb port for the wifi stick May 01 14:55:30 some wifi devices work fine, some fail in 5mins, some fail on boot.. May 01 14:55:57 should that go away with the latest .17? May 01 14:57:00 i'd actually test them both with your hardware, neither will work with 100% of hardware May 01 14:57:39 root@beaglebone:~# uname -a May 01 14:57:40 Linux beaglebone 3.2.0-psp7 #1 Tue May 1 15:05:06 CEST 2012 armv7l GNU/Linux May 01 14:57:41 hah :) May 01 15:01:07 uhm May 01 15:01:12 root@beaglebone:~# cd /sys/class/pwm/ehrpwm.1:0 May 01 15:01:12 -sh: cd: /sys/class/pwm/ehrpwm.1:0: No such file or directory May 01 15:01:18 I guess your tree doesn't include the pwm drivers? May 01 15:02:24 yeah, angstrom's kernel has those, with the base i was using, they needed more work for porting.. May 01 15:03:22 is there an easy way to build their kernel source instead of using bitbake & friends? May 01 15:03:34 nagyz, yeap. ;) new as of a week ago.. https://github.com/beagleboard/kernel May 01 15:04:05 that's what i'm planning to move to with psp8 mid next week.. May 01 15:04:32 ok let's see if I can make that work May 01 15:04:40 bone development is curretnly in the beaglebone-3.2 branch.. May 01 15:04:55 so what does your tree contain that theirs doesn't? May 01 15:05:07 it'll just make a tree, so you'll have to "make ARCH=arm CROSS_" May 01 15:06:47 in a futile attemp to fix the usb port, i pulled in pretty much all the commits in the v3.2-staging tree... https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.2/patch.sh#L39 (around 200 or so), angstrom just cherry picked about 2 dozen from there.. (a lot of them aren't exactly clean commits) May 01 15:07:44 I see May 01 15:07:49 patch.sh is running now May 01 15:08:25 when done, it'll have all the patches in export, along with a tree ready to go.. May 01 15:10:26 ugh, quite slow :( May 01 15:10:40 since google set up the kernel git mirrors, I tend to use those May 01 15:10:42 those are blazing :) May 01 15:11:20 you can also "--reference /dir/to/linux" to "git clone (refer) git:// " then it takes a few seconds. ;) May 01 15:12:00 I'm assuming patch.sh fetches a genuine linux stable tree, and will apply the patches later May 01 15:12:08 correct May 01 15:12:44 it's just a simple script to share patches for the beagleboard, not caring what you use to build it.. (my scripts or angstroms bb) May 01 15:22:55 it's patching now May 01 15:22:58 * nagyz is excited :) May 01 15:23:27 or, ohm, doing something. May 01 15:31:39 rcn-ee and now just go into the kernel directory, and that's it? May 01 15:32:44 not sure on your defintion of "that's it" but, the kernel directory now has the fully patched angtstrom kernel.. May 01 15:33:08 that's it = I can now just go ahead and compile the kernel and use it on the beaglebone :) May 01 15:33:27 that's all the script does.. May 01 15:34:02 the .config should be in the patches directory under beaglebone.. May 01 15:34:25 and yep, defconfig is there May 01 15:34:37 ok, let's give it a try May 01 15:34:47 it's been awhile since I had to compile a kernel by hand without any scripts :-) May 01 15:34:54 make -j48 uImage? May 01 15:35:12 ah, and set ARCH=arm and CROSS_COMPILE=arm-linux-gnueabi- May 01 15:35:15 CROSS_COMIPLE=somegcc.. May 01 15:35:19 yeap.. May 01 15:35:27 don't forget "uimage modules" May 01 15:36:16 I love this build machine :) May 01 15:37:01 except when make dies on something and you have to start scrolling back May 01 15:37:02 stupid make. May 01 15:37:12 make[1]: *** No rule to make target `firmware/am335x-pm-firmware.bin', needed by `firmware/am335x-pm-firmware.bin.gen.o'. Stop. May 01 15:37:35 this happens when I try to build the modules May 01 15:38:41 humm, looks like we need to crate a patch for that, you can get the file from here: http://arago-project.org/git/projects/?p=am33x-cm3.git;a=tree;f=bin;h=dc6e79180b8c468832e684d631818af31448bd81;hb=HEAD May 01 15:39:09 just copy it to the kernel firmware directly.. it should build with out it, so a kernel bug.. May 01 15:43:11 ok, great, worked :-) May 01 15:43:15 let's see if I can boot it up May 01 15:48:17 root@beaglebone:~# uname -a May 01 15:48:17 Linux beaglebone 3.2.16rccar-13231-g304db30 #2 Tue May 1 17:42:13 CEST 2012 armv7l GNU/Linux May 01 15:48:47 let's see if I have PWM or not May 01 15:49:25 ergh May 01 15:49:31 no PWM with this kernel, again May 01 15:49:39 did you copy the modules? May 01 15:49:48 yes, and ran depmod -a May 01 15:49:52 but the PWM should be built-in anyway May 01 15:50:02 seems like whatever happened between .13 and .14, persisted thru .16 May 01 15:50:17 is there an easy way to find out what changed between .13 and .14 in terms of the PWM driver? May 01 15:51:29 you'd have to look at the meta-ti repo, to see what they tweaked between versions.. (there's just not enough history in that .patch script to show that change) May 01 15:52:23 I'd be perfectly happy with the .13 kernel too May 01 15:52:40 my only problem was that while I could install it with opkg, I couldn't find a way to install it's modules May 01 15:52:54 whenever I installed kernel-module-xxx it installed the module for the latest kernel, not for what I had running May 01 15:53:03 no idea either. ;) May 01 15:54:54 is there a way to build not the latest but a specific version with patch.sh?:) May 01 15:55:32 like i said, it's a new script... so anything prior to last week doesn't exist.. May 01 15:55:47 ok May 01 15:55:48 thanks May 01 15:56:03 but in the future, yes you can go back in time and rerun patch.sh. ;) May 01 16:12:48 I could just go ahead and cherry-pick the PWM patches, I guess? May 01 16:13:01 and try them on top of the mainstream kernel May 01 16:14:04 if you do don't forget the massive am335x patchset ;) May 01 16:15:14 https://github.com/RobertCNelson/linux-dev/blob/am33x-v3.2/patch.sh#L39 May 01 16:15:17 which one is that from tihs list? :) May 01 16:15:26 I'd assume it's 001 but that seems an easy one May 01 16:16:05 if it was one, i'd be pushing out v3.4-rcX images for the bone. ;) May 01 16:16:26 how come I see the pwm patches here, yet when I built the psp kernel with your script it wasn't included? I thought all of these patches are included :) May 01 16:16:32 do a diff between, v3.2 and http://arago-project.org/git/projects/?p=am33x-cm3.git;a=tree;f=bin;h=dc6e79180b8c468832e684d631818af31448bd81;hb=HEAD May 01 16:16:53 sorry, copy paste error: http://arago-project.org/git/projects/?p=linux-am33x.git;a=shortlog;h=refs/heads/v3.2-staging May 01 16:17:50 it might have moved under /sys, or wasn't enabled with the the right config.. May 01 16:18:26 I checked it under /sys May 01 16:18:48 and lets see May 01 16:18:56 CONFIG_GENERIC_PWM=y May 01 16:18:56 CONFIG_DAVINCI_EHRPWM=y May 01 16:18:56 CONFIG_ECAP_PWM=y May 01 16:19:06 these are set in the .config of your kernel too May 01 16:19:07 interesting! May 01 16:19:15 then it suffers from the same problem as >=.14 May 01 16:22:45 I don't see an easy way to see why it's not coming up if it's compiled into the kernel May 01 16:33:50 hey ubuntu-arm, i've just installed ubuntu 12.04 preinstalled server (headless) on my beagleboard C4 and aplay -l isn't showing any devices. is sound known to work? May 01 16:52:43 Noob question: What's the difference between arm1 and armf? May 01 16:58:12 RyuGuns: armel is armv7 with softFP. armhf is armv7 with hard float. May 01 16:58:12 (I'm assuming that was what you meant). May 01 16:59:01 http://cdimage.ubuntu.com/ubuntu-core/daily/current/ May 01 16:59:10 Oh.. May 01 16:59:11 Wait. May 01 16:59:15 I see what it is now. May 01 16:59:17 Thanks. May 01 16:59:31 What is softFP and hard float? May 01 16:59:36 I'm sorry, me noob. May 01 17:01:59 think about it as: soft - software, hard - hardware. ;) May 01 17:11:03 fp=floating point? May 01 17:11:05 ... so more sound detail. snd_soc_twl4030 module is loaded, but /proc/asound/cards reports --- no soundcards --- May 01 17:11:14 seems broken :-/ May 01 18:41:02 ok, figured it out -- i needed to manually modprobe snd_soc_omap, snd_soc_omap-mcbsp and snd_soc_omap3beagle followed by enabling 'HeadsetR Mixer AudioL2' and '... AudioR2' May 01 19:13:52 marvin24, thanks. I'll probably package that if noone does it faster **** ENDING LOGGING AT Wed May 02 02:59:58 2012