Questions tagged [beagleboneblack]
BeagleBone Black is a community-supported development platform for developers and hobbyists.
beagleboneblack
1,354
questions
-4
votes
0
answers
21
views
Linux file write succeeds 1st time errors on 2nd try [closed]
I have a small C++ program that writes a PWM period value to the following file on the BeagleBone Black:
/sys/class/pwm/pwmchip5/pwm0/period
The first time the program runs the file write succeeds. ...
-1
votes
0
answers
16
views
Can't ping to 8.8.8.8 and google.com in beaglebone black [closed]
I can't ping to 8.8.8.8 or google.com
root@arm:/home/debian# cat /etc/resolv.conf
domain mshome.net
search mshome.net
nameserver 8.8.8.8
nameserver 8.8.4.4
root@arm:/home/debian# cat /etc/network/...
0
votes
0
answers
33
views
Run QML in Beaglebone Black
I built an image for Beaglebone Black based on the following instructions:
build image for BBB.
After that, I have crosscompiled Qt 5 for BBB based on this instructions:
crosscompiled Qt for BBB.
I ...
0
votes
0
answers
22
views
How to make a selection on the terminal screen [closed]
I am working on embed linux. I installed Debian for Beaglebone Black, but I am having problems setting the keyboard language. I run the "sudo dpkg-reconfigure locales" command on the ...
0
votes
0
answers
55
views
no console after using :wq in vim
When I type :wq in vim, the window freezes and I do not end up in my terminal.
Typing is still accepted, since I can type reboot and kernel messages appear and the system reboots.
When I am stuck, ...
0
votes
0
answers
29
views
Beagle Bone Black board not able to read or write to GPIO pins
I am using beagle bone black board with AM335X Processor from TI and have a JTAG adapter and use OpenOCD and ARM GDB to connect and read and write to memory. I am trying to read registers of GPIO 1 to ...
1
vote
1
answer
68
views
BeagleBone Black Boot Issue
I am facing difficulties in booting the BeagleBone Black with the core-image-sato build using Yocto Project version 4.0.16 (kirkstone) on Ubuntu 20.04 LTS. Here are the steps I've taken:
Step 1: ...
0
votes
0
answers
25
views
ERROR in rc_mpu_calibrate_accel_routine, center of fitted ellipsoids(in beagle bone blue)
i am trying to calibrate the accelerometer in beagle bone blue (we have implemented our own board) i am working in Linux platform. i am facing this this error in few boards
ERROR in ...
0
votes
0
answers
25
views
not directory GPIO in image beaglebone sys/class
enter image description here
I use Yocto "kirkstone" I can't get the GPIO directory out, I use "core-image-minimal" does anyone know a solution to get the "GPIO" ...
1
vote
1
answer
47
views
initializing buttons on beaglebone black
I have code to initialize GPIO and read the button state value from a file descriptor. I only have 3 buttons.The code is very simple. first I initialize 3 gpio and configure them to output. then I ...
0
votes
0
answers
18
views
kthread_stop() causes memory segmentation when unloading a beaglebone black module
I am just starting to learn kernel module development on the BeagleBone Black platform. Just trying to run a simple thread and exit it (find code below). when i load the module everything works fine ...
0
votes
0
answers
25
views
QT5 cross compile for beaglebone black installation error
I' attempting to build QT5 for use in a Beaglebone black in a Ubuntu 22.04 Virtualbox VM. I'm attempting to follow the guide here to simplify this process as much as possible:
https://github.com/K3tan/...
0
votes
0
answers
33
views
Where to add Device tree Overlay in yocto
In yocto i want to add one Device tree overlay for DHT11 Sensor. Previously there is no device tree overlay for DHT11 but it have the Device Driver.
I want to configure a GPIO pin for the DHT11 sensor ...
0
votes
1
answer
105
views
Qt6 Cross Compile For BeagleboneBlack(ARMHF)
I want to compile Qt6.6 for armhf. I did this compile with Qt5.12.1 version. I am using this. But I need newer libraries (such as QCanDbcParser)that are compatible with Qt6.6.
I followed this guide ...
0
votes
1
answer
80
views
BeagleBone Black shows error "Package 'cmake' has no installation candidate"
When I try installing cmake on a BeagleBone Black board. I am using Debian Buster IoT Image 2020-04-06
sudo apt-get install cmake
I got the below error. For more details, this is my log:
debian@...
0
votes
0
answers
36
views
Configure and Display the Video Stream of a CSI Camera on BeagleBone AI-64
I'm currently working on a project involving the BeagleBone AI-64 and a CSI camera, but I'm having trouble configuring and displaying the video stream. I've followed the available documentation but I ...
0
votes
0
answers
18
views
unable to find the gpio directories in beaglebone black rev5 cd /sys/class
by using yocto i made the beagle bone black but i unable to find the GPIO directories under cd /sys/class/
how to configure the GPIO in beagle bone black
We are tried in many ways like tried to add in ...
0
votes
0
answers
27
views
Building Xinu for BeagleBone Black
I am trying to run Xinu on BeagleBoneBlack. I downloaded the file from the xinu website for the ARM BeagleBoneBlack one. Now, in the compile directory, when I run "make" it says ../...
1
vote
1
answer
68
views
I2C Peripheral fails after a single transaction
I am using this library to sample some sensors over the I2C bus using the PRUs on the Beaglebone Black. It seems as if only the first transaction works correctly, after which the library seems to only ...
0
votes
0
answers
12
views
How to view files on beaglebone that I mounted as mass storage device
I modified the boot script to make the USB mass storage drive writeable when I plug in my BeagleBone Black.
/opt/scripts/boot/am335x_evm.sh
usb_ms_ro=0
How do I access this directory from the command ...
0
votes
0
answers
17
views
BeagleBone Black default Poky image not booting when copying files
I am using Yocto Kirkstone. I want to build and run the exemplary core-image-minimal for BBB. After the build, when I dd the SD card with this command:
sudo dd if=core-image-minimal-beaglebone-yocto....
0
votes
0
answers
38
views
ARM TI chip am335x, how to set up USB HOST endpoint 1
This question of for anyone who has done bare metal access on the TI ARM am335x CPI.
I tried to create a new tag am335x, but I don't have a high enough reputation.
I am trying to get the am3358/am3352 ...
0
votes
0
answers
37
views
when loading the module ,i face a problem as it not being probe invoked succefully
when i loaded my module it is loaded and it is showing in lsmod but my probe function not invoking. I checked my dts file .compatible that matches correctly with my driver (.compatible) even though my ...
1
vote
2
answers
142
views
Problem using Beaglebone Black UART with C-Program
Stack Overflow,
I desperately need help getting a BeagleBone Black UART to work from a C program.
The code that I am attempting to use is listed below. The code came from Chapter 8 of Derek Molloy’s “...
0
votes
1
answer
102
views
Cyclic dependency when building openthread for buildroot
I'm trying to build an openthread border router using buildroot for a beaglebone black, and I'm facing the following error:
CMake Error: The inter-target dependency graph contains the following ...
0
votes
1
answer
32
views
CAN Test Occasionally gets stuck
I am sending a CAN message from Beaglebone black to the STM32 MCU on a custom PCBA. I use the following python script:
Reference code
import can
# Specify the CAN interface and interface type
...
0
votes
1
answer
93
views
I cannot write to 24fc512 i2c memory chip from Linux
For few days now, I struggle to write some data in the memory of a 24fc512 i2c chip from Linux. I tried both a Raspberry Pi 4 and a Beaglebone Black.
The IC has 4.7 KOhm pullup resistors on SCL and ...
0
votes
0
answers
105
views
Yocto enable i2c and pwm using device tree method
I am very new to yocto&device tree world. I'm really having trouble understanding and implementing some concepts.
I use following layers. When i update the MACHINE to beaglebone. it is working as ...
0
votes
1
answer
73
views
u-boot compilation ERROR for beagle bone board (i am using Ubuntu platform)
After successful of hard coding the board id.
getting a error in building the U-boot in the 3rd step
i have tried to compile the U-BOOT and
I Got successful compile for the below two steps.
make ARCH=...
1
vote
1
answer
89
views
Controlling a servo using c on beagle bone black
I can't seem to get the servo to move. I am using pin p9_14, my servo is a Tower Pro SG92R, and I have Debian on my beaglebone black
I'm trying to solve it using no libraries if possible(for practice)
...
1
vote
0
answers
88
views
Trouble trying to disable L2 cache on BeagleBone Black
First of all, I'm a total beginner on ARM programming. I want to make some analysis with my L2 cache disabled. I'm running a U-boot environment, bare-metal, on my BeagleBone Black and I'm trying to ...
1
vote
0
answers
75
views
Why DMA driver memcpy is not working in some cases
I have written somewhat working driver for mem2mem for buffer copy without device tree using only kernel dma api as below (without error handling),
Tested on beaglebone black rev C
# uname -r
5.4.242
...
0
votes
0
answers
70
views
How this DMA driver is not working in beaglebone black
I am trying to learn how DMA works in Linux kernel, and for that I have taken reference from this driver,
dma_test.c
I have inserted device tree entry for this inside am33xx-l4.dtsi as below,
...
-1
votes
1
answer
54
views
U-boot: error when trying to include common.h
First of all, I'm trying to compile a C code to run on BeagleBone Black baremetal, through u-boot console.
Codes without includes compile and run just fine, but I'm trying to transmit some information ...
0
votes
1
answer
676
views
Kernel panic: No working init found. Where is the problem
I'm trying to boot a beaglebone black using u-boot. I'm using a microSD card that is partitioned into 3 partitions:
a FAT boot partition that with the U-boot image, and the kernel image.
a SquashFS ...
1
vote
0
answers
60
views
How to access the interrupts in /proc/interrupts in Python from the MCP23s17 kernel driver
I'm attempting to expand the GPIO on a Beaglebone Black Rev C with a MCP23S17 io expansion chip. I already have the chip set up with the MCP23 family kernel driver via DTO such that I can poll the ...
0
votes
1
answer
46
views
Newbie set value of GPIO pinout
I am new to beaglebone and in very first steps of the board. I follow the instruction to turn on and off the LED connected to pin P9_1 and P9_12.
The instruction is:
echo 1 > /sys/class/gpio/gpio60/...
0
votes
0
answers
201
views
How to make startx use the full screen on the beaglebone black?
I have a Beagle Bone Black Rev C running with this OS (output from startx):
Build Operating System: Linux 5.10.0-21-arm64 armv8l Debian
Current Operating System: Linux beaglebone 4.19.94-ti-r74 #...
0
votes
1
answer
202
views
Getting 2.4" SPI TFT LCD working with Beaglebone Black
What Kernel Fragment needs to be enabled.
Changes needed to Beaglebone Black Devicetree to enable SPI and adding drivier for TFT LCD
The physical connection details to get board up and running
Kernel ...
0
votes
0
answers
347
views
How to get Linux FunctionFS USB Gadget to register as WINUSB Device on Windows 10?
I have a BeagleBone Blue that I'm attempting to build into a small USB device that I'll communicate with on my Windows machine.
I've got a shell script that I run on boot up that configures the ...
0
votes
0
answers
105
views
Incorrect BME688 Gas reistance values
We are using the already built driver for BME680 sensor from the Linux kernel v5.10. But we need BME688 so we compared the datasheet and got to know that T,P,H calculations and registers are same for ...
0
votes
1
answer
195
views
Output to Monitor and Input from Keyboard with Buildroot 2023.05 on Beaglebone Black Rev C
I am trying to automatically run a custom python application after OS boot with a Buildroot 2023.05 Linux image running on a Beaglebone Black(BBB) Rev C. I can already interact with the system through ...
0
votes
0
answers
54
views
How can I read barcodes from an external barcode scanner plugged into the USB Host port of my BeagleBone Black?
I have a barcode scanner module that I've connected to my BBB's USB Host port.
I've determined that the scanner is tied to /dev/input/event1.
However, instead of returning the barcode string like it ...
0
votes
0
answers
74
views
unable to insert a device driver on SPI0 or SPI1 bus on Beagkebone Black
I am trying to insert a device driver which drives an OLED module for Beaglebone Black. I have deactivated the audio and video overlays, enabled Pins for both SPI0/1 ports for SPI as specified here:
...
0
votes
0
answers
197
views
How to link a (which is downloaded and build while bitbaking)library in a folder to files in u-boot using yocto in beaglebone black?
I am trying to integrate cryptoauthlib library (https://github.com/MicrochipTech/cryptoauthlib Microchip library for Trust Platform module devices like ATECC608B) to beaglebone while bitbaking using ...
1
vote
2
answers
88
views
Is there an advantage to adding an additonal thread instead of doing something in main()?
In a simple example of multithreaded processing/moving of data, two threads are created: One thread reads the data from shared memory, the other writes it to a file.
Are there advantages to moving the ...
0
votes
0
answers
92
views
Where can I add u-boot commands to get executed when Beagle Bone Black boots from eMMC
I need to load a device tree overlay when the Beagle Bone Black boots by executing u-boot commands when the board starts up.
However, all commands that I add to the /boot/uEnv.txt file don't get ...
0
votes
1
answer
152
views
No config-pin binary when creating custom kernel image in yocto for beaglebone black
Thank you for reading this thread, I have recently started a personal project using Beaglebone black.
I wanted to create a custom kernel image with the config-pin binary included but all the images I'...
0
votes
0
answers
92
views
Sitara AM335x (Beaglebone Green) - programming the cortex m3
currently im working on a baremetal application on a beaglebone green, which has the AM3358, containing
an A8 processor, two PRUs and a cortex M3.
Because im using a Segger J-Link EDU as a programmer, ...
1
vote
1
answer
372
views
AttributeError: module 'board' has no attribute 'D18' - Adafruit - Python
I'm trying to connect my BeagleBone Black with DHT11 sensor. I'm following the Adafruit guide they provide, but on script run:
import board
import adafruit_dht
import time
stdin, stdout, stderr = ...