Questions tagged [beagleboneblack]
BeagleBone Black is a community-supported development platform for developers and hobbyists.
beagleboneblack
1,357
questions
50
votes
1
answer
900
views
Qt5 VideoOverview example does not work. Any solution?
I am stuck for a month with a video example given in Qt Video Overview.
I tried that code, but I only got a blank square (QWidget). I am using GStreamer0.10 for media playback over Qt5. I also played ...
30
votes
1
answer
21k
views
How to add i2c devices on the Beaglebone Black using device tree overlays?
Why should I read this?
If you have a Beaglebone Black (BBB) and you want to wire up your own devices to it (not capes), you might already have heard about the device tree. In my case I wanted to ...
23
votes
5
answers
36k
views
Duplicating identical BeagleBone Black setups
After having set-up and customized my "master" BeagleBone Black (BBB) with applications etc. on the on-board eMMC, I want to duplicate it on other BBB boards.
What is the best way to duplicate the ...
22
votes
2
answers
22k
views
dd a compressed *.xz image into a partition
I'm trying to copy a compressed image into a partition inside a Beaglebone.
Usually, it is a 2 step process:
xz -d console.img.xz # console.img is created
dd if=console.img of=/dev/mmcblk0p3
Is ...
21
votes
9
answers
39k
views
Unable to Flash eMMC from SD Card BeagleBone Black
I am working on BeagleBone Black and Debian running on it. I want to flash latest Debian image on my board. To do so I have downloaded a latest Debian image from link:BeagleBone Image and prepared an ...
18
votes
8
answers
60k
views
cv2.VideoCapture.open() always returns FALSE
I am trying to access a Logitech c310 webcam on my beaglebone. It always returns false for any device ID, I am not sure why.
I use the following code.
>>> import cv2, numpy as np
>>&...
17
votes
3
answers
11k
views
Trying to run a cross-compiled executable on target device fails with: No such file or directory
I've got caught in the not-so-sunny world of cross-compilation.
I'm trying to compile a simple hello world application for my BeagleBone Black (which runs a TI Cortex-A8 processor).
First of all, I ...
17
votes
1
answer
20k
views
How can I set the size of the default font loaded by PIL so it fits on my 8x8 matrix?
I am working on displaying text on an 8x8 matrix display and I don't have a .ttf file handy that I know of on my BeagleBone.
According to an example here, I should be able to say font = ImageFont....
15
votes
4
answers
51k
views
/lib/libc.so.6: version `GLIBC_2.17' not found
I am trying to compile a program to put on a BeagleBone black, but im getting this error
when running the program on my board:
/lib/libc.so.6: version `GLIBC_2.17' not found
I made sure that i ...
15
votes
1
answer
17k
views
cc1: error: bad value (armv5) for -march= switch
I am compiling u-boot for beagle bone black as per the steps mentioned on this link
http://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Bootloader:U-Boot
and getting the following ...
13
votes
1
answer
33k
views
write: no buffer space available socket-can/linux-can
I'm running a program with two CAN channels (using TowerTech CAN Cape TT3201).
The two channels are can0 (500k) and can1 (125k). The can0 channels works perfectly but can1 runs a write:No buffer ...
12
votes
2
answers
12k
views
Why do you need a Programmable Real Time Unit (PRU) while you can have an RTOS?
The beaglebone Black processor includes two independent Programmable Real Time Units (PRUs). Hobbyists and professionals are excited about possible use of these units for real-time applications, which ...
12
votes
1
answer
2k
views
Building gcc on BeagleBone Black fails
Problem
I am trying to build a cross compiler on a BeagleBone Black to compile from ARM to x86. The intent of this is to use the low power consuming BeagleBone Black that I had on hand as a build ...
11
votes
1
answer
10k
views
Turn USB power off/on with BeagleBone Black kernel >= 3.8
I need to:
turn off -> sleep some seconds -> turn on the USB power of beaglebone black
to be able to hardware-reset a device that is connected to USB (Huawei E220 Modem)
Already tried soft-reset (...
11
votes
1
answer
5k
views
What "compatible" key to use in device tree?
I'm trying to write a device tree overlay to recognize a SPI-based enc28j60 module to my BeagleBone Black. This module doesn't show up in /kernel-dev/Documentation/devicetree/bindings but there does ...
10
votes
5
answers
28k
views
Share the internet access from laptop to beaglebone black and then access it through VNC server
I am trying to share the internet with the Beaglebone Black from my laptop. Here is what I tried till now-
I connected Beaglebone Black to my laptop running Windows 8 via USB cable. Then, I went to ...
10
votes
3
answers
9k
views
Reliable build of the Linux Kernel for the BeagleBone Black
Is there a reliable build of the Linux kernel for the BeagleBone Black platform anywhere ? I've followed the instructions here, as well as numerous other places, and none of them work. Either the ...
10
votes
1
answer
10k
views
QEMU with BeagleBone support
i would like to emulate BeagleBone Black. It seems that QEMU is the only emulator that supports Linux emulation for ARM. However i m having difficulty in getting the right emulator.
I tried using ...
10
votes
5
answers
30k
views
QMainWindow: No Such File Or Directory
I'm using QT Creator 3.5.1 and QT 4.8.2 on Ubuntu 14.04 LTS host machine, I configured my BeagleBone Kit for ARM crosscompiling like this:
I'm following these steps, but I'm getting an error when ...
10
votes
1
answer
6k
views
QBackingStore::endPaint() called with active painter on backingstore paint device
I'm following this tutorial for deploy qml to yocto. I'm using beaglebone black not raspberry but i think it is not important. When i ran cmd "./QmlProject" on beaglebone black , I had an error:
...
9
votes
3
answers
52k
views
GLIBCXX_3.4.26 not found running cross-complied program on BeagleBone
I have the following program:
#include <iostream>
#include <sstream>
using namespace std;
int main()
{
//ostringstream s;
cout << "cpp test" << endl;
...
9
votes
2
answers
20k
views
what is Gpio hog in device tree?
I am trying to set a pin mode in device tree for am335. I change the pinmux node in device tree as below.
pinctrl_test: pinctrl_test_pins {
pinctrl-single,pins = <
0x078 0x07 /* P9_12 ...
9
votes
1
answer
3k
views
Running simple winforms application on Mono for ARM
I am currently trying to set up an environment in which I can create winform applications with Visual Studio 2013 that I then want to put on an ARM v7 BeagleBone Black with an attached touchscreen ...
9
votes
3
answers
12k
views
Remove Beaglebone Black services permanently
How do I permanently remove cloud9, bonescript, gateone, etc., from the BeagleBone Black Debian (wheezy) distribution? I can disable them with these commands:
systemctl disable cloud9.service
...
8
votes
3
answers
23k
views
Executing a script on startup using BeagleBone Black
I have an a.out which I want to run when my BeagleBone boots up. It is actually a socket server which I want to start as soon as the BeagleBone powers up. I tried to put this in /etc/init.d, but it ...
8
votes
3
answers
4k
views
C++ 11 Threads, Error Pure virtual function called
here is a very minimal C++11 Thread API code that I am trying to compile
#include<iostream>
#include<thread>
using namespace std;
void threadFunction(void)
{
cout<<"hello from ...
8
votes
4
answers
10k
views
How to flash BeagleBone Black eMMC with Debian 8.2 image?
This site, says to...
To turn these images into eMMC flasher images, edit the /boot/uEnv.txt file on the Linux partition on the microSD card and remove the '#' on the line with 'cmdline=init=/opt/...
8
votes
1
answer
466
views
C string doesn't iterate correctly in loop
I am trying to print string through a UART0 from Beaglebone Black .The bootloader initializes UART0 and I just have to write characters. I have made a simple function
void uart_put(unsigned char c)
{
...
8
votes
2
answers
10k
views
Cross compiling - Error: selected processor does not support `fmrx r3,fpexc' in ARM mode - Beaglebone
I'm trying to cross-compile a file to flash into the Beaglebone Black.
All works fine, but if I try to enable the FPU with
#define set_en_bit_in_fpexc() do { \
int dummy; \
__asm__ ...
8
votes
1
answer
2k
views
I2C Slave Driver for Beagle Bone Black
I would like to use the I2C bus on the Beagle Bone Black in slave mode. From searching around, the question gets asked in the comment section of random posts, but never answered as to whether it's ...
7
votes
6
answers
11k
views
When build opencv, could not find the file "cv2.so"
I compiled OpenCV 3.0.0 with python2.7 in Debian system at a Board with a extended SD card (BeagleBone Black).
After OpenCV installed, there seems no error. There are many generated files in the 'Lib'...
7
votes
2
answers
14k
views
Passing Bootargs via Chosen node in Device Tree not working for Beaglebone Black
As per my understanding chosen node is used to send boot arguments to the kernel.
The following is the chosen node of the existing device code (am335x-bone-common.dtsi).
chosen {
stdout-path = &...
7
votes
2
answers
4k
views
BeagleBone Black freezes
We are currently developing an application for BeagleBone Black (using the standard Angstrom distro). It runs quite happily for a while (5-10 minutes) under GDB (controlled by Netbeans remotely) but ...
7
votes
1
answer
5k
views
Modifying the device tree for the Beaglebone Black
I have used Yocto to create a small linux image for the Beaglebone Black. I think I have most everything working like I want it, except I need access to UARTs 2 and 4. When I was using the standard ...
7
votes
2
answers
5k
views
How to make CAN bus operate from within a docker container?
I successfully dockerized my nodejs app running on a Beaglebone black. But now I'd like to access to the CAN from within the docker container but it doesn't work.
Note that I successfully configured ...
7
votes
2
answers
8k
views
Reading CPU temperature on Beaglebone Black
I have a Beaglebone Black running Ubuntu 14.04. I flashed it using a guide to flashing a pre-built image to eMMC.
From the guides I've seen, I should be able to read /sys/class/hwmon/hwmon0/device/...
7
votes
1
answer
8k
views
gstreamer streaming to nginx rtmp server
PS: First time gstreamer user here. :)
Im trying to stream video from a logitech c920 webcam connected to a beaglebone using gstreamer to an nginx server. But somehow rtmpsink is failing on me. ...
7
votes
1
answer
2k
views
How to make a Cross-toolchain to compile from Win7+Eclipse+MinGW+wxWidgets to Beaglebone Black with Debian?
I've got some experience in programming for Windows environment but I need to develop a "Kiosk" (I've heard that this is the right name) on a BeagleBone Black. I'm totally new to Linux and also new to ...
7
votes
2
answers
11k
views
How can I edit a pinmux for BeagleBone Black on linux kernel 3.17?
I can take a peek at /sys/kernel/debug/pinctrl/44e10800.pinmux/pins and see the pin I am interested in:
pin 38 (44e10898.0) 00000037 pinctrl-single
This corresponds to GPIO[2]4, or P8.10.
I'm ...
6
votes
2
answers
6k
views
How to write new MLO and u-boot.img to an SD card without erasing the OS
I have an SD card with a standard Beaglebone Debian image. I also have the MLO and u-boot.img files from building u-boot. I'd like to install the new u-boot on the SD card and then flash the modified ...
6
votes
1
answer
8k
views
OpenCV 2.4.8 (Python) Determining Orientation of an Arrow
I am currently working on a project where I need to determine the orientation of arrows. These arrows will be used as input for a robot to determine what direction it should travel in.
I am using a ...
6
votes
1
answer
8k
views
How to set DHCP using connman for ethernet network
I usually used connman to set static IP to my beaglebone hardware using below command:
connmanctl config ethernet_985dad375f63_cable --ipv4 manual 192.168.1.101 255.255.255.0 192.168.1.1
How do I set ...
6
votes
2
answers
17k
views
Linux equivalent of Windows "Startup" folder
I want to run a program when my embedded Linux's desktop has started up, in the same way as Windows runs programs in the "Startup" folder. How can I do this?
Specifically, my target hardware is ...
6
votes
4
answers
10k
views
How to login into beaglebone black remotely
I have my beaglebone black running stock Angstrom Linux and is connected to ethernet at my home. I can login from any PC connected to my home network using SSH. I would like to know how can I login ...
6
votes
1
answer
14k
views
How to crosscompile a hello world C program for ARM [duplicate]
I have this simple program with its sources in a 'src' folder and the includes in the 'inc' folder. Normally i compile this with:
gcc -I../inc *.c
This leaves 'a.out' as program which works fine on ...
6
votes
1
answer
9k
views
Yocto build for preempt_rt
I'm building a custom kernel for the beaglebone black. Following this guide (http://android.serverbox.ch/?p=1273) I'm able to boot to console successfully using a base image.
When I try to build ...
6
votes
2
answers
4k
views
Searching for the MLO file on the Beaglebone Black
I have a Beaglebone Black industrial(BBBI), which I assume is very similar to the Beaglebone Black.
I wish to make the BBBI boot to microSD card by default, and I found this guide, which suggested to ...
6
votes
2
answers
5k
views
Native Library bluecove_arm not available
I am trying to compile/run a program that uses the BlueCove libraries on a BeagleBone Black running Ubuntu. However I keep getting this error when running:
Native Library bluecove_arm not available
...
6
votes
1
answer
6k
views
Cross-compiling boost 1.69.0 for ARM
Trying to cross-compile boost 1.69.0 in WSL Debian I run bootstrap.sh without icu or python support. After adding
using gcc : arm : arm-linux-gnueabihf-g++ ;
to project-config.jam I get the ...
6
votes
1
answer
5k
views
Python 2.7 and Opencv 3.0.0 cvtColor not working for BGR/RGB conversions
So I realize I may be asking a lot out of a non-finished version of opencv, but I'm having strange issues with the cvtColor method that I can't find any other references to people having elsewhere. ...