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