**** BEGIN LOGGING AT Mon Mar 02 02:59:58 2015 Mar 02 06:57:18 now i'm in development process with panther board (DM3730), and i'm using ti-sdk for beagle board to customize linux. but it's not operate successfully Mar 02 06:57:48 <_av500_> if you are using the TI SDK, you should ask TI Mar 02 06:57:49 are there any one who can help me to resolve :( Mar 02 06:57:53 <_av500_> yes, TI Mar 02 06:57:54 plz :( Mar 02 06:58:05 <_av500_> well, the DM3730 is a few years old Mar 02 06:58:14 <_av500_> what do you expect? Mar 02 06:58:27 <_av500_> also, you dint ask a proper question at all Mar 02 06:59:02 i want to customize th uboot and kernel of beagle board for pantherboard Mar 02 06:59:28 but i don't know, how to start :( Mar 02 06:59:57 <_av500_> why? Mar 02 07:00:07 <_av500_> why not use the ready made kernel of the TI SDK? Mar 02 07:01:26 yes, i did it. but there are some problem. Mar 02 07:01:27 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) Mar 02 07:01:51 and i dont' know, how to fix it Mar 02 07:02:17 <_av500_> is this a hobby project? Mar 02 07:03:32 no, it's my company proj Mar 02 07:04:11 @_av550 : do you have skype ? Mar 02 07:04:14 who makes the pantherboard? Mar 02 07:04:23 <_av500_> http://www.edwireless.com/ap-dm37.php Mar 02 07:04:30 <_av500_> ThanhNK: what for? Mar 02 07:05:05 <_av500_> ds2: not sure Mar 02 07:05:27 Panther board jorjin Mar 02 07:05:49 you should have a TI support engineer Mar 02 07:06:07 <_av500_> not sure TI has any left for DM37 Mar 02 07:06:16 it is a kernel. sources are available Mar 02 07:06:17 plus there are TI forums for their eval boards/sdks Mar 02 07:06:18 what more do you need. Mar 02 07:06:25 kernel is easy Mar 02 07:06:30 userland is what is painful and hard Mar 02 07:06:33 sometimes the forums are even useful... Mar 02 07:08:13 or maybe your manager can get you a newer eval board with current support... Mar 02 07:08:48 :( Mar 02 07:08:50 who cares about support. use the source. Mar 02 07:09:46 didn't say he was using yocto/oe Mar 02 07:10:11 @ds2 : do you know , how to customize linux for a new board ? Mar 02 07:10:14 looks like there even are some sort of sources for that thing Mar 02 07:10:26 if there's machine support then good to go Mar 02 07:10:52 2.6.37 - ah, the stale smell of vintage kernels Mar 02 07:11:55 * nerdboy would wager other people here do the for a living Mar 02 07:12:13 board bring-up, training, etc Mar 02 07:12:23 :( Mar 02 07:13:51 <_av500_> tbr: of course there are sources Mar 02 07:14:04 <_av500_> how many variations of the TI ref design are there.... Mar 02 07:15:13 ds2: it's not about needing the support, rather unsupported machines get no more support upstream Mar 02 07:15:25 <_av500_> just use 2.6.37 Mar 02 07:15:39 sometimes they even remove existing machine support moving forward Mar 02 07:16:10 could be stuck forever on an old/edgy fork Mar 02 07:16:25 you just do it. Mar 02 07:16:36 nerdboy: then back port Mar 02 07:16:45 you just get newer/supported piece of hardware... Mar 02 07:17:08 do you want to chase and debug new kernels or do you want working hw? Mar 02 07:17:25 pick kernel release for your hw. debug it and backport stuff as needed. Mar 02 07:17:32 1) easier said than done, 2) they will *not* let you cluebat the manager in the parking lot Mar 02 07:18:17 no, i want to abandon the unsupported crap and move forward Mar 02 07:20:25 nerdboy: it is easy. I do that all the time. Mar 02 07:20:55 go enjoy your DT of the hour battles Mar 02 07:21:11 <_av500_> version chasing is futile Mar 02 07:21:19 I'll enjoy my working HW. Mar 02 07:24:02 <_av500_> how boring :) Mar 02 07:24:27 doesn't sound lie you inherited a mess as your custom machine "release" layer on top of oe-classic Mar 02 07:24:33 *like even Mar 02 07:25:19 * nerdboy listens to the voice of experience Mar 02 07:25:39 no OE Mar 02 07:25:40 <_av500_> nerdboy: so you want to untangle the mess? Mar 02 07:26:42 <_av500_> are you on dm37 too? Mar 02 07:26:59 was on dm8168 Mar 02 07:27:07 and no, i do not Mar 02 07:30:11 <_av500_> ah Mar 02 09:04:45 Is to possible to communicate beaglebone black and android device via usb cable Mar 02 09:05:47 Shall any one know about this Mar 02 09:08:25 is it possible to communicate beaglebone black with android device via usb cable in android Mar 02 09:11:55 <_av500_> sure Mar 02 09:11:58 <_av500_> its all SW Mar 02 09:12:21 can any one know about this. because in the last month i'm searching about it. can any one help me Mar 02 09:12:22 <_av500_> look for Android ADK Mar 02 09:12:43 <_av500_> http://elinux.org/BeagleBoard/GSoC/BARD Mar 02 09:13:09 not in linux Mar 02 09:13:16 <_av500_> i you are the same guy that asks here every wekk, we told you all that before Mar 02 09:13:18 <_av500_> what? Mar 02 09:13:19 is the windows Mar 02 09:13:24 <_av500_> what? Mar 02 09:13:27 <_av500_> what runs windows? Mar 02 09:13:30 <_av500_> your BBB? Mar 02 09:13:35 no Mar 02 09:13:35 <_av500_> or your android device? Mar 02 09:13:53 doe the BBB ethernet support hot plug? Mar 02 09:13:54 i should install Mar 02 09:14:05 android on Mar 02 09:14:05 <_av500_> cityoflights2: it should Mar 02 09:14:07 bbb Mar 02 09:14:20 and application should be written in Mar 02 09:14:26 eclipse Mar 02 09:14:31 <_av500_> and? Mar 02 09:14:32 in windows Mar 02 09:14:35 <_av500_> android on BBB exists Mar 02 09:14:39 I mostly use a wifi connected to the usb, and see many dhclient messages in the syslog Mar 02 09:14:44 <_av500_> just copy the image Mar 02 09:14:58 I would prefer to have the dhclient start only when eth0 is plugged Mar 02 09:14:59 <_av500_> and android apps can be written on linux, mac, windows Mar 02 09:15:21 I want to communicate via usb cable Mar 02 09:15:26 <_av500_> with what? Mar 02 09:15:33 is that any drivers or any Mar 02 09:15:41 <_av500_> communicate with what? Mar 02 09:15:41 thing else should Mar 02 09:15:55 install in bbb Mar 02 09:15:58 or phone Mar 02 09:16:06 <_av500_> communicate with what? Mar 02 09:16:35 communication with bbb and android phone Mar 02 09:16:38 cityoflights2 install ifplugs Mar 02 09:16:43 via usb cable Mar 02 09:16:44 <_av500_> and both run Android? Mar 02 09:16:47 cityoflights2 I meant ifplugd Mar 02 09:16:53 yes Mar 02 09:16:55 <_av500_> ah Mar 02 09:17:02 <_av500_> why not say that from the start Mar 02 09:17:03 both the devices are android Mar 02 09:17:05 isn't debian coming with this installed? Mar 02 09:17:27 cityoflights2 I do not know Mar 02 09:17:35 <_av500_> test___: there is nothing in android for 2 devices to talk to each other Mar 02 09:17:37 but for sure it is not enabled by default Mar 02 09:17:59 <_av500_> how good are your kernel hacking skills? Mar 02 09:18:04 av500 is rxtx usable on android? Mar 02 09:18:10 I'M NEW IN ANDROID Mar 02 09:18:12 <_av500_> woglinde: and then? over what serial? Mar 02 09:18:16 <_av500_> test___: thats bad Mar 02 09:18:17 yes Mar 02 09:18:24 <_av500_> test___: ask for a different project Mar 02 09:18:33 test___ get another task from your supervisor Mar 02 09:18:36 <_av500_> woglinde: your phone has a serial? Mar 02 09:18:42 <_av500_> exposed to android? Mar 02 09:18:42 NO Mar 02 09:18:43 usb.serial? Mar 02 09:18:47 haha Mar 02 09:18:49 <_av500_> in android? Mar 02 09:19:02 if you compile the kernel right? Mar 02 09:19:10 <_av500_> still not exposed in android Mar 02 09:19:12 IS THE COMMUNICATION IS POSSIBLE Mar 02 09:19:14 <_av500_> sure, jni etc... Mar 02 09:19:15 yes Mar 02 09:19:20 <_av500_> test___: of course it is Mar 02 09:19:23 <_av500_> its just SW Mar 02 09:19:27 <_av500_> men flew to the moon Mar 02 09:19:28 sw Mar 02 09:19:36 with software Mar 02 09:19:37 <_av500_> so we can make two devices talk to each other Mar 02 09:19:41 and plutonium Mar 02 09:19:47 <_av500_> not needed here Mar 02 09:20:08 can any one give Mar 02 09:20:09 <_av500_> test___: ok, communicate, what for? Mar 02 09:20:21 ideas about this Mar 02 09:20:29 <_av500_> I gave you some Mar 02 09:20:33 k Mar 02 09:20:38 <_av500_> you could use ADK mode Mar 02 09:20:47 <_av500_> then the phone does not need to be modified Mar 02 09:20:57 <_av500_> you will need to add adk host to android/linux on BBB Mar 02 09:21:10 <_av500_> and expose it as whatever API you like to user space Mar 02 09:21:16 is the any drivers or anything Mar 02 09:21:22 <_av500_> it involved linux kernel hacking Mar 02 09:21:27 should install in bbb Mar 02 09:21:27 <_av500_> yes, I gave you a link to one Mar 02 09:21:33 k Mar 02 09:21:36 <_av500_> no, its not a simple "install" Mar 02 09:21:45 k Mar 02 09:21:48 <_av500_> it, think, think, think, code, test, repeat Mar 02 09:21:51 <_av500_> it's Mar 02 09:21:55 <_av500_> and read Mar 02 09:22:27 can give me the start up Mar 02 09:22:37 <_av500_> the what? Mar 02 09:22:37 with the communication Mar 02 09:22:52 <_av500_> the what? Mar 02 09:23:02 is that any tuttiorial Mar 02 09:23:05 <_av500_> no Mar 02 09:23:09 <_av500_> there is not Mar 02 09:23:11 or Mar 02 09:23:22 any thing else Mar 02 09:23:24 <_av500_> yes Mar 02 09:23:28 <_av500_> what I gave you Mar 02 09:23:39 <_av500_> its SW for the BBB to talk to an android device using ADK Mar 02 09:23:50 sw means Mar 02 09:23:54 <_av500_> all you need to do is to make it work with android on BBB Mar 02 09:24:26 <_av500_> but to answer your question: there is no silver bullet Mar 02 09:24:28 cityoflights2 please use ifplugd Mar 02 09:24:31 ups Mar 02 09:24:38 damn scrolling Mar 02 09:24:39 sorry Mar 02 09:24:46 what Mar 02 09:25:59 thanks Mar 02 09:26:58 communication via usb cable Mar 02 09:27:03 thanks woglinde Mar 02 09:27:20 how to stop using dhclient and use systemd dhcp client? Mar 02 09:27:21 <_av500_> test___: very soon I will start to ignore you Mar 02 09:27:49 <_av500_> you did not read a word of what I wrote it seems Mar 02 09:28:50 cityoflights2 sorry I did not yet looked at the systemd dhpc client Mar 02 09:28:57 oops sorry Mar 02 09:28:59 <_av500_> its awesome Mar 02 09:29:05 oops sorry Mar 02 09:29:10 cityoflights2 are you sure the version in debian already have it? Mar 02 09:29:32 _av500_ I think he read them Mar 02 09:29:47 but the brain can not translate them into something useful Mar 02 09:29:59 yep I use RCN jessie Mar 02 09:30:15 cityoflights2 hm okay Mar 02 09:31:02 cityoflights2 hm okay when you are using systemd anyway I think you do not need ifplugd Mar 02 09:31:07 oops sorry Mar 02 09:31:34 systemd has some signals when ethX is connected Mar 02 09:31:56 https://wiki.archlinux.org/index.php/systemd-networkd Mar 02 09:35:25 if you put kenel/driver related stuff in your cv could give you some funny subject lines in email. the good ones i got are : driver needed. low-level opportunities.. Mar 02 09:36:13 uh , channels is running hot already .. Mar 02 09:36:26 hardly manage to read the backlog today .. wow Mar 02 09:55:42 hello Mar 02 09:56:14 OHAI! Mar 02 09:56:48 is that any one know Mar 02 09:57:01 how to install adk on bbb Mar 02 09:57:30 is your BBB the hardware revision with built in flux compensator? Mar 02 09:58:18 yes Mar 02 09:58:56 ok, you'll have to calibrate it first, else it will not work Mar 02 09:59:17 ok Mar 02 09:59:44 can you give me the steps Mar 02 09:59:52 to install adk on bbb Mar 02 10:00:12 have you calibrated the flux compensator on your device? Mar 02 10:00:35 no Mar 02 10:01:10 oh, you'll have to do it first. It's in the enclosed BBB-Fx special edition booklet on page 26. Mar 02 10:03:51 den Mar 02 10:04:43 install adk on bbb Mar 02 10:05:26 did you do the exact steps for calibration? Mar 02 10:05:35 was the result 54 or 42? Mar 02 10:05:57 no Mar 02 10:06:07 i didn't get Mar 02 10:06:14 any of the Mar 02 10:06:17 result Mar 02 10:06:40 but you followed the exact steps? they are on page 26 Mar 02 10:07:10 give me the link of that Mar 02 10:07:13 page Mar 02 10:07:35 it's not online. The special BBB-Fx edition booklet was only included with the device itself. Mar 02 10:08:07 how to find that one Mar 02 10:08:24 it should have been together with the device in the box Mar 02 10:08:55 in which folder Mar 02 10:09:08 it should seems Mar 02 10:09:49 a little brown booklet, paper. On the back it should say "don't panic" in big and friendly letters. It came with my BBB-Fx in the little box. Mar 02 10:09:58 have you lost it? Mar 02 10:10:37 yes Mar 02 10:10:45 oh, that's bad, very bad Mar 02 10:11:17 what to do? Mar 02 10:11:25 you see, each of them has the right individual values for the Board printed in it. Mar 02 10:11:52 k Mar 02 10:11:54 if you lost it then you won't be able to perform the essential Layer-8 to BBB recalibration process Mar 02 10:12:20 Basically that means you won't be able to use the FX special edition features Mar 02 10:12:38 so it becomes a regular BBB Mar 02 10:12:41 is that any other way way to install Mar 02 10:12:47 adk on bbb Mar 02 10:12:53 for the Mar 02 10:12:54 oh, yes, but it would have been so much easier Mar 02 10:13:02 usb communication Mar 02 10:13:06 now you will actually have to figure it out yourself Mar 02 10:13:23 how Mar 02 10:13:49 the truth of the exact steps is out there, somewhere Mar 02 10:14:23 communication via usb cable Mar 02 10:14:40 i need to install adk Mar 02 10:14:45 oon bbb Mar 02 10:16:52 is that any shoul help me Mar 02 10:17:05 you could buy support for the fx-autocallibrator-kernal, that has built in ADK support Mar 02 11:44:37 hello ... i am a newbie... i am trying to run a C++ program on my BBB. i wrote the program on my computer and then cross compiled using - arm-linux-gnueabi-gcc-4.7 . i then copied my file to my board but when i try to run the executable file i get "Segmentation Fault". what am i doing wrong ? Mar 02 11:45:12 something Mar 02 11:45:19 standard linux debugging techniques apply Mar 02 11:46:54 tbr: i tried the compiling a different program using the compiler and its working fine... Mar 02 11:47:25 tbr: why did this segmentation fault occur ? Mar 02 11:47:44 > standard linux debugging techniques apply Mar 02 11:48:56 tbr: the program is working fine on my computer Mar 02 11:49:05 but not on my BBB Mar 02 11:50:37 so? debug it Mar 02 11:50:58 gdb, strace, and the rest are your friends Mar 02 11:52:11 tbr:alright Mar 02 11:53:48 hi, is there any way to set a BB White back to factory settings? Mar 02 11:54:44 take out the mirco-sd, done Mar 02 11:55:24 done, but the power led flash just once and nothing more... Mar 02 11:57:28 now prepare a fresh micro-sd card, insert it and power it up Mar 02 12:02:16 ok. i prepared a new sd with the openrov cockpit version. still one short flash. Mar 02 12:02:46 how did you prepare it? Mar 02 12:04:19 i write the openROV image on it using win32diskimager. before formatted with SDFormatter Mar 02 12:05:44 and you undompressed the image before that? Mar 02 12:06:21 Stefan__ serial cable and you see whats wrong on the console Mar 02 12:06:53 * woglinde wonders why the kids today do not learn about serial cables Mar 02 12:07:25 woglinde: only nation state actors need serial cables Mar 02 12:07:52 * tbr suspects something about the image or how it's written is wrong Mar 02 12:07:57 @tbr yes. file size about 600mb Mar 02 12:08:00 is that image known to boot on a BBW? Mar 02 12:08:50 @woglinde-> is not powering up at all. thats why im not able to use RX/TX Com Mar 02 12:09:26 then something about the card or the image is wrong Mar 02 12:09:32 it is. was working before with that image (same procedure, same file) Mar 02 12:09:41 Stefan__: if you put the card into a card reader, do you see a small FAT partition? Mar 02 12:10:05 tbr uhm at least it should print something about, it can not read the MLO Mar 02 12:11:11 was that the "C" thing on UART? Mar 02 12:11:21 * tbr keeps forgetting Mar 02 12:12:24 yes. the SD containing a 87mb FAT patition with a MLO file inside Mar 02 12:13:04 Stefan__: what did you do to the hardware between when it was working and when it stopped working? Mar 02 12:13:32 pluged in a usb webcam while boot up Mar 02 12:13:52 and the ethernet wire Mar 02 12:16:51 i could measure 5V in on P9 Pin 5 and 6 Mar 02 12:19:20 I'd probably try a different card and a different image. just to make sure Mar 02 12:24:12 i try it. will take some minutes Mar 02 12:37:06 done. different sd card, other image... some result Mar 02 12:37:12 guess is dead Mar 02 12:51:03 same result. not powering up Mar 02 13:03:46 in arduino we have wiring framework... Mar 02 13:04:33 so this framework is just the different files in which work is distributed or something more is there ?? Mar 02 13:05:06 like wiring_digital, wiring_analog, etc...different files for different tasks... Mar 02 13:11:15 Can anyone suggest me a Long distance Temperature & Humidity sensor to use with beaglebone black. I used Adafruit DHT22. But that was not capable of transmitting long distance signals. I am looking to use it over 10M with Cat 5 or 6 Cable? Mar 02 13:18:21 i am trying to debug program and i am getting the following result (gdb) run -d Starting program: /home/root/scanapi2/ScanAPI_Ex/ftrScanAPI_Ex -d warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Program received signal SIGSEGV, Segme Mar 02 13:18:55 0xb6d52fdc in pthread_mutex_lock () from /lib/libpthread.so.0 Mar 02 13:19:07 can anyone help me ? Mar 02 13:22:04 here is the error http://pastebin.com/8rgnnfus Mar 02 13:27:20 harsh: looks like a good old segfault, the rest message you be able to ignore , can you run bt on your gdb after this happens Mar 02 13:28:13 as a hint, look for misued pointers, or arrays which u index wrong or such Mar 02 13:28:50 rob_w: okay Mar 02 13:52:06 Can anyone suggest me a Long distance Temperature & Humidity sensor to use with beaglebone black. I used Adafruit DHT22. But that was not capable of transmitting long distance signals. I am looking to use it over 10M with Cat 5 or 6 Cable? Mar 02 13:53:27 uhm long distance = long cable between bbb and sensor? Mar 02 14:05:43 is usbfs supported on angstrom ? Mar 02 14:07:29 Hi. Does anyone know anything about the supply issue with the Beagleboard XM? Mar 02 14:11:38 is usbfs supported on angstrom ? Mar 02 15:13:43 Humpelst1lzchen: If u are there, yes bro, I need long cables between bb and the sensor. Mar 02 16:42:07 Can anyone suggest me a Long distance Temperature & Humidity sensor to use with beaglebone black. I used Adafruit DHT22. But that was not capable of transmitting long distance signals. I am looking to use it over 10M with Cat 5 or 6 Cable? Mar 02 16:42:39 Distance Between BB and the sensor (10M). Thanks Mar 02 16:43:49 <_av500_> you need some signal conditioning Mar 02 16:46:38 @_av500_: Thanks for the concern on my question bro. As I am new to BB, can you please give me more details if you can? Mar 02 16:47:06 Amil_: is your sensor on 5V or 3.3 ? Mar 02 16:49:30 Catslab: it supports from 3-5V bro, So i tried with 5V Mar 02 16:49:57 on a 10m cable you'll have parasite reflexion at both ends of the cable, so you'll need at least a diode between data and ground to supress them Mar 02 16:51:09 who knows the datasheet for that sensor might even cover this Mar 02 16:51:18 tbr nope Mar 02 16:51:24 just looked at that Mar 02 16:51:39 and you'll need a small resistance on the dataline Mar 02 16:52:00 have a look at 1wire network http://www.maximintegrated.com/en/app-notes/index.mvp/id/148 Mar 02 16:52:27 <_av500_> Amil_: hint: stop the "bro" thing Mar 02 16:52:53 I was driving ds18b20 on a network of coolant pipes and had to apply that Mar 02 16:52:57 Catslab: Thanks alot for your information, ill have a look on that Mar 02 16:53:42 @_av500_: may be the way i've used to, if that was irritating u, i am sorry Mar 02 16:54:06 i-wire needs a "repeater" for longer cables, no? Mar 02 16:54:25 <_av500_> Amil_: np Mar 02 16:54:30 i2c maybe 2m depending on cables, etc... Mar 02 16:55:00 nerdboy: I didn't use any up to 44 meters Mar 02 16:55:07 1 wire is slow Mar 02 16:55:24 1-wire, if properly set up can go quite long distance IIRC Mar 02 16:55:33 slow, but made for longer distances Mar 02 16:55:51 for i2c you can use signal conditioners Mar 02 16:56:07 stuff like i2c is bus protocal, not meant to go very far Mar 02 16:56:35 maybe easiest to put a controller on the sensor end Mar 02 16:56:45 Amil_: i'm running a ds18b20 on a 2m wire and from time to time i dont get any data Mar 02 16:57:06 nerdboy: thanks alot for all ur information, ill try my best. may u reach the ever success in everything u do !! Mar 02 16:57:08 Amil_, you may wish to look at http://www.maximintegrated.com/en/app-notes/index.mvp/id/148 Mar 02 16:57:13 like stick the sensor on arduino or pi Mar 02 16:57:27 <_av500_> or rahter an 8 pic attiny Mar 02 16:57:34 <_av500_> and just use RS232 for the data Mar 02 16:57:56 for i2c I use http://www.ti.com.cn/cn/lit/ds/scps145a/scps145a.pdf Mar 02 16:59:48 and watch out for sensors with funky vendor protocol Mar 02 16:59:53 like sht1x Mar 02 17:00:44 * nerdboy shakes his fist at vendors too cheap/dumb to use i2c (or "compatible") Mar 02 17:00:59 nerdboy: Thanks alot again, ill have a look on these information. Mar 02 17:01:28 sht2x sensors are supposedly i2c Mar 02 17:02:54 there are notes/readme stuff in our github area from messing with that situation Mar 02 17:03:29 plus a patched RPi.GPIO backend for the sht1x bastard child Mar 02 17:04:14 there was some sort of bitbanging to get SHT1x going on the BBB too IIRC Mar 02 17:05:24 we thought about that... Mar 02 17:05:51 seemed easier to get the backend to reset the data/clk pins properly Mar 02 17:06:50 https://github.com/VCTLabs/pi-sensor-test Mar 02 17:08:27 * nerdboy bought some dude's sensorstick before realizing the sht10 protocol funkiness Mar 02 17:08:47 <[1]hitman> hello, is there a way to take a screenshot of what my bbb would probably be showing now? i am connected to it using teraterm on my windows pc. Mar 02 17:09:01 pays to do your homework first... Mar 02 17:09:28 <_av500_> hitman_: you want a screenshot of terraterm? Mar 02 17:09:58 if X is up you can grab the root window with import Mar 02 17:10:08 (imagemagick) Mar 02 17:10:37 no, theres no screen connected to my bbb, but suppose if it was connected, the screenshot of that display. Mar 02 17:10:39 X ? Mar 02 17:11:03 set DISPLAY and try it Mar 02 17:11:39 set DISPLAY to what ? Mar 02 17:12:29 i tried using scrot, but it returned error. Mar 02 17:13:35 :1 Mar 02 17:13:38 or :0 Mar 02 17:13:39 depends Mar 02 17:15:37 scrot returns with "giblib error: Can't open X display. It *is* running, yeah?" Mar 02 17:15:51 ps ax | grep X Mar 02 17:16:23 hitman_: it could be sitting on any display Mar 02 17:17:56 after " ps ax | grep X" the output was: Mar 02 17:18:02 http://pastebin.com/nDdxkXm3 Mar 02 17:18:14 :0 then Mar 02 17:18:25 DISPLAY=:0 scrot Mar 02 17:20:13 *should* work Mar 02 17:24:37 it still returns with that same error. Mar 02 17:26:07 actually it says : Mar 02 17:26:08 No protocol specified Mar 02 17:26:08 giblib error: Can't open X display. It *is* running, yeah? Mar 02 17:27:05 does scrot have a -display arg? Mar 02 17:27:26 import -display :0 should work Mar 02 17:27:50 no, it returns with that "giblib" error. Mar 02 17:28:02 what does? Mar 02 17:28:26 root@beaglebone:~/Desktop# scrot --display Mar 02 17:28:27 scrot: unrecognized option '--display' Mar 02 17:28:27 giblib error: Can't open X display. It *is* running, yeah? Mar 02 17:29:42 scrot sucks Mar 02 17:30:03 import -display :0 -window root out.png Mar 02 17:30:19 might need to install imagemagick Mar 02 17:37:22 istalled imagemagick, and then Mar 02 17:37:23 root@beaglebone:~/Desktop# import -display:0 window root Mar 02 17:37:23 import.im6: unable to open X server `' @ error/import.c/ImportImageCommand/368. Mar 02 17:38:52 try "-display :0 -window root" Mar 02 17:39:17 no typos this time Mar 02 17:42:02 root@beaglebone:~/Desktop# import -display :0 -window root out.png Mar 02 17:42:03 No protocol specified Mar 02 17:42:03 import.im6: unable to open X server `:0' @ error/import.c/ImportImageCommand/368. Mar 02 17:43:25 and you're sure it's running on display :0 ? Mar 02 17:44:00 no, i said, that its not ! Mar 02 17:44:52 it's sitting at the lightdm login according to your paste Mar 02 17:45:19 you could try enabling the lightdm autologin stuff Mar 02 17:47:29 i just want to make it clear that my bbb is not connected to any thing except my pc. (if it was unclear before) Mar 02 17:47:41 and how to login into that ? Mar 02 17:48:22 ok, i'll do that. Mar 02 17:48:39 in the config file Mar 02 17:58:44 latest default debain emmc boots into lxde desktop but doesn't have imagemagick Mar 02 17:59:15 * nerdboy waits for too many packages for a console tool... Mar 02 18:03:47 nerdboy, we only have 2gb or 4gb of emmc to deal with... not 'everything' is installed.. Mar 02 18:04:47 rcn-ee: you didn't do all the debian package depends... Mar 02 18:04:51 did you? Mar 02 18:05:19 just a sec... Mar 02 18:05:32 Hello, is someone here from .ch and using a swisscom box? Is 192.168.1.1 the box's IP? Mar 02 18:05:42 * nerdboy pays homage to craig ferguson Mar 02 18:05:52 it's debian: sudo apt-get update ; sudo apt-get install imagemagick Mar 02 18:05:53 "or *did* you..." Mar 02 18:06:22 yup, just took about 26 packages to get it... ;) Mar 02 18:09:40 how will i know that i have logged in ? using "ps ax | grep X" ? Mar 02 18:12:22 you mean "know the X server is running"? Mar 02 18:13:18 yes. (new to linux ) Mar 02 18:14:32 that the lightdm have reached to the main desktop. Mar 02 18:14:46 hitman_, why don't you just login via x11vnc/etc... Mar 02 18:15:01 the default user get's autologin'ed to lxde desktop by default Mar 02 18:16:15 try su - debian Mar 02 18:16:22 then run the imprt command Mar 02 18:18:16 import.im6: unable to open X server `' @ error/import.c/ImportImageCommand/368. Mar 02 18:18:17 havent logged in yet . right ? Mar 02 18:19:21 Hello There, is BeagleBoard xM obsolete? it looks like no one carries it in stock and no one has a delivery date Mar 02 18:19:33 can you login as debian user? Mar 02 18:19:48 Ayman_: production runs are only done every few months now, but they are still happening. Mar 02 18:20:05 Ayman_: Digi-Key is likely the best place to make an xM order now. Mar 02 18:20:17 <_av500_> Ayman_: it was always out of stock Mar 02 18:20:44 <_av500_> so just order and wait Mar 02 18:20:55 I called them up this morning and they said they have nothing in stock and no delivery date Mar 02 18:21:21 nerdboy: yes, i did the "su - debian" nothing was prompted. Mar 02 18:21:53 but your shell prompt should change Mar 02 18:22:03 Ayman_, the people on the phone don't know about the pcb shortage for the xm... Right now they cant' be built peroid. ;) Mar 02 18:22:24 nerdboy: yes, its now "debian@beaglebone:~$" Mar 02 18:22:32 just run the full imort command from before as debian user Mar 02 18:22:42 *import even Mar 02 18:23:16 rcn-ee: as usual, you were right... Mar 02 18:23:22 pcb shortage? wow Mar 02 18:23:45 installing imagemagick hit the end of my 2GB of space... Mar 02 18:23:48 Ayman_, the company that built them, when belly up... it takes awhile to recertify a new pcb supplier.. Mar 02 18:24:04 oh I see Mar 02 18:24:17 thanks for clarification Mar 02 18:24:38 hitman_: hopefully you have an 4GB emmc? Mar 02 18:24:38 wish i knew when that was done.. sorry i couldn't tell you more then that. .;) Mar 02 18:25:06 nerdboy: yes i do ! Mar 02 18:25:12 and it worked ! Mar 02 18:25:14 rcn-ee: going to elc again? Mar 02 18:25:29 I appreciate your help rcn-ee Mar 02 18:25:42 how do you guys can just solve any problem !!! Mar 02 18:26:03 you guys have a good day Mar 02 18:26:15 thank you !!! nerdboy : i owe you one ! Mar 02 18:26:44 nerdboy, yeap that's the plan.. we need to find a conference room and do a mini-beagle conference ;) Mar 02 18:27:09 * nerdboy wants another philly Mar 02 18:27:33 i tried making one last week.. wasn't the same.. i'll be heading to that joint again.. Mar 02 18:27:58 hopefully x-apple english dude around the corner still has some old speckled hen Mar 02 18:29:31 rcn-ee: i get to stay for oedam, boss leaves early Mar 02 18:29:45 we have talks on mon/tue Mar 02 18:30:33 so to be again a root user , i'l; have to do "su - root", right ? Mar 02 18:30:41 philly lunch on any of those days would work Mar 02 18:30:53 just "exit" Mar 02 18:31:09 ^ hitman_ Mar 02 18:31:24 oh ! thank you ! again ! Mar 02 18:44:39 how to know the amount of space left free in the emmc ? Mar 02 18:47:04 hitman_: df -h / Mar 02 18:57:16 rcn-ee: you were also mentioned in scale embedded talk Mar 02 18:57:36 hopefully you didn't get a headache or anything... Mar 02 18:57:49 really? i beter go to that one. ;) Mar 02 18:58:05 last week Mar 02 18:58:28 slides on github, videos on yootube Mar 02 18:58:44 sweet, i'll be checking that out! Mar 02 19:02:50 https://www.youtube.com/channel/UCII2Shsii1TFI_UrIvUwu1Q <= you should like stephanie's talks... Mar 02 19:03:53 oh! she was having fun with usb! ;) Mar 02 19:04:15 that's kind of a long-term love/hate thing... Mar 02 19:06:32 she decided to eschew my libreoffice template and make her slides with inkscape Mar 02 19:13:20 anyone know if using the gcc from debian can be used to compile modules for the kernels here: https://github.com/RobertCNelson/linux-stable-rcn-ee? Mar 02 19:14:06 i see the same gcc version in /proc/version... Mar 02 19:17:18 wonder how well would 0.4mm and POP work with a toaster oven reflow... Mar 02 19:18:15 ryan-c: should be safe Mar 02 19:18:32 I'm having hardtime trying to bring up pruss on ti 3.14 Mar 02 19:18:37 Cool, well, let's see if I can get stuff to compile. Mar 02 19:18:46 did anyone succeded without remoteproc ? Mar 02 19:18:47 I've ended up needing 3.19 Mar 02 19:18:57 ryan-c: meaning native debian arm, right? Mar 02 19:19:03 nerdboy: yes Mar 02 19:19:23 yeah, just leave off the CC/ARCH stuff Mar 02 19:19:37 (where he really means CROSS_COMPILE) Mar 02 19:19:41 I seem to need the `raw` module, which isn't included. Mar 02 19:19:52 (i am doing weird things) Mar 02 19:20:09 for native, just do it like you would on x86 Mar 02 19:20:57 zcat /proc/config.gz > .config && make menuconfig Mar 02 19:20:58 as a side note, his instructions in /etc/apt/sources.list say to use `uname -r` as the tag which doesn't work for 3.19 - uname -r says 3.19.0-bone3 but the tag is 3.19-bone3 Mar 02 19:21:25 that is for following all the deploy steps etc Mar 02 19:21:46 just substitute Mar 02 19:21:58 nerdboy: Thanks, I'm pretty familiar with building kernels. The trick here is I just want to build the one module. Mar 02 19:22:02 well, your version is your version Mar 02 19:22:20 (which I've been able to do on RPi before) Mar 02 19:22:27 wtf? Mar 02 19:23:06 apparently github is producing corrupt zip files Mar 02 19:23:39 don't use that "feature" Mar 02 19:24:10 is it known to be broken? Mar 02 19:25:25 Mar 02 19:25:33 i usually just clone from there... Mar 02 19:25:44 my internet connection is kinda slow Mar 02 19:29:08 ryan-c: would be faster as cross-compile... Mar 02 19:29:26 nerdboy: don't the gcc versions need to match? Mar 02 19:29:57 you would install a new kernel image/modules anyway, no? Mar 02 19:30:08 nerdboy: no Mar 02 19:30:29 nerdboy: I am only compiling one module. Mar 02 19:30:41 if it's truly an out-of-tree build then you might be able to get away with modules_prep in the kernel source Mar 02 19:31:22 no guarantees how much the kernel will want to rebuild... Mar 02 19:31:34 true Mar 02 19:31:54 gcc version shouldn't matter much Mar 02 19:32:05 I did this on an RPi to patch some wifi drivers to allow the regdomain to be bypassed, seemed to work fine. Mar 02 19:32:16 module version yes, depending on kernel config Mar 02 19:32:39 well, do that again... Mar 02 19:34:11 rebuild the entire kernel Mar 02 19:34:24 forget this death by a bazillion modules Mar 02 19:40:23 ds2: worked fine, only had to compile the one module.... Mar 02 19:41:41 but you could turn your bbb into a tiny heater for a day or so... Mar 02 19:41:54 i already have the module loaded Mar 02 19:41:56 :p Mar 02 19:56:32 hey guys i have created a python daemon that i want to autoinstall on the debian image... is there a documented workflow for modifying the emmc flasher image? or is more advisable to just have an install script that i execute after the flash via ssh? Mar 02 19:56:32 with musb all is lost anyway Mar 02 19:56:52 keyvan depends on your usecase Mar 02 19:58:52 woglinde: basically the use case is for mass distribution of this beaglebone-based product. but we're just 2 guys so we need to figure out the best workflow. Mar 02 19:59:25 by modifying the flasher, in theory the bootstrap process would take much less time Mar 02 19:59:26 keyvan: do have a hard requirement for debian? Mar 02 19:59:35 nerdboy: nope, just need python Mar 02 20:01:04 oe builds much smaller images, easy to integrate/build/deploy custom stuff Mar 02 20:01:05 keyvan: easy solution is just to have something that auto-logs in via ssh and runs an install script Mar 02 20:01:20 lots of documentation... Mar 02 20:01:48 ryan-c: yup thats the obvious approach im thinking of currently, interesting in nerdboy's idea though as it could be the proper way to go about this Mar 02 20:02:04 nerdboy: i think the start of your message got cut? oe builds ? any links to docs would be appreciated Mar 02 20:02:09 * nerdboy just hit 100% in 2GB debian image after one "apt-get install" Mar 02 20:02:13 s/interesting/interested/ Mar 02 20:02:49 you using irc from your beagle too ? Mar 02 20:02:59 yoctoproject.org Mar 02 20:03:13 no, normal desktop Mar 02 20:03:38 bbb needs bonescript/cloud9 image back again apparently Mar 02 20:04:06 ah ok sick, this yocto thing looks like the discussion i'm searching for Mar 02 20:04:10 keyvan: we made a yocto crash course thing for SCaLE Mar 02 20:04:11 thanks nerdboy Mar 02 20:04:35 yeah ? any links to that ? i havent clicked around yet but definitely something direct to the meat would be nice ;) Mar 02 20:04:38 https://github.com/VCTLabs/scale13x-presentations Mar 02 20:04:45 thanks dude Mar 02 20:04:46 bin dir has pdfs Mar 02 20:05:01 look at the "notes" for details Mar 02 20:05:29 keyvan for help with oe you can join #oe of course Mar 02 20:05:38 yocto docs are release-specific or "latest" Mar 02 20:05:50 thanks woglinde i didnt realize that oe was not a typo Mar 02 20:05:50 very extensive Mar 02 20:06:03 keyvan no it wasnt ;) Mar 02 20:06:18 crash course thing has lots of reference links Mar 02 20:06:33 yocto is using openembedded Mar 02 20:07:38 any suggestions regarding virtualization, say for developing this whole thing end to end from mac os x? i've found that i'm way faster when developing via ssh & tmux over the usb network conn to a real beagle Mar 02 20:07:49 keyvan basicly all you have to do is to write an bb-file with your pyhton app and than create your own image, which can be based on the one available Mar 02 20:07:58 im looking at using qemu to virtualize (as now im about to add a touchscreen component too...s so i gotta mess with x11) Mar 02 20:08:23 keyvan: "yocto project" is top-level over yocto reference bsp/core stuff and openembedded Mar 02 20:08:28 keyvan but the setup can be a bit hard for someone new Mar 02 20:08:31 woglinde: ok awesome, looks like i got a lot to learn still Mar 02 20:08:40 explained in slides and upstream docs Mar 02 20:09:07 keyvan yes but you can run very minimal images Mar 02 20:09:12 in the end Mar 02 20:09:26 gotcha, yeah for instance i dont want that cloud9 stuff, i dont need ruby, things like that Mar 02 20:09:36 yocto/poky has helpful qemu scripts, etc Mar 02 20:09:42 awesome Mar 02 20:09:57 ah right yes Mar 02 20:10:01 "tyr it and see" Mar 02 20:10:04 hehe i love the beaglebone community Mar 02 20:10:06 you can test the image via qemu Mar 02 20:10:17 *try it even... Mar 02 20:10:19 hm someone hate us Mar 02 20:10:27 for beeing harsh Mar 02 20:10:44 maybe a teensy bit Mar 02 20:11:10 I like that: unhandled fault ;) Mar 02 20:11:24 woglinde: hand more chill pills maybe? Mar 02 20:11:28 pfff. it's been a great experience. my partner on this project is in charge of doing the case... we found a beautiful one from logic supply but it didnt have the 2d files in it. he opened an issue asking for it and a day layer, dxf files with 2d designs. just brilliant Mar 02 20:11:58 check thingiverse yet? Mar 02 20:12:01 and took me what? 1 minute to get detailed responses on how to create my custom distro? just brilliant Mar 02 20:12:03 keyvan how many unit you want to sell Mar 02 20:12:04 no not yet! Mar 02 20:12:05 ? Mar 02 20:12:31 nobody tried the pruss in ti 3.14 kernel ? Mar 02 20:12:38 woglinde: we want to start with 10 (We've got 10 PCB's fabbed and in hand), but if we sell all 10 we'll go 100 or something ? Mar 02 20:12:46 (For the cape) Mar 02 20:12:49 crash course is quicky bootstrap, then mailind lists and irc Mar 02 20:13:12 yay, i made a kernel opps Mar 02 20:13:56 ryan-c musb? Mar 02 20:14:03 musb? Mar 02 20:14:16 keyvan: real engineering support/training also available at reasonable rates Mar 02 20:14:47 * nerdboy had bad experience with musb and old kernel fork Mar 02 20:15:03 woglinde: I was modifying a kernel module Mar 02 20:15:42 and my beaglebone black isn't coming back from a reboot Mar 02 20:15:55 I guess that's enough screwing with it for now. Mar 02 20:16:30 nerdboy: cool i'd probably be interested in it... i'm in a hurry to finish this stuff up before i go overseas this month, so i know i wont be able to go deep on oe/yocto for this run. i will have to resort to having a fat debian image and running a script over it Mar 02 20:16:40 I'm trying to come up with some way to prevent the mass storage gadget from caching reads of the device it's exporting. Mar 02 20:17:15 I tried adding the O_DIRECT flag to the filp_open call, which seemed to have no effect. Mar 02 20:17:42 try just mount options first? Mar 02 20:18:00 Then I tried commenting out the code that prevents you from using a char device so I could use /dev/raw/rawX, and that caused an oops. Mar 02 20:18:11 * nerdboy plays not much with gadgetfs Mar 02 20:18:39 ryan-c: heh, you're hitting stuff in stephanie's usb talk... Mar 02 20:18:59 "embedded usb, quirky but useful..." Mar 02 20:19:03 nerdboy: I need to export an nbd device as usb mass storage. Mar 02 20:19:34 ...and I need it not to cache reads for highly esoteric reasons. Mar 02 20:19:44 look at the svg slides above Mar 02 20:20:00 which slides? Mar 02 20:20:16 well, that specifically is not mentiined iirc Mar 02 20:20:31 but might be informative anyway... Mar 02 20:20:45 nerdboy: the boot slides? Mar 02 20:21:06 https://github.com/VCTLabs/scale13x-presentations/blob/master/bin/usb_quirky_versatile_paths.svg Mar 02 20:21:24 stupid github links... Mar 02 20:21:35 the usb slides Mar 02 20:21:44 I might just need to hack up a custom mass_storage driver that uses nbd directly Mar 02 20:22:45 nerdboy: I can't seem to see anything there Mar 02 20:23:16 https://github.com/VCTLabs/scale13x-presentations <= bin dir Mar 02 20:23:49 so how does a network block device replace gadgetfs again? Mar 02 20:24:07 nerdboy: it doesn't, that's what i'm using as a backing file Mar 02 20:24:22 i thought you wanted your (bbb) device to present itself as mass storage? Mar 02 20:24:29 yes Mar 02 20:24:48 present a mass storage device that is backed by an nbd somewhere Mar 02 20:25:14 and it's caching? Mar 02 20:25:32 yeah, the bbb caches the nbd device Mar 02 20:25:36 (on read) Mar 02 20:26:20 you have a nose for the "odd couple" use case, don't you... Mar 02 20:26:48 maybe rethink it and just use iscsi or something Mar 02 20:27:26 afaik gadget was seignd to present local card/flash as storage Mar 02 20:27:36 *designed even Mar 02 20:28:26 nerdboy: NBD is attractive because the server is trivial to implement and I need custom behavior based on read patterns (don't ask why). Mar 02 20:28:27 without disabling cache that sounds like "normal" behavior Mar 02 20:28:58 should be a straightforward way to turn that off Mar 02 20:29:03 the caching? Mar 02 20:29:07 yup Mar 02 20:29:10 you would think so, but I can't find it. Mar 02 20:29:56 the /dev/raw/rawX thing seemed to be sort of for this, but it doesn't seem to play nice. Mar 02 20:30:06 so either we're missing something obvious or upstream blanked out there Mar 02 20:31:14 nerdboy: what do you mean by "gadget was designed to present local card/flash as storage"? the mass storage gadget is designed to present a file or block device as storage...it doesn't care what's backing those entities. Mar 02 20:31:52 sure iscsi won't meet your (weird and unspecified) requirements? Mar 02 20:32:18 not saying it cares per se, but may expect a bit less latency... Mar 02 20:32:51 nerdboy: I'd have to write an iscsi server then Mar 02 20:33:25 performance doesn't matter a whole lot Mar 02 20:33:28 * nerdboy just guessing the gadget devs didn;t test against nbd backend Mar 02 20:33:45 nerdboy: nbd backend works totally fine - it's just a block device. Mar 02 20:34:01 I just have the bizarre requirement of no read caching. Mar 02 20:34:32 ryan-c: are you planning to present the modified gadget driver as a USB mass storage class device though? Mar 02 20:34:42 mdp: yes Mar 02 20:34:45 ryan-c: or are you building a customer host protocol? Mar 02 20:34:47 ok Mar 02 20:34:58 need to have it bee mass storage Mar 02 20:35:47 s/customer/custom ;) Mar 02 20:36:15 ryan-c: makes sense, it would be a shame to throw away the class driver on the host Mar 02 20:37:02 I wonder if I can stick some fuse-based madness in the middle of this to prevent caching. Mar 02 20:39:05 "fuse-based madness" might actually help... Mar 02 20:39:09 yeah Mar 02 20:39:23 the vfs cache doesn't work on fuse by default Mar 02 20:39:30 just sounds funny... Mar 02 20:40:10 nerdboy: "Rube Goldberg-esque" Mar 02 20:40:59 "then we can add a dbus layer over here..." Mar 02 20:41:38 this doesn't have to be good, or fast, or maintainable, it just has to work :p Mar 02 20:42:15 good, set the bar nice and high Mar 02 20:44:38 ryan-c: maybe think a few more times on how this could back to bite your ass Mar 02 20:44:46 just sayin' Mar 02 20:44:49 nerdboy: what, the fuse thing? Mar 02 20:45:19 no, the "just has to work" part Mar 02 20:45:46 once your rube-goldberg device is complete Mar 02 20:46:33 * nerdboy has no problem with deploying fuse-based solution Mar 02 20:46:36 it may not seem like it, but I know what I'm doing. Mar 02 20:46:56 (famous last words) Mar 02 20:47:11 never did i say you didn't... Mar 02 20:47:45 * nerdboy has a couple of ass-scars from previous Mar 02 20:47:48 lol Mar 02 20:48:40 if it lives more than a week... Mar 02 20:48:51 it doesn't need to Mar 02 21:45:49 <[1]hitman> i wish to play some audio on the bbb. Mar 02 21:46:16 and its a project so cant use cape. Mar 02 21:46:42 i have DACs, amlifiers and pre amplifiers. Mar 02 21:47:28 is there a way i can get the output for the circuit comprising of these ? Mar 02 21:47:33 no need for a DAC Mar 02 21:47:49 a transistor a few passives is all you need Mar 02 21:48:02 already has DAC output pins, no? Mar 02 21:48:24 why use a DAC if you don't have to? Mar 02 21:49:05 ok . whta GPIOs do i use for that ? where will i get the output ? Mar 02 21:49:22 and this will all be on that linux right ? Mar 02 21:49:33 or i'l have to right some code for that ? Mar 02 21:50:18 * nerdboy prefers wronging code... Mar 02 21:51:31 hmmm? Mar 02 21:51:33 sure Mar 02 21:52:00 so at what GPIOs will i get the output ? Mar 02 21:52:11 of that audio . Mar 02 21:52:11 ? Mar 02 21:52:30 there are several ways of doing it Mar 02 21:52:40 so the pin you use depends on which way Mar 02 21:52:48 if you insist on using GPIOs, any free one will do Mar 02 21:53:53 can you please direct me, where can i find some document on that ? or related ? Mar 02 21:54:27 what to google for ? its just replying with the capes. Mar 02 21:56:03 look at the basic theories first Mar 02 21:56:09 then reduce it down to an implementation Mar 02 21:56:25 keywords to use on a search engine - "1 bit DAC", "PWM audio" Mar 02 21:57:32 ok, will "volumio" be usefull for such a thing ? Mar 02 21:58:10 hmm, adc pins but i guess you do get to build your own dac Mar 02 21:58:15 http://www.dx.com/p/5-1-channel-usb-sound-card-adapter-black-59039 Mar 02 21:58:26 no idea what that is Mar 02 21:58:28 problem solved for under 3 dollars Mar 02 21:58:35 there is no DAC Mar 02 21:58:39 not in the conventional sense Mar 02 21:58:53 ADCs are needed only if you need audio in Mar 02 21:58:56 http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2013/07/06/bbb--building-a-dac Mar 02 21:59:35 volumio is there on beaglebone.org Mar 02 21:59:36 http://beagleboard.org/project/Volumio/ Mar 02 22:00:21 no idea how that is related to anything you are asking Mar 02 22:01:02 thats what i was aksing. ok . thank you :) Mar 02 22:04:47 actually, i have to use these DACs and all, its like, i need to show an application of all of them, together, and since i wish to learn about bbb, i just thought to make this kind of audio output device . Mar 02 22:05:19 and i really need to use the DACs + pre-Amp + Amp . Mar 02 22:05:24 so..... Mar 02 22:07:06 what i actually need is, to output the 8 bit data, at a given sample, through 8 GPIOs. Mar 02 22:07:41 and i have no idea how i'll make bbb do that. Mar 02 22:08:04 *at agiven sample rate Mar 02 22:08:08 *a given Mar 02 22:08:55 short answer is you don't Mar 02 22:09:13 gpio is too slow Mar 02 22:10:16 not even at sample rate 22.05 khz ? Mar 02 22:10:32 gpio access from userspace is lagging Mar 02 22:10:45 you can use I/O pins from pru that said Mar 02 22:11:37 I'm off snow strom :( Mar 02 22:11:50 so PWM audio is the only way ?? Mar 02 22:12:12 isn't there an I2S on the beagle? Mar 02 22:12:13 you can go with 8 bit audio on pru Mar 02 22:12:19 DAC on spi Mar 02 22:12:29 or even in i2c Mar 02 22:12:35 veremit: yes. the mcasp can do I2S Mar 02 22:12:49 the audio cape uses I2S. Mar 02 22:12:54 thought so Mar 02 22:13:57 hitman_ .. basically you'd have to write a PRU program to output your samples, read from a memory buffer or similar which you populate in userspace Mar 02 22:14:11 I2S != gpio Mar 02 22:14:12 or use a serial DAC Mar 02 22:14:31 PRU pins are not GPIO, they are PRU pins Mar 02 22:14:37 or dedicated sound chip via I2S Mar 02 22:14:43 aka codec Mar 02 22:14:50 MCASP burns too many pins Mar 02 22:15:33 nerdboy: okay, well the fuse thing seems to work, maybe. Mar 02 22:15:41 ds2 .. depends what else you're using your pins for :p Mar 02 22:15:54 veremit: fair response Mar 02 22:16:09 or Not using your pins :) Mar 02 22:17:09 mcasp/i2s or external usb codec are probably the preferred methods .. but if you're doing it Old Skool .. then you're outputting your 8-bit data as described .. Mar 02 22:17:53 there are other more interesting functions on the mcasp pins, IIRC Mar 02 22:18:11 ds2: that may be true, but thats not what's being asked .. Mar 02 22:18:45 but what is being asked doesn't work well. Mar 02 22:18:54 ds2: irrelevant :) Mar 02 22:18:56 GPIO + parallel dac == audio disaster Mar 02 22:19:12 nobody said it had to be HI-Fi :p Mar 02 22:20:31 ds2: it may be undesireable .. but its quite an interesting academic experiment Mar 02 22:21:14 I question the interesting part Mar 02 22:21:34 a better exercise is to revise it to use the GPMC and build a proper latch/clock setup Mar 02 22:22:32 yea I could see a latch being useful Mar 02 22:23:02 it should be possible to set up a timer for ~22khz though Mar 02 22:23:24 for "audio", start with 8KHz Mar 02 22:35:23 ok so, i can use one of the SPI ==> serial to perallel (may be 74hc595d) ==> DAC ==> pre-amp ==> amp. (right ? ) Mar 02 22:35:51 and how to direct all the audio data to the spi port ? Mar 02 22:36:20 *parallel Mar 02 22:48:55 u guys there ? Mar 02 22:49:04 i really need to use them. Mar 02 22:49:28 I don't understand what is the point of run linux on digital signal processors? IMHO, prefer to make a load balancing for distributing tasks onto heterogeneous cores(ARM+DSP). http://elinux.org/BeagleBoard/GSoC/Ideas#Linux_on_C6x Mar 02 22:50:39 running* Mar 02 22:50:50 tholm, why not? ;) http://linux-c6x.org/wiki/index.php/Main_Page Mar 02 22:51:12 yep I read that Mar 02 22:52:39 if you consider the os on the original beagle/xm dsp cant be ported as is to remoteproc.. running linux is atleast an option.. Mar 02 22:55:05 DSP is not the best choice to run linux kernel Mar 02 23:01:11 yuk no lol Mar 02 23:03:33 the blackfins guys done it Mar 02 23:05:08 ds2: blackfin isn't a heterogeneous core(ARM+DSP) Mar 02 23:05:28 details Mar 02 23:05:32 nor is it an ARM w/MMU Mar 02 23:07:35 TI combines ARM cores with DSP to accelerate applications Mar 02 23:08:49 blackfin is just a dsp core Mar 02 23:20:50 and the 6K project is about running Linux on the DSP core Mar 02 23:21:48 yes Mar 02 23:22:17 The ARM processor can be used for other general processing tasks(one of them to run Linux) and DSP core can be used for various purposes, i.e multimedia decoding/encoding. This offloads the host ARM processor. Mar 02 23:23:32 IMHO is the best scenario for the Xm and X15 boards Mar 02 23:25:50 DSP's are best used for simple highly repetitious jobs. For example encryption MD5 check sum calculation CRC128 DCT deblocking etc. data smoothing etc. Mar 02 23:26:07 For that reason idk if it's a good idea working on C6x project( Linux on C6x) Mar 02 23:26:32 C6K? Well I guess it's challenge? Only reason I can think of. Mar 02 23:27:57 Running linux on a 68K was possible too. Did want an MMU for that but I digress. DSP's are generally harvard archetecture so memory is disperate at best. Mar 02 23:28:19 what is the purpose to run linux on dsp core when you have a ARM processor? Mar 02 23:29:10 Nothing wrong with fiddling with it I guess. Maybe they want to run a mini server in the DSP area? Or make an X client for the main processor? Mar 02 23:30:17 I can't say I know why either. :D Mar 02 23:30:23 lol Mar 02 23:31:11 Just saying "it might be the challenge" sort of like the guy who built his house out of beer cans type of thing. Mar 02 23:32:25 It would be nice to have some sort of high speed bus access on the expansion bus. Mar 02 23:35:14 X15 adds SuperSpeed USB 3.0 support Mar 02 23:38:07 That's Not particularly simple. PCIe would be simpler than USB supersport err superspeed. Mar 02 23:38:32 I will use X15 with one of this http://www.cypress.com/fx3/ Mar 02 23:39:42 i am confused how pcie is simpler than usb 3.0... Mar 02 23:41:13 You can get OpenCore for it and a lot of cheap FPGA's support it directly you can use Icharus to do all your simtesting and in a day or too you have a nice memory mapable device interface. Mar 02 23:41:40 Of course if you don't know verilog that would be a minus :D Mar 02 23:42:38 haha Mar 02 23:43:26 Verilog is good at hardware modeling but lacks higher level Mar 02 23:44:19 USB adds a lot of complexity granted their is a lot of "Software" that makes it happen, that however is the issue. USB == pile of software thus I am no USB fan. It's a software approach to IO programing if you didn't have all those suites of software to make it work. It would be a bitch to work with. Mar 02 23:46:12 I agreed :-D Mar 02 23:47:39 Also USB is a favored attack vector on all computers. All windows machines andriod linux OSX systems are volunerable too the "keyboard HID attack". It simply acts like a flash drive and a keyboard (USB composite) and poof they can screw with you big time. Mar 02 23:48:16 Watch out for "charging stations" let me put it this way. Mar 02 23:50:55 USB condoms are a thing. Mar 02 23:50:58 You now need a USB condom for charging via USB (the irony of that). Mar 02 23:51:24 It's ironic about 20 years ago they were talking computer condems.. with USB guess what? :D Mar 02 23:51:50 somewhat more of a problem for phones, really. Mar 02 23:52:16 It affects all sorts of devices but yes mostly phones (mostly). Mar 02 23:52:51 I'm sure there's plenty of exploitable drivers for USB devices that will auto load/install Mar 02 23:53:37 Anyhow I digress I want a simple fast bus that I can stream data in and out of the computer without burden the kernel like USB does. Mar 02 23:54:20 GenTooMan: That sounds like DMA. Do you want DMA attacks? Because that's how you get DMA attacks. Mar 02 23:55:27 DMA works for me but the kernel handles the IO via DMA much like a sound device streams audio data from buffers in and out of the computer. Mar 03 00:51:04 how can i direct all the audio output to SPI port ? Mar 03 00:52:31 with a driver, or alsa plugin. Mar 03 00:58:34 You need a driver for the SPI port so the kernel knows how to use it. Mar 03 00:58:51 Configuration could be a bit complicated depending on what you have on the SPI bus. Mar 03 02:37:55 What is the best price for BBB? Mar 03 02:38:33 I need to know to determine if it's overpriced in a store I have seen it Mar 03 02:38:49 there are too many distributors to check on everyone Mar 03 02:39:32 us$45 is msrp, more or less Mar 03 02:39:59 that's the B series the C series is $55 Mar 03 02:40:22 What's the difference? Mar 03 02:40:30 I need one to flash SPI chips Mar 03 02:40:36 0x01 Mar 03 02:40:52 a whole bone, just to flash chips? Mar 03 02:41:05 pretty sure there are better ways... Mar 03 02:41:35 2G more of SSD look here to be certain http://beagleboard.org/black agreed you can write spi chips with a msp430F5529lp kit for $20 Mar 03 02:42:18 Probably requires more thinking but still :D Mar 03 02:42:36 or a dedicated spi flasher, or a pair of buttons, or a byspirate, or... Mar 03 02:42:40 agmlego, I do not know, it's recommended on libreboot.org Mar 03 02:42:44 *bus pirate Mar 03 02:42:54 Necrosporus: is it now. Mar 03 02:42:55 also BBB should be able to be used as EHCI debugger Mar 03 02:43:04 should it? Mar 03 02:43:11 Hello! Mar 03 02:43:12 coreboot.org says so Mar 03 02:43:21 I could give you exact link if you want Mar 03 02:45:19 Hrmm Mar 03 02:46:27 Was wondering where the best place would be to ask a few questions about using bonescript. I just got the Beaglebone as an upgrade from Arduino and so far I'm loving it. Mar 03 02:46:52 So I need an ehci debugger and spi programmer for a reasonable price and running without proprietary drivers or OSes Mar 03 02:50:19 It looks like you want to use libreboot for a UEF bios booting? May need to know the layout of the SPI flash data first. Then you will need tools to send the image to the spi flash and of course something to write too the spiflash. All doable but a bit of work for certain. I used a msp430F5529lp dev board and the USB toolkit TI supplied with CCS5 and CCS6 the latter are "free" if you use the GCC msp430 compilor. Not sure if Mar 03 02:50:20 the USB code for the 5529 works with it. Anyhow a bit of embeded programming required. I used a 512M nor flash spi. Mar 03 02:51:04 GenTooMan, no, I do not want to use uefi, libreboot could have grub2 payload Mar 03 02:51:25 So you load your computer getting grub2 directly without uefi or bios Mar 03 02:52:07 GenTooMan, libreboot supports using BBB Mar 03 02:52:32 what's wrong with buying and using it for this purpose? it's not as expensive as some other things Mar 03 02:54:13 Well I guess you buy a laptop for each dev tool you have? BBB has 2/4G of built in SSD and you can chuck in 128G of SD card space. More than enough for a lot of stuff. Just kind of over kill in my thinking :D No one said it was wrong (at least I didn't). I am looking at an old laptop to become a BBB laptop for example. :D Mar 03 02:55:09 GenTooMan, I have a lot of laptops and going to buy more Mar 03 02:55:42 I'm in room with 4 different laptops and I have another two in other places Mar 03 02:56:23 has anyone experienced issues with the BBB not displaying over HDMI? Mar 03 02:56:37 Could BBB display over VGA? Mar 03 02:56:38 I'm in a room with 14 computers 2 of which are laptops. Mar 03 02:56:51 You would need a HDMI to VGA device. Mar 03 02:56:53 Do you count routers? Mar 03 02:57:14 Count routers? Mar 03 02:57:21 um, i dont' have HDMI to VGA Mar 03 02:57:28 using just HDMI Mar 03 02:57:29 router is a computer Mar 03 02:57:30 BBB outputs digital only. (no I have 2 switches 2 routers and a couple ethernet toys) Mar 03 02:57:49 My monitor supports only vga in Mar 03 02:57:56 um, I can get SSH to work Mar 03 02:58:04 and I can remote into it via VNC Mar 03 02:58:10 just no HDMI output Mar 03 02:58:12 do you have the debugging serial toy? Mar 03 02:58:12 =/ Mar 03 02:58:32 yea, i don't know how to properly use it thoughon linux Mar 03 02:58:33 That is almost a must if your display doesn't work. Mar 03 02:58:57 Oh.... Mar 03 02:59:09 I was trying to get it to work a couple days ago... Mar 03 02:59:17 Didn't know what application to use Mar 03 02:59:22 Or if I needed Drivers Mar 03 02:59:31 I am running Ubuntu as my home computer **** ENDING LOGGING AT Tue Mar 03 02:59:58 2015