/r/BeagleBone

Photograph via snooOG

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.

Official Forum

Official Discord

/r/BeagleBone

3,465 Subscribers

7

BeagleBone AI-64 - experienced RPi progamer lost in the BeagleBone world

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! :)

9 Comments
2023/05/21
12:36 UTC

3

Pijuice alternative ?

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

4 Comments
2023/05/13
06:44 UTC

3

How to get my I2c RTC module as rtc0 instead of rtc1?

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?

0 Comments
2023/05/08
12:55 UTC

4

BBB running a Bullseye minimal image + OpenBox: some questions

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):

  1. kernel boot is silent: only the blinking cursor is visible. There's any way to show the penguin logo (or something custom, if this doesn't requires recompiling the kernel)
  2. On the opposite, the BBB then shows all the default user-password, copyright and NO-WARRANTY messages (seems to me that they were visible only at the first boot, in the past) and then the xorg output until OpenBox "desktop" become visible. How can i hide these messages (or even show some custom stuffs)?
  3. Once OpenBox starts, the screen always turns black after a time. I need to disable this but i can't find where this setting is. Googling didn't help 'cause i keep landind on LXDE/XFCE articles, while i just have installed OpenBox + xinit.

Thanks

0 Comments
2023/05/05
09:40 UTC

3

Is there a way to remove the drivers without the device in question?

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.

6 Comments
2023/05/04
20:09 UTC

5

Beagle Black no boot holding S2

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.

7 Comments
2023/04/30
15:45 UTC

4

Beaglebone Black -Invalid module format while inserting device driver

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??

0 Comments
2023/04/27
06:36 UTC

5

Booting from SD card. Kernel panic

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.

2 Comments
2023/04/03
03:15 UTC

3

Mintion Beagle camera. App won't recognize that the camera is connected to wifi.

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?

0 Comments
2023/04/02
00:03 UTC

5

Edge impulse fomo on BBone Black

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?

0 Comments
2023/03/29
00:46 UTC

1

Beaglebone green wireless

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?

0 Comments
2023/03/28
01:49 UTC

1

Locket myself out pocketbeagle

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?

2 Comments
2023/03/24
12:49 UTC

2

IoT system

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.

3 Comments
2023/03/23
19:18 UTC

11

BeagleBoard founder Jason Kridner talks about the new BeaglePlay

0 Comments
2023/03/16
19:49 UTC

1

Getting Ubuntu onto BBB

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

2 Comments
2023/03/16
14:40 UTC

8 Comments
2023/03/08
21:44 UTC

1

Noob here: Debian 10 on a BBB: where's logs are saved?

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.

6 Comments
2023/03/08
08:37 UTC

1

IoT Smart Security System

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.

0 Comments
2023/03/06
04:12 UTC

4

Can anyone recommend a BBB + Yocto tutorial?

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:

  • When I boot using an SD with an "official" image, the SD boots
  • When I boot using the SD made with the above tutorial, it simply doesn't.
  • (tangential) holding down S3 on power up results in literally nothing happening. No LEDs, no booting, nothing.

I have quite a bit of experience in general, but am very new to Yocto and BBB. Any recommendations?

Thanks.

3 Comments
2023/02/27
22:38 UTC

3

is there a way to still use this? no USB or power supply on the board itself.

5 Comments
2023/02/14
15:59 UTC

3

Urgent: I need to play and record audio using BBB and It's not working whatever I do...

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.

2 Comments
2023/02/14
14:55 UTC

1

Do I need to build u-Boot to make changes or there is a file that is automatically run?

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?

0 Comments
2023/02/13
11:46 UTC

1

Device tree compile error in linux 6.1 stable

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?

2 Comments
2023/02/11
09:35 UTC

7

Green BB Board

2 Comments
2023/01/27
20:23 UTC

1

BBB immediately fails when trying SSH

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?

12 Comments
2023/01/09
06:44 UTC

4

Beaglebone Black eMMC backup ... or reset root password

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?

3 Comments
2022/12/30
12:23 UTC

3

BeagleBone doesn't boot on external power supply, I have checked internet, Can't find out the problem

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?

5 Comments
2022/12/29
14:54 UTC

5

GUI app on beaglebone IoT w python? what GUI library to use?

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.

0 Comments
2022/12/03
14:12 UTC

7

Swiftybones - GPIO library for the Beaglebone

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

0 Comments
2022/11/23
20:54 UTC

Back To Top