Questions tagged [beagleboneblack]

BeagleBone Black is a community-supported development platform for developers and hobbyists.

beagleboneblack
Filter by
Sorted by
Tagged with
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 >>&...
Rahul Krishna's user avatar
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 ...
Knoose's user avatar
  • 123
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 ...
Rob's user avatar
  • 11.6k
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 ...
Sagar Sm's user avatar
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 = &...
E V Ravi's user avatar
  • 141
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 ...
jmilloy's user avatar
  • 8,065
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 ...
Saad Rafey's user avatar
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 ...
BullBoyShoes's user avatar
2 votes
1 answer
3k views

How to compile openssl 1.0.2f on Beaglebone Black?

Currently, I use command below to compile openssl 1.0.2f from openssl package: $ tar xzf openssl-1.0.2e.tar.gz $ cd openssl-1.0.2e $export PREFIX={PREFIX} $./Configure -DOPENSSL_NO_HEARTBEATS --...
neo's user avatar
  • 687
2 votes
2 answers
7k views

Beaglebone black PWM using C

I wrote a sample pwm function in C for beaglebone black. Whenever I make a function call in other modules or in main(), I end up in segmentation fault. Kindly help where I am making the mistake and ...
Gibson Justian's user avatar
2 votes
2 answers
6k views

SSH Beaglebone via ethernet port or Host USB

I am still new to Beagle-bone black and was having fun until the USB device jack through which I used to SSH accidentally detached from the Beagle-Bone black. I am having a hard time getting the USB ...
Sidhant101's user avatar
0 votes
1 answer
858 views

Cannot use keyboard within Qt app without sudo

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works OK, but one thing - it doesn't accept keyboard input if I won't run in directly on BeagleBone Black preceding ...
Łukasz Przeniosło's user avatar
0 votes
2 answers
684 views

what is the utility of the buildroot on beagleboneBlack?

I don't understand what is the reason of buildroot of a card such as beaglebone black where as it has a Linux system when we bought.What is the utility of the buildroot?
arrow man's user avatar
0 votes
1 answer
6k views

OpenCV 3.2 gives Select Timeout when grabbing, but fswebcam works

I'm having a bit of a weird issue here. Simply put, I'm trying to grab a frame from a camera (Mercury 2.0 Webcam embedded camera), but it's not going as expected. I'm running Debian Jessie on a ...
Acherrum's user avatar
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 ...
Chris Watts's user avatar
  • 6,457
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 (...
pzn's user avatar
  • 502
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 ...
Yevgeniy P's user avatar
  • 1,542
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 ...
Daniel's user avatar
  • 131
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 ...
dcr's user avatar
  • 977
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; ...
Alex F's user avatar
  • 42.8k
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 ...
Anjanu's user avatar
  • 623
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 ...
ToBeReplaced's user avatar
  • 3,434
6 votes
3 answers
33k views

DHT22 Sensor import Adafruit_DHT error

So I've properly attached DHT22 Humidity Sensor to my BeagleBone Black Rev C. I'm running OS Mavericks on my MacBook Pro and I followed the directions provided by Adafruit on how to use my DHT22 The ...
FooLingYu2's user avatar
5 votes
1 answer
6k views

How can BeagleBone Black be used as Mass Storage Device?

Is it possible to use the BB as Mass Storage Device? I want it to be connected to an audio player that can read files from USB connectivity (such as USB flash drive) and act as data storage device ...
user4939476's user avatar
4 votes
2 answers
8k views

Toolchain to crosscompile Applications for BBB

My native machine is ubuntu based 14.04 LTS x86_64 system, I want to cross-compile applications and QT programs for Beaglebone black, which is an armv7 based system running on Debian 2015 distribution....
user7345878's user avatar
4 votes
1 answer
3k views

Where is g_multi configured in BeagleBone Black?

With the default Debian installation in a BeableBone Black you can access it via USB as different devices: mass storage device, virtual ethernet and virtual serial uart. This is accomplished with the ...
Emilio Perez's user avatar
4 votes
4 answers
25k views

Enabling UART on Beaglebone Black

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 ...
curlysue48's user avatar
4 votes
1 answer
8k views

Turn off power to a USB port

I'm looking for a way to turn power off (and back on) for a USB port. Solution can be in C, bash, etc. I'm using a BeagleBone running 32-bit Ubuntu 16.04 for armhf. > uname -srvm Linux 4.4.6-ti-...
Stéphane's user avatar
  • 19.8k
3 votes
2 answers
3k views

Building .dtbo overlay for BBB using bitbake

I built a yocto distro (rocko) for my BBB using kernel linux-ti-staging-4.14 with a custom device tree. Since I need to port an old project from Debian to Yocto, I also needed to enable the UIO ...
x'mpl''s user avatar
  • 123
3 votes
2 answers
4k views

Image Capture with OpenCV - Select Timeout Error

I would like to save a captured image from my webcam attached BeagleBone Black, however when I run the following code, I get the error: select timeout. #include <iostream> #include <opencv2/...
Amadeus's user avatar
  • 352
3 votes
2 answers
1k views

U-boot for Beaglebone Black won't build - target CPU does not support THUMB instructions

I am trying to build u-boot for beagle bone black following instructions in "Mastering Embedded Linux Programming" by Chris Simmonds. I have built the cross toolchain and am now trying to build Das U-...
JohnBabrick's user avatar
3 votes
1 answer
7k views

GPIO on Beaglebone Black

I'm currently stuck on a problem with GPIO pins with the Beaglebone black. I am looking for a proper way to read the values from GPIO pin p8_4 in C. I tried to use a library which used an old not ...
Joris Mathijssen's user avatar
3 votes
4 answers
7k views

USB Bluetooth Dongle isn't recognized by BeagleBone Black

I'm attempting to figure out how to get a USB Bluetooth dongle to work with my BeagleBone Black. I've tried a few different ones to no avail, but have seen posts from others who seem to have had some ...
tomgersic's user avatar
  • 401
3 votes
1 answer
2k views

Changing USB0 address of Beaglebone Black?

I am trying to change the static IP address of USB0 port of BeagleBone Black. I know this thread was open previously (Changing the static IP of Beagle Bone Black USB0). But no answer was found. So I ...
Swaroop's user avatar
  • 31
3 votes
2 answers
5k views

Trouble with SPIDEV, device tree and .dtbo name with Beaglebone Black

I have some weird issue with device tree. I found out that changing name of the .dtbo changed the beahvior of the kernel ! I have modified the BB-SPIDEV1-00A0.dts given in /lib/firmware with Angstrom ...
user3714405's user avatar
3 votes
2 answers
7k views

PWM on BeagleBone Black (v4.14)

There is very little information how to configure the Beaglebone for PWM on newer versions of the kernel. Past instructions for interfacing with PWM through the slots file are obsolete, as the slots ...
dgund's user avatar
  • 3,467
2 votes
1 answer
3k views

Virtual Keyboard (Linux/libevdev) - sending event

Trying to implement a virtual keyboard. The program sends a keystroke event in the 5 second cycle. Its working on PC (Ubuntu Linux). The problem is that nothing is displayed on Beaglebone Black/...
Michał Hanusek's user avatar
2 votes
2 answers
817 views

Cannot configure SPI0 on BeagleBone Green Wireless

Note: the selected answer is the original one that solved the problem, for more details refer to the additional one below. I'm not able to configure SPI0 on my BeagleBone Green Wireless (BBGW). I'm ...
MJBogusz's user avatar
2 votes
1 answer
989 views

BeagleBone Black UART software FIFO size?

I'm developing a custom application on the BeagleBone Black that has to use the UART capabilities of the device via the Debian Linux that runs on the BBB, for reading big chunks of data. For reading ...
Greenberet's user avatar
2 votes
1 answer
431 views

Getting IP address of the beagleboard using python

SIOCGIFADDR = 0x8915 def getIpAddr(iface = 'eth0'): ifreq = struct.pack('16sH14s', iface, socket.AF_INET, '\x00'*14) try: res = fcntl.ioctl(sock, SIOCGIFADDR, ifreq) except: ...
Andy's user avatar
  • 33
2 votes
2 answers
2k views

Beaglebone Boot to Qt App

I have searched & googled a lot but I cannot get this to work. I want the Beaglebone to boot up into my Qt application. However, what I get is that the GUI boots up OK but then in a few seconds ...
jas99's user avatar
  • 81
2 votes
0 answers
2k views

Chipsee 7 inch LCD support in Linux kernel 3.14

Has anybody ported Chipsee 7 inch LCD on Linux kernel 3.14 or later ? Is there any patch available for the same ? If no patches any suggestion porting Chipsee LCD support from Linux kernel 3.8 to ...
ART's user avatar
  • 1,519
2 votes
2 answers
2k views

How do I remove the navigation bar from my Android build?

Since the device I am developing has physical buttons, I do not want to see a navigation bar taking up my screen space. Rowboat-android on Beagleboneblack shows the navigation bar by default. Where do ...
Atilla Filiz's user avatar
  • 2,413
2 votes
2 answers
8k views

Steps to share internet with BeagleBone Black using USB from OS X

Already tried: Connect the BBB with USB to iMac Share internet with the board from System Preferences->Sharing ssh to the board and then try to udhcp -i usb0 This is what it says: udhcpc (v1.20.2)...
wees's user avatar
  • 61
2 votes
1 answer
4k views

BeagleBone boot to Qt app with touch screen

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 ...
Puck's user avatar
  • 2,112
2 votes
3 answers
2k views

unsatisfied link error runnable jar referencing jssc library

We are creating a runnable java jar to run on a beagle bone black(running ubuntu). We have created a runnable jar which runs fine on our mac and pc(windows) but will not run on the ubuntu system. We ...
Travis Elliott's user avatar
2 votes
1 answer
4k views

PWM chip to pin mapping on BeagleBone Black (v4.14)

There is very little information how to configure the Beaglebone for PWM on newer versions of the kernel. I followed the instructions from PWM on BeagleBone Black (v4.14) to interface with the PWM ...
dgund's user avatar
  • 3,467
2 votes
1 answer
2k views

Compute clock cycle count on ARM Cortex-a8 BeagleBone Black

I want to compute the clock cycle count for a specific function inside my c code which is going to be compiled and run on BeagleBone Black. I have no idea how I can do this. I searched over the web ...
A23149577's user avatar
  • 2,075
2 votes
1 answer
4k views

Simultaneous write to multiple files

I'm working on a project involving using a Beaglebone to read from multiple sensors and then pass that data into a text file.I'm monitoring six different muscles, so I have the files correspond to ...
boktor's user avatar
  • 35
1 vote
1 answer
181 views

Property power-supply for an external pwm-backlight IC

I have this LCD panel: LED panel's backlight is driven by the MIC2297 chip which takes two signals: BRT - PWM signal for setting brightness of the LCD's background LEDs. BL_EN that - gpio signal ...
71GA's user avatar
  • 1,235