**** BEGIN LOGGING AT Mon Jun 23 02:59:58 2014 Jun 23 03:15:32 yes Jun 23 03:16:17 i leave the bord and when i com back it was shot down Jun 23 03:20:23 and im able to use it with the power sup and a hdmi screen but when i connect it with the mini usb and i try to connect the web server my computer see it as a usb but the connection to 192.168.7.2 dont work Jun 23 03:28:07 does the computer detect the BBB? Jun 23 04:41:53 yes Jun 23 05:30:31 usb device on bbb not working any suggestion....? Jun 23 05:31:04 * av500 suggest to ask a better question Jun 23 06:59:40 hey! Jun 23 07:00:26 ho! Jun 23 07:00:41 Question :D Jun 23 07:00:52 Can anyone recommend a nice touchscreen for the beagleboard black? Jun 23 07:01:12 LCD cape? Jun 23 07:01:25 https://www.google.com/search?q=BBB+lcd+cape Jun 23 07:01:39 alternatively any HDMI monitor with touch Jun 23 07:01:56 Hi all. I just noticed I seem to have only an IPv6 address, and thus can't route to IPv4 addresses. How do I fix this? Jun 23 07:01:57 http://www.seeedstudio.com/depot/7-LCD-Cape-for-Beagle-Bone-Black-Touch-Display-p-1697.html Jun 23 07:01:58 hmm Jun 23 07:02:06 https://www.google.com/search?q=hdmi+monitor+touch+screen Jun 23 07:03:46 gm Jun 23 07:04:33 Does Beaglebone Black-XM support SDXC? Jun 23 07:04:48 JetForMe ifconfig usb0 192.168.1.1 Jun 23 07:05:19 I intend use 2 TB SDXC in Beaglebone Black-XM. Does it support SDXC? Jun 23 07:05:36 woglinde: I don't have anything connected to USB. I have ethernet connected, and it's getting DHCP from my DCHP server. I just want it to support IPv4 Jun 23 07:06:12 lol google tells me av500 answered the sdxc question 2 years ago Jun 23 07:06:38 JetForMe connect serial cable Jun 23 07:06:43 Strangely, /etc/network/interfaces has all the stuff for eth0 commented out. Jun 23 07:06:48 Oh, I'm able to log into it Jun 23 07:06:54 lol Jun 23 07:06:59 I guess I might not, if I bork something Jun 23 07:07:18 It just seems to be configurting itself as IPv6 only Jun 23 07:07:31 Or at least, I can't ping an IPv4 address on my network Jun 23 07:08:34 Actually, I might know what caused this. Jun 23 07:11:41 Yep. I rebooted without the ethernet plugged in. Later I plugged it in. it became connectable via iPv6, but not IPv4. Rebooting again seems to have fixed it. Not sure how it works, exactly, but I'll worry about that another day Jun 23 07:16:58 Baskar: where do you get a 2TB sd card from? Jun 23 07:18:29 KotH: aliexpress Jun 23 07:18:52 * Shadyman snickers. Jun 23 07:19:30 seems legit Jun 23 07:19:53 these chinese are vervy advaced these days Jun 23 07:55:56 hmm Jun 23 07:56:03 Think I might make a beagle tablet Jun 23 07:56:41 intrigrate it with this charger Jun 23 07:56:41 http://www.seeedstudio.com/depot/Wireless-Charging-Module-p-1354.html Jun 23 07:56:48 lipo charger+lipo.. Jun 23 07:56:56 the LCD cape.. Jun 23 07:57:00 and a 3d printed case Jun 23 08:08:33 how to enable usb device in angstrom-3.8 on bbb ....? Jun 23 08:09:16 what's the max volts the beagle can take? Jun 23 08:09:22 I know 5v is the typical Jun 23 08:10:02 spike which usb device? Jun 23 08:10:43 usb device on beaglebone black.. Jun 23 08:11:05 *sigh* what type of usb device Jun 23 08:11:13 i am trying to set up an RNDIS server on bbb over USB.. Jun 23 08:12:07 @woglinde on board microusb... Jun 23 08:12:56 spike load the right g_ modul Jun 23 08:16:04 yup bro but i could not find g_multi module itself.. in kernel... Jun 23 08:17:30 maybee you have to install it Jun 23 08:21:54 @woglinder how can i install module in kernel externally.... any mannual/tutorial... Jun 23 08:23:07 excuse me for an extra "r".. Jun 23 08:32:50 spike opkg install when you have the inet connection Jun 23 08:33:32 or download the ipk and install it with opkg install foo.ipk Jun 23 08:39:11 @woglinde thanks... Jun 23 14:09:08 of debian and angstrom which is light os in respect to memory footprint and execution order... Jun 23 14:09:23 for beagle bone black.. Jun 23 14:10:28 any suggestions ...? Jun 23 14:10:45 emdebian Jun 23 14:10:54 both are linux distributions Jun 23 14:11:23 tbr: true, better stay in uboot! :) Jun 23 14:11:44 sure, someone was writing uboot-apps the other week... Jun 23 14:12:01 anstrom approaches things from an traditional embedded perspective, debian less so. Jun 23 14:12:09 in the end it's all about the use case Jun 23 14:12:27 and the BBB is more a computer than a constrained embedded device anyway Jun 23 14:12:53 when your talking about something with a monster sized RAM as the BBB then choice of distro is not really about footprint anyway Jun 23 14:13:14 spike: it does not matter Jun 23 14:13:16 exactly my point Jun 23 14:13:25 use debian Jun 23 14:13:46 both execute "in-order" Jun 23 14:14:15 that said the bbb does not have enough ram to properly run the browser in android Jun 23 14:14:27 and with support point of view....if in future any problem arises..? Jun 23 14:14:40 thurgood: WTF???? Jun 23 14:14:49 * XorA cries Jun 23 14:14:58 it runs out of memory and crahes quickly Jun 23 14:15:01 spike: what support do you need? Jun 23 14:15:42 thurgood: those Android dudes obviously need to learn the meaning of free() :-D Jun 23 14:15:53 heh Jun 23 14:15:55 technical support ... Jun 23 14:19:21 XorA: developers thinking of free() went down the drain the moment when Java was chosen Jun 23 14:19:31 if there were any to begin with Jun 23 14:20:07 ohk got it i am going with debian.... thanks @tbr @av500 Jun 23 14:22:13 jannau: the browser engine is c++, no? Jun 23 14:23:33 av500: and oddly the same engine which you can run in debian with no issues as chromium :-) Jun 23 14:27:19 av500: does that help if you keep all closed tabs in memory since your application is still writen in java and doesn't tell the engine it can free resources Jun 23 14:28:18 jannau: the android I know kills open tabs in the background Jun 23 14:28:30 at least on my N5 they are reloading all the time Jun 23 14:29:13 but yes, I agree, running modern android in 512 MB sucks Jun 23 14:30:02 probably not much more than running modern linux though Jun 23 14:32:11 debian is slower because of the lack of egl acceleration, but it's more stable Jun 23 14:33:15 ... just my observation having run the two Jun 23 14:34:04 tbr, IoT is ipv6, right? Jun 23 14:51:37 yes, toilets are ipv6 ready Jun 23 15:18:59 Crofton: not necessarily, but clearly preferred. But vendors will tell you anything including how great RFC1918 is, to sell their crap. Jun 23 16:13:57 send shutdown command from ssh. Now BBB will not boot. Jun 23 16:14:41 I tried booting from SD. also tried reset. any advice.] Jun 23 16:14:47 reapply power Jun 23 16:15:21 reapply power?? Jun 23 16:15:34 remove power then re apply power Jun 23 16:15:51 unplug it and plug it back in :P Jun 23 16:16:15 did that half dozen times Jun 23 16:16:42 no lights Jun 23 16:17:01 not even a power light ? Jun 23 16:17:28 no Jun 23 16:17:49 how do you power it? Jun 23 16:18:14 5v 2amp power supply Jun 23 16:18:48 hmmm have you tried just the usb? Jun 23 16:19:32 I try it now Jun 23 16:20:18 did you leave the micro usb attached? Jun 23 16:20:38 need to unplug both cables Jun 23 16:20:40 no luck with usb Jun 23 16:21:19 if no power light with either power supply or usb cable i suspect some kind of hardware fault :( Jun 23 16:22:02 does the BBB power light stay on when, shutdown is sent from SSH? Jun 23 16:22:40 on the Pi it does Jun 23 16:22:47 as far as i know the power light stays on whenever there is power applied regardless Jun 23 16:23:08 atleast it does on my bbw Jun 23 16:23:19 and i think its the same on the bbb Jun 23 16:24:06 I sent "shutdown -h" and the power light did not stay on Jun 23 16:24:55 there was a shutdown related bug on at least one of the earlier Debian images... Jun 23 16:26:05 I have my BBB since 2013 Jun 23 16:26:21 i just checked mine again and the power light stays on even if it doesnt have an operating system to boot so yeah its on all the time there is power Jun 23 16:27:18 what is the correct way to reset the board? Jun 23 16:28:01 i usually press the reset button and hold it while removing power as it then also makes sure the pmic is reset to Jun 23 16:29:30 does it make sense for me to try and reset, with no light Jun 23 16:30:05 anything is worth a try :) Jun 23 16:32:30 no luck with reset Jun 23 16:33:36 Does anyone have a link to documentation about reset or recovery bricked boards? Jun 23 16:34:36 i'd see what you get with a serial console... Jun 23 16:34:48 hello Jun 23 16:35:29 can i use the beagleboard to control a stepper motor? Jun 23 16:35:40 How is the serial console connection made Jun 23 16:36:33 there is a 4 pin header near the left hand side long header strip wich has the uart 0 broken out to it Jun 23 16:36:39 I just found my usb to console cable, what next? Jun 23 16:36:43 islandguy: you'd need a 3.3v ttl (or ftdi?) cable Jun 23 16:36:58 yah must use 3.3 lol Jun 23 16:38:52 when I first tried the PI, ftdi driver were installed, I though that was so usb would work? Jun 23 16:40:26 the rpi i belive has the ftdi chip onboard so yes it would have been for the usb - serials Jun 23 16:40:48 I have this http://www.adafruit.com/products/954 Jun 23 16:40:55 its just on board instead of embeded into a cable :) Jun 23 16:42:24 thats fine as it says the RX/TX pins are 3.3V level for interfacing with the most common 3.3V logic level chipsets Jun 23 16:43:22 so what next? I'm a newbies at microcomputers Jun 23 16:43:31 ok so I'm being a lazy ass bastard here but has any progress been made on the BBB suspend/resume in the last 6-8 months? lazy ass because I spent only 5 minutes googling for it.. Jun 23 16:43:51 of course there are 6 pins on the BBB, and i think you only need to plug in 3 of them. Jun 23 16:44:05 ground,rx,tx Jun 23 16:44:19 Vaizki: not much. Jun 23 16:44:21 and regarding the UART0 debug serial on the BBB, it's actually 5V tolerant because they put a nice buffer chip in there to protect the SoC Jun 23 16:45:10 ok, can I still use the cable on any of the six pins Jun 23 16:45:11 so it will take 5V TTL in and not DIE A HORRIBLE DEATH. Of course it will only output 3.3V TTL but that has registered ok as a high signal on all my USB-Serials Jun 23 16:45:43 (and if your BBB does DIE A HORRIBLE DEATH it's not really my fault but your fault for listening to me) Jun 23 16:46:12 vagrantc: ok.. so I still can't reliably suspend my BBB and have it wake up periodically from a separate trigger...? Jun 23 16:46:54 islandguy try googling for bbb serial connection Jun 23 16:47:14 or bbb serial debug Jun 23 16:47:17 OK Jun 23 16:47:32 basically you want to connect only ground, TX and RX Jun 23 16:49:45 I found http://elinux.org/Beagleboard:BeagleBone_Black_Serial Jun 23 16:50:29 connect every wire besides red Jun 23 16:55:19 so pin 1 (black), pin 4( green) , pin 5 (white) does that sound Good? Jun 23 16:56:31 hmmmh more googling reveals that the new TI SDK with 3.12 kernel has PM support including standby :O Jun 23 16:57:09 translate Jun 23 16:58:10 just ignore me, if you don't understand what I'm talking about it's 99% probable that you don't need to :) Jun 23 16:58:50 will coolterm work for console to BBB, I have it already installed? Jun 23 17:07:37 can I really get a serial connection without any lights on? Jun 23 17:08:18 if you have an ftdi and it's booting at all, yes Jun 23 17:08:55 if there is any life it will show up Jun 23 17:10:40 coolTerm is showing a connection, but nothing at the prompt Jun 23 18:02:24 Hello Jun 23 18:02:42 does beaglebone havea customer service phone number? Jun 23 18:08:03 thanks for all the help yesterday have flashed the memory card again with windows laptop and all seams to be working Jun 23 18:25:50 Hello, its been a while since I've been on this chat. Can anyone point me in the right direction to acheive timer interrupts on the PRU for the BBB? I had to discontinue most of my BBB projects as they were dependent upon timer intterupt routines on the PRU. Thanks! Jun 23 18:37:28 anyone here use GateOne SSH? Jun 23 18:52:45 MH_: see the references section here: http://mythopoeic.org/bbb-pru-minimal/#References Jun 23 19:00:20 is gateone on the debian images? Jun 23 19:06:22 dunno shay_shay, what's special about gateone? Jun 23 19:06:38 heh .. "Just trying to figure out how to set a static IP with connman made we want to punch a baby." I like that quote Jun 23 19:13:08 hello. I can not seem to figure out the difference between pin 6 and 8 which I know sounds silly. I looked it up and it seemed like pin 6 is just capable of outputting more current. Is that correct? Jun 23 19:24:44 <__butch__> Certainly a FAQ, but I don't know the answer off the top of my head: How does one back up a microSD card for replication to a number of other microSD cards? Jun 23 19:29:41 No serial connection on BBB, I guess the BBB is headed for the trash Jun 23 19:31:21 H-H-H any other solutions to my Bricked BBB? Jun 23 19:31:34 thurgood: i wanted to try it but when i tried to install it i ran into a problem Jun 23 19:32:29 thurgood: then i saw it used to come on beagle angstrom distro. wondering if its preinstalled on beagle debian distro Jun 23 19:33:40 shay_shay: dunno I just use whatever command line client is there Jun 23 19:35:04 FYI I was runing Raspbx on a MicroSD and Angstrom on the chip at the time. Could raspbx been the problem. Jun 23 19:35:20 <_av500_> __butch__: with dd Jun 23 19:36:49 <__butch__> _av500_: I know that. I'm hoping for some specifics. :-) Jun 23 19:37:28 <__butch__> For instance, if I try a straight dd, it only copies the uBoot partition. I would like to create a contiguous image of both partitions that I can just dd back to a new microSD card. Jun 23 19:37:34 <_av500_> no Jun 23 19:37:38 islandguy: RMA it Jun 23 19:37:40 <_av500_> dd if=/dev/sdX Jun 23 19:37:49 <_av500_> not /dev/sdX1 Jun 23 19:38:02 RMA???? Jun 23 19:38:45 wmat: what is RMA mean? Jun 23 19:38:51 islandguy: http://elinux.org/Beagleboard:BeagleBoneBlack#RMA_Support Jun 23 19:41:21 I purchased it at Adafruit and I live outside the USA. Shipping cost too much. Jun 23 19:44:49 Can I assume a BBB is defective not even the power light is coming on? Jun 23 19:45:17 did it ever work? Jun 23 19:46:03 hye guys. i'm new to beaglebone and saw the new black version. i found a few things interesting and have a few questions. the BBB can act asl usb device, but is there any example fpr this? i found just old documents about xbmc on beaglebone, does it work (good)? can i code in c++ i first found java stuff only. Jun 23 19:46:43 Yes, I shut i down yesterday from SSH. Today it's dead, no lights. Jun 23 19:48:21 xbmc requires gles, to work well doesn't it? Jun 23 19:48:43 c++ is fine on the bbb Jun 23 19:49:18 assuming you're running one of the mainstream linux distros Jun 23 19:49:20 i read that xbmc is not that good on beagle because the gpu is not that fast? or is that an old version? i think the beagle has a lot of potential, but there is not much dokumentation (at least what i found) Jun 23 19:50:00 i just want to upgrade from arduino to something more powerfull with usb host & device. device is very important. and xb,c would be a nice addon Jun 23 19:50:01 3.8 which is the lowest version commonly used does not support gles hardware graphical acceleration Jun 23 19:50:56 do you know a good site with some information or tutorials or projects about BBB? Jun 23 19:51:06 Robert Nelson has a replacement kernel that does support gles, but I haven't had time to play with it yet Jun 23 19:52:05 sounds complicated :D Jun 23 19:52:44 depends on what you want to do with it Jun 23 19:53:56 if you want run XBMC the raspberry PI with OpenElec is better. Jun 23 19:54:58 okay so i will stay with arduino + windows xbmc :) Jun 23 19:55:30 However you have to download and install the video encoder for an extra price.( $12 I think) Jun 23 19:56:21 The Pi is great too. Jun 23 19:56:27 even if i want to... its sold out everywhere. and conrad has it for 60€ in 3-4 days (maybe, i dont trust them anymore) Jun 23 19:57:28 the bbb rev c is slightly more expensive, but has twice the amount of eMMC onboard Jun 23 19:57:37 compared to the older bbb Jun 23 19:58:21 why i nowhere listed how many spi/uart/can the BBB has? Jun 23 19:59:07 it's listed somewhere, but it can vary depending on your configuration Jun 23 20:09:02 i havent found any tutorial on how to setup the usb device. i need a µC to act as usb keyboard, gamepad etc Jun 23 20:12:50 Question Jun 23 20:13:09 Anyone know the max power it's safe to give a beaglebone black? Jun 23 20:14:05 <_av500_> wrong question Jun 23 20:14:18 mm? Jun 23 20:14:27 <_av500_> you can give it any power Jun 23 20:14:33 <_av500_> it will still take only what it needs Jun 23 20:14:37 Alright, good Jun 23 20:14:40 I was wondering that Jun 23 20:14:54 I just couldn't find any confirmation Jun 23 20:15:23 <_av500_> laws of physics confirm it Jun 23 20:15:42 the BBB has no short ciruit protection, hasnt it? Jun 23 20:16:10 <_av500_> where? Jun 23 20:16:28 <_av500_> on eevery single GPIO? Jun 23 20:16:33 <_av500_> every* Jun 23 20:16:46 why not? :D Jun 23 20:16:58 <_av500_> no, it has not Jun 23 20:16:59 i like to create short ciruits :D Jun 23 20:17:49 <_av500_> go ahead Jun 23 20:18:02 :D Jun 23 20:32:37 icecube45: voltage, or power? Jun 23 20:32:50 voltage is what I ment Jun 23 20:32:59 <_av500_> in that case 5V Jun 23 20:33:01 max voltage is 5 volts Jun 23 20:33:02 <_av500_> as stated Jun 23 20:33:05 Alright Jun 23 20:33:06 roughly Jun 23 20:33:14 And the Min? Jun 23 20:33:16 the SRM knows details Jun 23 20:33:18 same :P Jun 23 20:33:22 read the SRM Jun 23 20:33:25 <_av500_> 5V Jun 23 20:33:49 there's a little tolerance in there, but stay as close to 5V as possible Jun 23 20:33:58 Alright Jun 23 20:34:06 You can also give it any voltage. It will take some of it. Jun 23 20:34:23 and turn the rest into magic smoke if it feels like it Jun 23 20:34:27 haha Jun 23 20:34:33 Well, I'm off to find a lipo! Jun 23 20:34:35 If the operational smoke escapes, try to capture it. Jun 23 20:34:41 And a volatage regulator Jun 23 20:34:48 <_av500_> yes Jun 23 20:34:51 <_av500_> regulate Jun 23 20:35:00 yup Jun 23 20:35:15 some people tried powering directly from lipo, but the board is not designed for that Jun 23 20:35:28 Why would you even do that? Jun 23 20:35:51 the SoC+PMIC do support that Jun 23 20:36:07 but the board design doesn't really Jun 23 20:36:18 that's why there are battery capes, with regulators Jun 23 20:36:31 My plan is to possibly make a beagle tablet Jun 23 20:36:50 as I have most of the parts on me Jun 23 20:36:50 <_av500_> tbr: from Arkansas? Jun 23 20:36:52 from past projects Jun 23 20:37:56 finding a lipo is a pain though Jun 23 20:38:10 * tbr has a pile of those Jun 23 20:38:15 mostly 18650 Jun 23 20:38:23 Eh.. Jun 23 20:38:24 <_av500_> lipielle Jun 23 20:38:30 <_av500_> er Jun 23 20:38:33 <_av500_> lipile Jun 23 20:38:34 http://hobbyking.com/hobbyking/store/lithium_polymer_battery_configuration.asp#comparespan Jun 23 20:38:37 that makes it easy Jun 23 20:38:37 * tbr emptied all the battery trash containers at work Jun 23 20:38:51 most "dead" laptop packs are not dead Jun 23 20:38:58 <_av500_> just resting Jun 23 20:39:05 anyone know what the magic sauce is to get the pru to modify pin mux registers? Jun 23 20:39:32 i've tried bbq, ketchup Jun 23 20:39:38 maybe i should move from tomato based. Jun 23 20:40:19 pesto or habanero-salsa are good choices Jun 23 20:40:34 maybe some spice will whip it into shape. Jun 23 20:40:40 some basil Jun 23 20:40:42 thatl do you good Jun 23 20:40:59 my beaglebone is beginning to look like a pizza Jun 23 20:41:11 mm Jun 23 20:41:16 <_av500_> try a strong solvent Jun 23 20:41:29 whisky? Jun 23 20:41:37 superglue Jun 23 20:41:41 all i have here is some fluoric acid. Jun 23 20:41:47 solves all my problems, until I wake up with a hangover Jun 23 20:41:47 <_av500_> go for it Jun 23 20:42:01 k, brb Jun 23 20:42:24 beaglebone is gone. Jun 23 20:42:32 i guess i have no problems anymore. Jun 23 20:42:36 woohoo Jun 23 20:42:39 we done good Jun 23 20:42:40 :D Jun 23 20:42:46 <_av500_> great, solved! Jun 23 20:42:47 <_av500_> next Jun 23 20:42:48 thanks guys! Jun 23 20:43:02 * _av500_ rattles the collection cup Jun 23 20:43:14 * wtfmux poops in the collection cup Jun 23 20:43:31 :-| Jun 23 20:44:07 ugh. I have a 3.7v lipo on me Jun 23 20:45:25 most people do, in one form or another Jun 23 20:45:29 yea Jun 23 20:46:02 http://www.adafruit.com/products/1565?gclid=CjgKEAjwoJ-dBRDbjfKN7IzN0FsSJAAP0G_DIFX8Vd224l3faedvySkbqj1q9Xto5KwWD9nhF308W_D_BwE Jun 23 20:46:03 hmm Jun 23 20:46:26 so, back to my pin mux from pru Jun 23 20:46:41 i've enabled the ocp master, proven by the fact that i can modify gpio registers Jun 23 20:46:53 and can *read* pin config register values Jun 23 20:47:08 but, when I SBBO to a config reg, it doesn't change Jun 23 20:47:21 devmem2 says it's not changing, and a readback says it's not changing Jun 23 20:47:24 wtf mux. Jun 23 20:47:38 hrm mranostay is not here, our pru expert Jun 23 20:48:00 <_av500_> probably drunk Jun 23 20:48:05 <_av500_> like all the pru people Jun 23 20:48:06 isn't he a troll anyways? Jun 23 20:48:12 <_av500_> no Jun 23 20:49:17 i shall wait for him. Jun 23 20:52:45 * mranostay enters the wasteland Jun 23 20:52:51 lack of patience with repeat questions does not equate to troll Jun 23 20:53:11 * tbr points mranostay at wtfmux Jun 23 20:53:22 something about pinmux from the PRU side Jun 23 20:53:30 hello mranostay Jun 23 20:53:33 i've been expecting you Jun 23 20:53:58 is there anything special required to get the pru to modify the pin config registers? Jun 23 20:54:36 wtfmux: you mean the pinmux? Jun 23 20:54:43 yeah Jun 23 20:54:51 i can read them and i can write to gpio registers, but when I write to the pinmux regs, they don't change. Jun 23 20:55:03 you shouldn't ever touch those from the PRU Jun 23 20:55:15 or the gpios Jun 23 20:55:25 well, i need a bidirectional Jun 23 20:55:38 and using kernel code to handle a direction change interrupt is taking too long Jun 23 20:55:47 and, i see that libpruio is doing it. Jun 23 20:56:32 but, i don't see how libpruio is doing it any different than I am Jun 23 20:56:41 does anyone know how i can find a suitable stick for this project? http://libdrc.org/docs/network.html#required-hardware Jun 23 20:56:54 wtfmux: so as long you know that will cause stalls Jun 23 20:57:04 stalls? Jun 23 20:57:16 asscessing the gpios directly Jun 23 20:57:22 *accessing Jun 23 20:57:22 i'm not accessing gpios directly Jun 23 20:57:30 oh Jun 23 20:57:34 i said that to show that my ocp master was enabled Jun 23 20:58:08 but i'm using the local pru gpio Jun 23 20:58:28 i need to change the pinmux from pru gpio output to pru gpio input and visa versa Jun 23 20:58:36 ah that Jun 23 20:58:58 i need a bidirectional pru gpio pin without using an external mux Jun 23 21:00:19 yeah so writing to it directly should work Jun 23 21:00:55 http://pastebin.com/y8XP9P4K Jun 23 21:01:25 that's my test code. write to pin mux, readback, they don't match. Jun 23 21:01:41 i'm stepping through with prudebug as i go. devmem2 agrees that it's not changing. Jun 23 21:02:20 between the ocp and mux writes, i have some gpio reg writes to make sure ocp master is good. Jun 23 21:03:38 Whatcha guys think: http://www.adafruit.com/products/1566 Jun 23 21:04:54 well, it's good to know it's possible. Jun 23 21:04:59 i'll keep digging. Jun 23 21:06:27 just tried another pin mux reg with a different value, readback is what it's set to with device tree...but can't modify. Jun 23 21:18:30 apart from the small form factor, low cost and 'coolness factor'- why would you use a beaglebone for anything? Jun 23 21:19:45 I know it has GPIO, which make it useful for some things- but usually those things could be handled much better and cheaper by a microcontroller Jun 23 21:20:26 i don't really consider it a micro controller replacement. Jun 23 21:21:01 if you have a micro-controller that can achieve what you need...then what's the point? Jun 23 21:21:11 well, what's really special about the Beaglebone? Jun 23 21:21:28 it's just a slow linux machine Jun 23 21:21:31 yeap. Jun 23 21:21:43 with two real time processors built in. Jun 23 21:21:45 and some gpio. Jun 23 21:21:50 Well, for one there's time to market. Jun 23 21:22:10 well, do people actually sell beaglebone based hardware??? Jun 23 21:22:24 surely not Jun 23 21:22:26 I don't see why it would stop anyone Jun 23 21:22:33 cost Jun 23 21:22:48 you can spin the board yourself in quantity Jun 23 21:22:49 What cost? Jun 23 21:22:52 and the fact taht they don't come with a ny warranty for commerical products Jun 23 21:22:55 ... Jun 23 21:23:00 *that Jun 23 21:23:16 I am not sure if you're just trolling or being serious Jun 23 21:23:29 i think he's serious. Jun 23 21:23:51 what platform do you currently use to achieve your product goals Toneloc ? Jun 23 21:23:59 Toneloc: How much experience do you have in doing high-level things on microcontrollers? I am thinking of things like machine vision, Web services, and long-term datalogging. Jun 23 21:24:03 microcontrollers Jun 23 21:24:36 if you can achieve everything that you need to achieve with a micro controller, then the beaglebone wont offer you much....obviously. Jun 23 21:24:51 I have done internet linked data-loggers using microcontrollers Jun 23 21:24:55 <_av500_> yes, people are selling BBB based hardware Jun 23 21:25:02 but nothing higher level than that Jun 23 21:25:04 <_av500_> thats why they are sold out all the time Jun 23 21:25:10 <__butch__> Hi folks. I'm back. I have a small problem I was hoping someone could help me with. Jun 23 21:25:12 <_av500_> commercial use sucking them all up Jun 23 21:25:21 and lab use! :D Jun 23 21:25:28 * wtfmux just ordered 100 Jun 23 21:25:32 xD Jun 23 21:25:41 @_av500_ interesting Jun 23 21:25:52 Toneloc: And...you _enjoyed_ doing the TCP/IP work necessary to make that happen? Jun 23 21:25:59 I would have thought more labs and hobbyists Jun 23 21:26:10 <__butch__> I'm teach a class in two days on 20 BBBs. I have an SD card that I've put together everything on, and I want to clone it to the 20 blank SD cards that I have sitting here. Unfortunately, my fu has not been strong enough to figure out how to clone the existing SD card to an image so I can then dd it to the blank cards. Jun 23 21:26:19 <_av500_> thats why there is now an industrial version Jun 23 21:26:20 <__butch__> Does anyone have some super awesome suggestions? Jun 23 21:26:32 agmlego- No, the engineer who wrote the packages got that pleasure :) Jun 23 21:26:33 <_av500_> dd if=/dev/sdX Jun 23 21:26:40 <_av500_> of=image_file Jun 23 21:26:43 <__butch__> _av500_ we tried this already. :-) Jun 23 21:26:45 Toneloc: Ah, so you hate the people who work for you. Got it. ;-P Jun 23 21:26:55 <__butch__> So here's what I tried that didn't work: sudo dd bs=64M if=/dev/mmcblk0 | ssh butch@192.168.7.1 dd bs=64m of=bbb.img Jun 23 21:27:02 <__butch__> That was from the BBB side. Jun 23 21:27:05 butch, distibute the images and make the students write them Jun 23 21:27:08 Alrighty! any recommendations for a wireless adapter? Jun 23 21:27:13 Yes, one that works. Jun 23 21:27:16 agmlego ;) Jun 23 21:27:20 <_av500_> one without wires Jun 23 21:27:25 __butch__, for windows, win32 disk imager, read then write. Jun 23 21:27:35 <__butch__> _thurgood_" I don't have the image. That's what I'm trying to create. :-) Jun 23 21:27:48 <__butch__> wtfmux: Sorry, didn't get to the part where I'm using a Mac. Jun 23 21:27:50 __butch__: ah, linux or windows? Jun 23 21:28:00 mac has dd as well Jun 23 21:28:04 <_av500_> MacDos Jun 23 21:28:17 what about the real-time offerings of the Beaglebone , can you get hard real-time ? Jun 23 21:28:23 Toneloc: Yes. Jun 23 21:28:28 Toneloc: That is what the PRU is for. Jun 23 21:28:35 <_av500_> Toneloc: how hard? Jun 23 21:28:36 Toneloc: Well, both of them. Jun 23 21:28:43 deterministic Jun 23 21:28:53 <_av500_> its all SW Jun 23 21:28:56 but the if would look more like /dev/rdisk... orsomething.. lemme look really quickly Jun 23 21:28:57 *How* deterministic? Jun 23 21:29:02 <__butch__> The question becomes, how do I clone the entire microSD card to an image that I can then dd back to blank microSD cards? I am using a Mac. Jun 23 21:29:03 <_av500_> and deterministic means nothing Jun 23 21:29:11 <_av500_> the sun sets once per days Jun 23 21:29:14 <_av500_> thats deterministic Jun 23 21:29:17 __butch__: Two readers and dd. Jun 23 21:29:28 but at X every time Jun 23 21:29:31 <_av500_> __butch__: with dd Jun 23 21:29:40 <_av500_> Toneloc: depends on X Jun 23 21:29:43 cycle accurate Jun 23 21:29:54 Toneloc: The PRU is cycle accurate. Jun 23 21:30:04 *PRUs are Jun 23 21:30:06 there's two :) Jun 23 21:30:08 Toneloc: The PRU is a RISC processor, and mostly single-cycle instructions. Jun 23 21:30:17 <__butch__> Apparently I'm not communicating very well. Here's the command that DIDN'T work: sudo dd bs=64M if=/dev/mmcblk0 | ssh butch@192.168.7.1 dd bs=64m of=bbb.img. Jun 23 21:30:28 <_av500_> on the mac? Jun 23 21:30:39 Toneloc: And as wtfmux says, and I said earlier, there are two of them, which can be run independently. Jun 23 21:30:40 <_av500_> you have a usb card reader? Jun 23 21:30:43 <__butch__> As you can see, I'm trying to dd the entire disk (/dev/mmcblk0) from the BBB out to the mac via ssh. Jun 23 21:30:50 <_av500_> yes, and? Jun 23 21:30:54 <__butch__> I then dd that image back to a blank SD card, and it doesn't boot. Jun 23 21:31:06 <_av500_> how large is the image? Jun 23 21:31:13 __butch__: So you are not in fact trying to copy the image off a microSD card; you are trying to copy the image of the internal eMMC on the bone. Jun 23 21:31:16 <_av500_> how do you dd it back? Jun 23 21:31:44 <__butch__> I end up in the boot monitor and it says that it couldn't find a proper filesystem to boot. It looks like uBoot worked fine, though. Jun 23 21:31:48 <__butch__> ount: mounting /dev/mmcblk0p2 on /root failed: Invalid argument Jun 23 21:31:49 <__butch__> mount: mounting /dev on /root/dev failed: No such file or directory Jun 23 21:31:49 <__butch__> Target filesystem doesn't have requested /lib/systemd/systemd. Jun 23 21:31:49 <__butch__> No init found. Try passing init= bootarg. Jun 23 21:31:49 dd if=dev/rdisk1 of=~/Desktop/image.img Jun 23 21:31:54 SOunds a lot like __butch__ is missing the boot partition. Jun 23 21:32:14 <__butch__> I dd'ed it back as dd bs=64m if=bbb.img of=/dev/rdisk2 Jun 23 21:32:56 Toneloc: it's probably rare for the beaglebone to be a perfect fit for a price optimized commercial product since the chances of you needing the exact specs are rare. Jun 23 21:33:05 <__butch__> My feeling is that the initial dd off the BBB didn't work. But I've run out of ideas for what to try to build that single image. I guess I could try dd'ing both partitions and concatenating them, but I really fear that won't work. Jun 23 21:33:08 do you have mmcblk? Jun 23 21:33:21 are there any newer kernels for bbb than 3.8? Jun 23 21:33:30 <_av500_> __butch__: concat wont work Jun 23 21:33:44 shay_shay: yes Jun 23 21:33:48 Toneloc: but, you can get something out the door quickly, and it's open hardware, so you could trim the design back if needed. Jun 23 21:34:02 <_av500_> __butch__: how big is the image? Jun 23 21:34:07 <__butch__> thurgood: sudo dd bs=64M if=/dev/mmcblk0 | ssh butch@192.168.7.1 dd bs=64m of=bbb.img. I figured it I used mmcblk0, that would get both partitions. Jun 23 21:34:14 <__butch__> _av500_: 16GB. Jun 23 21:34:25 <__butch__> That's the side of the SD card. Jun 23 21:34:29 <__butch__> And the size of the image. Jun 23 21:34:30 <_av500_> how do you dd it back? Jun 23 21:34:34 __butch__: Is the image on an actual, physical microSD card? Jun 23 21:34:39 <__butch__> _av500_ see above Jun 23 21:34:42 the mac uses /dev/rdiskX not /dev/mmcblkX Jun 23 21:35:00 <_av500_> __butch__: where? Jun 23 21:35:03 <__butch__> _thurgood_: yes, I know that. Jun 23 21:35:05 Toneloc: and, of course, if you're going for price minimized, you would almost never use something off the shelf...so that's a silly point. Jun 23 21:35:24 <_av500_> __butch__: how do you dd the image to the card? Jun 23 21:35:50 __butch__: but you showed the command with /dev/mmcblk Jun 23 21:35:57 <__butch__> I'll try again? From the BBB (as in, I'm logged into the BBB), I issue the following command, which I believe should copy the contents of the (running, yes, bad idea, but it's what I can do) SD card to an image file on my Mac: sudo dd bs=64M if=/dev/mmcblk0 | ssh butch@192.168.7.1 dd bs=64m of=bbb.img Jun 23 21:36:03 agmlego , wtfmux - Interesting, the PRU sounds promising Jun 23 21:36:06 thurgood: __butch__ is dd-ing from the booted bone. Jun 23 21:36:09 <_av500_> buq2: yes Jun 23 21:36:12 <_av500_> argh Jun 23 21:36:15 <_av500_> __butch__: yes Jun 23 21:36:18 I would suggest not using dd on a mounted filesystem Jun 23 21:36:19 <_av500_> and how do you write it back? Jun 23 21:36:25 <_av500_> and how do you write it back? Jun 23 21:36:26 <_av500_> and how do you write it back? Jun 23 21:36:30 __butch__: WHY are you trying to dd off the running bone? Jun 23 21:36:48 <__butch__> Then, I mount a clean SD card on the Mac and dd it back using dd bs=64m if=bbb.img of=/dev/rdisk2 Jun 23 21:36:54 __butch__: When you already have an SD card reader that you can talk with from the Mac? Jun 23 21:36:56 <_av500_> ah Jun 23 21:37:10 Just use the source SD card on the reader and dd off onto a file. Jun 23 21:37:12 <_av500_> so do the same to read the card Jun 23 21:37:12 thurgood: where Jun 23 21:37:22 shay_shay: 1 sec Jun 23 21:37:22 <__butch__> agmlego: Because that's the only way that I can get both the partitions. If I mount it on the Mac, it's available only as /dev/rdisk2, which is only the boot partition. Jun 23 21:37:40 <_av500_> well, then you cannot write it back either Jun 23 21:37:58 <_av500_> since you only write to the boot partition as you say Jun 23 21:37:59 __butch__: I, uh, doubt that. Jun 23 21:38:23 But if that is really the case, use a Linux LiveCD to get a real operating system. Jun 23 21:38:51 <__butch__> agmlego: OK. When I try it, I get a 968M image file, which only corresponds to the boot partition. And there's really no need to disparage OS X. Jun 23 21:39:22 <_av500_> when you try what? Jun 23 21:39:38 __butch__: Not disparaging at all, just saying that an OS that does not show you the full raw block device, which is what you need for you application, is not a real OS. Jun 23 21:39:48 <_av500_> if reading rdisk2 only gives you 968M, then you cannot ddd to it either Jun 23 21:39:52 thurgood: https://rcn-ee.net/deb/wheezy-armhf/ ? Jun 23 21:40:01 this offical download for that stuff? Jun 23 21:40:03 <__butch__> Then let's bust on FreeBSD, since that's where the filesystem code came from. :-) Jun 23 21:40:18 __butch__: Why are we even talking about filesystems? Jun 23 21:40:31 __butch__: YOu are trying to dd--that works on raw bytes from block devices. Jun 23 21:40:40 Filesystems never enter into the equation. Jun 23 21:41:04 <_av500_> http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/ Jun 23 21:41:09 http://elinux.org/BeagleBoardUbuntu#SGX_Drivers Jun 23 21:41:10 <__butch__> OK, the low-level disk driver code then. :-) Regardless, it's not working. :-) Jun 23 21:41:18 <__butch__> I have another idea I'm going to try. Jun 23 21:41:22 <__butch__> One moment, please. :-) Jun 23 21:41:28 __butch__: Except that I know dd works correctly on FreeBSD. Jun 23 21:41:38 So, your point is invalid. Jun 23 21:41:43 shay_shay: if you want sgx, there's some additional instructions there Jun 23 21:41:47 <_av500_> http://elinux.org/RPi_Easy_SD_Card_Setup Jun 23 21:42:30 <__butch__> Dude, let's just stop, ok? I don't give a whit whose fault it is. I just would like it to work. :-) Jun 23 21:42:32 __butch__: do you only have the configuration you want on the eMMC? Jun 23 21:42:53 <_av500_> __butch__: see the links Jun 23 21:42:58 <_av500_> there are mac tools Jun 23 21:43:08 <__butch__> thurgood: No, it's not on the eMMC. Only on the SD card. Jun 23 21:43:17 <__butch__> _av500_: Thank you. I'll look at them now. Jun 23 21:44:01 __butch__: ah... so make the image from the mac with the sd plugged in directly Jun 23 21:44:06 <__butch__> OK, I have something that might actually be working. I'll know in about a half hour. :-) Jun 23 21:44:22 <__butch__> thurgood: Yes, that's this attempt. I finally got it to give me both partitions. Jun 23 21:44:23 __butch__: I am also not seeking blame, just trying to get the problem fixed. I offered up using a Linux LiveCD as a troubleshooting step, because I know that Linux does the right thing for this application. Jun 23 21:44:41 it /may/ work over the other way but it just adds a layer of complexity that you don't need Jun 23 21:44:50 <__butch__> agmlego: All good. I appreciate your help, as well as that of others. Jun 23 21:45:16 <__butch__> thurgood: Agreed. Once I wrangled hduitil a little bit, I got it to be more friendly. Jun 23 21:45:37 __butch__: good deal Jun 23 21:45:41 <__butch__> I think it is now dd'ing both partitions. Jun 23 21:46:20 you can probably gz that image and get something much smaller to distribute Jun 23 21:46:57 <__butch__> thurgood: I should be able to zip it and unzip it to lose all the empty space, yes? Jun 23 21:47:07 most, yes Jun 23 21:48:18 <__butch__> I will certainly try that. :-) I'm guessing I have ~12GB of empty space. :-) Jun 23 21:48:24 I tend to not use zip, I use tar with the cvzf options instead.. but that is purely preference Jun 23 21:49:15 <__butch__> Yes, but it's a dd image, so we'd only be using tar for compression. Jun 23 21:49:17 <__butch__> :-) Jun 23 21:49:43 yup, that's the z portion, v is pretty useless with a single file Jun 23 21:50:20 Really, you could just use the gzip binary in that case and save a layer of indirection. Jun 23 21:50:40 Not that the tarball file format is much more than concatenation and a magic number. Jun 23 21:50:52 very true Jun 23 21:52:03 <__butch__> 7GB down :-) Jun 23 21:53:19 be sure that the destinations have at least as much space as the source, not all 16GB's are sized the same, even with the same brand occasionally Jun 23 21:53:42 ^^^ Jun 23 21:53:56 THough the same series will be OK. Jun 23 21:54:01 Most of the time. Jun 23 21:54:07 usually, but not always Jun 23 21:54:57 agmlego , wtfmux - The PRU has raised my interest in the Beaglebone, thank you ! Jun 23 21:54:58 <__butch__> thurgood: I'm hoping the compression trick takes care of any issues. Jun 23 21:55:14 Toneloc: No problem. Jun 23 21:55:58 Toneloc: Note that the PRU is basically an assembly-only processor. There *is* a C compiler for it, but I am not sure it is in wide distribution yet. Jun 23 21:56:22 Toneloc: But since you are wanting to do realtime stuff with it, you would be doing assembly anyway, so that is not that big a deal. Jun 23 21:56:58 agmlego- I like the idea of using assembly- good to get into it Jun 23 21:57:14 And it is a nice simple one too. Jun 23 21:57:29 sounds like just the ticket Jun 23 21:59:02 Toneloc: I'm sure you found this already: http://processors.wiki.ti.com/index.php/PRU_Assembly_Instructions Jun 23 21:59:05 but, pretty simple :) Jun 23 21:59:41 supports macros and subroutines, so your asm can actually be readable. :D Jun 23 21:59:50 macros with parameters Jun 23 22:06:15 <__butch__> dd'ing back to SD. Jun 23 22:09:54 wtfmux- that's nice, thanks for the link. This is cool, a game changer for me in many ways Jun 23 22:10:18 the Beaglebone may prove to be just the ticket for my next product Jun 23 22:10:55 well, for initial test and dev- it certainly looks like the way to go Jun 23 22:12:11 <__butch__> The 16GB image compressed down to 1.6GB. :-) Jun 23 22:12:24 <__butch__> Expanding to see how much I really saved. Jun 23 22:20:08 i can't get the pru to change the pinmux values. i'm stuck. Jun 23 22:40:20 don't the mux values have to be set in the dtb(o) ? Jun 23 22:46:25 <__butch__> OK, epic fail. Same problem. Jun 23 22:47:34 <__butch__> This time the sequence was: Mount the SD card on the Mac, then sudo dd bs=64m if=/dev/rdisk2 of=bbb.img, followed by replacing the SD card, and then sudo dd bs=64m if=bbb.img of=/dev/rdisk2. That really should have worked, right? Jun 23 22:48:28 <__butch__> https://gist.github.com/ButchAnton/f09a60c210a4e094e071 Jun 23 22:49:18 what size did the bbb.img come out to be? Jun 23 22:49:40 <__butch__> 15GB Jun 23 22:49:49 <__butch__> Expected size. Jun 23 22:52:12 in examples I've found with google, they use a smaller block size, like 1m Jun 23 22:52:25 not sure that would make a difference, but worth trying Jun 23 22:54:07 I think you'll find the flash blocks are much less than 64M :D Jun 23 22:54:16 just fyi Jun 23 22:54:41 yeah Jun 23 22:55:10 he's using raw I/O on a Mac, who knows what it does Jun 23 22:55:29 I generally use 512K Jun 23 22:56:04 1M should be ok .. but because I use dcfldd I tend to use like 10k so the block count goes up in a sensible way Jun 23 22:57:40 I also have extfs drivers installed, though that shouldn't make a difference (I wouldn't think) Jun 23 23:00:44 gotta run, back in a few Jun 23 23:14:45 how prevalent are BBB usb issues? I've been running in to a few babble and vbus errors and I'm wondering if it is just me, or if it is a wider issue. Jun 23 23:15:44 its a common issue KaaK Jun 23 23:15:52 Very common. Jun 23 23:16:08 veremit, ... I was afraid of that. Jun 23 23:16:54 if you use the newer mainline kernels .. its supposed to be 'better' Jun 23 23:17:05 I'm on 3.12 and its tolerable Jun 23 23:17:31 Is there much headway into a solution? Have any root causes been found or addressed? Jun 23 23:17:49 root cause is the driver for it has been ported from another device Jun 23 23:18:29 I'm mostly at a loss on how such an ubiquitous USB is, and how badly the BBB handles it... Jun 23 23:18:31 so it doesn't quite work properly Jun 23 23:26:06 any tips on mitigating USB issues? Or is it more of a 'sit and wait' problem? Jun 23 23:38:30 has anyone here gotten the routing to work so beagle bone can be connected by only a usb and use the hosts internet? Jun 23 23:38:52 if it works, I thought that was a default Jun 23 23:38:59 perhaps not Jun 24 00:26:54 shay_shay: I’ve never gotten that particular configuration to work. Legend has it that it can. Jun 24 00:27:34 shay_shay: I typically use USB to 5V plug and the ethernet connector. Jun 24 00:28:44 shay_shay: Specfically this one: https://www.sparkfun.com/products/8639 Jun 24 01:11:23 i see around the web that their are import restrictions on the beagle, is this still the case for UK? Jun 24 01:12:19 handled by the distributor normally Jun 24 01:13:25 i can back order one but I am considering using it in a commercial product do you know if their are likely to be any issues down the line? Jun 24 01:18:25 well .. obligatory disclaimer aside .. Jun 24 01:18:53 supply seems to be the only one Jun 24 01:22:09 yes... have they been behind demand for long? Jun 24 01:22:35 a year or so lol Jun 24 01:22:40 supply is so slow lol Jun 24 01:22:41 ahhh Jun 24 01:23:00 its a powerful bit of kit for price Jun 24 01:23:02 as long as you do your own support .. should be fine Jun 24 01:34:20 ok thx improvnerd **** ENDING LOGGING AT Tue Jun 24 02:59:59 2014