**** BEGIN LOGGING AT Thu Aug 06 02:59:58 2015 Aug 06 06:05:11 clear Aug 06 06:07:16 hello Aug 06 08:29:47 hi all, i build a c ledblink programa for the PRU, and now I'm trying to load with the program with pypruss, but I' getting "*** buffer overflow detected ***: python terminated" Aug 06 08:29:51 any clue on this ? Aug 06 08:51:24 can I use a blackbone black image on blackbone white? Aug 06 08:54:36 black is the new beagle? Aug 06 08:57:41 I guess so, I have white blackbones that I bought couple years ago, now I only find things for beaglebone black Aug 06 08:58:09 I wonder if I can use them on beaglebone white Aug 06 09:04:35 angs: try? :) Aug 06 09:05:00 doubt you can destroy anything Aug 06 09:09:50 julemand101, someone here might already know the answer which would save me a lot of time. Meanwhile, I can work on doing something else Aug 06 09:10:08 if the device trees are different, I guess it shouldn't work Aug 06 10:23:44 Hi - I'm hoping to get PRU access from gcc - I've got a tine program that should initialise things, but it's saying that there are 'no input files' Aug 06 10:23:54 tiny Aug 06 10:52:02 peter___: you know how to compile a program? Aug 06 10:53:41 I'm hoping to use PRUSS from Gcc v 4.6.3, Debian 4.6.3-14, Linux 3.8.13 - is that likely to work? Aug 06 10:54:25 the PRU does not have anything to do with the compiler you use, or the distro Aug 06 10:54:43 and that's not the answer to the question i've asked either Aug 06 10:54:55 again: do you know how to compile a program? Aug 06 10:55:16 KotH - I'm looking at what seems to be a script to run from the Linux command line at https://groups.google.com/forum/#!msg/beagleboard/gqCjxh4uZi0/_uIUD8ZF88QJ Aug 06 10:56:06 KotH - sorry, I got out of sync with you. Yes, I do know how to write and compile C Aug 06 10:56:26 good Aug 06 10:56:37 how much do you know about linux in general and embedded linux specifically? Aug 06 10:59:06 I've been using C running under Unix for years. Gcc is new to me but I can get it to work. Embedded Linux is new Aug 06 10:59:15 ok.. Aug 06 10:59:23 i guess, you are comming from solaris, then? Aug 06 11:00:09 if you dont have a copy the "embedded linux primer" get that Aug 06 11:00:27 the distro you are using does not matter at all Aug 06 11:00:41 what matters is that you are using the right kernel version with the right configuration Aug 06 11:01:32 a good place to start with PRU is http://mythopoeic.org/bbb-pru-minimal/ Aug 06 11:02:01 but be aware that the capemanager is gone (though might return at some point) Aug 06 11:02:23 the other good place to read is http://elinux.org/Ti_AM33XX_PRUSSv2 Aug 06 11:02:39 and i think that's even up to date Aug 06 11:04:32 OK. I'll look at that. You said that the distro doesn't matter - but we're writing in GCC C and we'd like to use the hooks into PRUSS - cf http://elinux.org/Ti_AM33XX_PRUSSv2 Aug 06 11:06:51 we think alike :) The script I'm trying to run to initialise PRU is mentioned there in a link Aug 06 11:18:25 gcc is just a compiler. c is c Aug 06 11:19:22 and unlike commercial compilers it is even mostly sane Aug 06 11:25:50 HI good evng to all !!! Aug 06 11:26:12 Any one can help me Aug 06 11:26:36 about yocto linphone support Aug 06 11:26:49 for beaglebone Aug 06 11:27:11 thank you .. Aug 06 11:33:56 uh, what? Aug 06 11:36:19 tbr: the correct answer would be either "bingo!" or "gesundheit!" Aug 06 11:36:42 gesundheit is always good, i'd take that Aug 06 11:36:43 * tbr hands KotH some swiss chocolate Aug 06 11:36:57 thanks! Aug 06 12:10:12 hi Aug 06 13:56:44 i cannot help, but ask away... Aug 06 14:06:00 hi all, I have loaded bone-debian-7.8-lxde-4gb-armhf-2015-03-01-4gb.img on to microsd. it boots up just fine with user boot, but I cannot boot to this image without holding the user boot button. Is it possible to install and boot from this image on the onboard storage? Aug 06 14:09:02 chapium: you need the equivalent flasher image Aug 06 14:10:28 wmat: ok, I believe I have found it Aug 06 14:11:45 since I'm already booted up, is it possible to flash the emmc from my beaglebone if I were to download it Aug 06 14:14:15 chapium: i'm not sure if you can turn a non-flasher image into a flasher image. Try the mailing list for that one. Robert will know, as he builds those images. Aug 06 14:17:29 ok,ty Aug 06 17:27:20 hi Aug 06 17:35:47 davbren: If you have a question just toss it out there. If no-one responds they either don't know, or are too busy. In my case it'll be the former - I don't know. Only had a BBB for a week. Aug 06 17:48:20 <[Butch]> Quick Cloud9 question: Has anyone seen a continuous stream of "bad session name: devel.XXX" messages when opening a new terminal? Aug 06 17:48:42 [Butch], your tmux is too old... Aug 06 17:48:56 or i mean, cloud9 is too old and tmux is too new.. Aug 06 17:49:26 <[Butch]> rcn-ee: Cool. What's the best way to fix that? Is there an updater for C9? Aug 06 17:49:43 <[Butch]> rcn-ee: It's not controlled by opkg, is it? Aug 06 17:49:43 [Butch], which base os? cat /etc/dogtag Aug 06 17:50:39 <[Butch]> rcn-ee: BeagleBoard.org BeagleBone Debian Image 2014-05-14 Aug 06 17:52:38 <[Butch]> rcn-ee: tmux is 1.9 Aug 06 17:53:07 [Butch], follow these instructions to get the newer repo (repos.rcn-ee.com) http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#W:_GPG_error:_http:.2F.2Fdebian.beagleboard.org_wheezy-bbb Aug 06 17:55:21 <[Butch]> rcn-ee: At which bit should I be looking? Aug 06 17:56:21 <[Butch]> rcn-ee: 2014-05-14 GPG error: Optional enable: http://repos.rcn-ee.com/ ???? Aug 06 17:56:29 [Butch], all 3 sub catagories "2014-05-14 GPG error" Aug 06 17:56:53 the final one will allow you to install c9-core-installer and get a newer cloud9.. Aug 06 17:58:35 <[Butch]> rcn-ee: I had already added the repos, but I guess I hadn't updated c9. Aug 06 17:58:45 <[Butch]> rcn-ee: Thanks for pointing that out! Aug 06 17:59:24 [Butch], no problem, (i also just updated the page about 2 minutes ago and added "c9-core-installer") Aug 06 18:04:07 <[Butch]> rcn-ee: E: Unable to locate package c9-core-installer Aug 06 18:05:02 do you have the repos.rcn-ee.com enabled? https://rcn-ee.com/repos/debian/pool/main/c/c9-core-installer/ Aug 06 18:05:37 <[Butch]> deb [arch=armhf] http://repos.rcn-ee.com/debian wheezy main Aug 06 18:05:37 <[Butch]> #deb-src [arch=armhf] http://repos.rcn-ee.com/debian wheezy main Aug 06 18:07:18 is it complaining about cloud9-installer: sudo apt-get update ; sudo apt-get remove cloud9-installer ; sudo apt-get install c9-core-installer Aug 06 18:07:32 (cloud9-installer was the old 'closed' source branch) Aug 06 18:10:29 <[Butch]> rcn-ee: Thank you. I'm updating now and will uninstall the original package and install the new package. Aug 06 18:11:20 <[Butch]> I also have another question about running bonescript programs from the command line. I apparently can't figure out the right chicken dance to do to get it to work. Aug 06 18:12:29 <[Butch]> rcn-ee: Uninstall failed -- package not installed. Proceeding to install new package. :-) Aug 06 18:45:22 <[Butch]> rcn-ee: The installer is finished, and it looks like it installed cleanly. However, I wasn't able to bring up C9. I'm rebooting and will try it again. Aug 06 18:46:29 [Butch], yeah you need to reboot... haven't figured out how to "reset" systemd socket.. Aug 06 18:47:20 <[Butch]> rcn-ee: OK, that seems to be better. Please refresh my memory as to where the port that it listens on is configured. I need to move it back to port 9000 (3000 is usually used by Ruby on Rails). Aug 06 18:47:43 the cloud9.socket file.. Aug 06 18:49:06 <[Butch]> rcn-ee: Which directory does that live in, please? Aug 06 18:49:20 /lib/systemd/system/ Aug 06 18:50:38 <[Butch]> rcn-ee: Merci mult! Aug 06 18:50:54 <[Butch]> rcn-ee: Once this reboots, perhaps we can takle my other problem, please? Aug 06 18:51:11 <[Butch]> tackle, even Aug 06 18:53:47 <[Butch]> rcn-ee: Cool, now I have a working terminal in C9 again. :-) Thank you! Aug 06 18:54:20 <[Butch]> rcn-ee: Now, back to the command line running of bonescripts problem. Aug 06 18:54:52 <[Butch]> If I create a generic bonescript file in some random directory and try to run it, I immediately get a message that it can't find the library to include. Aug 06 18:55:10 <[Butch]> Presumably I can fix this by setting NODE_PATH, correct? Aug 06 18:55:16 yeap.. Aug 06 18:55:57 export NODE_PATH=/usr/local/lib/node_modules Aug 06 18:56:13 `. /etc/profile.d/node.sh` should also do that.. Aug 06 18:56:48 <[Butch]> Great, I got that far yesterday. Aug 06 18:57:03 <[Butch]> However, when I try to do something that involves GPIO, I get errors. For example: Aug 06 18:57:14 <[Butch]> NODE_PATH=/usr/local/lib/node_modules node simple_flow_sensor_test.js Aug 06 18:57:25 <[Butch]> if(slot[0]) { Aug 06 18:57:26 <[Butch]> ^ Aug 06 18:57:27 <[Butch]> TypeError: Cannot read property '0' of null Aug 06 18:57:40 <[Butch]> Hmmmm, let me gist that. Aug 06 18:57:47 are you root? ;) Aug 06 18:58:37 <[Butch]> Oh frack, that's it. Aug 06 18:58:48 <[Butch]> Sorry, my bad. Aug 06 18:58:49 <[Butch]> I'm an idiot. Aug 06 19:03:49 <[Butch]> rcn-ee: Thank you!!!!! Aug 06 20:07:09 rcn-ee dnsmasq serves dhcp to eth0 Aug 06 20:08:34 we need to add this line to /opt/scripts/boot/autoconfigure_usb0.sh : Aug 06 20:08:48 except-interface=eth0 Aug 06 20:09:37 below except-interfacelo Aug 06 20:09:40 below except-interface=lo Aug 06 20:19:41 cityLights, pushed! thanks Aug 06 20:21:43 by the way in figuring this out, I cause my firms network to go nuts Aug 06 20:22:40 I am seeking advice to connect 4 sensors 20m away from my BBB Aug 06 20:23:18 I consider using CAN bus for this Aug 06 20:27:04 are they CAN sensors? Aug 06 21:45:29 <[Butch]> cityLights: CAN you do it? Aug 06 21:50:43 cityLights, you would need to convert the signals to canbus with a module or some sort, or you would need canbus sensors Aug 06 22:01:57 tlab can you give an example of canbus sensors? Aug 06 22:02:37 I've used pressure and temp canbus sensors Aug 06 22:02:49 they can be hard to find and expensive Aug 06 22:03:01 any url? Aug 06 22:03:08 300+ for pressure sensor Aug 06 22:03:43 just google canbus pressure sensor Aug 06 22:03:49 ok Aug 06 22:04:08 I seek to sense an open-collector pulses Aug 06 22:04:28 so you want analog or digital input Aug 06 22:04:44 you will need a module that converts input to canbus signal Aug 06 22:04:59 you mean a cpu? Aug 06 22:05:08 controller Aug 06 22:05:10 yeah, cpu of some sort Aug 06 22:05:14 like a BBB Aug 06 22:05:27 BBB is expensive .. Aug 06 22:05:29 so you could use two BBB with canbus to comunicate Aug 06 22:05:47 BBB is cheap compared to commerical stuff Aug 06 22:09:06 probably a better cheaper way than canbus Aug 06 22:11:44 cityLights, maybe this will help? http://electronics.stackexchange.com/questions/55274/transmitting-5v-signal-over-a-long-cable Aug 06 22:34:19 thanks tlab Aug 07 00:54:49 BBB expensive? o.O BBB is ridiculously dirt cheap Aug 07 00:55:24 its double the price of a pi .. :p Aug 07 00:55:52 but its pretty good value :) Aug 07 01:01:23 pi and bbb are both implausibly cheap Aug 07 01:03:36 yes **** ENDING LOGGING AT Fri Aug 07 02:59:58 2015