**** BEGIN LOGGING AT Mon Jul 16 02:59:58 2012 Jul 16 04:09:06 IVI heh i think that market is full Jul 16 04:23:20 _av500_: into all the old stuff (music) i see :) Jul 16 06:26:32 <_av500_> mranostay: I am old Jul 16 06:28:35 good morning all Jul 16 06:29:04 <_av500_> gm Jul 16 06:30:03 good moaning Jul 16 11:53:51 I've got a USB drive connected to my beaglebone (running Ångström systemd) for storage purposes. The drive is however only recognized every other boot. Jul 16 11:54:34 ah, the old usb boot parity issue :) Jul 16 11:55:53 :) Jul 16 11:56:16 Is there a fix for it? Jul 16 11:56:36 I have no idea what could be causing it Jul 16 11:56:49 and I've never heard of such a problem before Jul 16 11:56:56 buggy MUSB hardware and software Jul 16 11:57:29 koen: I didn't know the musb could retain state across reboots Jul 16 11:59:28 mru: it can write state to the drive Jul 16 12:02:29 Ok.. that's a good lead. Jul 16 12:04:58 How can the MUSB software be updated? Newer kernel or package update? Jul 16 12:11:18 Thanks for the help. Jul 16 13:22:59 musb software is generally a kernel driver, so update the kernel. you can pull one from kernel feeds, but be sure to replace the one on the FAT partition if your boot script tries to load it from there. Jul 16 13:23:07 Qbert_: ^^^ Jul 16 13:24:33 Ah, thanks. Jul 16 13:30:50 No usb drives could be mounted in 3.2.14. Is this fixed in later versions? Jul 16 13:32:17 I believe so, yes. Jul 16 13:32:31 it works for the Angstrom 3.2.21 build. Jul 16 13:32:34 Awesome. Jul 16 13:36:27 I managed to avoid the issue i had with kernel 3.2.9 by not using the FTDI interface. Jul 16 14:17:08 From what I can tell, SSL (https) has never worked on the BeagleBone running Angstrom. I tried it on 3 different beaglebones using 4 different images. Jul 16 14:17:24 Can anyone else confirm by running "curl https://www.google.com"? Jul 16 14:25:36 hi guys, I was given a beagle bone this morning by work to get working and I'm having trouble working out the ordering of the gpio Jul 16 14:26:24 so I've got an LED in the P8 side in ground and pin 3 Jul 16 14:26:57 switching it on via /sys/class/gpio requires gpio38 Jul 16 14:27:31 i found it was 38 just by following a tutorial, but I can't work out from looking at the SRM how 38 was derrived Jul 16 14:27:37 and how to apply it to other pins Jul 16 14:28:57 gpio1+6 Jul 16 14:29:01 1x32 + 6 Jul 16 14:29:12 ahhhh... Jul 16 14:29:31 don't forget to add a resistor Jul 16 14:29:32 duh, ok, thanks Jul 16 14:30:02 will, do, was just a quick test, cheers :) Jul 16 14:31:41 koen, i saw some patches on oe-core mailing list on building oe-core against newer glibc implementations that lack gets. will you be pushing them on master? Jul 16 14:36:31 I don't have push access to oe-core stuff Jul 16 14:37:11 koen, i've tried to cherry pick the commits for m4-native, gettext-native so i can apply them to my master version Jul 16 14:37:33 Can someone try running this on their beaglebone: "curl https://www.google.com". I want to know if it works, or prints an error. Jul 16 14:38:57 jyoung: wouldn't that depend on the software? Jul 16 14:39:07 yes, I assume most are running Angstrom? Jul 16 14:39:22 one of mine is running qnx Jul 16 14:40:20 and i have not checked, but i'm wiling to also bet that in debian/ubuntu it would work. Jul 16 14:40:24 I see. I assumed Angstrom would be the most well supported. Jul 16 14:40:33 Yeah, I'm sure it would. Jul 16 14:41:01 I was able to fix cUrl by downloading the root certificates, but SSL still bombs in most other places. Jul 16 14:41:14 Seems like a pretty basic piece of functionality. Jul 16 14:43:22 *guesswork* maybe because not the full openssl stack is installed? Jul 16 14:44:28 I tried pretty much every package with ssl in the name/description Jul 16 14:58:30 koen, so that logic works for that pin, but moving the led (now in a breadboard with resistor) to pin 5 on P8 and applying power to gpio34 it doesn't illuminate (it does still with 38) Jul 16 15:00:21 so the signal name is gpio1_2 Jul 16 15:02:57 is that pin available as gpio? Jul 16 15:04:48 as far as I am able to determine, but I'm not certain where to check, I'm going by the modes available being the same as pin 3 Jul 16 16:30:00 anyone seen rcn-ee lately? Jul 16 16:30:35 jkridner: i haven't seen him around for some time Jul 16 16:34:09 jkridner: I had some issues with bonescript master, I'll dig up error messages later this week Jul 16 17:03:15 has someone here already played with kexec? doesn't work here with 3.2.23 on a beagleboard Jul 16 17:07:20 kexec on arm is like playing lottery ... sometimes you win, sometimes you lose Jul 16 17:07:49 it seems to break across the board on every other kernel release Jul 16 17:09:19 ah, ok, it isn't generally broken, but board-specific or similiar. I never tried to play with kexec before, justhad my first try and have only seen "[26937.181793] Starting new kernel", nothing else. Jul 16 17:10:13 maybe I should first try it on x86 to see how it should work ;) Jul 16 17:41:01 hmm, no debug-statements in kexec.c, looks like some proved to work feature ;) Jul 16 18:03:16 ogra_: when you lose do you lose your filesystem as well ?:) Jul 16 18:50:52 hi, i am booting a root file system through NFS. How can i change my MAC address? Jul 16 18:58:15 Im trying to boot kernel3 got from http://downloads.angstrom-distribution.org/demo/beagleboard/ on bb-xm, but I think that console is set wrong. Should it be ttyS or ttyO ? Jul 16 20:32:23 is it possible to create a PWM signal by an infinite loop that sets 1 and 0 to the "value" file of a GPIO and uses usleep() function? Jul 16 20:33:00 sure, if you don't care about accuracy Jul 16 20:33:48 or cpu load Jul 16 20:34:05 it's good thanks Jul 16 20:34:24 angs: easier to use a general timer Jul 16 20:35:01 as a counter to set 1 and 0? Jul 16 20:35:31 angs: http://www.kunen.org/uC/beagle/omap_dmtimer.html Jul 16 20:35:32 is it possible to have PWM from xM without installing any module? Jul 16 20:36:16 prpplague: thank you Jul 16 21:59:20 Is it possible to boot the Beagleboard xM from an ext2 partition instead of FAT ? Jul 16 21:59:37 On the SD card.. Jul 16 22:02:10 kroon: uhm, i gues so Jul 16 22:02:27 in fact, you can load the kernel into NAND Jul 16 22:02:58 not the BB XM Jul 16 22:03:00 Desert, I think my beagleboard doesn't have NAND... ? Beablebord-xM rev C Jul 16 22:03:33 uncool Jul 16 22:05:19 I want to have a single ext2 partition, with boot files and root filesystem together in one, and be able to boot from it Jul 16 22:05:59 But since the MLO needed to be the first file copied to the FAT partition, I'm not sure if its possible with an ext2 partition ? Jul 16 22:06:01 kroon: why? Jul 16 22:06:15 is it a must ? Jul 16 22:07:38 Desert, well its a long story.. I'm trying to automate building a file image that I can 'dd' to the flash device (as root). I want to build the image file as non-root, and I haven't found a way to create a multipartioined image file as non-root Jul 16 22:08:06 I've found genext2fs for creating ext2 image files as non-root Jul 16 22:08:24 the MLO is needed only once if i recall correctly Jul 16 22:08:31 then you only need the kernel Jul 16 22:08:51 or ignore me, im using the REV C4 (not XM) maybe im telling lies Jul 16 22:09:24 Desert, then you write the MLO to the NAND, once, I guess Jul 16 22:09:36 uhm, ok. btw do you know how to customize a toolchain? Jul 16 22:10:02 Desert, building a toolchain from scratch ? Jul 16 22:10:03 i have a optimized SD card, how can i just "clone" the packages installed there to a toolchain rootfs ? Jul 16 22:10:26 i have bitbaked a toolchain, but i need opencv and all it's dependencies Jul 16 22:10:46 also, i have a working rootfs in a running SD card Jul 16 22:10:51 bitbaked too Jul 16 22:11:06 i used the SD card running in a beagle to install additional packages Jul 16 22:11:31 is there a way to "clone" its packages into my toolchain or something like it ? Jul 16 22:12:03 ideally i would just tar -Cvf the SD card and untar it onto some special ROOT folder? Jul 16 22:12:08 does it work like that? Jul 16 22:13:14 or, maybe i can get a list of installed packages, and add them to some file and re-bitbake the toolchain to create a new toolchain with an identical configuration as my SD card Jul 16 22:13:25 Desert, not sure I understand your question Jul 16 22:14:13 Desert, are you using openembedded ? It builds its own toolchain, which you should be able to use in order to build additional packages Jul 16 22:14:14 in the past i used narcissus, but now i need kernel 3.x, so i had to use bitbake to create my own "image" (rootfs) Jul 16 22:14:34 kroon: right i have the toolchain Jul 16 22:14:43 interesting, I dont usually get bumped by timeouts Jul 16 22:15:07 but i need a lot of packages, like opencv, gstreamer, and whatnot (several dozens if not hundreds) Jul 16 22:15:41 in the beagle, i just insert the SD card, boot and opkg install Jul 16 22:15:48 works fine Jul 16 22:15:59 I just started with beagleboard rev:C and just did the minicom, it came up as Angstrom and ther is no SD card Jul 16 22:16:02 i've installed like a hundred needed packages Jul 16 22:16:25 kroon: thing is, now i need those same packages into the toolchain, to develop Jul 16 22:16:58 how to "install" packages into the toolchain? Jul 16 22:16:58 Desert, aha.. not sure how openembedded deals with that Jul 16 22:17:22 there is a user joel in the home dir, what's going on? Jul 16 22:17:30 Desert, there probably is way, I'm just no openembedded expert, I've rarely used it Jul 16 22:17:59 kroon: so , you use narcissus right? Jul 16 22:18:27 kroon: is there a way to get 2012.x versioning with narcissus ? Jul 16 22:18:27 Desert, no I've done it all from scratch as horrible learning experience Jul 16 22:19:00 i cannot imagine :-S Jul 16 22:20:25 techb: no sd card, you can buy one, they are cheap Jul 16 22:20:43 Thats not the problem. It booted to Angstrom with no sd card in it Jul 16 22:21:07 cool, isnt it? there is, from time to time, some cards do not notice the SD card is removed Jul 16 22:21:38 it is confusing me because how could it even load an OS with no storage media Jul 16 22:21:39 so they boot with what they can remember, but don't tell it too loud Jul 16 22:21:52 it can notice, and stop booting Jul 16 22:22:40 I think I got a refurbished board because there is a user "joel" in the home dir too Jul 16 22:22:54 techb: it's in NAND Jul 16 22:23:16 your OS is flashed into NAND Jul 16 22:23:42 I guess I'll have to unflash it or something, because I want to get started from the beginning Jul 16 22:24:09 well, you can have both Jul 16 22:24:20 the USER button ensures you boot from SD Jul 16 22:24:35 correct bootargs can make it too Jul 16 22:25:42 lol, i was expecting minicom to put me into the beagleboard terminal instead of the angstrom lol. Jul 16 22:25:58 techb: reboot and you'll see Jul 16 22:26:56 is there a way to stop autoboot? Jul 16 22:27:10 pressing a key Jul 16 22:27:38 I must have over looked the prompt lol. Thanks Jul 16 22:30:08 if I get a SD card and boot from it, will it erase whats in NAND? Jul 16 23:16:11 hmm, I assume I accidentally done a favor for kexec through disabling the heardbeat-timer on shutdown ;) Jul 17 02:23:53 hi Jul 17 02:24:23 i want to import 'pdb' in python, but it's missing, can anyone give me a hint? Jul 17 02:39:11 wget the files and python setupy.py install? Jul 17 02:46:30 @techb: pdb is part of the python standard library.. http://docs.python.org/library/pdb.html Jul 17 02:49:41 angstrom> Jul 17 02:49:42 ? Jul 17 02:50:02 yes. Jul 17 02:50:09 looks like Angstrom doesn;t install all the std libs Jul 17 02:50:28 you will have to do something like opkg install python python-modules Jul 17 02:50:46 found here Jul 17 02:50:46 http://www.facebook.com/note.php?note_id=493556984361 Jul 17 02:52:37 awesome, thx!!! Jul 17 02:52:53 welcome **** ENDING LOGGING AT Tue Jul 17 02:59:58 2012