**** BEGIN LOGGING AT Wed Nov 19 02:59:59 2014 Nov 19 04:04:38 where can I get ubuntu for my beaglebone white? Nov 19 05:22:41 hey guys I am looking for a media center embedded board that can handle ubuntu and android Nov 19 05:22:48 is beagle what I am looking for? Nov 19 05:38:40 I found http://rcn-ee.net/deb/rootfs/utopic/ to get ubuntu for beaglebone but I don't know how to install it from a mac onto a sd card Nov 19 05:49:48 jerome-: if it's a plain image, that should be explained on beagleboard.org Nov 19 06:15:54 hello i have no lcd with me how can i use lcd monitor Nov 19 06:16:20 hello... Nov 19 07:07:30 Hello. I am new to Beaglebone, but I have a project that I have to do. I need to get bbb to run opencv and recognize faces. I have installed opencv, but it crashed HDMI output, so I installed ubuntu 14.04 + Desktop. It seems like I have 380Mb left, and it will not be enough for opencv. I have tried to get back to angstrom, but I am not sure why image has console only, and no GUI. Can anyone help me? How to get opencv running? Nov 19 07:11:35 hi Nov 19 07:11:58 actually i am using freindly arm board now Nov 19 07:12:16 but i want to switch to beagle bone black Nov 19 07:12:54 can anyone please tell me if the two have same booting and loading kernel image process or not. Nov 19 07:13:07 have you googled? Nov 19 07:13:31 (no, i dont know the friendly arm board, and no i'm not going to google for it) Nov 19 07:13:43 ya .. but confused Nov 19 07:13:57 k .thanks Nov 19 07:14:01 then ask what confuses you Nov 19 07:14:39 listen i used to compile my own kernel Nov 19 07:15:07 by make menuconfig and adding driver modules to it Nov 19 07:15:42 and i used to make the zimage by using make in linux 2.6 source code Nov 19 07:15:55 and used to boot the zimage Nov 19 10:17:11 Hi, can someone give me a hand please? Nov 19 10:18:01 no Nov 19 10:18:10 but you can ask questions Nov 19 10:18:28 no, he cannot Nov 19 10:21:53 Hi, when i power on my BBB the power led blinks once and i have no response from my board. Is it broken? Nov 19 10:26:25 mm_: how do you try to connect? ethernet? does it get an ip address? Nov 19 10:27:04 mm_: you can try to connect to the board's serial port using a levelshifter (e.g. max3232) and / or some usb-serial-cable Nov 19 10:27:45 I connect with the usb cable Nov 19 10:28:16 ...and you get a new network device on your pc? Nov 19 10:29:42 No, there is no response Nov 19 10:30:05 then you can try the serial console Nov 19 10:31:03 I will look for the hardware to perform that connection, i don't know if have it. Thank you. Nov 19 10:31:19 As soon as i know, i will let you know Nov 19 10:31:40 are u using linux or win? Nov 19 10:31:57 Windows 7 64 bits Nov 19 10:32:04 i am almost new to linux Nov 19 10:32:24 okay, so i can't really help you... does it appear as a usb dev? Nov 19 10:33:00 No Nov 19 10:33:09 Looks like the board is fried Nov 19 10:33:54 I using a LCD cape, powering the board with a 5V 1A supply Nov 19 10:33:55 u can try an external power supply Nov 19 10:33:57 were* Nov 19 10:33:58 okay Nov 19 10:34:15 then i performed a reboot Nov 19 10:34:26 and the device never came back Nov 19 10:37:21 is important data on the board? Nov 19 10:37:27 then try to reflash Nov 19 10:37:32 or boot from sd card Nov 19 10:38:22 No, i just began with the board, patched de emmc in order to use the Cape Nov 19 10:38:43 I am sure i dont have a sd card, i will buy one as soon as possible Nov 19 10:39:22 do you have a second board, a raspberry pi or similar? Nov 19 10:39:33 then you could use their serial port for debugging Nov 19 10:39:54 I have an arduino Nov 19 10:40:07 But i think it doesn't fit Nov 19 10:40:40 afaik it has some ftdi Nov 19 10:40:49 is the uc in the arduino in a socket? Nov 19 10:41:43 No, but i have some atmega328p Nov 19 10:42:00 And i think i must have a FTDI cable Nov 19 10:42:03 or you can put the atmel in reset mode (maybe pull /rst low with a jumper wire or so) and connect rx/tx to tx/rx from the bbb Nov 19 12:35:49 hi... Nov 19 15:40:18 I'm trying to remotely help somebody… they don't know where their BBB came from (embest or circuitco), is there an easy way to tell by looking at the board? Nov 19 15:46:35 you are remotely asking a question to remotely help someone...to check from which remote location bbb came from? Nov 19 15:47:35 just kidding, i have no idea, perhaps it came with packaging showing the manufacturer? Nov 19 16:23:11 Yeah.. he found the invoice :) Nov 19 16:28:43 It was an element14 one.. and there's something funny going on with a cape attached with the SYS_RST pin ... Nov 19 16:29:11 * jbdatko needs to buy a Element14 BBB to test it Nov 19 16:35:14 jbdatko: IIRC the dog is only on CCO capes, no dog → element14 Nov 19 16:35:45 tbr: ah, thanks Nov 19 18:10:03 What's up. I just got my BBB, I was wondering if it will work with a 9v/0.6A power supply? Nov 19 18:36:42 No one knows if 9v-0.6A will fry my board? Nov 19 19:04:06 sr22: Do *not* apply 9VDC to your board. Nov 19 19:04:40 sr22: There are very explicit voltage and current requirements listed everywhere for the bone, but I will repeat them here: 2-4A supply at 5VDC. Nov 19 19:04:57 sr22: If you apply 9V to your board it will explode and you will be sad. Nov 19 19:06:30 Thanks. Nov 19 19:06:39 Its the supply i've been using for my RPI, wanted to make sure. Nov 19 19:06:49 I couldnt find anything online about higher voltages. Nov 19 19:09:58 * vagrantc is really surprised that works with the RPI Nov 19 19:10:43 given that it also uses 5V Nov 19 19:25:53 I believe protection, to some extent, was built into the pi Nov 19 19:27:52 Yeah, using 9V with the Pi is also a bad idea. Nov 19 19:29:05 vagrantc: sorry I meant arduino Nov 19 19:45:46 Yeah, the Arduino a) draws a whole lot less power than the bone or the Pi do, and b) has a low-efficiency linear regulator onboard. Nov 19 20:25:52 I would like to use SPI on a beaglebone white, so I installed ubuntu, and followed that : http://elinux.org/BeagleBone_Black_Enable_SPIDEV Nov 19 20:26:17 but there is an error with -@ in the command dtc Nov 19 20:26:45 Is there a better way to enable SPI on ubuntu or is there a better distribution to install? Nov 19 20:27:08 what's SPI? Nov 19 20:27:24 it is a bus Nov 19 20:27:40 http://en.wikipedia.org/wiki/Serial_Peripheral_Interface_Bus Nov 19 20:27:55 with clk, mosi, miso et ss Nov 19 20:28:21 anyone using angstrom here with a beaglebone? Nov 19 20:30:08 you could try using socat Nov 19 20:30:13 what is that? Nov 19 20:31:03 its a multipurpose data relay Nov 19 20:31:31 I think it can be used for serial, as well as UDP TCP etc Nov 19 20:31:49 SPI is an bus for electronics Nov 19 20:32:13 to connect devices Nov 19 20:32:20 nothing to do with network Nov 19 20:32:23 and ethernet Nov 19 20:35:03 Well if you want to use your bus to communicate your device with something else, isn;t that a network? Nov 19 20:35:58 no, it is a bus made with 4 wires Nov 19 20:36:22 the issue is that ubuntu that I installed doesn't show SPI in /dev/ Nov 19 20:37:48 well so is USB, and youi can serial over USB with socat, not sure if it can actually help you, but it might. Is ubuntu supposed to come with SPI installed? Nov 19 20:42:27 what error message does dtc report? Nov 19 20:42:41 methuzla it doesn't like -@ Nov 19 20:42:44 hold on Nov 19 20:44:45 methuzla http://pastebin.com/nJCktptX Nov 19 20:45:14 I installed dtc with apt-get device-tree-compiler Nov 19 20:45:45 did you already use SPI ? Nov 19 20:47:18 sorry, no. but i've been trying to as well. Nov 19 20:47:38 which distribution do you use? Nov 19 20:47:55 debian Nov 19 20:48:07 I made a mistake in fact... like a year ago I was able to use SPI with my beablebone Nov 19 20:48:34 recently installed from the "console" image Nov 19 20:49:02 Hi, have someone use pruduino on Debian? Nov 19 20:49:04 but I left my beaglebone during a year, and yesterday, I wanted to play again. I don't know which distribution I was using Nov 19 20:49:09 oh dear that dtc seems complicated. Back in the days when I last time used SPI on beagleboard it was as simple as modifying and compiling u-boot for correct pin muxin, some fine tuning of kernel's board file and recompile kernel Nov 19 20:49:33 and that's it :) Nov 19 20:49:46 I installed a new distribution to have a clean install, and I don't know how to get my spi again... Nov 19 20:50:04 sure looks like the -@ option just isn't there anymore, any clue what it did previously? Nov 19 20:50:49 but I have a copy of my old setup made with scp, so I can still look at my old setup, but I think the permission are lost, so i can't use it anymore Nov 19 20:51:49 -@, --symbols Symbols and Fixups support Nov 19 20:51:58 jerome-: I think you need a newer version of dtc Nov 19 20:52:38 the one I have: Version: DTC 1.4.0 Nov 19 20:52:42 I tried without -@ Nov 19 20:52:48 but it doesn't work neither Nov 19 20:53:26 jerome-: what kernel version are you using? Nov 19 20:53:55 right now, I installed ubuntu 14.0.4.1 LTS Nov 19 20:54:31 if I remove -@, I have : Error: BB-SPI1-01-00A0.dts:2.2-8 syntax error Nov 19 20:54:51 I have Version: DTC 1.4.0 Nov 19 20:55:12 what ? ddrown in your dtc, -@ exists ??? Nov 19 20:55:28 yeah Nov 19 20:55:35 must be a custom patch then Nov 19 20:55:40 it doesn't make sense.. Nov 19 20:55:43 Version: 1.4.0.1~20131212-1 Nov 19 20:55:54 I have Version: DTC 1.4.0 Nov 19 20:56:00 found this: http://www.embedded-things.com/bbb/patching-the-device-tree-compiler-for-ubuntu/ Nov 19 20:56:04 if it helps Nov 19 20:56:07 what is your destribution ? Nov 19 20:56:28 jerome-: I'm using http://elinux.org/Beagleboard:BeagleBoneBlack_Debian Nov 19 20:57:01 this is weird SPI is so complicated to use... Nov 19 20:57:02 methuzla's link looks like it has the solution Nov 19 20:57:36 I'm trying Nov 19 20:59:06 pff, I can't get the source of dtc as it is describe in the page... Nov 19 21:10:08 hi Nov 19 21:10:56 anyone here Nov 19 21:11:56 we are all under a bridge, shhh Nov 19 21:14:58 anyone here use beaglebone Nov 19 21:15:20 mine broke Nov 19 21:15:46 jerome - i just ran this script: https://github.com/RobertCNelson/tools/blob/master/pkgs/dtc.sh Nov 19 21:16:07 and it installed a patched version of dtc with the -@ option Nov 19 21:16:46 methuzla I just got it Nov 19 21:17:10 it seems to work to get dtc with -@ Nov 19 21:18:44 and i just tried compiling the SPI dts and it at least worked Nov 19 21:18:51 made a .dtbo file Nov 19 21:20:17 but i wonder what's going to happen when you get to the cape manager step? Nov 19 21:20:28 does that install with ubuntu? Nov 19 21:20:44 :-( I think I just killed my BBB :-( Nov 19 21:21:06 how? Nov 19 21:21:30 I connected a GPS receiver and got 1 pin offset on the connector. Nov 19 21:21:42 Now only 3 USR LEDs go on, and they never start flashing. Nov 19 21:21:59 ewww, that could do it Nov 19 21:22:15 so it works, but I fails with echo BB-SPI1-01 > /sys/devices/bone_capemgr.*/slots Nov 19 21:22:53 as i was wondering, cape manager and ubuntu? Nov 19 21:23:50 Does anyone know what it means if the first three leds go on, but not the 4th? Nov 19 21:26:10 jerome - do you have anything like /sys/devices/bone_capemgr.* ? Nov 19 21:26:47 no, that's the issue Nov 19 21:27:35 it worked for me under debian Nov 19 21:28:00 ok, i will probably switch to debian than Nov 19 21:28:15 the more recent kernels don't include it as far as I'm aware Nov 19 21:30:13 good luck. Nov 19 21:30:23 thanks :) Nov 19 21:30:34 on my setup i've got /sys/devices/bone_capemgr.9/slots Nov 19 21:30:50 and i had to go into a root shell to install the overlay Nov 19 21:30:52 sudo didn't work Nov 19 21:31:13 but once done, i now have /dev/spidev1.0 Nov 19 21:31:46 in my previous setup, I use to have spidev2.0 Nov 19 21:32:18 i think there are multiple busses Nov 19 21:32:47 the example is enabling the first one - SPI1 Nov 19 21:33:16 yes, there are, but only one can be used if I'm not mistaken Nov 19 22:56:44 Hi, I have an application inside root folder Nov 19 22:57:20 if I try to run it inside root the application isn't found, but if I write /toot/Demo all is working Nov 19 22:57:24 is there a reason ? Nov 19 22:57:48 I have root privileges Nov 19 22:58:15 is your current path in the PATH variable? Nov 19 22:58:31 otherwise you need ./ at the beginning Nov 19 22:58:59 it has to do with path resolution Nov 19 22:59:24 as a general rule it will not check the current directory unless it is specified (by the ./) Nov 19 22:59:41 or in the OATH environment variable Nov 19 22:59:44 PATH Nov 19 22:59:48 thurgood: thank you very clear Nov 19 22:59:52 I wonder why this is a beagle question Nov 19 23:00:21 it's not beagle.. but it comes up a lot with new linux users Nov 19 23:00:32 wrom windows to linux there are some logical differences Nov 19 23:01:10 yes so natural start is reading a good book or tutorial Nov 19 23:02:21 anyway Nov 19 23:02:23 good nite Nov 19 23:12:53 I've just installed debian console, and when I try to upgrade, I have this warning : WARNING: The following packages cannot be authenticated! http://uu.zoy.fr/p/HvDYyw#x=4dFkAP/vhgCErwoA Nov 19 23:12:59 is it supposed to be like that ? Nov 19 23:13:24 In one sense, yes. The warning means you are lacking an authentication path. Nov 19 23:13:38 In another sense no, because something is messed up in your install. Nov 19 23:14:16 I got the version from http://elinux.org/BeagleBoardDebian#BeagleBone.2FBeagleBone_Black https://rcn-ee.net/deb/microsd/wheezy/bone-debian-7.7-console-armhf-2014-10-29-2gb.img.xz Nov 19 23:14:20 should i be worry? Nov 19 23:15:16 Well, do you plan on running anything on the bone that requires it to be malware-free and secure? Nov 19 23:15:22 If not, then it is not a big deal. Nov 19 23:15:48 is there a way to have a clean installation? Nov 19 23:15:59 Probably. Nov 19 23:16:38 You should figure out why those packages cannot be authenticated--that is a debian issue, not a beaglebone issue. Nov 19 23:16:53 Or, rather, a configuration issue in how your debian install is set up. Nov 19 23:20:15 methuzla where did you get your debian for beaglebone? Nov 19 23:23:57 Phew - my BBB seems to boot from SD card, so it's not completely bricked!!! Nov 19 23:48:42 Soo.. I booted my BBB from the uSD. It seems that my eMMC Linux partitions is completely empty now, all my data is gone :-( Nov 19 23:48:49 Ayone got any experience with this? Nov 19 23:56:05 I got debian from http://beagleboard.org/latest-images and I don't have this warning Nov 19 23:56:07 better Nov 19 23:58:25 jerome-: which version did you install? eMMMC flasher for Debian? Nov 19 23:59:05 I have a beaglebone white... so no eMMC for me... Nov 20 00:00:17 Ah, ok. Still nice that you managed to fix things. Nov 20 00:00:42 I'm not done yet... my goal is to have the SPI working... Nov 20 00:04:41 What are you trying to hook up? Nov 20 00:05:23 I've got the I2C working, with an RTC on it. And two serial ports (ttyO1 and ttyO4) added, and a DAC. Nov 20 00:05:33 a oled screen Nov 20 00:06:16 I used to have it working, but for a stupid reason, I wanted to reinstall my beaglebone. Now, it's mess to have the SPI working again Nov 20 00:06:43 if you wrote a proper kernel driver and upstreamed it... Nov 20 00:08:17 the annoying part with this, if there is a bug, I guess the whole beaglebone goes down? Nov 20 00:08:41 hmm? Nov 20 00:10:20 if I do a kernel driver, it has to be without bug, otherwise, I might crash my beaglebone totally Nov 20 00:10:39 not really Nov 20 00:11:17 is this one of those 1-2" OLED LCDs? Nov 20 00:11:28 I really don't have a problem to do c or c++ software, but I really have no knowledge of linux, kernel linux and kernel driver... Nov 20 00:12:29 the point of having drivers is software doesn't need to know much about the real HW Nov 20 00:13:13 SPI is not really meant to be used in user space. a LCD is one of those corner cases where it will kind of work...even then, all accesses to your LCD must be from your SW unless you do shmem games Nov 20 00:15:34 I understand your point, but the point of the beaglebone is play with hardware... try stuff and enjoy having fun Nov 20 00:16:07 I feel that doing a kernel driver might a little more complex than a python software Nov 20 00:16:27 *shrug* Nov 20 00:17:28 is it that stupid? Nov 20 00:18:26 you are dealwith more problems then you should Nov 20 00:24:41 that's my screen : https://www.flickr.com/photos/95245542@N03/9741585619/ :) Nov 20 00:24:48 when it used to work... Nov 20 00:25:36 Ohhhhh these Nov 20 00:25:57 there is a hardware accelerator in the chip for stuff like this Nov 20 00:26:19 accelerator ??? what do you want to accelerate? Nov 20 00:26:39 less CPU == less power Nov 20 00:27:10 accelerate what? I just give an ASCII char... Nov 20 00:27:47 those things run slow compared to the CPU Nov 20 00:27:53 look at the timings Nov 20 00:28:04 the SPI version hides some of that behind a shift register Nov 20 00:29:01 yes, using 8 GPIO to send the data would be faster than using SPI Nov 20 00:29:28 but seriously... I display 32 chars every minutes Nov 20 00:29:31 the controller in there is slow Nov 20 00:29:35 and the device is plugged on the wall Nov 20 00:30:58 if you have a terrific web page to explain me how to use SPI in my own kernel driver, or if you want to teach, I'm interested Nov 20 00:32:20 what's the easiest cross-compiler to use to compile the linux kernel? Nov 20 00:32:42 I'm on Debian Wheezy and they no longer support the emdebian toolchain Nov 20 00:37:40 and1729: I haven't tried this myself yet, so no idea if it is up to date. Have a look at: https://wiki.debian.org/InstallingDebianOn/TI/BeagleBone Nov 20 00:56:07 @Peanut: doesn't the beaglebone work with armhf? Nov 20 00:56:18 and1729: Yes? Nov 20 00:57:09 I downloaded the eMMC flasher, but it doesn't seem to do any flashing. Nov 20 00:59:51 I get 'mmcblk0p1: error, fat_get_cluster: invalid cluster chain', filesyetm has been set read_only. Nov 20 01:49:31 looks like the bbb does not have wifi, is that right? Nov 20 01:50:10 ah you need a usb wifi adapter? Nov 20 01:52:01 I have cross compile one USB wifi kernel module. it works well under X86_64 platform , but it can't work well under BBB ? Nov 20 01:52:43 The wifi device can scanning SSID used by my AP. but It can't connection to the AP which I used in my office Nov 20 01:54:27 I doubt the problem is due to devices tree configuration file ? Nov 20 01:55:13 Can somebody can give me some suggestion for this problem ? Nov 20 02:19:57 Hi Nov 20 02:20:04 I need to build a development lab for android, I wonder if the hardware supports the whole question of development of apps on linux. Nov 20 02:20:38 sorry for my bad English Nov 20 02:56:08 I finally have my SPI working again! thanks!!! Nov 20 02:56:44 and my little oled display too Nov 20 02:58:37 did you end up switching to debian? **** ENDING LOGGING AT Thu Nov 20 02:59:58 2014