beagleboard

linux cross compiling and dynamic libraries / linking

安稳与你 提交于 2019-12-06 08:31:58
问题 i'm trying to develop for the BeagleBoard. Therefore i installed the CodeSourcery Sourcery_G++_Lite Toolchain. I want to use the opencv library. So I downloaded the sources to my Ubuntu devolepment system, compiled with gcc as shared library and installed the library. When i build a helloworld-application for the x86-Architecture, everything is fine. Now, i want to compile the same application with the other toolchain for the ARM-Architecture. I get these warnings/erros while compiling

Unable to Debug Multi-Threaded Application with gdb

Deadly 提交于 2019-12-05 16:12:32
问题 I am debugging a multi-threaded application with gdb, but when I start the program in gdb I get the warning: warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. I can still debug, but I can't debug anything other than the main thread. I have read forums that suggest installing the packages libthread-db1 and glibc-dbg, but this does not correct the problem for me. On my machine I have the 3 files /lib/libthread_db.so.1 , /lib/.debug

For what kind of applications can i use dsp core of beagleboard? Can i use the DSP acceleration for background subtraction algorithm?

安稳与你 提交于 2019-12-05 10:26:34
For what kind of applications can i use dsp core of beagleboard? Can i use the DSP acceleration for background subtraction algorithm in OpenCV? You can use the DSP for all kinds of computations. It is a general purpose CPU optimized for DSP applications. So yes, even floating point stuff will work albeit the performance will not be great. The DSP really shines if you do integer computations over large arrays of data. Here the DSP can easily compute so fast that the time to transfer data from and to memory becomes the bottleneck. To give you a figure what is possible: I have an algorithm

running code on BeagleBone using Cloud9 IDE

懵懂的女人 提交于 2019-12-04 21:53:23
I am very new to BeagleBone. I have been using Arduino upto now. I plug my BeagleBone into my Linux laptop, and connect BeagleBone to my router. I can open Cloud9 off the board by browsing to 192...:3000. I want to load and run this code: https://github.com/jadonk/bonescript described here: http://www.gigamegablog.com/2012/01/05/beaglebone-coding-101-blinking-an-led/ On the File menu I can not find any option to create a new project. How am I suppose to load code into Cloud9 ? You don't need to create a new project--you can simply create a new source file that is executable. There is a small

How do I install mongodb on the beaglebone black

最后都变了- 提交于 2019-12-04 18:34:46
Has anyone had any success running mongodb on the beaglebone black? do I have to install a different flavor of linux to get this to work or can I use angstrom. MongoDB (as at 2.4) does not officially support ARM processors. You can watch/upvote SERVER-1811 in the issue tracker, however I wouldn't expect this to get much traction until there are 64-bit server-class ARM processors commonly available. In general a 32-bit low power ARM processor with limited memory (512Mb RAM on the BeagleBone Black) is not a great fit for a memory-mapped database server like MongoDB. Due to the use of memory

Enabling UART on Beaglebone Black

China☆狼群 提交于 2019-12-04 17:38:31
I'm having trouble getting UART enabled. I've gone through many different directions on how to enable and troubleshoot from updating the uEnv.txt file to updating the kernel. I've come to conclude that it may be an issue with using a different kernel than the instructions, but I'm not sure? I don't know very much about the Beaglebone and I'm still learning. Whenever I try to test UART by using Python and typing the following: import Adafruit_BBIO.UART as UART UART.setup("UART1") I get the error: File "stdin", line 1, in module RuntimeError: Unable to export UART channel. I'm also starting to

Unable to run bonescript files in Cloud9 on BeagleBone

倖福魔咒の 提交于 2019-12-04 16:28:46
I am having trouble using the Cloud9 IDE to run files which use bonescript on a BeagleBone with the pre-installed version of Angstrom Linux. I am using Cloud9 at http://beaglebone.local:3000 in Chrome 18 on OSX 10.7. When I run the Bonescript blinkled.js sample code Cloud9 outputs this error: Output node.js:134 throw e; // process.nextTick error, or 'error' event on first tick ^ Error: Cannot find module '/var/lib/cloud9' at Function._resolveFilename (module.js:326:11) at Function._load (module.js:271:25) at Array.<anonymous> (module.js:430:10) at EventEmitter._tickCallback (node.js:126:26) If

linux cross compiling and dynamic libraries / linking

瘦欲@ 提交于 2019-12-04 12:32:38
i'm trying to develop for the BeagleBoard. Therefore i installed the CodeSourcery Sourcery_G++_Lite Toolchain. I want to use the opencv library. So I downloaded the sources to my Ubuntu devolepment system, compiled with gcc as shared library and installed the library. When i build a helloworld-application for the x86-Architecture, everything is fine. Now, i want to compile the same application with the other toolchain for the ARM-Architecture. I get these warnings/erros while compiling/linking: john@ubuntu:~/Downloads/BeagleTest$ arm-none-linux-gnueabi-g++ -c ImageProcessing.cpp -o

Hello world, bare metal Beagleboard

笑着哭i 提交于 2019-12-04 11:21:16
问题 I'm trying to get a 'hello world' type program running on my Beagleboard-xm rev. C, by calling a C puts function from assembly. So far I've been using this as a reference: http://wiki.osdev.org/ARM_Beagleboard Here's what I have so far, but there's no output. hello.c volatile unsigned int * const UART3DR = (unsigned int *)0x49020000; void puts(const char *s) { while(*s != '\0') { *UART3DR = (unsigned int)(*s); s++; } } void hello() { puts("Hello, Beagleboard!\n"); } boot.asm .global start

Compiling C++ code using openCV in Beaglebone

假装没事ソ 提交于 2019-12-04 06:12:33
问题 I have written the following code in C++ which use openCV to be run in Beaglebone: #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <termios.h> #include <sys/types.h> #include <sys/stat.h> #include <netinet/in.h> #include "opencv/cv.h" #include "opencv/highgui.h" using namespace cv; using namespace std; int main(int argc, char *argv[]) { CvCapture *capture = 0; Mat img3; Mat src; capture = cvCaptureFromCAM(0); vector