Questions tagged [beagleboneblack]
BeagleBone Black is a community-supported development platform for developers and hobbyists.
1,336
questions
0
votes
0
answers
18
views
How to enable cache on beagle bone black?
I created a minimal Yocto image for beagle bone black. But it seems like my CPU's cache is disabled: /sys/devices/system/cpu/cpu* does not contain any entry related to caches.
The content of cpuinfo ...
0
votes
0
answers
20
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
22
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
63
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
37
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
28
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
39
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
40
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
59
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
52
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
71
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
58
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
44
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
41
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
281
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 ...
0
votes
0
answers
36
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
37
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
113
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
113
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
202
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
74
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
101
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
42
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
57
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
158
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
86
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
67
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
102
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
76
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
253
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 = ...
0
votes
0
answers
59
views
Python program run by systemd service unable to detect serial ports
I am using a systemd service to run a python script on boot which reads data from the serial ports of my device. When I run the python script in the terminal, it works fine. However, when use the ...
0
votes
1
answer
209
views
Cannot send CAN data using cansend in CAN1
I have a problem sending data to can1.
The CAN transceiver I am using is TJA1050 High speed CAN transceiver.
I connected the CAN transceiver to PCAN-USB Pro analyzer that can also send/receive a ...
0
votes
0
answers
42
views
how to read data from GPS device connected to Beagle Bone black using serialport npm package in an electron application?
I am trying to read NMEA packets from a GPS device connected to Beagle Bone using npm Serialport package .I am able to get data in a normal Node Js program, but when I try to run the same program ...
0
votes
0
answers
24
views
SIM7600x connect for UART4 with Beaglebone
Good morning colleagues, I am trying like crazy to connect the SIM7600G-H 4G HAT board to a BeagleBone Back through the UART4 port, I have connected the cables P9_11 (gpio30) to TX, P9_13 (gpio31) to ...
0
votes
1
answer
412
views
Error: arm_ssp_per_task_plugin.so: undefined symbol: _Z9rtx_alloc8rtx_code
I build image for bbb refer to this guide
https://forum.digikey.com/t/debian-getting-started-with-the-beaglebone-black/12967
After setup image done, I try to make a kernel module hello_module.c and ...
0
votes
0
answers
182
views
BusyBox login applet returns "login: /etc/passwd: bad record"
I am learning embedded Linux with help of this book. I built the kernel and the Busybox for the BeagleBone black and booted to shell successfully(with rdinit=/bin/sh command line parameter), then i ...
0
votes
0
answers
82
views
print serial number with serial#
I want to print the serial number which is store in the EEPROM of my Beaglebone Black hardware with U-Boot. I finally came up with this command
i2c md 0x50 10.2 C
0010: 32 30 34 33 53 42 42 30 31 36 ...
0
votes
1
answer
79
views
BeagleBone black USB_mass_storage connect to Windows not working
I have an annoying issue regarding getting USB_mass_storage on BBB to work when connected to Windows
I have created an image :
dd bs=1M if=/dev/zero of=/usb.bin count=64
Formatted it:
mkdosfs /usb.bin ...
0
votes
1
answer
238
views
Custom Linux serdev driver for ST7580 PLC modem
I have a ST7580 Power line communication modem connected to a BeagleBone Black device running Debian Linux, kernel v4.19. I am trying to communicate with the modem using a custom serial driver (using ...
1
vote
1
answer
215
views
Why beaglebone gpio is not working with sysfs (kernel_version=5.10.153-bone69)
I am trying to use a gpio P9_23 (gpio 49) to light up an LED via sysfs and kernel module, and I used this link to bring up SD card
https://forum.digikey.com/t/debian-getting-started-with-the-...
-1
votes
1
answer
209
views
Is there any way to set environment variable of U-boot from linux userspace terminal?
Can anyone tell me how to set environment variable of U-boot from normal user space terminal, i.e, once the kernel image loaded, then I need to open terminal and change the environment variable in u-...
0
votes
1
answer
28
views
Qt QML for Beaglebone Black
I am want to make a Qt Quick application with Python and use it on BeagleBone Black. I am using Debian on the board. As a newbie to the board I dont find article on internet very helpful to me. I will ...
0
votes
0
answers
781
views
APACHE 2 error: cgi file in /cgi-bin/ shows "The requested URL was not found on this server."
I am using apache 2 on the beaglebone black flashed with a Debian 10 image to run a server using a simple cgi file.
The https://hostname.com works fine. But when i get into the usr/lib/cgi-bin/test....
0
votes
0
answers
62
views
Beaglebone Ubuntu upgrade from 16.04 to 18.04 PWM issue
I've updated my Beaglebone Black based hardware from Ubuntu 16.04 to 18.04. I can still connect through ethernet, but my PWM (driving LEDs) stopped working.
I did a sudo do-release-upgrade in Ubuntu ...
0
votes
1
answer
489
views
GLIBC version mismatch between my build and my target hosts
I work with a beaglebone board (but probably it's not so important on which board)
it has linux-4.9.82-ti-r102 kernel version installed and I can't change it.
I created a code
, and tried to run it ...
0
votes
0
answers
177
views
C++ compiler errors compiling libpqxx basic exmaple, what is wrong and how to solve it?
im trying to build the example here https://github.com/jtv/libpqxx#programming-with-libpqxx using c++ compiler on my beagleboneblack, ececuting the command: g++ -o taks tasks.cpp -lpqxx -lpq
I belive ...
-1
votes
1
answer
229
views
yocto linux Beaglebone black no gpio directory
I built a poky build based on yocto kirkstone and the version I have it running is Linux beaglebone-yocto 5.15.54-rt48-yocto-standard #1 PREEMPT Thu Jul 14 18:52:26 UTC 2022 armv7l armv7l armv7l GNU/...
0
votes
0
answers
838
views
How do i compile and use mariadb c++ Connector library in debian 10?
Setup: Beagleboneblack, debian10, arm, mariadb v10.3.36.
Following this guide: https://mariadb.com/docs/connect/programming-languages/cpp/install/
I reach this step:
$ sudo install include/mariadb/* /...
0
votes
0
answers
52
views
How to debug process' inability to print to console
I am using a Beaglebone black to generate a square wave on one of its GPIO. This is done to trigger an ultrasonic sensor which in reply, send the ECHO pin high (when it has results to share). I ...
1
vote
1
answer
129
views
Beaglebone Green SPI
New out of the box Beaglebone Green. Trying to use SPi) on P19 17,18, 21,22.
At first boot, gpioinfo shows
line 2: "SPI0_SCLK" "P9_22" input active-high [kernel]
line 3: "...