beagleboard

BeagleBone, OpenCV and webcam issue

穿精又带淫゛_ 提交于 2019-12-24 11:35:03
问题 I've been trying to get BeagleBone work with OpenCV and a capture camera, but I couldn't manage to do it so far. I use Logitech C270 webcam. Here is what I did so far: I installed OpenCV binaries and tried my camera. Capture didn't work. I downloaded the latest version from Git and compiled it. Then it worked on my desktop. Since Ångström have pre-installed OpenCV, I directly tried to connect the webcam. But I had "select timeout" errors and when I saved the captured image, it was all black.

omap_udc.c g_hid.c hid gadget on beagleboard with angstrom linux

半腔热情 提交于 2019-12-23 05:17:54
问题 To use the beagleboard xm as an HID peripheral I plan to do the following: Discover how to build things with angstrom. Get the kernel source 2.6.32. Compile omap_udc and g_hid Insert those modules into the kernel Compile the example from gadget_hid.txt Send keyboard commands with hid_gadget_test /dev/hidg0 keyboard Is that a good way to do what I want? http://www.edaboard.com/thread145675.html is a somewhat related issue from '09. Looking for Example Embedded Linux HID Device Code is very

Auto-Start Program at Login in Angstrom on BeagleBoard

我的未来我决定 提交于 2019-12-23 03:41:32
问题 How do I start an application automatically after login? I have tried the following: Editing /etc/inittab but I don't have an /etc/inittab file, it looks like my system uses systemd. Starting my application by adding it to the script /etc/rc.local . Adding a script in /etc/init.d and a symlink to the script in /etc/rc5.d/S51script_name . Calling my script from ~/.bashrc and ~/.bash_profile . Adding a service to systemd but I couldn't get it to work and it seems more complicated than it should

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

≡放荡痞女 提交于 2019-12-22 07:08:46
问题 For what kind of applications can i use dsp core of beagleboard? Can i use the DSP acceleration for background subtraction algorithm in OpenCV? 回答1: 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

How do I install mongodb on the beaglebone black

瘦欲@ 提交于 2019-12-21 23:49:27
问题 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. 回答1: 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

Set up Beagleboard emulator with qemu in Ubuntu

狂风中的少年 提交于 2019-12-21 05:16:31
问题 To setup qemu for Beagleboard in Ubuntu 14.04, I am following steps given in link below: http://www.cnx-software.com/2011/09/26/beagleboard-emulator-in-ubuntu-with-qemu/ When I tried to run ALIP image in qemu by command : sudo qemu-system-arm -M beagle -m 256 -drive file=./beagle_sd_alip_x11.img,if=sd,cache=writeback -clock unix -serial stdio -device usb-kbd -device usb-mouse I got following error : qemu-system-arm: -M beagle: Unsupported machine type Use -machine help to list supported

Automatic login on Angstrom Linux

假装没事ソ 提交于 2019-12-18 09:42:25
问题 What is a clean way to obtain Angstrom Linux to boot up and open the shell without asking to log in? 回答1: This simple answer took me hours to find. For those of you who don't have /etc/inittab the following worked for me. In /etc/systemd/system/getty.target.wants/serial-getty@ttyO2.service change the line ExecStart=-/sbin/getty 115200 %I to ExecStart=-/sbin/getty -a USERNAME 115200 %I I partially figured this out on my own from reading about getty in /etc/inittab, which led me to ExecStart on

ARM v5 shared library (ftd2xx) on ARM v7 platform - hard vs soft float issue

二次信任 提交于 2019-12-18 04:19:11
问题 I need to run a program that uses ftd2xx on my BeagleBoard xM rev C running Ubuntu 12.04. I am trying to use the ARM library libftd2xx.so provided here. libFTDI is not an option. The difference that I noticed comes from running readelf -hA on libftd2xx.so vs other libraries on the BeagleBoard that work. The arch-specific section gives OS name as "ARM926EF-S" for ftd2xx instead of "7-A" for other libraries and CPU_arch as "v5TEJ" instead of "v7". I'm assuming this means that the library is

cron job to send ip of BeagleBone Black (at every reboot) to my email is not firing

自古美人都是妖i 提交于 2019-12-13 06:25:37
问题 I wrote a simple python script which, when executed, gets my BeagleBone Black's ip address and sends it to my email address, preventing me from having to plug the board into my laptop, get the ip, unplug it, and then remotely SSH in. Here is the script #!/usr/bin/python """Find own ip address and email it.""" import socket import datetime, time import sys failed = 1 while(failed): try: s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) s.connect(("8.8.8.8",80)) my_ip = s.getsockname()[0] s

Compiling the kernel of Beaglebone black

拟墨画扇 提交于 2019-12-12 04:34:21
问题 I followed the procedures to compile the kernel for beaglebone black git clone git://github.com/beagleboard/kernel.git cd kernel git checkout 3.8 ./patch.sh cp configs/beaglebone kernel/arch/arm/configs/beaglebone_defconfig wget http://arago-project.org/git/projects/?p=am33x-cm3.git\;a=blob_plain\;f=bin/am335x-pm-firmware.bin\;hb=HEAD -O kernel/firmware/am335x-pm-firmware.bin cd kernel make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- beaglebone_defconfig -j4 make ARCH=arm CROSS_COMPILE=arm