**** BEGIN LOGGING AT Wed Aug 12 02:59:59 2015 Aug 12 04:43:24 hey guys, what would be the reason why companies are picking raspberry of beaglebone for Internet of Things? Aug 12 04:43:44 is it because rpi is cheaper? Aug 12 07:40:33 hi all, any idea why I can't write to a padconf register on BBB ? Aug 12 07:40:41 ./devmem2 0x44e10834 b 0x2f Aug 12 07:40:51 Written 0x2F; readback 0xE Aug 12 07:41:24 I'm trying to write to conf_gpmc_ad13 Aug 12 07:43:28 don't f*ck with /dev/mem directly Aug 12 07:47:43 that's what she said! Aug 12 07:48:34 tbr, my problem is that for a program i'm doing for the PRU need to change the mux of this pin from input (mode 7) to ouput (mode 6) and viceversa, and I saw that is not working, tried with devmem2 and doesn't work, I just want to know the reason as i suspect is the same problem Aug 12 07:48:47 maybe i need to enable some clock ? Aug 12 07:49:58 you might want to read the relevant kernel code... Aug 12 10:14:33 hmm, there isn't anything relevant in kernel code nor u-boot code, odd Aug 12 11:05:31 hi Aug 12 11:17:31 thanks for the support, found why I can't change the mux using devmem2, but this doesn't explain why I can change the mux using the PRU, fyi, i posted a new thread in e2e forum Aug 12 11:17:32 https://e2e.ti.com/support/arm/sitara_arm/f/791/p/445028/1597702#1597702 Aug 12 12:32:52 problems with RTL8188/8192 fixed as well by kernel update to 4.1.4...everyhing looks nice now. :-) Aug 12 14:09:37 Hi, i'm actually building my kernel for a project with my beaglebone back, where should i look to modify default pinmux at boot for production use? (no overlay!) Aug 12 14:12:25 without DT? is there such dewfault thing in kernel? Aug 12 14:15:09 dunno about the bbb but the older beagleboards, muxing can also be done in MLO/uboot.. I assume it can still be done there with the bone Aug 12 14:16:57 you can still do everything without DT Aug 12 14:17:04 just write the board files as you used to Aug 12 14:17:14 but make sure you disable anything DT related Aug 12 14:17:46 and lots of bandaid when the bullet you just fired hits your feet Aug 12 14:29:50 Thanks, but can we modify the "source" DT (am335X_*.dtsi) ? or something like that ? Aug 12 14:33:50 https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/univ-all-00A0.dts Aug 12 14:34:21 i don't know if that's the correct one or even if that is even in use, i just happened to have that directory open :) Aug 12 14:36:12 but this one is an "overlay" :/ Aug 12 14:36:14 fragment@0 { target = <&am33xx_pinmux>; __overlay__ { Aug 12 14:37:04 i don't want the kernel use overlay on boot to prevent current pink or other risk when the board boot Aug 12 14:58:04 Hi, working on BBB can I remove everything related to DT and use MLO to setup pinmux at boot ? If yes how can I be sure to remove device tree without "brick" the board ? I just want to remap GPIO, without using overlay Aug 12 14:59:16 (I assume this is done at kernel build but how to be sure to replace DT with a default mapping from MLO and allow the board to boot) Aug 12 17:07:14 paco__: Look in arch/arm/boot/dts. am335x-bone-common.dtsi, am335x-boneblack.dts Aug 12 17:09:48 paco___: A better idea than modifying is probably to make your own DTS file that includes am335x-bone-common. You can also set up GPIO pinmux in u-boot as long as it doesn't get overridden by anything in the DT. board/ti/am335x/mux.c Aug 12 17:23:36 Hi, are here some responsible person for the copyright of pictures available? Aug 12 17:24:06 i want to put a picture of a beaglebone in my bachelor thesis Aug 12 17:24:41 maybe jkridner? Aug 12 17:25:10 Fallaffe: images on http://beagleboard.org are mostly available under CC-BY-SA... Aug 12 17:25:29 so, you just need to make sure you credit us and if you do derivatives, we need rights back to them. Aug 12 17:28:36 of course you will member in my register, that you have the copyrights about the picture Aug 12 17:28:48 *mentioned Aug 12 17:30:22 thank you, for your consent Aug 12 17:59:54 cool, I ordered from Mouser yesterday ups gnd and it just arrived :) Aug 12 18:06:00 hello every one Aug 12 18:06:39 has anyone here tried to install Drivers for BBB on windows 10? Aug 12 18:07:42 it should be similar as for the other windows versions. you might need to deal with the signature problems Aug 12 18:08:17 thanks for the quick answer. Aug 12 18:08:33 but, it's not I'm getting errors. Aug 12 18:09:11 How should I deal with signature Problems? Aug 12 18:12:37 if some one could fix it please let me know, my email is amirNouriNia@gmail.com Aug 12 18:13:12 Thanks in advance Aug 12 18:54:21 <[Butch]> Quick question: Has anyone done anything with iBeacon? Aug 12 18:58:15 Can you be a bit more vague? Aug 12 18:58:57 It's helpful if you can give less detail about what you're trying to accomplish or learn, as if you give any information at all, people's responses might be relevant. And we can't have that. Aug 12 19:00:04 sarcasm is oh so helpfull to Aug 12 19:00:09 too Aug 12 19:00:13 <[Butch]> myslef: It's not clear to whom your message is intended. If me, I'm sorry for not providing much information -- I'm just delving into iBeacon and don't know all the right questions to ask yet. Aug 12 19:01:13 <[Butch]> myself: It's not clear to whom your message is intended. If me, I'm sorry for not providing much information -- I'm just delving into iBeacon and don't know all the right questions to ask yet. Aug 12 19:01:25 <[Butch]> [Sorry, can't type apparently.] Aug 12 19:02:29 okay, so iBeacon is a BT LE tag. How's it relate to Beagle-anything? Aug 12 19:20:32 <[Butch]> myself: If the tag comes within range of a BBB, the BBB can do something. Aug 12 19:24:30 [Butch]: But that is true of any computer with the appropriate listening hardware. SInce iBeacon is not something the bone natively talks, I doubt this is the most-appropriate venue for such questions. Aug 12 19:26:33 <[Butch]> Right. Aug 12 19:27:01 For that purpose, the bone is jsut another Linux machine. Aug 12 19:28:09 <[Butch]> Please to forget I asked. I really didn't come here to start an argument. Aug 12 19:40:28 [Butch]: WHo is arguing? I am just trying to help you learn. Aug 12 19:44:32 <[Butch]> agmlego: It is often times easier to ask a question in a specific venue for a problem you are facing (building an iBeacon node on a BBB) rather than a more general one. Often times you get much better quality information faster. Aug 12 19:46:00 <[Butch]> agmlego: However, you see it differently. Rather than focus on our difference of opinion on the appropriateness of the venue, I'd rather focus on solving the problem. Therefore, I withdraw my question and will take it to a more "appropriate venue." Aug 12 19:46:41 <[Butch]> agmlego: An ideal answer for me would have been, "Dude, I've done that. Here's a pointer to my code on GitHub. Feel free to use it, and if you have questions, just let me know." Aug 12 19:49:02 [Butch]: And I will point to the literal first link in the channel topic, and rest justified in my and myself's response. ;-P Aug 12 19:49:18 [Butch]: Besdies, no one active in the channel at the moment has done what you are asking. Aug 12 19:51:36 <[Butch]> agmlego: You're absolutely right. I am sorry to have troubled the channel. I'll be sure to ask far smarter questions in the appropriate venue in the future. I will also be sure when I am a member of a "forum of experts" that I render the same level of helpfulness. Aug 12 19:51:49 <[Butch]> And with that, I will shut up. Aug 12 20:41:52 hello? Aug 12 20:42:19 To run bonscript on my beaglebone black does it need an SD card with angstrom linux on? Aug 12 20:42:44 halp: no, you need a distro that supports 'npm install -g bonescript' Aug 12 20:51:52 just npm? as the package manager? Aug 12 20:51:59 Yeah., Aug 12 21:06:44 apt-get install npm ? Aug 12 21:07:17 I think its nodejs possibly :p Aug 13 00:22:18 Does anyone know of a good resource for learning how to program in C++ on the BBB? I'm looking for something text based, with code examples, that doesn't want me to watch dated youtube videos, that will cover topics such as leds, buttons, pots, servos, pwm, and I2C. i've been searching all over the place, but the only resources i've been able to find keep harping on about the device tree. Aug 13 00:25:04 then just look at C++ for linux? Aug 13 00:27:14 i already know c++, and linux. what has me stuck is which files to read and write from to interact with the pins. for example, to control an LED you write to /sys/class/leds/beaglebone:green:usr0/brightness. big whoop, that's easy enough. where do i find out which other files to write to for the pins, what to write, and what i can expect to read in when getting inputs from an analog device, or an I2C device? Aug 13 00:32:54 I dunno really, maybe look at the Adafruit BBB IO Library? You could reverse engineer it I would think... should be open source Aug 13 00:34:33 honestly, i wouldn't mind using a library if they weren't all written for python. that language is yuck in the extreme. Aug 13 00:34:55 python is pretty good for general use Aug 13 00:35:26 if you look at the source code, it looks to be in C Aug 13 00:35:32 C/C++ Aug 13 00:35:38 the only really knowledgeable resource i've found has been the derek molloy stuff, but i can't stand sitting through multiple hour long videos when i could just read what i'm needing to know in five minutes Aug 13 00:35:56 i'll check that out Aug 13 00:36:04 maybe it'll be easy enough to use in c++ then Aug 13 00:36:11 https://github.com/adafruit/adafruit-beaglebone-io-python/tree/master/source Aug 13 00:36:24 tyvm Aug 13 00:36:54 I think maybe just C, not C++ Aug 13 00:37:11 only .c and .h files Aug 13 00:39:32 that's not a big deal. if i want to be creative then i'll do OOP in C, if i want to be ambitious then i'll port it to C++, if i want to be lazy then i'll just use it as is and be careful with my code Aug 13 00:39:38 that's a big help, though. thanks a lot! Aug 13 00:40:37 yeah np, I figured python still has to interact with the system somehow, just seems to be they use C, then wrap it with python, so to speak Aug 13 00:41:09 looks like that's exactly what they're doing from the page on adafruit: https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black?view=all Aug 13 00:41:45 guh, python is such a freaking lazy hipster language. i am so glad i didn't waste my time on that crap when i was in school Aug 13 00:44:30 python is easy to pickup and use is why, but is very handy with different libraries Aug 13 00:45:02 I can pull data from tektronix scope with it, or I can use it to pull data from a canbus with a usb to canbus dongle I have Aug 13 00:45:09 mix and mash it all together Aug 13 00:45:27 best of all, it's free Aug 13 00:46:12 I've seen 100k dollar test stands use it for testing ecm's for automotive, construction, space, etc Aug 13 00:47:25 Python is excellent glue language, but I doubt I will get very far explaining its merits to someone whose outlook is that it is a "freaking lazy hipster language". Aug 13 00:51:23 last company I worked for stuck with visual studio c++ and just last year they had to revamp a bunch of software because all the software would only run on 32bit systems Aug 13 00:51:37 they all has windows xp 32 bit, LAST YEAR! Aug 13 00:52:06 plus python can run on linux, mac os, embedded linx, etc **** ENDING LOGGING AT Thu Aug 13 02:59:59 2015