angstrom-linux

Cross-compiling ocaml apps for ARM

天涯浪子 提交于 2020-01-02 01:47:34
问题 I'm cross-compiling a touchscreen driver, which comes with an ocaml calibration application. I'm trying to compile the driver and the application for ARM, in particular, the Beagleboard, running Angström. It goes like this: ^_^[raziel@Bebop zytouch-driver-20081121]$ source /usr/local/angstrom/arm/environment-setup ^_^[raziel@Bebop zytouch-driver-20081121]$ make CC=arm-angstrom-linux-gnueabi-gcc arm-angstrom-linux-gnueabi-gcc -std=gnu99 -g -O2 -Wall -Wextra -Werror -Wstrict-prototypes

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.

BeagleBone boot to Qt app with touch screen

无人久伴 提交于 2019-12-24 01:47:17
问题 As many other person, I want to have a Qt application that run directly when the BeagleBone Black boot. Using the answers from other topics like these: Beaglebone Boot to Qt App ; Start QT Application on bootup on an Embedded Linux Device (Beaglebone Black) I have a BeagleBone Black revC with Angstrom 2012-09-12. I achieved to get my application to start on boot with the following service setup: "autoShow.service" [Unit] Description=Autorun Qt app ConditionFileIsExecutable=/home/root

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

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

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

Rvm on beagleboneblack disable posix

若如初见. 提交于 2019-12-12 02:53:31
问题 I'm trying to run rvm on Angstrom linux on BBB. When i try to launch rvm, i obtain: RVM can not be run with set -o posix , please turn it off and try again. Someone know about this? 回答1: This is a check to prevent running RVM from pure Sh shells, for proper functioning RVM requires Arrays (along other features) which are only available in Bash and Zsh . 回答2: Answer shared by @mapapis was useful to understand the reason (thanks) but I think precise steps to change the default login shell

Beaglebone: gcc include path error while trying to build using 'make'

泄露秘密 提交于 2019-12-11 22:02:37
问题 I am trying to build cmu pocketsphinx on my beaglebone black for speech recognition. I have downloaded the source code for sphinxbase and ran ./configure. Now, when I run 'make' I get the following errors: Making all in src make[1]: Entering directory `/home/root/Pocketsphinx/sphinxbase-0.8/src' Making all in libsphinxbase make[2]: Entering directory `/home/root/Pocketsphinx/sphinxbase-0.8/src/libsphinxbase' Making all in util make[3]: Entering directory `/home/root/Pocketsphinx/sphinxbase-0

Auto-Start Program at Login in Angstrom on BeagleBoard

感情迁移 提交于 2019-12-08 03:57:26
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 be for my purposes. I am running Angstrom v2012.01-core - Kernel 3.0.17+ on BeagleBoard xM. Found the

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