**** BEGIN LOGGING AT Tue Mar 24 02:59:58 2015 Mar 24 03:54:48 <_sarbojit> Hello Nishanth. Balaji spoke with you few minutes back? Mar 24 03:55:13 <_sarbojit> :-) Mar 24 04:11:31 _sarbojit, PM me Mar 24 04:24:33 Genntoo go and design your own board Mar 24 04:24:42 it alwways ends up cheaper in the long run Mar 24 04:35:10 <_sarbojit> NishanthMenon, hello Mar 24 04:46:47 I am trying to perform a raw boot (with no file system) of the AM335x processor on my BeagleBone Black from the SD Card. I have managed to do this by manually pre-pending the necessary "Configuration Header TOC Item", "Configuration Header Settings", and "GP Header" to my binary using a hex editor as outlined in the processor Technical Reference Manual. I am aware of a "signGP" tool (beagleboard.googlecode.com/files/signGP.c) to a Mar 24 04:46:48 dd the "GP Header" to the binary. Is anyone aware of a tool that would make the addition of the "Configuration Header TOC Item" and "Configuartion Header Settings" sections easier. It is rather tedious to add these sections manually. Mar 24 05:03:18 ekohandel, https://github.com/nmenon/omap-u-boot-utils/blob/master/src/gpsign.c was written for omap3 Mar 24 05:03:28 ekohandel, i think it could be modified as needed Mar 24 05:10:42 NishantMenon, thanks! I will have a look at it. Mar 24 05:16:48 you have a hex editor right?! Mar 24 05:17:11 veremit, yes I do. Mar 24 05:17:29 what else do you need for hacking!? :P hehe Mar 24 05:18:10 veremit, true! I did get it to work with the hex editor but it is nicer to have a tool that automatically does it. Less likely to make a mistake ;) Mar 24 05:19:36 the 'tool' is called uboot :p Mar 24 05:19:45 very well-established :D Mar 24 05:23:25 veremit, I am very new to these more complicated processors but from what I could see uboot expected a file system and I was trying to boot without a file system. Maybe there is an option for uboot to be used without a filesystem? Mar 24 05:25:02 ekohandel .. you can either bare-metal code the whole lot .. or use linux :p Mar 24 05:25:18 I favour the latter :D so there is uBoot which fires up linux for you Mar 24 05:26:03 its quite a complicated processor to bare-metal I'd say Mar 24 05:27:11 veremit, totally agree with you but I was curious to see how much I can learn about the processor by doing bare-metal development. Mar 24 05:28:09 fair enough Mar 24 05:30:42 veremit, I got the PWM Servo working! :) Mar 24 05:31:46 veremit, there is an awesome library called BlackLib for Beaglebone. PWM, SPI, UART, etc. It is a pretty sweet lib. Time to decipher everything and try to recreate the code Mar 24 05:32:29 johnpaul .. awesome Mar 24 05:33:27 veremit, now i have an RFID reader with servo that can unlock my door. i'll be making it sync with something online to store the keys securely :D Mar 24 05:37:36 hmm online != secure .. but whehey .. go for it :) Mar 24 05:42:59 online can == secure. OAuth with google and a google app engine as a control panel Mar 24 05:43:10 :) Mar 24 05:43:20 johnpaul veremit - just letting you know, all running a-ok (though still connected beaglebone black via loooooooong ethernet cable to my home), i've updated node to 0.10.38 and npm to 2.7.3 and apt-get a buncha cool stuff, and can VNC to the beaglebone screen now. feels good. thank you again to both of you and KotH & SpyKu Mar 24 05:43:51 faddah, you're welcome! really happy you got everything to work. I was able to get my motor control to work too! :) Mar 24 05:44:38 np Mar 24 05:44:44 its a fun if frustrating journey ;p Mar 24 05:45:15 veremit, out of curiosity, do you blanket online != secure? :P Mar 24 05:46:32 BreAknDbREAKrz, the capital letters of your name are: BAD REAK. :P Mar 24 05:46:51 nice Mar 24 05:47:43 the lower case spell out : rekn brz Mar 24 05:48:06 BAD REAK rkn brz! Mar 24 05:48:25 johnpaul .. you have to trust the link and the destination .. over which you don't always have total control :) Mar 24 05:48:38 but .. the cloud IS where it's at. Mar 24 05:49:13 veremit, and how does something like OAuth come into play then? a 3rd party handshake is secure as far as I know Mar 24 05:49:40 veremit, I mean, it is what Google uses for some of their security Mar 24 05:49:41 johnpaul .. not looked at it .. but ssl seems to work Mar 24 05:49:52 until someeone finds a vunerability lol Mar 24 05:50:00 we're all human .. we f*ck up lol Mar 24 05:50:20 but yeah .. go for it :) it was a throw-away comment :) Mar 24 05:50:23 veremit, lol the vulnerability is getting someone's private keys, which then, yea, it is the same as getting a password Mar 24 05:51:42 veremit, here's a simple diagram of OAuth: https://s3.amazonaws.com/dfc-wiki/en/images/6/6f/OAuthRoles.png Mar 24 05:52:21 johnpaul & veremit - so i am now realizing. still wish i could bridge the internet from my Chromebook to the beaglebone black, i do have an on-going forum thread going on this, though the one guy answering doesn't appear very intent on helping. (https://groups.google.com/forum/embed/?place=forum/beagleboard&showsearch=true&showpopout=true&showtabs=true&hideforumtitle=true&parenturl=http%3A%2F%2Fbeagleboard.org%2FCommunity%2FForums#!ca Mar 24 05:53:42 faddah, that link is missing some part Mar 24 05:54:01 faddah .. it depends very much if the chromebook OS is capable of exposing enough networking capability to do NAT and routing or not. Mar 24 05:54:08 johnpaul veremit - dang, i'll try again. Mar 24 05:54:16 the underlying system is capable .. its just whether the software will LET you. Mar 24 05:54:41 trying this => https://groups.google.com/forum/embed/?place=forum/beagleboard&showsearch=true&showpopout=true&showtabs=true&hideforumtitle=true&parenturl=http%3A%2F%2Fbeagleboard.org%2FCommunity%2FForums#!category-topic/beagleboard/beaglebone-black/3nwb9IR4GIU Mar 24 05:54:45 Android, for example, also, DOES NOT normally. Mar 24 05:54:55 faddah, what veremit said exactly - chromeOS IS linux, but it does not contain all of the standard linux functions Mar 24 05:55:08 its not designed to .. its a funky graphical front-end .. its not a power-user's playground. Mar 24 05:55:30 its like buying a car .. and using it to go sledging. Mar 24 05:55:47 bad analogy .. but you get my point (hopefully!) Mar 24 05:55:53 veremit & johnpaul - as homer simpson says, "THAT SOUNDS LIKE A CHALLENGE!!" ;) Mar 24 05:56:12 there's Challenge .. and insanity :p Mar 24 05:56:20 like getting musb + dma working on a beagle .. *Snicker* Mar 24 05:56:25 veremit - and i have managed to erase that line! Mar 24 05:56:33 faddah, can you (on the BBB) cat /etc/network/interfaces Mar 24 05:56:42 and then provide the eth0 portion Mar 24 05:57:00 veremit, HAH, i looked at DMA. Mar 24 05:57:15 veremit, and then i closed a few tabs, promptly Mar 24 05:57:18 johnpaul veremit - remember the last time you asked me to 'cat' long log info, and it crashed the Chromebook and i had to restart? Mar 24 05:57:21 johnpaul .. yeahno. Mar 24 05:57:30 faddah, this is a small file Mar 24 05:57:32 just use logcat Mar 24 05:57:44 faddah, it should be no more than 20 lines Mar 24 05:57:55 if anyone wants to fix musb .. and write a new driver .. I think the beagle community would be very very happy. Mar 24 05:58:39 haha Mar 24 05:58:58 johnpaul veremit - ok, you want me to get that /etc/network/interfaces off the Chromebook, not the beaglebone, right? Mar 24 05:59:05 the beaglebone Mar 24 05:59:22 I'll leave you guys to it .. gonna go attempt to earn some money lol Mar 24 05:59:36 i just got done with that a bit ago. now i am on free time :D Mar 24 05:59:39 bbl maybe :) g'luck! Mar 24 05:59:42 see ya Mar 24 05:59:44 johnpaul - you don't want the interfaces off trhe Chromebook?? Mar 24 05:59:51 no, faddah , the BBB Mar 24 05:59:59 johnpaul - ok Mar 24 06:02:20 johnpaul - ok, got it off the bbb - which part do you want? Mar 24 06:02:34 all of the USB lines and ETH0 lines Mar 24 06:03:17 For USB, you should see : Mar 24 06:03:21 iface usb0 inet static Mar 24 06:03:24 address 192.168.7.2 Mar 24 06:03:29 netmask 255.255.255.0 Mar 24 06:03:32 network 192.168.7.0 Mar 24 06:03:34 gateway 192.168.7.1 Mar 24 06:06:28 johnpaul - yeah, that's exactly what mine says, here's the gist — https://gist.github.com/faddah/cbd9e7e1a8ca8b840193 Mar 24 06:06:51 great Mar 24 06:07:15 faddah, it looks like the person helping you was suggesting to use an Ethernet cable to your chromebook from BBB Mar 24 06:07:24 Do you have an ethernet slot on your Chromebook? Mar 24 06:09:45 i have an adaptor that goes from USB to ethernet Mar 24 06:10:24 johnpaul - i just wish i knew the ChromeOS better to know what to switch on or off to make the bridging work from USB Mar 24 06:10:48 ChromeOS is a pain - it is not intended for this Mar 24 06:11:06 I support chromeos on a daily basis. it sucks for this type of work Mar 24 06:11:11 johnpaul - again, that sounds like a challenge! Mar 24 06:11:39 On your Chromebook, what do you see for network devices? Mar 24 06:11:50 run ifconfig, you will see wlan0, lo, etc. Mar 24 06:15:17 johnpaul - on Chromebook, eth0, lo & wlan0 (wlan0 is my wifi/internet connection, what i wish to bridge thru usb( Mar 24 06:15:20 ) Mar 24 06:16:42 johnpaul - want me to add that all to the gist? Mar 24 06:18:50 faddah, nah, just type the interface names Mar 24 06:18:58 wlan0, lo, eth, etc. Mar 24 06:19:01 there should be less than 5 Mar 24 06:19:16 faddah, Ah i see it Mar 24 06:19:28 faddah, is your USB to ethernet plugged in? Mar 24 06:20:01 faddah, also, is the USB of the BBB plugged into the chromebook? Mar 24 06:23:43 johnpaul - no usb to ethernet plugged in. yes, the usb of the bbb is plugged into the chromebook, and it also has that loooooong ethernet cable going to the home routher Mar 24 06:23:48 router, pardon. Mar 24 06:24:15 faddah, can you, from the chromebook, ping 192.168.7.2? Mar 24 06:25:40 faddah, also, yes, can you post the chromebook' Mar 24 06:25:49 faddah, chromebook's ifconfig in gist Mar 24 06:26:21 faddah, *after* you plug the usb to ethernet Mar 24 06:26:25 johnpaul - yup, i can ping 192.168.7.2: 8 packets transmitted, 8 received, 0% packet loss, time 7000ms rtt min/avg/max/mdev = 0.196/0.328/0.430/0.086 ms Mar 24 06:27:26 johnpaul - usb to ethernet adaptor plugged in (but no ethernet in it, yet) Mar 24 06:28:00 faddah, okay, with the usb ethernet plugged in, get ifconfig from chromebook and then post to gist Mar 24 06:28:18 also, that 192.168.7.2 address is your beaglebone :) you could SSH to that directly - no debug calbe Mar 24 06:28:40 johnpaul - yes, that is what i am doing right now to ssh into the bbb Mar 24 06:29:19 okay, just making sure Mar 24 06:29:47 johnpaul - ifconfig from Chromebook with USB to Ethernet adaptor plugged in now added to bottom of previous gist: https://gist.github.com/faddah/cbd9e7e1a8ca8b840193 Mar 24 06:31:48 faddah, is your usb ethernet from good way ind? Mar 24 06:32:35 johnpaul - is good way ind a brand? mine is from belkin Mar 24 06:33:48 Hmm, interesting - your eth0 is the beagleone and eth1 is probably your USB, its MAC address points to good way Mar 24 06:34:07 faddah, http://www.goodway.com.tw/ca/product2.asp?listid=4&id=21&subid=87 Mar 24 06:39:35 faddah: feel free to edit the wiki on elinux Mar 24 06:39:44 faddah: or provide better docs Mar 24 06:40:09 faddah: the BBB is a hobby effort for most people, i am not even sure if anyone is stil paid to work on it Mar 24 06:41:12 KotH i wouldn't know yet what to begin to edit until i can make it work. Mar 24 06:41:30 faddah: writing docs is the best way to learn stuff :) Mar 24 06:41:50 +1 to that Mar 24 06:42:19 faddah, you may be able to run the commands that william offered originally, just replacing the usb0 with eth0 in the second command Mar 24 06:42:33 try that, and let me know when you've run it Mar 24 06:51:50 johnpaul - not the wlan0, because that's the wifi that works that i want to bridge? Mar 24 06:52:18 faddah, Instead of usb0 in the commands he gave, do eth0 Mar 24 06:52:22 johnpaul - and here is my adapter, it's a _belkin_, not a good way, though they look identical - http://www.bestbuy.com/site/belkin-usb-2-0-ethernet-network-adapter/5559526.p?id=1218661382146 Mar 24 06:52:56 johnpaul - should i unplug the ethernet from the home router to the bbb first? Mar 24 06:53:24 nah Mar 24 06:56:17 johnpaul - ok, so not usb0, but eth0, but not the eth1 (usb adapter) or wlan0 (wifi)? Mar 24 06:56:52 faddah, Use the same 3 commands he provided, but replace the 'usb0' with 'eth0' Mar 24 06:57:15 johnpaul - ok, and i'm doing this on the Chromebook, not the bbb, right? Mar 24 06:57:22 on the chromebook, correct Mar 24 06:59:59 johnpaul - here goes... Mar 24 07:03:41 faddah: i'm surprised that you are still at it, 10h later Mar 24 07:03:48 faddah: +1 for persistence Mar 24 07:03:54 KotH - i've taken breaks Mar 24 07:03:58 still :) Mar 24 07:04:01 johnpaul - ok, i did that as super user (su). now how do i test it? do ifconfig on the bbb? Mar 24 07:04:16 Yep, lets get that output Mar 24 07:05:56 johnpaul - added it to the bottom of the gist. Mar 24 07:05:58 https://gist.github.com/faddah/cbd9e7e1a8ca8b840193 Mar 24 07:06:51 okay, lets unplug the ethernet from the BBB Mar 24 07:06:56 and then try to ping google.com Mar 24 07:06:59 from the BBB Mar 24 07:07:47 faddah, not sure this will even work. its my last try :P I am going to bed since I work in a few hours Mar 24 07:08:25 johnpaul - understood. if you think of anything, just add it to the google group thread Mar 24 07:08:41 johnpaul - unplugging ethernet from bbb & pinging... Mar 24 07:08:45 faddah, okay sounds good. Mar 24 07:09:45 johnpaul - yeah, still not working: "ping: unknown host google.com" Mar 24 07:10:10 fun Mar 24 07:10:23 johnpaul - oh yeah, endless loads of fun Mar 24 07:10:41 well, best of luck with that. apart from getting a wifi card, i am not sure, unless you go with a full computer :P Mar 24 07:13:08 johnpaul - sorta defeats the purpose, but thanks for everything. we shall tilt at windmills another day. Mar 24 07:13:27 johnpaul KotH - i do appreciate all the help Mar 24 07:13:49 ./etc/resolv.conf set up?! Mar 24 07:15:31 stt_michael - is that a question or a suggestion to someone else? Mar 24 07:16:23 faddah: it's a suggestion for you Mar 24 07:16:25 :) Mar 24 07:16:43 /etc/resolv.conf contains the list of dns servers to use Mar 24 07:17:02 add a line "nameserver 8.8.8.8" in there Mar 24 07:18:06 also, ping 8.8.8.8 should work Mar 24 07:18:27 if you dont get pongs, then your network connection is broken Mar 24 07:18:46 (or the NAT on the chromebook) Mar 24 07:26:32 KotH - do i add in /etc/resolv.conf just 8.8.8.8, or nameserver 8.8.8.8 ? Mar 24 07:27:01 sorry .. shouldn't do 'drive-by' troubleshooting :P Mar 24 07:27:03 :) Mar 24 07:30:03 KotH - well, added it, but now it's not pinging anything. oh well, time for bed. thanx for help, all! thanks KotH & johnpaul Mar 24 07:37:59 sleep well Mar 24 08:16:57 we are using TPS65217C to power sitara processor Mar 24 08:18:47 and? Mar 24 08:18:47 boards worked fine for some time . now we observed that SYS_5V is falling down to 1.1V , we are struggling with this problem for long time , request the experts suggestions and comments on the same Mar 24 08:19:05 ask Gerald on the mailing list Mar 24 08:19:11 few people here build their own boards Mar 24 08:19:43 Using TPS65217c to power sitata processor Mar 24 08:19:47 yes Mar 24 08:19:50 you said that Mar 24 08:19:53 ... and kick .. :D Mar 24 08:21:20 av500, guessing gerald doesn't visit here :) Mar 24 08:22:17 no, he does real work Mar 24 08:22:53 any suggestions and solutions from board design guys would be appreciated Mar 24 08:23:13 Guest77452: can you read? Mar 24 08:25:00 maybe not Mar 24 08:25:40 we are clueless to find solution for this critical bug Mar 24 08:25:50 [09:19] ask Gerald on the mailing list Mar 24 08:25:51 [09:19] few people here build their own boards Mar 24 08:25:55 did you read that? Mar 24 08:26:08 ok Mar 24 08:26:50 also, ask your TI support personel Mar 24 08:33:59 TI People we already approached, not able to provide right solution Mar 24 08:38:40 well, since many beaglebones work just fine, you must have done something different Mar 24 08:40:11 No we also used same design for TPS65217C with out any changes Mar 24 08:40:32 well, something is different Mar 24 08:40:39 obviously Mar 24 09:15:40 there are many ways to fuck up the power supply of an SoC.... Mar 24 09:27:46 KotH, what like accidentally spilling red bull over it while its running Mar 24 09:29:10 i've never tried that, but i guess it would work Mar 24 09:29:27 it worked well with coke Mar 24 13:43:06 hi! Mar 24 13:43:10 anyone there? Mar 24 13:43:25 I'm looking for a camera for the Beaglebone Mar 24 13:43:36 USB camera is too slow Mar 24 13:44:10 what kind of camera? Mar 24 13:44:17 and what would you do with the image data? Mar 24 13:46:34 I want to make image processing Mar 24 13:46:37 using OpenCV Mar 24 13:46:59 you are aware that the cortex A8 is not the fastest to do that? Mar 24 13:47:23 did you try it with some test images? Mar 24 13:47:35 you dont need a camera at all for a performance test Mar 24 13:48:53 I did some testing with a C920 logitech Mar 24 13:49:07 I work in indistrial automation Mar 24 13:49:23 I want some unexpensive inteligent camera Mar 24 13:49:36 yes I know, that doesn't exit... :-) Mar 24 13:49:37 the BBB has no cam interface at all Mar 24 13:49:49 there is only USB or GPMC Mar 24 13:49:56 I started using the Beaglebone for some testing Mar 24 13:50:00 then you need some adapter glue logic to a camera Mar 24 13:50:09 and I'm trying out POWERLINK bus Mar 24 13:50:16 it looks like working ok Mar 24 13:50:30 so I can interface with B&R automation PLCs and stuff Mar 24 13:50:41 I found this camera cape: Mar 24 13:50:51 BeagleBone Black Accessory, HD Camera Cape w/Removable Lens and Extension Cable Mar 24 13:51:11 here: Mar 24 13:51:11 https://ex-en.alliedelec.com/ Mar 24 13:51:25 Mfr. Part#: 703-1-00035 Allied Stock#: 70372344 Mar 24 13:51:28 yes Mar 24 13:51:37 anyone tryed this one? Mar 24 13:51:43 not that I know Mar 24 13:51:52 humm... ok Mar 24 13:52:03 I can't find it in europe Mar 24 13:52:14 shipping expenses are high from the US Mar 24 13:53:19 I tryed some of the examples with a USB C920 logitech but the frame rate is low Mar 24 13:54:38 low why? Mar 24 13:54:44 what resolution? Mar 24 13:54:49 I'll post in the forums this question to see if anyone knows about it Mar 24 13:55:01 thanks, good bye! Mar 24 13:55:16 what? Mar 24 13:55:30 what waht? Mar 24 13:55:39 ah the framerate was around 3 or four Mar 24 13:55:48 why? Mar 24 13:55:50 but there was a delay of 3 seconds Mar 24 13:56:01 from the displayed image Mar 24 13:56:08 3 fps with usb? Mar 24 13:56:17 thats odd Mar 24 13:56:21 pedro_nf: what resolution? Mar 24 13:56:22 yeah and some OpenCV processing Mar 24 13:56:33 pedro_nf: so you dont know if the low fps is due to the camera Mar 24 13:56:35 or the openCV? Mar 24 13:56:37 right? Mar 24 13:56:38 it was probably the OpenCV processing Mar 24 13:56:46 yeah Mar 24 13:56:50 so how does another camera help there? Mar 24 13:56:57 just the camera I should have around 20FPS Mar 24 13:57:14 so? Mar 24 13:57:14 well, the cape does DMA Mar 24 13:57:15 so how does another camera help there? Mar 24 13:57:30 so it is probably faster Mar 24 13:57:40 opencv is faster Mar 24 13:57:41 right Mar 24 13:57:44 its not the low frama rate Mar 24 13:57:45 only change the gw Mar 24 13:57:48 hw Mar 24 13:57:51 frame rate Mar 24 13:57:56 its also the delay Mar 24 13:58:01 good luck Mar 24 13:58:05 the image I see is 3 seconds late Mar 24 13:58:09 why? Mar 24 13:58:14 due to the camera? Mar 24 13:58:16 I don't know... Mar 24 13:58:18 or the processing? Mar 24 13:58:27 av500 he do not want to find out Mar 24 13:58:31 let him try Mar 24 13:58:31 don't know if its the display only or the camera Mar 24 13:59:00 or the processing Mar 24 13:59:15 ho so you let me try? thanks! Mar 24 13:59:27 you can do as you please Mar 24 13:59:27 I just want to discuss this with others Mar 24 13:59:30 suree Mar 24 13:59:36 we are discussing :) Mar 24 13:59:41 discuss my fondings Mar 24 13:59:51 yes we are but there is some noise :-) Mar 24 13:59:52 yes Mar 24 13:59:59 findigs Mar 24 14:00:00 so we know you have a low fps Mar 24 14:00:08 but you cannot say if its the camera Mar 24 14:00:10 or the openCV Mar 24 14:00:16 so, do more tests :) Mar 24 14:00:22 .o(its opencv) Mar 24 14:00:23 yes the low frame rate is also due to OpenCV processing no dout Mar 24 14:00:31 but musb will crash the board anyway Mar 24 14:00:45 sooner or later Mar 24 14:00:48 but what I don't know is why the delay Mar 24 14:01:12 if I put my hand in the image I will see it after 3 seconds Mar 24 14:01:34 and for my automation project that is too slow Mar 24 14:01:39 probably some buffering somewhere Mar 24 14:01:47 I am sure the USB camera does not store 3s of video Mar 24 14:02:02 there are apps that just grab usb cam video Mar 24 14:02:03 yeah you have a point there Mar 24 14:02:08 test withthat Mar 24 14:02:25 I'll have to spend more time testing this... Mar 24 14:02:25 or write a simple opencv that does only grab(); display(); goto 10 Mar 24 14:02:35 yeah I did this Mar 24 14:02:44 the 3 second delay is always there Mar 24 14:02:48 why you did not tell us Mar 24 14:02:52 the framerate goes up Mar 24 14:03:01 ho sorry.... Mar 24 14:03:15 I'm getting mixed up... Mar 24 14:03:21 the facts: Mar 24 14:03:27 could still be opencv buffering Mar 24 14:03:30 try some other app Mar 24 14:03:38 with some opencv processing = 2 FPS Mar 24 14:03:51 well, then you dont need to worry about another camera Mar 24 14:03:52 just OpenCV grbbing = 20FPS Mar 24 14:04:07 but always 3 second delay from real time image Mar 24 14:04:07 opencv is the bottleneck Mar 24 14:04:13 yes, you said that Mar 24 14:04:19 humm ok Mar 24 14:04:21 another cam wont help for that Mar 24 14:04:30 until you find out where that delay happens Mar 24 14:04:35 so oyu think this is an open cv buffering issue? Mar 24 14:04:49 maybe Mar 24 14:05:10 ok, I'll continue my testing in that direction Mar 24 14:05:34 I was expecting that some of you guys would have tryed it before :-) Mar 24 14:05:36 agreed Mar 24 14:05:54 and would tell me: you have this solution to fix it! Mar 24 14:05:58 no, we just know what has to be done, we dont do it :) Mar 24 14:06:00 we're lazy Mar 24 14:06:02 I'm a dreamer :-) Mar 24 14:06:21 we let others do the work Mar 24 14:06:26 hehehehehe Mar 24 14:06:42 I saw that maybe the raspberry pi is better for image processing Mar 24 14:06:52 but I like the Beaglebone Mar 24 14:07:01 rpi is slower Mar 24 14:07:03 rpi2 is faster Mar 24 14:07:10 and both have a cam interface Mar 24 14:07:17 image playback, ,yes, processing, not so much Mar 24 14:07:49 rpi2 has a quadcore, no idea of opencv can haz multithreaded Mar 24 14:08:03 well I'll check it out about this image delay, I'll let you guys know my fondings Mar 24 14:08:12 findings Mar 24 14:08:22 thanks for your time av500 Mar 24 14:08:37 and the others Mar 24 14:08:41 an rpi2 has a not so crashing usb stack Mar 24 14:09:08 heh, ther's always that Mar 24 14:09:08 humm... are you saying the beagle USB stack sucks? ;-) Mar 24 14:09:52 it get saturated easily Mar 24 14:10:11 ok... is it hardware ? or software? Mar 24 14:10:28 both Mar 24 14:10:39 gulps... Mar 24 14:10:43 ok ok Mar 24 14:10:57 the hw ip has problems Mar 24 14:11:08 and the kernel does not workaround all the problems Mar 24 14:46:13 sir what is the use of mux mode Mar 24 14:51:51 we have sirs here ? Mar 24 14:54:40 hi guys i took my beaglebone black to work so i could play around with it and not be bored. i decided to flash another image to the emmc and also to a microsd card. booting from both and my ethernet does not come up Mar 24 14:55:04 i do not have a serial cable nor usb cable to connect to the beaglebone black and see what is happening during boot Mar 24 14:55:10 not until i go home Mar 24 14:55:31 Then you shall have to wait :) Mar 24 15:00:13 would there be anything that would just affect the ethernet port? I used it fine this morning and had it running all night Mar 24 15:48:09 mistawright different dtb/kernel could treat the ethernet differently Mar 24 16:02:44 hello I want to know /dev/mam in BBB. Ultimately I need to do gpio interfacing in my posix system through mmap. But "Unable to open /dev/mem" in my BBB. Can anyone help for finding possible reasons . Mar 24 16:02:52 and if possible solution Mar 24 16:03:41 the use of /dev/mem is frowned upon Mar 24 16:03:44 dont use it Mar 24 16:03:48 use the gpio interface Mar 24 16:05:58 ok KotH but I have done register mapping of all the needed registers and want to implement inti() function Mar 24 16:06:09 you need to be root maybe? Mar 24 16:08:15 av500 I am booting my image through uboot Mar 24 16:08:23 so I think it is not needed Mar 24 16:09:27 KotH I have taken reference of https://github.com/ehayon/BeagleBone-GPIO/blob/master/src/gpio.c Mar 24 16:10:32 the good thing about OSS is that you can find code snippets for almost all problems, the bad side of it is, that you find very bad solutions as well, with no warnings attached Mar 24 16:13:01 so KotH what are the possible solutions? Mar 24 16:13:43 use the user space gpio interface of the kernel Mar 24 16:14:06 if you need faster bitbanging, then you should rething whether you are really solving the right problem Mar 24 16:14:37 if you come to the conclusion, that you need to do it that way, you should write a kernel driver Mar 24 16:15:08 the kernel provides lots of interfaces to deal with gpio in a very fast way, without the need to access mmaped registers in a very fragile way Mar 24 16:16:00 ya thats what I am doing "writing kernel driver" But I am new to this field. So want to know possible options of mmap Mar 24 16:16:17 using mmap is not writing a kernel driver Mar 24 16:16:22 that's user space Mar 24 16:16:34 ok Mar 24 16:16:46 using mmap should be only a last resort thing, if all other options were exhausted Mar 24 16:16:58 if you dont know how to write kernel drivers, read ldd3 Mar 24 16:17:03 it explains it very well Mar 24 16:17:16 ok lem me do Mar 24 16:17:18 that Mar 24 16:17:59 thanks KotH Mar 24 16:18:02 np Mar 24 16:27:04 pedro_nf, you can use a easyCAP usb device to capture analog video with VLC, but you will have some latency. Mar 24 16:28:32 You can get a decent cctv cam for $20 and easyCAP for $10. 800x420 res but, BBB can't crunch hidef images in reasonable time anyways. Mar 24 17:08:43 Anyone recorded video from /dev/fb0 ?? Mar 24 17:44:18 ok guys i went home and tried booting my beaglebone black with a serial cable and it keeps saying that the eth0 is not found Mar 24 17:44:41 what would change between me having ethernet working to flashing the emmc with the latest ubuntu image Mar 24 17:48:26 mistawright different dtb/kernel could treat the ethernet hardware differently Mar 24 17:54:32 ill try flashing the emmc with debian and see how that goes Mar 24 19:20:25 hi , someone have this cape http://openhacks.com/page/productos/id/981/title/BeagleBone-Black-Expansion-%28Capacitive%29-5-inches#.VRG4-FmYreQ ? Mar 24 21:52:57 Hey all, I am trying to use the UARTS on the BB. I enabled the UART in uEnv.txt and rebooted. When I use 'screen /dev/ttyO4 115200' i get about 5 lines then the BB locks up completely. Anyone else seen this? Mar 24 22:10:02 Hey all, I am trying to use the UARTS on the BB. I enabled the UART in uEnv.txt and rebooted. When I use 'screen /dev/ttyO4 115200' i get about 5 lines then the BB locks up completely. Anyone else seen this? Mar 24 22:23:40 bb_noob, you still in here? Mar 24 22:23:49 yea Mar 24 22:23:58 what device are you connecting to? Mar 24 22:24:04 arduino mini pro Mar 24 22:24:58 bb_noob, have you tried 9600? Mar 24 22:25:13 bb_noob, not sure off the top of my head, but i thought arduino was 9600 Mar 24 22:25:23 you can set baud rates Mar 24 22:25:25 i need 115200 Mar 24 22:25:30 no reason it shouldnt work Mar 24 22:25:37 bb UARTS should be good well past that Mar 24 22:26:47 "Arduino Pro Mini: The serial console baud rate should be set to 9600" Mar 24 22:27:12 Also, another source shows The Arduino Pro Mini board is configured with a 57600 baudrate. Mar 24 22:27:23 ... the device has been set to 115200 for years Mar 24 22:27:39 bb_noob, why not try a different rate for diagnostic sake? Mar 24 22:28:10 found this Mar 24 22:28:11 Serial Debug CrashREV A4, A4A Serial port can cause the system to crash if there is not a serial cable plugged into J1. Mar 24 22:28:22 from: http://elinux.org/Beagleboard:BeagleBoneBlack Mar 24 22:28:39 how do you identify what rev number the board is? is there a label on the board? Mar 24 22:28:44 Which revision of BBB do you have? Mar 24 22:28:50 It is on the side, typically Mar 24 22:29:01 mine is on the right side of P8 Mar 24 22:29:11 (or left, if the ethernet is facing you) Mar 24 22:31:08 like on the edge of the board? Mar 24 22:31:27 Mine has a sticker on the outside of the header on P8 Mar 24 22:31:32 mine has no marking on the edge next to P8 Mar 24 22:31:39 there is a barcode and to the right Mar 24 22:31:50 what does your sticker say? Mar 24 22:31:50 Hmm, which processor do you have? Mar 24 22:32:01 the serial number and A6A Mar 24 22:32:08 so revision A6A Mar 24 22:32:17 let me take my cape off Mar 24 22:32:48 i have a barcode that reads '0015132937469' Mar 24 22:33:04 AM335x processor Mar 24 22:33:21 nothing else on the barcode? Mar 24 22:33:26 or near the edges? Mar 24 22:33:27 nope =( Mar 24 22:33:55 cat /sys/devices/bone_capemgr.9/slots Mar 24 22:33:59 cat /sys/devices/bone_capemgr.*/slots Mar 24 22:34:54 also, what does stty -F /dev/ttyO4 say? Mar 24 22:35:56 0: 54:PF--- 1: 55:PF--- 2: 56:PF--- 3: 57:PF--- 4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G 7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART1 8: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART2 9: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART4 10: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART5 Mar 24 22:36:24 You probably have the A6A Mar 24 22:36:35 stty -F /dev/ttyO4 speed 9600 baud; line = 0; -brkint -imaxbel Mar 24 22:36:56 which i think is default Mar 24 22:37:06 when you tell screen 115200 it will switch the baud Mar 24 22:37:34 is the arduino just outputing a ton of data? Mar 24 22:37:43 yup Mar 24 22:37:46 You could use stty to change the settings and then try cat Mar 24 22:37:57 only rx Mar 24 22:38:21 k so i did screen 115200 Mar 24 22:38:28 and now stty reads: Mar 24 22:38:33 speed 115200 baud; line = 0; kill = ^H; min = 100; time = 2; -icrnl -imaxbel -opost -onlcr -isig -icanon -echo Mar 24 22:38:38 okay Mar 24 22:38:46 kill the screen and try to use cat /dev/ttyO4 Mar 24 22:38:59 i just disabled UART0 in uEnv Mar 24 22:39:15 Okay, UART5 is ttyO4 Mar 24 22:39:47 you sure? Mar 24 22:39:59 ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART5 Mar 24 22:40:02 P8 pins 11 and 13 Mar 24 22:40:13 ttyO4 is P9_16, Mar 24 22:40:16 P9* Mar 24 22:40:31 err Mar 24 22:40:34 11, 13 Mar 24 22:40:35 yea Mar 24 22:40:43 P9_11, P9_13 Mar 24 22:40:47 1 sec gotta put header back on Mar 24 22:40:49 rx , tx Mar 24 22:41:38 But yea, UART5 = ttyO4 = P9_11(rx) and P9_13(tx) Mar 24 22:41:45 i am using it right now :) Mar 24 22:41:54 what baud? Mar 24 22:42:45 9600, but that is because it is required with the RFID reader that I am using Mar 24 22:43:00 yup screen crashed it again =( Mar 24 22:43:11 the other thing i heard is it will come back if you stop sending data Mar 24 22:43:13 lets try that Mar 24 22:43:28 Why didn't you try cat? Mar 24 22:43:33 cat /dev/ttyO4 Mar 24 22:44:10 As long as stty -F /dev/ttyO4 shows the correct baud and flags: cat /dev/ttyO4 will only get rx to the screen Mar 24 22:44:24 **as far as I know.. :P ** Mar 24 22:44:29 try it next Mar 24 22:44:38 whats the command to set the baud with stty Mar 24 22:45:55 do you have a ttyO0? Mar 24 22:46:26 stty -F /dev/ttyO4 -icanon -icrnl -opost -onlcr -isig -echo Mar 24 22:46:40 Yes, that is what the J1 debug uses Mar 24 22:46:53 Which is at 115200 Mar 24 22:47:20 Whoops, forgot the baud: stty -F /dev/ttyO4 -icanon -icrnl -opost -onlcr -isig -echo 115200 Mar 24 22:47:27 k Mar 24 22:47:32 speed 115200 baud; line = 0; min = 1; time = 0; -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -echo Mar 24 22:47:37 is what i am at now ill cat Mar 24 22:47:51 cat works Mar 24 22:48:05 do i dare try screen? Mar 24 22:48:53 do you have P9_13 going to your Arduino? Mar 24 22:49:23 yes Mar 24 22:49:46 that may be what is crashing it Mar 24 22:49:54 explain Mar 24 22:49:56 is your arduino expecting to receive data via rx? Mar 24 22:50:07 no Mar 24 22:50:08 (i think pin 0?) Mar 24 22:50:14 Well, screen is RX/TX Mar 24 22:50:23 So if you unplug the P9_13 Mar 24 22:50:25 and use screen Mar 24 22:50:29 it will probably work Mar 24 22:50:37 tried it already Mar 24 22:50:41 still breaks Mar 24 22:50:45 my real problem is Mar 24 22:50:55 i have a small python program using pyserial Mar 24 22:50:57 to log the data Mar 24 22:51:00 it crashes it Mar 24 22:51:06 is what I want to work Mar 24 22:51:22 pyserial is trying to log the data coming from P9_11/Arduino? Mar 24 22:51:29 yes Mar 24 22:51:48 serial.Serial( port = '/dev/ttyO4', baudrate=115200, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, timeout=0.001, xonxoff=0, rtscts=0, interCharTimeout=None ) Mar 24 22:52:40 not too familiar with how pyserial works. I have been learning termios for C++ Mar 24 22:56:52 k Mar 24 22:56:53 i think its Mar 24 22:56:58 in the options you set Mar 24 22:57:13 any ideas? if i do stty -F /dev/ttyO4 115200 Mar 24 22:57:18 then cat /dev/ttyO4 Mar 24 22:57:20 it crashes Mar 24 22:57:25 but before if i set those other options Mar 24 22:57:26 it worked Mar 24 22:58:19 stty -F /dev/XYZ raw -echo always works for me Mar 24 22:59:22 You probably need echo. Raw will work too Mar 24 23:00:59 depends whether you're sending data whether you need 'echo' :) Mar 24 23:01:01 raw echo works Mar 24 23:01:16 'raw' sets a bunch of stuff though Mar 24 23:01:39 ^ Mar 24 23:01:59 could i just open /dev/ttyO4 as a file in python instead of using pyserla Mar 24 23:03:49 bb_noob .. how would you know what baud rate/etc was set up? Mar 24 23:03:56 set it with stty before Mar 24 23:04:12 shit nvm.. Mar 24 23:04:20 f = open('/dev/ttyO4','r') Mar 24 23:04:21 crashes Mar 24 23:04:42 Any errors? Mar 24 23:04:53 when i say crashes Mar 24 23:04:55 i mean the BB locks up Mar 24 23:05:00 and nothing in logs after i reboot Mar 24 23:05:39 How are you running the python file? Mar 24 23:06:08 how do you know its locked .. do the LEDs stop flashing? Mar 24 23:07:04 LEDs go solid Mar 24 23:07:09 and it doesnt respond to anything Mar 24 23:07:16 just python on command line Mar 24 23:07:17 all LEDs? Mar 24 23:07:19 and then type that command Mar 24 23:07:21 f = open('/dev/ttyO4','r') Mar 24 23:07:26 Are you running it with su? Mar 24 23:07:45 no Mar 24 23:07:48 seems strange it locks up Mar 24 23:08:03 try doing sudo su, and then python Mar 24 23:08:21 yea I don't understand veremit Mar 24 23:09:31 although a clean reboot might help :) Mar 24 23:09:41 crashing is never healthy Mar 24 23:10:01 was doing this before Mar 24 23:10:08 i reflashed the whole thing with the latest debian image Mar 24 23:10:22 maybe just a new BB? Mar 24 23:13:12 bb_noob, idk if a new bb wil solve the problems Mar 24 23:18:10 a serial connection at 115200 baud is pretty simple Mar 24 23:18:14 it shouldnt crash the whole system Mar 24 23:37:26 Link to latest NAND flash for BB c5? Mar 24 23:58:39 hi again all, hi johnpaul, veremit, KotH, SpyKu Mar 24 23:58:52 Hiya faddah Mar 25 00:01:25 so the person helping me, or not as the case may be, over on the beagleboard.org forums, has given up and said it's a Chromebook problem, he can't help me with bridging internet via USB from the Chromebook (with linux underneath) to the beaglebone black rev. c. i have one last question before i take this to a Chromebook channel here on freenode irc -- has anyone else had problems with any other flavors of linux bridging internet over Mar 25 00:01:26 to the beaglebone? Mar 25 00:07:03 anyone see something like that with any other linux boxes? Mar 25 00:08:03 How are your network settings?? Mar 25 00:09:31 SpyKu on which? the Chromebook or the bbb? Mar 25 00:09:45 both. Mar 25 00:13:05 Chromebook is set and gets great wifi with its simple network settings, and i can even get it over on my crouton vm of ubuntu linux (what i'm chatting to you now on via XChat). the bbb can get internet if i plug an ethernet cable from it to our home router, but that is messy (loooooong ethernet cable, router far away, roommates can trip on it). what _specific_ settings are you asking about, SpyKu? Mar 25 00:13:30 SpyKu - i just can't get the Chromebook to bridge its internet over to the bbb via usb. Mar 25 00:17:12 ifconfig with the bbb? Mar 25 00:17:32 I'm not too experienced with linux BTW Mar 25 00:19:04 SpyKu - yes, i went through all this last night with johnpaul and veremit and others. i don't want to rehash the many times we re-did the ifconfig on both the Chromebook and the bbb. i just would like my question answered, please — has anyone else seen other flavors of linux have problems bridging internet to the bbb via usb? Mar 25 00:24:21 I honeslty don't know :/ Mar 25 00:25:53 Do this http://robotic-controls.com/learn/beaglebone/beaglebone-internet-over-usb-only Mar 25 00:26:25 oh well. thanks anyway. anyone else connect beaglebone to a generic linux box? if so, did it automatically bridge internet over usb? Mar 25 00:27:01 You need to setup iptables to share the host internet connection with the BBB Mar 25 00:27:09 do what it says in the link I posted above Mar 25 00:27:10 faddah: I've done it many, many times. It doesn't automatically bridge. It does automatically show up as a net device. Bridging is fairly simple. Mar 25 00:27:41 ahh mastiff found the commands :) Mar 25 00:27:53 That's interesting hmmm Mar 25 00:27:56 btw, it CAN'T automatically bridge because that requires permissions/settings on the Linux host machine. Mar 25 00:28:49 change them in /etc/network/interfaces? Mar 25 00:29:14 or wherever? Mar 25 00:30:23 no it requires root/sudo to set the iptables on the host machine, so BBB can't do it automatically Mar 25 00:32:03 jkridner & mastiff - thank you, i will check out the instructions. jkridner - how did you get it to bridge? following same instructions mastiff just posted? Mar 25 00:32:16 pretty much the same Mar 25 00:32:31 jkridner & mastiff - ok, will check it out. Mar 25 02:19:40 ; Mar 25 02:23:11 anyone have problems with wi-fi usb adapter just not working randomly? Mar 25 02:29:44 Eh, think it is a hardware issue with my version - [ 54.573682] libphy: PHY 4a101000.mdio:01 not found Mar 25 02:29:44 [ 54.578785] net eth0: phy 4a101000.mdio:01 not found on slave 1 Mar 25 02:30:03 rebooting a couple times seems to fix it **** ENDING LOGGING AT Wed Mar 25 02:59:58 2015