/r/BeagleBone
This subreddit has gone dark as part of a mass protest against Reddit's recent API changes, which break third-party apps and moderation tools. ++ The sub will remain private for at least 48hr from 0000UTC on 12th June 2023. ++ We look forward to seeing you later, and thank you for your understanding.
This subreddit is dedicated to collecting news, events, features, expansions, and most importantly, projects that have developed for the BeagleBone and BeagleBone Black development boards.
/r/BeagleBone
Hello! I'm new to BeagleBone, but I've been using and developing with Raspberry Pi since 2012. I use the original Debian based OS, I also build Yocto images for it, and there was a time when I built an OS with Buildroot. Although I am not a professional I have some experience with Embedded Linux.
I bought a BeagleBone AI-64 and although I am impressed with the hardware, I am completely lost in the software field.I have read through the Getting Started Manual and have successfully installed it. However, I refuse to believe that I have to program on the SBC itself.
To tell you the truth, I'm also a bit confused by the structure of the official documentation. I also found it quite difficult to find how to build and test simple example programs.
Since I read everywhere how fantastic the documentation and community of BeagleBone SBCs is, I feel a bit like I'm a moron for feeling lost... :)
Is there an official Yocto build, cross toolchain? How can I develop software for it on PC?
Unfortunately, BeagleBoard is completely unknown to me and I approach the question in the classic embedded linux way: develop the software on PC with cross toolchain and sysroot, then deploy it to the target device.
Any help would be great to clear the picture for me! :)
Hi everyone,
I'm thinking about buying a beaglebone, as Raspberry are out of stock.
I looked up on Google for some pijuice-like beaglebone-compatible alternatives, but couldn't found any. Does this exists?
Thanks in advance for your answers
I'm using a BBB to run a "kiosk" app, and after 5 years of developing on a Debian 10 image, i created a new image starting from this release.
I've mounter a PCF8523 on it, using the BB-I2C2-PCF8523-00A0 overlay. On the old debian 10 image it shows as rtc0, while on this new image it is on rtc1.
I chatted a bit with zmatt on the official beagle channel, and got some interesting clues:
<zmatt> can you check:
cd /proc/device-tree/aliases && perl -0777 -pe 's/(.*?)\x00/$ARGV:$1\n/sg' rtc*
<zmatt> (that perl command dumps string(-array) DT properties in a nice way)
<Parduz>
rtc0:/fragment@4/__overlay__/pcf8523@68
<Parduz>
rtc1:/ocp/rtc@44e3e000
<zmatt> ohhh that's not right, it should point to the resolved path, not a fragment path in the overlay
<zmatt> wait do overlays even support string-fixups
<zmatt> they absolutely don't
<zmatt> okay so the question isn't "why is this no longer working?" ... the real question is "how on earth did this ever work?"
He then tried to rewrite the overlay and i compiled it: no more "errors" like that on, but still the i2c module is rtc1.
Now, this is nothing i really understand, so i'm asking here: there's a way to have the external rtc module listed as rtc0?
I'm using a BBB to run a "kiosk" app, and after 5 years of developing on a Debian 10 image, i created a new image starting from this release.
I'm pretty happy with it, but i'd need some help for some settings (i'm still a linux noob):
Thanks
Trying to help a friend who had an ex install the BeagleBone drivers on his computer as he used the development board.
They're on bad terms and I'm trying to help her uninstall the software/drivers which only shows up in Windows apps, not control panel, but I get this error when I try.
I'm not finding anything in device manager because she doesn't have the board itself so we can't uninstall it that way.
Any help would be greatly appreciated.
I'm trying to flash the latest Debian image to a B6 revision board but if I hold S2 it prevents boot up, power light remains on and None of the 4 LEDS light. It boots fine without holding S2 but does not boot from the SD.
The SD is formatted correctly and I can flash other Beagle Black Wireless boards from it.
Please help I can't see this problem anywhere on the web.
I have created a beagle bone black image through Yocto. My version of BBB is 5.2.17. The version of my host machine(ubuntu) is 5.15-generic.
I want to insert a simple hello_world device driver program to my BBB. I have writen hello_world.c and compiled it in my host ubuntu PC . When I insert the hello_world.ko file to BBB, it says invalid module format.
It could be due to change in versions of kernel of host and target machines. I downloaded the linux kernel 5.2.17 in my host machine but I couldnt find the linux-headers for 5.2.17.
Since I have created the BBB image using yocto, how should I upgrade kernel to 5.15 version
My makefile is as below:
obj-m = hello_world.o
all:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /lib/modules/$(shell uname -r )/build/ M=$(PWD) modules
clean :
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /lib/modules/$(shell uname -r )/build/ M=$(PWD) clean
For this makefile, I get invalid module format error on BBB
when I change my makefile like below:
obj-m = hello_world.o
all:
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /home/...../build_bbb/tmp/work-shared/beaglebone-yocto/kernel-source/ M=$(PWD) modules
clean :
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /home/..../build_bbb/tmp/work-shared/beaglebone-yocto/kernel-source/ M=$(PWD) clean
when I make , I am getting ->fatal error:asm/bitsperlong.h: No such file or directory
how should I implement a simple device driver??
Im trying to boot BBB from SD card but getting error as no working init found. The image I have copied is good. If anyone has faced same error and resolved please let me know. I got a suggestion to change the SD card. But any suggestions will be appreciated.
I am trying to set up my camera to my printer. I goes through all the steps. It tells me I am connected to the wifi, but instead of showing me the camera screen it just continues the countdown. At the end it just says it failed. I already upgraded the firmware. Any ideas?
Hi. So I am a bit new to this board and I bought it because of the current SBC shortages. In my project, I want to use the BBB as an inference server for object detection from esp32 came. The model I want to train is an edge impulse FOMO. My question is, would it be able to run that?
I’m currently trying to connect a seedStudio grove- temperature and humidity sensor pro to my Beaglebone green wireless using a grove base cape. I’m trying to download the library using the chatGPT steps and I get an error when trying to use the GitHub login.
Can anyone suggest any advice or steps to take get these to communicate?
Hello,
So, long story short, I have a pocket, changed the root password,had the the password saved in my ssh software, due to a mishap, I lost the saved password, and now I locked out. Without reflashing and losing the data, that I need, are there ways I can recover access?
I am currently trying to create a security system using a Beaglebone Green Wireless(BBGW), pixycam2, seeedStudio Temperature & Humidity Sensor Pro, and another CO2 & Air quality sensor.
I got the BBGW to connect to my local network and I’m struggling to get the pixycam2 software pixymon software to run on it.
I’m trying to be able to use the built in software of learning an object and tracking it and seeing the live feed of the video and be able to access this from ThingsBoard as a cloud service to monitor all the sensors.
This is all phase 1, the next would be coding the system to have some attenuation when both the camera notices someone’s home and the temperature reading is too high or low it’ll notify a user.
Hi, I'm working on a project where the SDK I have needs to be used with Ubuntu(Doesn't matter the version I don't think), I've been looking up tutorials but most of them are expired links to flashes. I'm still really new to this stuff, but everything that I am reading is saying that I need to get a version download it to a micro SD and then boot the BBB from the micro SD with Ubuntu but I'm not 100% sure how to do that, and I'm not finding much in the way of guides.
Any help is much appreciated. Thanks
https://beagleboard.org/blog/2023-03-08-beagleplay-annoucement
And there's stock!
Could be that this question is more related to Debian than strictly to the Beaglebone black, but i don't know what things are different so please pardon me.
I have a BBB running a Debian 10 image and a "kiosk" app that i'm developing.
I remember, a couple of years ago, that i've found a "log" file containing whatever my app was writing to stdout... all debug strings that i put here and there to follow the program "flow" when i was connected with a terminal.
That file was REALLY BIG, and i didin't know that a file keeping all that existed. I feared to fill the "disk" of the BBB, so from then i've put great attention to not write anything unless i wanted to.
I can't remember what file it was, and i'd need to look at it now :( My google-fu doesn't lead to anything useful, for me, so here i am, asking for a tuny help.
So, I'm currently doing an Internet of Things (IoT) project. This project consist of a BeagleBone Green Wireless (BBGW), a Pixycam2 and a couple of other sensors like a temperature, air quality, and carbon monoxide.
So far the only thing to come in has been the Pixycam and I'm struggling to get the BBGW to see the pixycam. When I plug in the pixycam to a BBGW usb port the light turns on but the Pixymon doesn't run. I've tried downloading the software onto the BBGW directly using WinSCP and it uploaded the file from there but I run into errors when trying to get the program uploaded to the BBGW and the Pixy wiki doesn't have anything for the BBGW yet.
I'm using ChatGPT to help with some guidance, but it only helps so much. So if anyone has any idea, I'm fairly new to this, so any advice would be greatly appreciated.
Foreword: In the event I have an XY problem: My end goal is to have a system that either boots very quickly (< 5s) to a minimal GUI, and bring up other stuff after. OR can suspend to a very low power state and wake quickly. To that end I am trying a BBB and toying with Yocto. If that doesn't work, I'm going to move to microcontroller + text LCD.
The rest:
I found this tutorial.
It simply doesn't work -- it boots from the internal flash instead. Data points:
I have quite a bit of experience in general, but am very new to Yocto and BBB. Any recommendations?
Thanks.
Hi, I am making a BB Black based project and there are some things I just can't do.
I have searched far and wide on internet, This is my last resort
So I am basically using a BBB to run a few PWM pins, and fetching data from API.
I have a USB audio driver card with Mic and Speaker output.
BBB works with a 2.4GHz USB WiFi adapter.
The Lack of documentation has already driven me insane.
PLEASE HELP.
I want to make some changes to the way my beaglebone boots. I can do them from the u-Boot promt. Is there a way to make u-Boot automatically load them from a file?
Hi all,
I am trying to compile device trees for am335x beaglebone black with a recent kernel 6.1 but I have an error to do with missing include paths:
$ make am335x-boneblack.dtb
DTC arch/arm/boot/dts/am335x-boneblack.dtb
In file included from arch/arm/boot/dts/am335x-boneblack.dts:7:
arch/arm/boot/dts/am33xx.dtsi:8:10: fatal error: dt-bindings/bus/ti-sysc.h: No such file or directory
8 | #include <dt-bindings/bus/ti-sysc.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Same problem is present when trying other DTSs, or by doing make dtbs, which tries to compile them all.
Some people had luck adding a simbolic link to include/dt-bindings in the dts area, but this did not work for me.
Any ideas?
Trying to log in to my BBB using SSH, getting error:
debian@192.168.7.2: Permission denied (publickey,password)
When to /etc/ssh/sshd_config and changes to not accept RSA or pubkey, and now I get
debian@192.168.7.2: Permission denied (password)
The main issue is that I never get asked my password, it immediately fails, I have also tried on my client to do the ssh-copy-id but same error pops so the key never gets copied, how can I configure the ssh to work?
Hello,
I have Beaglebone Black (Debian Image 2019-08-03), that is used in our custom device. Just wanted to backup whole eMMC (in case of device failure etc)... The problem is, that I don't have any credentials for root access, but I have physical access to the device.
I've tried to backup with this script (eMMC to SDcard): https://elinux.org/BeagleBone_Black_Extracting_eMMC_contents but always failing... I have 16GB SDcard, that is 4GB FAT formatted, everything done as in the manual, every part tested like holding S2 button while powering on etc. - it'll make random "image" file on the sdcard, but there's no content inside.
Thought, that connecting it directly with a USB cable into linux PC will do the job, but there's some "starter" partition visible only.
Is there an other way to access eMMC or resetting root password without loosing data?
Hi, My BB works just fine with USB and SSH, I have never used any other than 5V 1A power supply.
When I connect power supply, the power LED blinks once and then turns off, Someone on the internet says that means it's cooked but it works??
Can I power it through rail?
Hello everyone. I've been trying to get my text based application to work on beaglebone IoT but it seems that due to the type of frame buffer and video driver that Debian uses, I was told by the pie game forum that I would have to recompile the whole pygame and a bunch of other stuff from scratch.
I'm wondering what other options do I have available that just work on Beagle bone Debian out of the box? I'm looking for simple things like drawing basic shapes, drawing, text and simple sprites.
We have released the first version of the new SwiftyBones library which is a GPIO library, written in Swift, for the Beaglebone for Swift. We have mapped the headers for both the Beaglebone Black and the AI-64 boards.
https://www.mastering-swift.com/post/swiftybones-gpio-library-for-the-beaglebone