**** BEGIN LOGGING AT Mon Dec 08 02:59:59 2014 Dec 08 03:08:44 Another PRU question: I'm using boxysean's blink example PRU app (https://github.com/boxysean/am335x_pru_package/tree/master/pru_sw/example_apps/blink). I have enabled the BB-BONE-PRU-01 dts and successfully run the example, making 3 on-board LEDs flash 10 times. When I read the blink.p file, I see that the GPIO1 bus memory location is used to write to the 22nd, 23rd, and 24th pins (the on-board LEDs) by writing 7<<22 to the set_dat Dec 08 03:08:44 a_out and clear_data_out offsets from the GPIO1 bus. I want to make an off-board LED light as well. Since I'm already setting pins on GPIO1 high, I thought I could just change the 7<<22 lines in the assembly to set different pins on GPIO1 high as well. I specifically tried GPIO1_16 and 17, (pins P9_15 and P9_23), but neither would go high when I ran the program. Any ideas what I'm doing wrong? Do I need to enable the new pins specif Dec 08 03:08:45 ically in the device tree? Dec 08 05:42:39 I can't get past the Step 2 in the docs. Is there a missing Step 2.5 where you actually configure communication with the black? Dec 08 05:52:30 I'm on OS X 10.9.5 and I just get a timeout. I even plugged it an ethernet cable and manually configured my IP address (which the docs don't discuss) Dec 08 06:26:27 So, uh... does anyone have a more complete set of instructions they could share? Dec 08 06:30:35 Hi trb! Dec 08 06:30:42 Hi every one Dec 08 06:32:06 I am setting brightness value on BBB/ Debian with 4Dcape every time. Dec 08 06:33:07 When, enquired with 4d system, they asked to set script to set the value of brightness file at, sys\class\backlight. Dec 08 07:12:01 hallo Dec 08 10:02:16 av500: I have tried to find anything in the code you have showed me to get the hdmi working, but with no luck at all. I have found a DVI cape designed for regular BeagleBone and it comes out that its schematic is basically the same as mine. Although I cannot find the dts file for it anywhere. Do you have any expirience with that cape? Dec 08 10:03:33 nope Dec 08 10:04:52 https://github.com/beagleboard/meta-beagleboard/blob/master/common-bsp/recipes-kernel/linux/linux-mainline-3.8/not-capebus/0038-capemgr-LCD3-cape-definition.patch Dec 08 10:05:07 the BW stuff was kept as patches for a while Dec 08 10:05:10 BBW Dec 08 10:08:22 thank you Dec 08 10:14:17 hi Dec 08 10:15:16 moo Dec 08 10:15:39 I have a question about BBB. I am curently developing midlets for Gemalto BGS5T modul in Java. I know how to use I2C, socket connections, RS232 communication and such. But I have never before used linux. So how hard would be for me to start developing on BBB? Dec 08 10:16:21 If I understand corectly I can buy gprs for BBB, because that would be quite usefull. Dec 08 10:16:58 well, you would not be the first person to start on Linux Dec 08 10:17:06 which means, there is a lot of info out there Dec 08 10:17:35 yes, you can plug a USB 2G/3G modem Dec 08 10:17:52 those have Linux support in general Dec 08 10:18:10 do you maybe know how realiabl would that modem be for industrial pruposes? Dec 08 10:18:19 what modem? Dec 08 10:18:22 there are many Dec 08 10:18:29 and which coding language would be best for developing? Dec 08 10:18:43 ? Dec 08 10:18:51 depending on you Dec 08 10:18:57 and what you want to do Dec 08 10:19:00 I don't really know USB gprs modems, because curently gemalto has that intigrated Dec 08 10:19:22 @woglinde I want to use BBB, for communication with sensors and other devices Dec 08 10:19:26 and we do not know what you want to achieve Dec 08 10:19:42 adn that for you need gprs? Dec 08 10:20:03 or do we mix some diffrent stories up? Dec 08 10:20:08 gprs is needed so that you can send SMS commands if there is no internet connection Dec 08 10:20:38 in our company we want platform that we could use for most of our projects Dec 08 10:20:42 so it depends on the sensors and the other devices Dec 08 10:20:57 which language you need Dec 08 10:21:08 we curently have Gemalto BGS5T, which supports Java ME Dec 08 10:21:14 but it has some limitations Dec 08 10:21:38 and how the Gemalto should control the sensors? Dec 08 10:21:50 or should the bbb replace the gemalto? Dec 08 10:21:58 BBB would replace gemalto Dec 08 10:22:03 ah okay Dec 08 10:22:49 it would be a new platform which we could use for most of our projects Dec 08 10:22:52 if you have nothing fancy and not need realtime stuff, I would suggest python Dec 08 10:23:36 sometimes it has also to be realtime, like to turn on and off some device (like pump) every 30 seconds or even less Dec 08 10:24:21 and some applications require that you can send them commands from the server Dec 08 10:25:10 we are hoping that with BBB we would have platform, were we would develop in one language, so that if needed we can reuse the code on some other platform Dec 08 10:25:23 and we could do all the stuff that I wrote Dec 08 10:25:42 hm Dec 08 10:25:44 nope Dec 08 10:25:58 for realtime you could use the PRU Dec 08 10:26:10 and than its not cross-platform functional anymore Dec 08 10:26:23 it doesn't need to be realtime in miliseonds, there can be 1-2 second delay Dec 08 10:26:47 hm okay Dec 08 10:26:48 which of the functions isn't usable in realtime? Dec 08 10:26:56 ? Dec 08 10:27:27 if I am corect I could use C on linux to control other devices and such? Dec 08 10:27:40 so why woulden't be posible realltime? Dec 08 10:28:41 thank you for your answers, I unfortnualy have tro go Dec 08 10:29:09 depends on the latentcy Dec 08 10:29:31 toggling gpios from userspace is far slower than with the pru Dec 08 10:46:46 HI BeagleBoard Dec 08 10:49:43 If I buy beagle bone black and ninja shield, I combine together. Is it can work same like ninja block? Dec 08 10:50:54 ask whomever sells the ninja cape Dec 08 10:55:20 what is a ninja block? Dec 08 10:56:12 woglinde: nobody knows. you're not supposed to see a ninja. Dec 08 11:11:32 @woglinde how much slower is to control GPIO trough C or Python? Dec 08 11:12:56 every 30s works in both Dec 08 11:13:23 ok,thank you Dec 08 11:15:06 \ww Dec 08 11:15:08 augh Dec 08 11:33:42 av500: I have found some .dts file for DVI cape, but they work with standard beaglebone. I was trying to modify them to work with bbb but with no luck. Do you know maybe what else besides the pinout has to be changed? In the device section it says its compatible with bbb to thats why I dont understand why doesnt it work. Dec 08 12:07:58 I have a question- I have accidently overwrote with a dt file the dt file for the emmc pin and now I cannot boot- Is there a way now to access the uEnv file and disable the dt file i have enabled? Dec 08 12:08:18 I am in initramfs now Dec 08 12:10:03 Hi i got a problem while using BBB as mass storage device , Transferring data from beaglebone is not working properly.but transferring to is working fine.Is there any parameter issue??? Dec 08 12:10:54 modprobe g_multi file=/dev/mmcblk1p1 cdrom=0 stall=0 removable=1 nofua=1 iSerialNumber=1 iManufacturer=Circuitco iProduct=0002 host_addr=78:a5:04:c1:83:68 Dec 08 12:11:10 parameter passed to enable mass storage Dec 08 12:18:33 hello Dec 08 12:19:42 modprobe g_multi file=/dev/mmcblk1p1 cdrom=0 stall=0 removable=1 nofua=1 iSerialNumber=1 iManufacturer=Circuitco iProduct=0002 host_addr=78:a5:04:c1:83:68 Dec 08 12:20:08 Facing problem while transferring data from beaglebone Dec 08 12:21:41 kk_ why you need masstorage? Dec 08 12:23:35 it s for some task regarding camera setup Dec 08 12:23:55 kk and yes the usb on all beagles is not that best in hw and sw Dec 08 12:23:59 need urgent help Dec 08 12:24:40 you proably will not get one Dec 08 12:24:51 at least unpaid Dec 08 12:26:29 ok np Dec 08 12:26:37 thanks for reply Dec 08 12:29:17 does someone know, how to acces emmc while being on a system that runs on a sd card? Dec 08 12:29:45 bremenpl: guess: have a loot at /proc/mtd and /proc/partitions Dec 08 12:29:50 s/loot/look/ Dec 08 12:30:13 i did a df and tried to mount stuff that is there, but its not my emmc Dec 08 12:35:19 found it, thanks :) Dec 08 12:36:16 whew, I had some serious stuff in my pants i thought i bricked the emmc Dec 08 12:37:51 what does that mean Dec 08 12:39:02 I turned on the dvi cape on boot and appereantly it uses some emmc pins and I couldnt boot anymore Dec 08 12:39:36 so I booted from sd and comented out that cape in uEnv.txt thats on emmc Dec 08 12:41:52 hi, anyone here used BBIO? Dec 08 12:41:57 im having weird problems Dec 08 12:42:06 av500: The fun fact is, that I have seen that my monitor started to be connected to my bbb I think, because the power-saving mode turned off for the first time and maybe if I could boot, then I would get the screen working. The thing is, I have the dvi cape compiled somewhere in the system and I cant compile a new dvi cape dts and I dont know why. It says that the file already exist when I try to echo it to slots Dec 08 12:43:12 http://pastebin.com/H03tZ5ub Dec 08 12:43:21 someone want to explain wtf is going on? Dec 08 13:13:23 when will I be able to use btrfs as rootfs? Dec 08 13:19:19 av500: I have booted the bbb from the stock debian image from sd card. I disabled the hdmi and emmc. Then I loaded the dts for DVI to work at start. For a 2-3 seconds i have seen some blurred lines on the screen. Then the debug window gave me this and screen died: [ 26.468200] tilcdc 4830e000.fb: timeout waiting for framedone Dec 08 13:30:53 cityoflights2 when you backport the brtfs source code? Dec 08 13:31:32 has anyone managed to use BBIO for SPI? Dec 08 13:31:36 im having no luck Dec 08 13:31:43 so I should have asked, when can we run a current kernel on the beaglebone? Dec 08 13:32:31 woglinde: why can't we run 3.16 on the BBB? Dec 08 13:32:38 I really don't know Dec 08 13:33:11 cityoflights2 because not all patches where applied upstream? Dec 08 13:33:29 kids these days Dec 08 13:33:39 in my time we were happy to run 2.5 Dec 08 13:34:12 patches to fix gpio, or other issues? Dec 08 13:34:48 av500 *g* Dec 08 13:34:58 cityoflights2 write to rcn or jkridner Dec 08 13:35:07 they can answer you Dec 08 13:35:28 cityoflights2: you can run current kernels already. Dec 08 13:35:34 mainline support is pretty good. Dec 08 13:35:35 I didn't mean to flame , I just want to know if the bootstraper can boot of btrfs Dec 08 13:36:02 hello jkridner Dec 08 13:36:03 3.14 has been fairly heavily tested and patched on http://github.com/beagleboard/linux Dec 08 13:36:04 o, ok, where can I download a binary of this kernel? Dec 08 13:36:14 cityoflights2: 3.14 binaries are available. Dec 08 13:36:23 in the Debian package feeds. Dec 08 13:36:30 great, so does this allow me to boot from btrfs? Dec 08 13:37:05 I thought you were the linux+btrfs expert... that isn't all that common a request. Dec 08 13:37:24 jkridner: where is the debian 3.14 feed? Dec 08 13:37:34 it wouldn't be different than other Linux systems. Dec 08 13:37:50 I'll look for the Debian feed URL... Dec 08 13:38:14 but usually you just do an 'apt-get install'... I have to look up the name too. Dec 08 13:38:30 * jkridner googles beaglebone black debian Dec 08 13:39:04 hi, anyone here used spi with BBIO? Dec 08 13:39:06 I ran the apt-get install and have Linux beaglebone 3.8.13-bone41 #1 SMP Tue Mar 4 22:51:47 UTC 2014 armv7l GNU/Linux Dec 08 13:39:28 http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-11-19 has the images. Dec 08 13:39:53 as of 11/11, you could 'apt-get install 3.14.23-ti-r33' Dec 08 13:40:32 oh , I had BBB-eMMC-flasher-debian-7.4-2014-03-04-2gb.img Dec 08 13:40:48 I see BBB-eMMC-flasher-debian-7.7-console-armhf-2014-11-19-2gb.img.xz Dec 08 13:41:26 E: Unable to locate package 3.14.23-ti-r33 Dec 08 13:41:29 The Jessie images currently default to the 3.14 kernels. Dec 08 13:41:37 hi, anyone here used spi with BBIO? Dec 08 13:41:38 but ok, I see the bin , I will get it Dec 08 13:42:06 looks like there is an r35 now... Dec 08 13:42:08 jkridner: any known issues I should look out for? Dec 08 13:42:14 and 39... https://github.com/beagleboard/linux/releases Dec 08 13:42:27 E: Unable to locate package 3.14.23-ti-r35 Dec 08 13:42:32 I have an autobuilder... Dec 08 13:42:46 at http://builds.beagleboard.org/ Dec 08 13:43:04 * jkridner wonders where the buildbot is. Dec 08 13:43:31 so, you can find the latest kernel image currently at http://builds.beagleboard.org/builders/runtests/builds/69 Dec 08 13:43:53 I see Dec 08 13:44:25 yet I see no binaries Dec 08 13:44:47 and I didn't find any 3.14 package in my 7.4 debian: Dec 08 13:45:18 root@beaglebone:~# apt-cache search 3.14 |grep -v ^lib Dec 08 13:45:19 fonts-arphic-ukai - "AR PL UKai" Chinese Unicode TrueType font collection Kaiti style Dec 08 13:45:51 http://builds.beagleboard.org/linux/3.14/c678faadf9baa2d5bebd34e6251b3a8b16ca2c03/ has links to binaries. Dec 08 13:45:54 lsb_release -a Dec 08 13:45:54 No LSB modules are available. Dec 08 13:45:56 Description: Debian GNU/Linux 7.7 (wheezy) Dec 08 13:46:08 sweet! Dec 08 13:46:41 I would think the LSB stuff would be there, but I haven't looked. Dec 08 13:49:30 sould someone give me a hint about how to load a certain version of a dtbo file, while there are couple versions? there are 3 files with different version 00A0, 00A1 and 00A2 and it always loads the 00A0 Dec 08 13:57:34 did anyone used a diffrent rootfs then ext4? Dec 08 13:57:52 is the BBB using grub? where to try a new FS? Dec 08 13:59:39 grub is not very popular on ARM Dec 08 14:00:02 uBoot then? Dec 08 14:00:22 for most yes Dec 08 14:00:28 EUFI! Dec 08 14:00:56 cityoflights2: to use a new FS, simple use your sdcard and format the linux partition in a different fs Dec 08 14:01:13 thought you might need to change uboot to load the kernel from the FAT partition Dec 08 14:01:24 since uboot does not speak all filesystems Dec 08 14:01:36 sure Dec 08 14:01:49 need to find how to do this Dec 08 14:03:32 but yes, I am using btrfs on two laptops and the snapshot is very usefull Dec 08 14:04:08 av500 need I use initramfs for this? Dec 08 14:04:55 dont think so Dec 08 14:05:16 should be enought to load kernel from FAT and point it to the right root= Dec 08 14:32:50 Hi guys, can anybody give me an explanation howto load dts file in newer kernel versions, since the good ol' capemanager is gone? where can I find a good explanation and the reason why it is gone? Dec 08 14:33:26 ... and plz don't say ask sergey and larry .... Dec 08 14:34:11 basically you need to make a new DTS file Dec 08 14:34:19 take the stock BBB one and add your stuff Dec 08 14:34:34 I'm kinda uset to echo BLA > ...capamgr.*/slots... howto od now? Dec 08 14:34:43 ..do now... Dec 08 14:34:48 forget about cape damager Dec 08 14:35:06 somebody even wrote a little tool to autogenerate a DTS Dec 08 14:35:12 based on the most popular things needed Dec 08 14:35:14 yes, but how can I now "load" my pin configuration? Dec 08 14:35:15 like "add UART1" Dec 08 14:35:24 BennyB_: as I said Dec 08 14:35:32 add you stuff to the DT file Dec 08 14:35:42 like you would if your cape was part of the PCB Dec 08 14:35:58 can u explain that a little bit more? att to DRT file? Dec 08 14:36:02 DT file Dec 08 14:36:28 where is it located? is this a big all-in-one file? Dec 08 14:36:32 well, cape manager was managing DT "overlays" Dec 08 14:36:37 yepp Dec 08 14:36:39 that would add stuff to the DT at runtime Dec 08 14:36:43 yepp Dec 08 14:36:45 since you dont have that Dec 08 14:36:50 you need to have it at boot time Dec 08 14:36:58 as in edit the actual file Dec 08 14:37:33 ok, where can I find "The one and only DT file" ? Dec 08 14:37:58 basically you need to do what is needed for every non-BBB board these days Dec 08 14:39:25 http://kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator Dec 08 14:39:25 I hav'nt done such things to boards. Its a first timer... So can You tell me where the file is located or is it *secret* ? *g* Dec 08 14:39:32 no Dec 08 14:39:34 not secret Dec 08 14:39:42 I guess its where the official kernel is Dec 08 14:41:15 is one on the BBB itself? Let's say I build my 3.18 using RCN's files, "it" must be somewhere in some directory, or is it "merged" into kernel? Dec 08 14:45:26 is ther some documentation why it was removed? I cannot find something. Dec 08 14:46:21 why what was removed? Dec 08 14:46:27 capemanager? Dec 08 14:46:31 the cape manager Dec 08 14:46:44 it was written by panto. but upstream did not like the idea much Dec 08 14:47:21 so it was dropped for now. it might return as mainline got dynamic DT in the meantime Dec 08 14:47:29 that's the reason? wbecaus some guys didn't LIKE it?? strange Dec 08 14:47:39 BennyB_: Welcome to open-source. Dec 08 14:47:45 well, if the kernel people dont like your stuff, it wont get in Dec 08 14:47:49 Actually welcome to all software. Dec 08 14:47:54 indeed Dec 08 14:47:59 okok... Dec 08 14:47:59 and hardware Dec 08 14:48:03 and life in general Dec 08 14:48:06 And everything actually. Dec 08 14:48:13 bouncer no like your face, you no get in Dec 08 14:49:45 but, forgive my dumbness, I still din't get is. where is the BBB DT file located? I mean the path. (sorry, I'm no kernel guy at all, robersts howto is all I know ;-) ) Dec 08 14:59:16 Hello everyone Dec 08 14:59:48 hi Dec 08 14:59:49 Can i ask a question here? I am having some trouble with my board... Dec 08 15:00:08 Th thing is like this Dec 08 15:00:33 i was trying to upgrade the firmware using a microSD card Dec 08 15:00:53 i have done everything the website told me to do Dec 08 15:01:17 and now my computer doesn't recognize the board... Dec 08 15:02:26 can anyone help me with this? I am afraid that I will need to buy a new one and gave it back to my school... Dec 08 15:02:37 nah Dec 08 15:02:43 they are hard to break Dec 08 15:03:08 download the right image to your SD card Dec 08 15:03:13 plug it in Dec 08 15:03:19 boot with the button pressed Dec 08 15:03:26 that wait for the flasher to finish Dec 08 15:03:41 Talk: what happens if you power it up? What do the LEDS do? What software did you put on your SD card? Dec 08 15:04:31 I download the image file from the beagle website the Debian one Dec 08 15:05:01 i have unplugged my sdcard and now the LED is all on Dec 08 15:05:06 Talk: was it a flasher image? Dec 08 15:05:08 There's a few Debian versions there: regular and 'flasher' versions. I assume you downloaded a 'flasher' ? Dec 08 15:05:19 did you allow the flasher process to complete? Dec 08 15:06:04 YAP i downloaded the flasher one Dec 08 15:06:35 and to jkridner that is the thing i am not sure Dec 08 15:06:52 the web says that i have to wait till the LED goes on Dec 08 15:06:55 you watch the LEDs to know. Dec 08 15:07:13 which web page? there might also be mention of them going off? Dec 08 15:07:18 so i wait and it went so fast i thought it was finished Dec 08 15:07:20 anyway, did they stop blinking? Dec 08 15:07:30 oh, no, it should take about 15 minutes. Dec 08 15:07:43 http://beagleboard.org/getting-started#update this webpage Dec 08 15:08:16 i think so.... but no pretty sure about this.... Dec 08 15:08:50 did i break it already.... OMG this is my first time with this board... Dec 08 15:10:14 Talk: I would suggest unplugging the board completely, inserting the SD card again, and powering it up with the button held so it boots from SD again. If it boots fine, your BBB is OK. It might fail at updating your eMMC, but there's solutions for that. Dec 08 15:10:24 Talk: you won't "break" it.... it is fully recoverable. Dec 08 15:11:51 Thanks let me try to reboot with the sdcard in again Dec 08 15:12:06 how long should i be pressing the button? Dec 08 15:12:17 right after the power up? Dec 08 15:12:42 probably 5 seconds give or take Dec 08 15:13:27 Keep holding it until the blue leds start blinking sort of randomly, by then the BBB should have booted from the card. Dec 08 15:14:06 you don't need to be all the way booted, just to the point where the kernel has started from the correct device/partition Dec 08 15:14:25 thanks but now the led are blinking in a weird way... Dec 08 15:15:09 led0 is blinking with its full power and the led2 is blinking weakly... Dec 08 15:15:21 Is this normal? Dec 08 15:17:47 Seems like it is alive again at least. Can you connect to it, using network or USB port, login to it? Dec 08 15:18:14 what was on the sd card you put in? Dec 08 15:19:44 to Peanut: Actually i am connecting to the computer now. But nothing happens..... Dec 08 15:20:24 connecting by usb? Dec 08 15:20:28 to thurgood it was the image of BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb Dec 08 15:20:46 right connected by usb Dec 08 15:20:53 ah, so you put in the flasher, not a system image Dec 08 15:20:54 there are all kinds of reasons for that not to work. serial or ethernet via router are more reliable Dec 08 15:22:29 to thurgood: right... and actually i don't know what is a flasher...... Dec 08 15:23:13 the flasher image installs the system image onto the eMMC Dec 08 15:23:25 to johnwalkr: so do you mean I should connect to a ethernet? Dec 08 15:24:04 it's a good troubleshooting step, yes Dec 08 15:25:36 to thurgood: oh! OK let me try to connect to one cable Dec 08 15:27:08 jkridner: I was naive and cp copied the vmlinuz over /boot/uboot/zImage and the same for initrd.img Dec 08 15:27:26 BBB after reboot has all leds on and doesn't boot Dec 08 15:28:21 any way to restore z.Image.old -> zImage using a USB cable and another PC? Dec 08 15:29:47 Sorry... the LEDs are still slashing with the same pattern. Are there any way to restore it? Dec 08 15:29:52 Talk: network cable will only help if you have a DHCP server on the network though. Dec 08 15:29:57 sorry ment to write zImage.old -> zImage Dec 08 15:30:39 Talk: have you logged in to your BBB before? If so, how? USB, Network, Serial-over-USB or USB-console-cable? Dec 08 15:31:34 Yes i have logged in before through USB via VMware(Ubuntu) Dec 08 15:32:33 talk: How exactly did you do it? ssh to 192.168.7.2 or another way? And does it work right now to access your BBB? Dec 08 15:34:53 to Peanut: I tried to install the driver for window this afternoon. But my window still can not recognize my BBB. So i turn to Ununtu adn type 192.168.7.2 on firefox and logged in Dec 08 15:35:35 Ok, does that still work now that you have the flasher SD-card running? Dec 08 15:35:46 Peanut: Hey! it is back! Dec 08 15:36:08 yes i have plug in the sdcard and reboot again Dec 08 15:36:08 Good! can you try, on your ubuntu, 'ssh root@192.168.7.2' ? Dec 08 15:36:43 i am in! Dec 08 15:36:56 WOW! Thanks!!! Dec 08 15:37:32 should I wait for the light to go all on like it was said on website? Dec 08 15:37:37 Good, so you didn't trash it (pretty hard to do without connecting stuff). Dec 08 15:37:39 Talk: yes. Dec 08 15:37:43 Did you ssh into it? Dec 08 15:37:59 Thank you very much!!!!! Dec 08 15:38:04 YAP Dec 08 15:38:24 root@beaglebone Dec 08 15:38:36 good - type 'mount', and see how many entries like mmcblk you have? Do you have 2 or 4 ? Dec 08 15:39:23 Sorry, I have typed "mount" Dec 08 15:39:39 Yes, mount is ok, that gives you a list of all mounted filesystems. Dec 08 15:39:43 and so much information which should i look for? Dec 08 15:40:03 Ha! Thanks for the teaching! Dec 08 15:40:06 Do you have lines with 'mmcblk' or something similar in it? Dec 08 15:40:13 How much Linux experience do you have? Dec 08 15:41:11 only a little Dec 08 15:41:22 like school teaching stuff only Dec 08 15:41:38 My BBB's powe is down Dec 08 15:41:58 Err.. how did it power down all of a sudden? Dec 08 15:42:49 i don't know i was trying to find the mmcblk you said Dec 08 15:43:08 You just typed 'mount' and looked at the output on your screen ? Dec 08 15:43:16 That shouldn't power it off - is the USB cable still connected? Dec 08 15:43:17 then suddenly Broadcast message from root@beaglebone (Thu May 15 02:27:33 2014): The system is going down for system halt NOW! Connection to 192.168.7.2 closed by remote host. Connection to 192.168.7.2 closed. Dec 08 15:43:50 that's weird... Dec 08 15:43:57 Ok, that *might* mean that the flashing of the eMMC completed. Unplug your BBB from the USB and other power, then remove the SD card, and then connect it up again. Dec 08 15:44:15 I've seen flasher versions that simply power off the device at the end of the flasher run. Dec 08 15:44:24 finger crossed Dec 08 15:45:15 few.... it is back Dec 08 15:45:25 it really scared me... Dec 08 15:45:48 Back without the SD card installed? If it works without the SD card, you have just succesfully re-flashed the on-board e-MMC. Dec 08 15:46:48 Yap without the sdcard! Dec 08 15:46:57 Thank you so much!!! Dec 08 15:49:26 back to the mmcblk Dec 08 15:49:55 I have found a line that has this written Dec 08 15:53:02 Peanut! Thank you very much for the help! Dec 08 17:16:02 hi Dec 08 17:16:09 I have beagleboard xm Dec 08 17:16:16 And I have problems with audio in/out Dec 08 17:19:02 such as? Dec 08 17:20:34 I don't hear the microphone Dec 08 17:20:38 and I can't play anything on out Dec 08 17:21:46 so nothing works? Dec 08 17:23:51 нотхинг Dec 08 17:23:53 nothing* Dec 08 17:29:00 does `aplay -l` show anything (assuming you have aplay installed) Dec 08 17:30:46 also what distro are you using? Dec 08 17:31:05 I'm using arch Dec 08 17:31:13 aplay -l give me only 1 card Dec 08 17:32:53 1 card is probably ok Dec 08 17:34:08 do you have alsa-mixer installed? Dec 08 17:34:46 yes I do Dec 08 17:40:19 doe sit bring up the interface correctly? and show everything unmuted? Dec 08 17:50:35 in particular for audio out you're looking for the main headset volume option Dec 08 17:50:36 which one is microphone in alsamixer? Dec 08 17:53:19 in capture mode(f4)? Dec 08 17:54:18 I'm not sure about the mic in setting, I haven't played with that much Dec 08 17:55:11 not sure if it's actually a mic in or a line in to be honest, I only have a usb mic on hand :/ Dec 08 18:21:49 Hello everone ! New to this.. Dec 08 18:22:14 Want to know can I use camera with beaglebone black? Dec 08 18:23:40 by usb Dec 08 18:23:45 I have this project where i need to use camera with lcd and few sensor inputs. Does its processor efficiently perform such tasks? Dec 08 18:24:23 That I know I need to use USB to interface camera but I want to know will it perform such tasks without lagging? Dec 08 18:24:31 yeah Dec 08 18:25:10 no problem but this is one of a few cases where rpi has nice features Dec 08 18:25:26 Okay so to be clear : I can use camera with beagle bone and can watch camera feed to the lcd including some other inputs to the board from sensor ! Dec 08 18:25:34 yes no problem Dec 08 18:25:44 rpi? Dec 08 18:25:47 raspberry pi? Dec 08 18:25:55 just search potential cameras and find one other people have used to minimize headaches Dec 08 18:26:07 sometimes linux drivers for arm aren't available for example Dec 08 18:26:14 hello Dec 08 18:26:15 yes i meant raspberry pi Dec 08 18:26:27 is there a way to use analog in pins as digital in pins? Dec 08 18:26:31 so should i choose rpi for such project? Dec 08 18:26:55 which one will do better? RPI or BBB? Dec 08 18:28:46 john u dere? Dec 08 19:22:25 ne1 know how to recover files from a shorted BBB? Dec 08 19:35:33 Guest71581: what do you mean with 'shorted' ? Dec 08 19:38:19 shorted = my kids got into my room and accidentally dragged the BBB over some metal now it only flickers the blue LED once at power up... Dec 08 19:38:34 Guest71581: ouch. But there might be hope. Dec 08 19:38:47 I've had something similar happen (plugging in a cape the wrong way). Dec 08 19:38:47 ouch Dec 08 19:39:05 Boot from an SD card that is NOT a 'flasher', then try to fsck and mount the filesystems on the eMMC. Dec 08 19:39:30 ok, makes sense.. Dec 08 19:40:20 but that means plugging in via the mini-USB port, right? I tried to do this on a windows and linux system and it wouldn't recognize a device was plugged in.. Dec 08 19:41:24 Whether you use the mini-USB or another power supply doesn't really matter for this. Just that you have/create an SD card to boot from. Boot while holding the 'boot/user' button. Then get access to your BBB via network, serial (or USB). Dec 08 19:41:39 oh wait.. i think i see what you mean.. but keep in mind the card does not boot up at all.. so i can't boot from an SD card at present. Dec 08 19:42:14 i think it's really "shorted out".. as in one of the chips is permanently damaged and disabling the ability to boot.. Dec 08 19:42:52 Eiter your board is fried, or (and this happens quite easily) the eMMC got corrupted. Happened to me a few times while tinkering with capes. In that case, you can still boot from SD no matter what's on the eMMC by doing as described above. Dec 08 19:42:59 If any of the chips is actually fried, you're SOL. Dec 08 19:43:26 ok.. was thinking that might be the case.. i appreciate the confirmation.. Dec 08 19:45:42 there are probably ways to get the data off, if the eMMC is not damaged, but probably not cost effective Dec 08 19:47:05 i agree.. data recovery specialists are not cheap Dec 08 20:00:25 thanks all.. bye for now.. Dec 08 20:05:14 Hi Guys, I am getting a failed to load firmware error when my Beaglebone Black tries to load a custom Cape from its EEPROM on boot Dec 08 22:02:16 Does anyone know why there is a minute to minute-and-a-half delay when booting a BBB? Nothing shows in dmesg or syslog to account for what might have happened there. Dec 08 22:02:39 Are you looking at serial console output? Dec 08 22:02:45 agmlego: yup Dec 08 22:02:52 But also dmesg afterwards Dec 08 22:03:00 And that is not accounted for by the u-boot process? Dec 08 22:03:26 Because that, by definition, happens before the kernel is loaded, and thus, by definition, would not show up on dmesg. Dec 08 22:03:39 Being that dmesg is the kernel's message log. Dec 08 22:03:47 At 7.7 seconds of boottime, it tries IPv6 for eth0 but says 'link not ready'. Next entry is at 93 seconds. Dec 08 22:04:03 OK, so this is after the kernel is booting. Dec 08 22:04:08 probably just waiting to timeout Dec 08 22:04:12 ^^^ Dec 08 22:04:28 But what is waiting to timeout? Dec 08 22:04:31 Try booting with the networking init script deprioritised or disabled. Dec 08 22:04:35 Peanut: Networking. Dec 08 22:04:37 your networking Dec 08 22:05:00 Waiting for a link to come up, trying DHCP despite the link not showing as up, etc. Dec 08 22:05:10 I've had that issue but never for that long, you can also decrease your timeout if you want Dec 08 22:05:27 thurgood_: I'd decrease it if I knew where it was :-) Dec 08 22:05:32 Actually,. the fastest way to test this is to just give it a link before boot, and see if it boots faster. Dec 08 22:06:11 or not set it to autodetect it on boot up Dec 08 22:06:42 Ok, rebooting with network plugged in now Dec 08 22:08:14 Yup, that was a lot faster. The 85 second delay becomes a 3 second delay. Dec 08 22:08:58 Sounds about right, 3s sounds like DHCP. Dec 08 22:30:12 What would be the best kernel to run your BBB on? Still 3.8 or one of the newer ones? Dec 08 22:30:58 Define: "best" Dec 08 22:31:41 Stability, support for hardware features. I use mine mostly for IO-related stuff. Dec 08 22:33:20 Are you finding that you have difficulty doing what you want to do on the kernel you have? Dec 08 22:33:40 Do the changelogs from newer kernels offer features you need or want? Dec 08 22:34:07 Well, the main issue I think would be support for the RTC. Or is that a firmware issue? Dec 08 22:34:30 That is a very good question. Dec 08 22:35:05 But the other reason I'm asking is that I'm building a kernel anyway to add a module. And I found that with the current distrubution, you can't quite do 'module-assistant prepare', but have to (cross-) compile the complete kernel. Dec 08 22:36:01 Peanut: there's actually a package for it, but I had to download it by hand Dec 08 22:36:36 Hi ddrown :-) Dec 08 22:36:54 Hi :) Dec 08 22:37:12 linux-headers-3.8.13-bone67_1wheezy_armhf.deb Dec 08 22:37:47 https://rcn-ee.net/deb/wheezy-armhf/v3.8.13-bone67/ Dec 08 22:38:15 I think that has everything you'll need to build modules off the default kernel Dec 08 22:38:28 the trouble with mainline kernels is lack of support for capemgr Dec 08 22:38:45 Nice - I built a kernel over the weekend, was just in the process of installing it. Dec 08 22:38:55 To add your kernel module. Dec 08 22:38:59 ah ok Dec 08 22:40:30 And I have a console cable now, which might help. Dec 08 22:40:52 yeah, useful for getting into uboot or seeing the bootlog before networking comes up Dec 08 23:50:55 If I get a beaglebone black and put freebsd on it, can I still use bonescript? Dec 08 23:51:01 or is that an angstrom thing Dec 09 00:01:44 py0: there is bash, for freebsd Dec 09 00:02:03 either in ports or pkg Dec 09 00:02:45 idwer, do you know if fbsd on the bbb can run nginx and dovecot? Dec 09 00:03:57 I should be able to compile from source yes? Dec 09 00:09:02 you do know (how little) its performance footprint (is), right? :) Dec 09 00:09:36 nginx might consume all of its RAM Dec 09 00:12:08 how do you figure? Dec 09 00:12:43 folk have run apache on the bone successfully; nginx is much lighter. Dec 09 00:20:45 Hello Dec 09 00:23:25 Can anyone recommend an alternative XRDP client on Angstrom? Dec 09 00:31:22 alternative to what? Dec 09 00:32:31 XRDP...a remote desktop application. I'm hoping to find some sort of remote desktop software that allows me to use RDP from my phone and windows based system Dec 09 00:33:58 you want a remote-access daemon to run on the bone? Dec 09 00:34:16 have you tried vnc or ssh? Dec 09 00:34:33 Yes. Preferably one that lets me use the windows rdp setup. Dec 09 00:34:57 I have tried VNC...had a difficult time with it. Dec 09 00:35:09 and what have you tried so far? Dec 09 00:35:17 SSH? Hmmm...no, I have not. Dec 09 00:35:58 samba and swat, vnc, and trying to package my own XRDP Dec 09 00:36:05 what difficulties did you have with vnc? Dec 09 00:37:13 samba/swat is not remote-desktop. Dec 09 00:37:43 after installing the vnc package, I got the linux setup going...configure a static ip, free the port identified...when I go to my windows system and download the VNC Viewer it fails to find and log into the BBB Dec 09 00:38:10 I defer to your knowledge simply because I've only been doing linux for about a week. Thank you for the correction. Dec 09 00:38:26 and what diagnostics did you try to resolve the vnc issue? Dec 09 00:40:08 resolving the name server, ifconfig verification for proper ip, gateway, netmask...verifying on my router that the ip and the port are allowed. Dec 09 00:40:34 Its entirely possible that I invoked VNC wrong. Dec 09 00:40:52 did you verify that the vnc server was running? Dec 09 00:41:21 I believe that it was. typing in VNC returned a result. Dec 09 00:43:37 what was the result? Dec 09 00:44:03 I will verify my setup again. Right now I'm re-flashing angstrom because I ran the opkg upgrade command...which borked everything up Dec 09 00:46:15 interesting. Dec 09 00:46:42 also note that debian isthe preferred distribution now. Dec 09 00:47:21 I thought debian was a pretty good distro, but it ate up all of my 2gb emmc space. Dec 09 00:47:28 I only have the 2gb bbb right meow Dec 09 00:47:47 there exist microsd cards. Dec 09 00:48:54 True. I will try to flash the Angstrom distro one more time and if it gives me guff...I will mount and bridge an SD card and go after debian again Dec 09 00:50:16 Do you know if there is a skinny version of debian that I can load up without much more than the gui? Dec 09 00:51:10 A___: the heavy part *is* the gui. Dec 09 00:51:32 but it is easy enough to uninstall unneeded software. Dec 09 00:51:50 Damn. Fine then...anything Debian or Angstrom flavor that comes without the GUI? Dec 09 00:52:30 Yeah, I tried to roll back some packages...and my untrained eye tried to remove the perl and python...which didnt work out. Dec 09 00:52:42 Turns out that stuff is heavily depended upon. Dec 09 00:53:04 sure is. Dec 09 00:53:06 Do you have a suggestion of bloat that I can cull from the distro? I want to remove gimp, office, etc... Dec 09 00:53:51 depends. what does the machine need to do? Dec 09 00:55:46 I'm using an IP camera to obtain frames and pipe them into FFMPEG and out to a streaming server. I also have two .exe files that are mono compatible that I need to run alongside FFMPEG...also I want to wield serial and if something comes up...be able to RDP into it. Dec 09 00:56:16 I've gotten the FFMPEG and webcam stuff working Dec 09 00:56:28 how attached are you to the rdp protocol? Dec 09 01:03:27 not horribly... Dec 09 01:05:14 because rdp/vnc require the server be running a gui. ssh allows a connection to be made to console-only servers. Dec 09 01:13:19 Ok, I will investigate the SSH option. Thank you. Dec 09 01:13:59 no problem. as a bonus? probably already installed and configured. Dec 09 01:14:42 then you need PuTTY on windows, juicessh on android. Dec 09 01:16:56 I've used putty before...a while ago Dec 09 01:18:10 it has not changed. Dec 09 01:23:55 Thank you for your help. Dec 09 01:31:15 hello Dec 09 01:32:56 Howdy Dec 09 01:34:39 looking for a groovy python algorithm to do some computer vision on the black Dec 09 01:35:10 anyone recommend some coolio websites to checkout for such ? Dec 09 01:59:24 BoneHead, what do you mean by computer vision Dec 09 02:20:22 BoneHead: https://github.com/jesolem/PCV Dec 09 02:35:57 So I have a console debian install on my eMMC on BBB Dec 09 02:36:14 and I can't seem to figure out how to mount this microSD I added for storage Dec 09 02:40:10 basically I'm an idiot who cant mount a drive on linux Dec 09 02:42:38 that's moot Dec 09 02:42:55 you don't really NEED to mount drives Dec 09 02:43:15 well, whatever I need to do, I can't access it \o/ Dec 09 02:43:24 do you have a screen hooked up? Dec 09 02:43:31 if so, just do it like you do on a desktop Dec 09 02:44:10 nah, it's one of the console images of debian, no LXDE since my BBB is only 2GB and the regular images almost max that out Dec 09 02:45:14 in a nut shell - Dec 09 02:45:30 "mount /dev/mmcblkNpM /mnt" Dec 09 02:45:44 where N = {0,1} depending on the distro/kernel Dec 09 02:46:12 M={1...} depending on your SD card partitioning Dec 09 02:46:44 values of N will refer to either the external SD card or the internal eMMC depending on the way things rae setup **** ENDING LOGGING AT Tue Dec 09 02:59:58 2014