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