**** BEGIN LOGGING AT Sat Dec 06 03:00:00 2014 Dec 06 04:43:24 wait, so with 3.14, what do you use to configure pins? has device tree and/or capemgr gone away? what replaced it? Dec 06 05:51:32 Is there any documentation for setting up DSP for BBB? Dec 06 05:51:59 I found one for Beagleboard. Dec 06 05:52:00 http://elinux.org/BeagleBoard/DSP_Howto Dec 06 06:02:29 the am335x has no DSP Dec 06 06:45:11 hello Dec 06 06:45:23 anyone Dec 06 06:45:35 i need one help Dec 06 06:49:26 hello Dec 06 06:57:53 http://www.catb.org/esr/faqs/smart-questions.html Dec 06 09:01:54 hi i am unable to run the bonescript code on cloud9 ide by clicking run button. Dec 06 10:38:01 Hi there Dec 06 10:39:41 I am stuck with beaglebone black and android. any one to help ? Dec 06 10:40:25 almost nobody here uses android on it Dec 06 10:40:25 Amin: please do not pmessage people Dec 06 10:40:35 Amin: it's very rude Dec 06 10:42:10 My apology to KotH Dec 06 10:43:11 hmm... I am using 4dcape touch and only Android give better UI for touching Dec 06 10:43:46 Currently I am using Debian, but never able to play any videos Dec 06 10:45:31 the BBB is not really good at videos as it's not hardware accelerated Dec 06 10:46:53 Can it able to play video with Android on BBB? Dec 06 10:47:17 I have no luck finding Plasma active on BBB too Dec 06 10:48:13 the BBB cpu doesn't have "accelerated video decoding", so everything will be in software, thus slowww Dec 06 10:49:13 ok, I am using 4dcape touch as primary display Dec 06 10:49:27 I have no access to HDMI display at all Dec 06 10:49:56 So, I find LXDE UI is not better for operating with finger Dec 06 11:06:49 So, what OS do you all use on BBB? Dec 06 11:09:44 * tbr just uses the beagleboard.org debian Dec 06 11:10:44 it comes with LXDE, any suggest to install other UI for better touch input ? Dec 06 11:11:27 * tbr doesn't have a display attached, much less touch Dec 06 11:12:10 ? Dec 06 11:12:40 sorry, I don't quite get you Dec 06 11:17:08 ok, tbr. i gtg. thanks for all replies Dec 06 11:35:55 Straight to the point as instructed! It looks like I have change to build something (as a semi-serious hobby prototype) and Beagleboard is somewhat a tempting choice and not being an old tinker (I'm a software guy), I have some questions. Please, allow me to elaborate a bit... :) Dec 06 11:36:08 I'm trying to figure out about the different boards and so forth from the perspective of a software guy (Windows, Visual Studio, but Linux goes too, and C++) and I came across https://learn.adafruit.com/embedded-linux-board-comparison/overview Beagleboard seem to be nicely performant. Dec 06 11:36:24 So, it looks like I have change to connect to a CAN Bus of a "heavy machine" and send some values over a GSM modem to a server (in Azure). It looks like Beagleboard is a fitting choice here, fitting it with Dec 06 11:36:37 a GSM module and have a SD storage as an intermediary store in case the GSM connection drops. Now, the power source will be a 24 V DC batter (with a max 26/28 V DC spike, I assume), and I think I'd need to have a step-down (buck) converter/regulator between the board and the battery. Then again, I'm not sure what should I be aware of. So, here's a battery of questions: Can someone recommend which capes to have, say, with Beagleboard B Dec 06 11:36:47 1) a GSM mode and 2) a SD card 3) a CAN Bus cape 4) a step-down (buck) voltage regulator/converter Dec 06 11:37:02 And then how to put the regulator to the board and if I should make myself something aware of other than the normal how beginners should educate themselves? Thanks. :) Dec 06 11:37:20 Oh, and I read also http://inspire.logicsupply.com/2014/06/cbb-serial-automotive-can-bus.html already. Very educating. Dec 06 11:41:10 how integrated should the whole system be? Dec 06 11:41:56 uSD card already exists on the BBB, GSM modem and CAN bus adapter can be attached to USB Dec 06 11:43:22 and for power something like this: http://www.amazon.com/KEEDOX%C2%AE-Converter-Step-Down-Regulator/dp/B00BWLP88A Dec 06 11:43:37 (didn't check specs, just a random google hit) Dec 06 11:44:18 Veksi_: I would roll my own board based on something like NXP LPC1700 or infineon xmc4200 Dec 06 11:44:43 since there's not really a need to have GNU/Linux running at all Dec 06 11:53:19 adj, Hmm, I would think I want to do programming on the system too. That is, besides collecting some specific CAN bus values and sending them to the cloud, most likely to Azure VM, I probably want to do something else too. Dec 06 11:53:56 honestly, hmm, I need to Google those. Dec 06 11:54:23 well if you want to have a general purpose computing environment, then going with a BBB running GNU/Linux is a natural choice Dec 06 11:56:29 taking a BBB and attaching a GSM modem dongle and a CAN USB dongle via USB is the easy way out of course Dec 06 11:56:58 CAN USB dongles tend to be expensive though since they're mainly targeted at industrial users Dec 06 11:59:21 honestly, I was thinking to dig up one of my old Linux slugs and retrofit them, but I'm not sure of that CAN Bus thing. To me it looks like it'd better to have a hardware based card as otherwise there could be timing issues Dec 06 11:59:39 USB dongles work fine Dec 06 11:59:55 that's not where you should expect problems Dec 06 12:00:05 they do all the timing for you ;) Dec 06 12:00:53 The BBB has on-chip CAN, SDMMC, and UART controllers, so you can just slap a CAN transceiver, an SDCard holder, and a GSM chip with a serial interface on a board Dec 06 12:01:29 but you need to customize the linux device tree setup to enable the controllers Dec 06 12:06:11 honestly, Aah, there's one place to trip up then! Customizing Linux for a Windows guy isn't that a regular thing to do. :-P I think I need to hunt in the webs a bit. Dec 06 12:08:33 here is a guide for setting up a device tree overlay for the CAN controllers on the BBB: http://www.embedded-things.com/bbb/enable-canbus-on-the-beaglebone-black/ Dec 06 12:10:21 (since pins on a chip are a finite resource, lots of peripheral functions are multiplexed on the same pins, i.e. you have to select which peripherals to enable, and the device tree is where you configure that) Dec 06 12:12:52 if nobody has designed a CAN+SDCARD+GSM cape for the BB yet (which is likely), just look at specific designs and combine them Dec 06 12:13:16 of course having a "hardware guy" who can do that for you would be helpful if you really have no experience with that Dec 06 12:30:39 honestly, this hardware guy I mentioned, I meant machines as in trucks :-P Dec 06 12:30:47 I'll take a look of those. Dec 06 14:06:30 I have a beaglebone black. can I dowonload android apps, use them via my pc and analyze the downloaded app? Dec 06 14:09:03 For instance, I have bluestacks on my pc but it does not run every android app. So I woud like to download the app on to the beagleboard and run it as well as view the app like a regular program so I can modify some functionality of the app. Dec 06 14:09:14 huh? Dec 06 14:09:50 wouldn't it be easier to use a regular android device for it? Dec 06 14:09:59 but yeah, I guess you could run android on the BBB Dec 06 14:11:08 Yes it would, but im trying to develop more functionality than an android tablet has. Like I/O, android tablets do not have I/O. Dec 06 14:12:47 For instance, I could run the app and another small app that gets the info from a variable on the other app, make a comparison and then turn lights on or off or things like that. Dec 06 14:16:13 lets say im running a game app and there is a call in it to display a flash image. The app must be calling for a subroutine to display that like when a character gets punched. So when this happens, I can also have the beagle turn on a siren too. Dec 06 14:17:41 or, when an option in the game app i clicked, I can monitor that in the sub app and have the beagle do something on the I/O Dec 06 14:19:02 in order to do that, I would have to downlaod the app to the beagle and look in to its program for calls or a file containing data to set a comparison. Dec 06 14:19:58 well, just run android on the BBB. Dec 06 14:21:19 also, the game has counters and would like to monitor that so I can have a large lcd display to show that info. Dec 06 14:23:25 Hello? Dec 06 16:21:55 will the beagleboard black run apps downloaded from google play? Dec 06 16:23:44 please tell me ways of connecting beaglebone from remote internet i have done one using tor and i want to know are there some other ways of connecting to it and programming it Dec 06 16:24:26 @hotstixjf yes it will Dec 06 16:25:34 Thank you kris. If I download the app, will i be able to view it in the tree view for its contents? Dec 06 16:27:00 i am sorry i didn't understand the que! i just know that it will normally work as android phone and you will be able to do everything with it as you do for ex: with nexus phone Dec 06 16:57:25 Sorry Kris, I was distracted here at work. Dec 06 18:19:47 if you download an android app are you able to read the associated files in the tree view from your PC? Dec 06 19:05:30 <_av500_> ? Dec 06 19:05:42 <_av500_> android .apks are zip files Dec 06 20:06:40 Hello i am new just got my Begalebone black starter kit from radio shack for $ 43.00 + tax Dec 06 20:13:06 klc8000: congrats :) Dec 06 20:37:36 hi Dec 06 20:37:37 https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/spi Dec 06 20:37:50 can someone explain the distinction between busses and drives? Dec 06 20:37:53 *devices Dec 06 20:40:41 e.g. /dev/spidev. Dec 06 20:47:40 a device is a CS Dec 06 20:47:45 a bus is well a bus Dec 06 20:50:31 a bus has multiple devices Dec 06 20:50:44 that's kind of what it's for. Dec 06 20:54:36 hmm Dec 06 20:54:43 so say i want to use spi1 Dec 06 20:54:47 what is it? Dec 06 20:54:59 /dev/spidev1.0 or 1.1 ? Dec 06 20:55:11 spi1.0, IIRC Dec 06 20:55:23 it depends on which CS you have it wired to Dec 06 20:55:41 these McSPIs will drive CS for you automatically. it is set it and forget it type of SPI device Dec 06 20:55:52 oh Dec 06 20:55:58 even in master mode? Dec 06 20:56:09 esp. in master mode Dec 06 20:56:16 for large xfers, it will DMA stuff for you Dec 06 20:56:19 i see Dec 06 20:56:34 you have to busy wait if you want to sync up with when it is done or use the sync API Dec 06 20:56:38 hmm ill have to check the ponout again Dec 06 20:56:41 yeah Dec 06 20:56:43 *pinout Dec 06 20:56:57 wait... I am little bit wrong.. the userland stuff should be avoided Dec 06 20:57:04 but if the CS pin is set as GPIO with the pinmux, thats fine? Dec 06 20:57:05 lots of overhead. write a kernel driver Dec 06 20:57:15 takes about 20mins or less of work Dec 06 20:57:17 NO Dec 06 20:57:23 o Dec 06 20:57:23 set it as the MCSPI CS not GPIO Dec 06 20:57:35 GPIO is when you run out of real CS's and need to manually intervene Dec 06 20:57:58 yeah atm i have problems due to GPIO CS not syncing with spi Dec 06 20:57:58 this is assuming you are using MCSPIs and not the bitbang driver Dec 06 20:58:03 right Dec 06 20:58:13 yeah im using the hardware SPI Dec 06 20:58:31 mcspi's are an amazing device. with the multi CS instances you have multiple drivers banging away and the hw will coordinate it Dec 06 20:58:38 the learning curve is steep :-/ Dec 06 20:58:48 i thought i could just chuck BBIO at the problem Dec 06 20:58:55 but its barely usable Dec 06 20:59:04 not really Dec 06 20:59:11 avoid the userland stuff Dec 06 20:59:18 i meant BBIO from adafruit Dec 06 20:59:22 it was intended as a diag not for real xfers Dec 06 21:16:02 oh Dec 06 21:16:23 thats why there were two extra pins used in the dts file for SPI1 Dec 06 21:16:30 they were the CS pins Dec 06 23:54:13 hey Dec 07 00:14:45 So, I'll be getting a BBB rev C tomorrow through adafruit.. I'm going to put freebsd on it but they currently do not support HDMI and this lacks serial over usb.. so what's the cheapest way to control my bbb from this box via serial? Dec 07 00:15:06 Ideally I would use ssh.. but I'd need a monitor to initially set that up so this has to happen over serial Dec 07 00:15:34 any suggestions? https://wiki.freebsd.org/FreeBSD/arm/BeagleBone Dec 07 00:20:18 set up a serial console. it's been decades since i dealt with freebsd but i'm damn sure it supported serial consoles. u-boot sure does. Dec 07 00:21:48 oh, hah, i see, it does support serial console. you'll just have to buy an FDTI cable. BBB doesn't have one on board, the white did. Dec 07 00:24:36 hey guys :) Dec 07 00:26:12 i was wondering if we could use the HDMI as input and use the hardware encoder to encode that to a file :) any idea if this would be possible ? Dec 07 01:24:30 would it be possible to run code on the beaglebone black wihtout having an OS installed? Dec 07 01:24:49 I want to do some testing but I dont want to have the overhead of an OS and I know ARM assembly **** ENDING LOGGING AT Sun Dec 07 03:00:00 2014