**** BEGIN LOGGING AT Tue Jun 24 02:59:59 2014 Jun 24 03:37:31 putty Jun 24 04:01:39 maybe someone can answer this Jun 24 04:01:44 why on debuntu Jun 24 04:02:36 sudo echo 'something something > write_protected_file Jun 24 04:02:38 doesnt work Jun 24 04:02:43 unless Jun 24 04:03:02 sudo su -c "echo 'something something > write_protected_file" Jun 24 04:03:48 because "something something" is the only part that gets executed as root Jun 24 04:04:13 then the output gets passed back to your shell and written to the file as your user Jun 24 04:05:48 just to illustrate the way order of operations works in the shell: Jun 24 04:05:56 sudo (echo (something something)) > file Jun 24 04:10:18 oh Jun 24 04:12:09 so is su -c the best solution or is there some other way to fix it Jun 24 04:13:00 hey there Jun 24 04:13:55 has anyone ever connected the PN532 NFC adarfuit card to the beaglebone black Jun 24 04:17:15 there are lots of ways to work around that Jun 24 04:18:10 whichever way you are most comfortable with is fine Jun 24 04:22:42 what happens if i remove my only user from the sudoer file... and disable login with empty password Jun 24 04:22:44 :D Jun 24 04:22:59 i will need to chroot the system Jun 24 04:23:12 how to do that its on the emmc Jun 24 05:23:16 ok question: how to shut off. when i shutdown -h it just boots back up after a few moments Jun 24 05:24:00 i "poweroff" Jun 24 05:25:56 same thing Jun 24 05:26:06 that results in reboot Jun 24 05:26:22 i knew it would do that :( Jun 24 05:26:55 i have 5.5mm barrel connector and usb connected Jun 24 05:27:51 the barrel adapter prevent it from staying off Jun 24 05:29:28 i don't remember that happening. Jun 24 05:29:40 oh Jun 24 05:29:48 i'll try in a bit. Jun 24 05:29:52 doesnt happen one or the other Jun 24 05:30:00 only if both are connected Jun 24 05:30:03 err, trying now. Jun 24 05:30:16 usb to computer and 5.5 barrel to wall Jun 24 05:30:36 mine is 5v, but that shouldn't matter. Jun 24 05:31:10 i tjought it was 5.5mm diameter Jun 24 05:31:28 oh, i thought you meant 5.5v Jun 24 05:33:21 trying it now Jun 24 05:33:30 i'll just keep the wall wort disconnected when i have it connected directly to the pc Jun 24 05:34:17 lol, yeah, came back on Jun 24 05:34:35 i'm using angstrom Jun 24 05:35:15 whyyy Jun 24 05:35:29 debian is sweet as mothers milk Jun 24 05:35:45 :D Jun 24 05:45:59 lol, because this is an old board i had laying around. Jun 24 05:46:01 and, i agree. Jun 24 05:46:49 i cry with happiness everytime i apt-get something and the package exists and my beaglebone boots the next reboot. Jun 24 05:52:04 installing software and successful reboots... what more could you ask? Jun 24 05:52:20 sharks and lasers Jun 24 05:52:29 debian is the one distro which made me a linux fanboy forever Jun 24 05:52:31 that flow out of the usb port Jun 24 05:52:47 i mean i like other distros too, i use fedora on my laptop Jun 24 05:52:48 although, i suppose i could technically have sharks and lasers, at least pictures of them, fly thorugh the hdmi port Jun 24 05:52:51 i'll take it. Jun 24 06:47:14 hello Jun 24 06:47:33 what are my options for getting audio out of a BBB? Jun 24 06:48:36 k-man: audio cape Jun 24 06:48:40 or usb audio Jun 24 06:48:43 or morse code Jun 24 06:49:39 ok thanks Jun 24 06:50:04 morse is cool Jun 24 07:15:01 just bitbang a pin, 1 bit DAC Jun 24 08:03:37 usb audio works well Jun 24 08:03:44 or hdmi Jun 24 09:56:17 hey angstrom booting but hanging just after the statement "[ok] starting Periodic command scheduler : cron".....any suggestion whats happening and how to overcome this.... Jun 24 10:09:03 Does anyone know how I can just boot a new OS from SD card withouth the Beaglebone automatically flashing ? Jun 24 10:09:24 because I want to make changes to the OS and then make a custom image Jun 24 10:13:29 @jonasvanpelt u meant without flashing the emmc right...? Jun 24 10:15:20 simply by not putting a flasher image on the SD card Jun 24 10:16:42 Aha yes I did not see the non flashing images Jun 24 10:17:08 After adapting the non-flahshing image, can I make a flashing image from it ? Jun 24 10:17:32 tbr do u have ny idea why the kernel is getting stuck after priting "[ok] starting Periodic command scheduler : cron".. Jun 24 10:18:37 spike: no Jun 24 10:19:12 tbr : ohk thanks Jun 24 10:20:40 jonasvanpelt: you can also use the flashing image and just delete the flash script Jun 24 10:20:44 ah wait no Jun 24 10:22:49 Anybody has an idea on how to invert the LCD pixel clock in device tree when using the default fbdev driver? Using the DRM driver I can simply invert it in the panel-info device tree section but I can't seem to find the correct setting for the fbdev driver Jun 24 10:22:54 and then apply it again ? Jun 24 10:23:44 @av500, just delete the flash-eMMC.txt file ? Jun 24 10:33:50 jonasvanpelt: just use a proper non-flashing image... Jun 24 10:38:11 ok, I will use the non-flashing image Jun 24 10:38:36 But how can I make from the non-flashing image a flashing image ? Jun 24 10:45:53 Do what tbr says. Jun 24 10:46:26 jonasvanpelt: if you want to have a flasher image and not just apply your changes, then you'll have to look into how those images are prepared. Jun 24 10:46:29 Is it sufficient to put the flash-eMMC.txt to the non flashing image to make it a flashing image ? Jun 24 10:46:34 no Jun 24 10:47:05 or you could just boot from SD and rsync a tarball of the rootfs into the MMC Jun 24 10:47:07 It's a process... one you may not be willing to do on your own. Jun 24 10:47:13 that's probably what the flasher does Jun 24 12:43:44 hi, my beaglebone black power failed. When I apply power to BBB, PWR led blinks once and BBB does not boot. Does any body face this proble? Jun 24 12:45:03 hi, my beaglebone black power failed. When I apply power to BBB, PWR led blinks once and BBB does not boot. Does any body face this problem? Jun 24 12:45:18 panahi: anything on the serial? Jun 24 12:47:40 Humpelstilzchen: hi, which serial port of BBB I shold check? ttyO0...ttyO4? Jun 24 12:51:25 panahi: the J1 header Jun 24 12:51:31 ttyO0 Jun 24 12:52:04 ttyOx is only the Linux name, doesn't help much when not booting Jun 24 12:52:16 Humpelstilzchen: Ok, Thank I will check and go back. Jun 24 12:52:35 panahi: you need a usb serial adapter, like ftdi Jun 24 12:53:11 Anybody has an idea on how to invert the LCD pixel clock in device tree when using the default fbdev driver? Using the DRM driver I can simply invert it in the panel-info device tree section but I can't seem to find the correct setting for the fbdev driver Jun 24 12:53:18 yes i agree it is the linux name but iirc it is brought out to the J1header Jun 24 13:17:52 Humpelstilzchen: When I plug DC power adaptor in, No signal on Pin5 (J1) is seen. Jun 24 13:19:47 Humpelstilzchen: When I plug DC power adaptor in, No signal on Pin5 (J1) is seen. Jun 24 13:23:45 Humpelstilzchen: any Idea? Jun 24 13:27:25 hello folks Jun 24 13:27:30 hi, my beaglebone black power failed. When I apply power to BBB, PWR led blinks once and BBB does not boot. Does any body face this problem? Jun 24 13:28:23 hi, my beaglebone black power failed. When I apply power to BBB, PWR led blinks once and BBB does not boot. Does any body face this problem? There is no signal ob UART0_Tx on boot. Jun 24 13:31:05 what is nowadays the best way to clone the internal MMC from a bbb to another? i'm thinking about having a bootable micro-sd with enough room to just use dd if=/dev/mmcblk0 and then use back dd to clone the img. is it advisable? any other hints? Jun 24 13:31:45 panahi: does it mean you can't see anything on the serial console? Jun 24 13:34:03 samael: ethernet Jun 24 13:34:21 samael: yes. I see nothing on serial console. Jun 24 13:35:06 RMA it Jun 24 13:36:03 av500: you mean dd | nc to remotely save the image? Jun 24 13:36:37 yes, for example Jun 24 13:37:00 but I would think hard why to clone at all Jun 24 13:37:18 i'd rather use a base install and an "overlay" of what you need Jun 24 13:37:34 then you can update to a new base OS much easier Jun 24 13:38:29 that's what i plan to do, but i still need to deploy many of the scripts i need to automate the "overlay" Jun 24 13:38:34 samael: Humpelstilzchen : I guess it may damage power circuits ? Is it true? Jun 24 13:39:05 until then i have to arrange it in some other way Jun 24 13:39:48 panahi: i don't know what happened to your board, of course. but if it seems dead, just open an RAM as av500 said Jun 24 15:13:06 does anyone have a good resource for beaglebone black and power consumption? looking to utilize it in a battery powered project and haven't found any good numbers on how low power it might be able to sleep/suspend to get an idea on battery life Jun 24 15:23:42 dmiller_: Well, at the most-difficult, you can always pull the BOM and add up the various devices' low-power-state draws. Jun 24 15:24:05 dmiller_: But really, thje best way for anything like that is to get one and measure it yourself with your application and hardware attached. Jun 24 15:27:14 understood.. just trying to get ideas prior to selecting a few boards to look at like the pi, beagle, etc.. Jun 24 15:27:17 thanks agmlego Jun 24 15:28:56 The bone will probably have better low-power draw than the pi, especially if you use the built-in battery port. Jun 24 15:31:47 dmiller_: see Table 4 on page 41 of http://www.adafruit.com/datasheets/BBB_SRM.pdf Jun 24 15:32:02 numbers for a few scenarios Jun 24 15:34:05 oops, better link is https://github.com/CircuitCo/BeagleBone-Black/blob/master/BBB_SRM.pdf?raw=true Jun 24 15:34:53 the adafruit one is old Jun 24 15:35:27 see page 47 in the new version Jun 24 15:48:29 argg Jun 24 15:48:49 i can ping 8.8.8.8 but i cant ping www.google.com Jun 24 15:50:55 smurray, thanks! Jun 24 15:51:19 shay_shay, then your dns resovle isn't working.. check /etc/resolv.conf? Jun 24 16:12:47 Anyone get a recent 3.15 3.16 kernel booting on a rev A2 xm? I keep getting oopses on boot...and they don't seem to be terribly repeatable :( Different OOPS location every time. Jun 24 16:13:18 dmiller_: i already put nameserver 8.8.8.8 in there Jun 24 16:14:02 shay_shay, when you try to ping a hostname does it resolve its ip? Jun 24 16:14:06 the beagle is connected byusb to my desktop, i added a iptables rule forpostroute nat masqurade Jun 24 16:14:14 no it doesnt Jun 24 16:14:45 sorry my spacebar is acting funny Jun 24 16:14:55 :) Jun 24 16:15:45 without the masqurade rule i couldnt even ping ips Jun 24 16:42:52 Ahoy BeagleBoard Buccaneers. Can someone please pass me the best email address to contact an admin regarding BeagleBoard Distributors? Jun 24 16:48:32 Jsmpick: all the info we have is on beagleboard.org website Jun 24 18:38:46 hello Jun 24 19:15:04 OK. I have a self compiled 3.15 - and it keeps oopsing on my BBxM. Anyone ever see this, and if so, a fix or what I can do to debug this. A 3.14 kernel looks fine... Jun 24 19:17:53 do you need functionality only available in 3.15? Jun 24 19:23:27 Hi folks. Anyone been using CAN interface on Beaglebone Black? I've got it up and running, but I can't get any transmission errors back (write() always return the frame length, even when there is no ACK). Anyone have any idea what I'm missing? Jun 24 20:42:37 hi people Jun 24 20:43:04 what does the user/boot button do? I am working with yocto, and when I the beagle bone black normally, my kernel on the SD card gets loaded, yet there is no serial output Jun 24 20:43:16 when I hold user/boot, it has the serial console output and doesn’t seem to hang Jun 24 20:43:32 as far as I traced the uboot scripts, the only difference really was the gpio led thing in the standard angstrom that came on the emmc Jun 24 20:43:41 i am missing something but i don’t know what Jun 24 20:44:27 basically i want to not have to hold down user/boot to boot from sd card Jun 24 20:44:46 then delete "MLO" on the first partition of the eMMC Jun 24 20:45:15 is that was user boot does? load MLO from emmc instead of from the SD? Jun 24 20:45:29 reverse that statement. (correct) Jun 24 20:45:39 oh yeah Jun 24 20:45:40 cool Jun 24 20:46:21 in the scheme of figuring things out, MLO on the emmc will load uboot.img from the emmc Jun 24 20:46:39 and somehow that uboot is clever enough to figure out my sd card, load my uImage, boot from it Jun 24 20:46:44 why would it not have that serial thing Jun 24 20:47:05 it's actually dumber then that.. MLO will load u-boot.img from the same medium.. Jun 24 20:47:23 it should be able to boot from my SD, right? also, how does the first bootup determine the MLO is missing on the emmc and then switch to the sd card? Jun 24 20:47:39 when the bootrom doesn't find MLO on eMMC, it'll then try the SD Jun 24 20:47:42 what comes before MLO? sorry for being so dumb Jun 24 20:47:53 bootrom, ok. so that one has a FAT fs in it too? Jun 24 20:47:54 rom code Jun 24 20:48:31 rom is not formatted to my knowledge Jun 24 20:48:36 so that leaves the real question why the angstrom uboot is able to load my kernel, yet something goes awry when it executes it Jun 24 20:48:52 i mean the rom is able to find the MLO file on either the first emmc parttion or the first sd card partition, right? Jun 24 20:48:57 manuel_, it's old (X-Loader = u-boot SPL (MLO)) http://omappedia.org/wiki/Bootloader_Project Jun 24 20:49:33 so if i were to replace the MLO on the emmc with my freshly baked one, that would work too? Jun 24 20:49:34 bad defaults set in the MLO/u-boot.img enviroment Jun 24 20:49:51 do both, MLO/u-boot.img, as they are built from the same project. Jun 24 20:49:56 i compared the env, it’s very very similar, and stepped through the bootcmd steps, and i couldn’t see where it goes wrong Jun 24 20:50:06 thge uboot env i mean Jun 24 20:50:07 then your seeing things.. ;) Jun 24 20:50:31 yeah… Jun 24 20:50:32 damn Jun 24 20:50:39 i want to figure this one out, even though i have a workaround Jun 24 20:52:15 manuel_, just keep working on the workarounds, here what i had to do, to make the debian/ubuntu images support an old MLO/u-boot.img in eMMC: https://github.com/beagleboard/image-builder/blob/master/target/boot/beagleboard.org.txt half of tha twouldn't be needed if i didn't care about combatibilty Jun 24 20:52:18 ok i’ll just chalk it up to something that changed between uboot 2013.04 and 2013.07 Jun 24 20:52:58 all the load address changed.. Jun 24 20:53:10 if dtb was too big, it would lock up with v2013.04 Jun 24 20:53:20 as it overwrote part of zImage Jun 24 20:54:16 force these 3 values in your uEnv.txt: https://github.com/beagleboard/image-builder/blob/master/target/boot/beagleboard.org.txt#L42 and v2013.04 will be fine.. Jun 24 20:55:22 i also had to patch this: https://github.com/eewiki/u-boot-patches/blob/master/v2014.04/0001-am335x_evm-uEnv.txt-bootz-n-fixes.patch#L135 Jun 24 20:55:24 yeah Jun 24 20:55:28 it looks like that’s it Jun 24 20:55:47 i was about to say “2013.07 loads the dtb and then copies it to higher up in ram" Jun 24 20:55:48 cool Jun 24 20:55:54 “kind of” explained, enough to set my mind at ease Jun 24 20:55:57 thank you so much Jun 24 20:56:24 no problem, it was fun bug.. we seemed to hit it on "all" u-boot targets in the last release Jun 24 21:00:52 are you on the uboot team? Jun 24 21:01:50 no i just submit bug fixes Jun 24 21:04:50 cool, i copied my new mlo, and it works Jun 24 21:15:17 thank you so much, i’ll probably pop back in a couple of times in the next few weeks Jun 24 21:15:18 have a good day Jun 24 21:42:16 Hi, I'm trying to figure out how to update my beagle bone black to the latest os so it supports 1920 by 1080p resolution Jun 24 21:43:58 @ what refresh? Jun 24 21:46:10 bone is no media center Jun 24 21:48:57 it only runs at 24 fps w/o audio @ 1080 Jun 24 21:50:21 it should support 1080 as the default on debian though Jun 24 21:52:19 I thought the BBB didn't support > 1280x1024? Jun 24 21:52:24 when I got my bb black, it was on the 12.03 or similar version 0s Jun 24 21:52:39 that os didn't seem to support any resolution higher than 1280x720 Jun 24 21:53:32 AE7IK: it's not 100% reliable as e.g. some screens don't deal well with 24fps Jun 24 21:54:41 it should check what is supported by your screen's edid Jun 24 21:57:23 tbr: Yeah, that's the problem I've had, most LCD's I've tried that I have available to me are 1920x1080 monitors or something like that, and the BBB just barfs trying to put up a display. Jun 24 21:58:24 well, fire up the new debian image: http://beagleboard.org/latest-images the video/edid stuff changed a lot last year, so unless you have a kernel later then last December, it's worth a check. Jun 24 21:58:41 you can try forcing the resolution in uEnv.txt Jun 24 21:59:04 I think part of the problem was the monitors being stupid. Jun 24 22:04:02 or an hdmi/power cable with bad grounding. Jun 24 22:20:52 hi Jun 24 22:46:41 Anyone got a logibone? Jun 24 22:47:41 Jonnyw2k: wanna go into detail what you are talking about? Jun 24 22:48:15 http://valentfx.com/logi-bone/ Jun 24 22:48:23 FPGA LOGI-BONE – FPGA DEVELOPMENT BOARD CAPE FOR THE BEAGLEBONE Jun 24 22:51:29 Toneloc: heh war dial much? Jun 25 01:05:48 I am thinking of writing a highly interactive cape browser in RoR, would there be any interest? Jun 25 01:09:14 why rails? Jun 25 01:11:38 Mostly because I haven't written anything in it in a while, and the last time I did, I found it enjoyable Jun 25 01:12:10 fair enough Jun 25 01:19:19 cape browser? Jun 25 01:19:21 whats that Jun 25 01:30:10 basically a database for capes (not just a bunch of wiki pages) it would allow you to select your board and up to four capes, in a compatible fashion, in addition to giving you the information that is already out on the wiki, like links to schematics and places to buy the capes **** ENDING LOGGING AT Wed Jun 25 02:59:58 2014