Now that I can turn on/off GPIO pins and builtin LEDs in BBB, I would like to try PWM next. Online search says something about “config-pin”, “/dev/bone/pwm”, and “/sys/class/pwm”. But,
whereis config-pin
ls /dev/bone/pwm
ls /sys/class/pwm
all return empty in the latest Debian 13.2 images,
Does anyone have a book to recommend for writing Device Trees for the Beaglebone boards. I have struggled for years for modifying the .dts files on the BBAI64. It seems to me that with every kernel change their is a shift towards re-configuring your own board. I started with Derek Mollys book with the original BBB years ago. I have purchased 2 books that have been of limited help. The problem is I simpily don’t speak the Device Tree Language and get lost quickly.
What do you suggest. Yes it seems like everytime the kernel changes, my system breaks. Is their an alternative to adding the overlays, similar to the BBAI64?
=\~=\~=\~=\~=\~=\~=\~=\~=\~=\~=\~= PuTTY log 2025.12.08 09:36:35 =\~=\~=\~=\~=\~=\~=\~=\~=\~=\~=\~=
U-Boot SPL 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500)
Trying to boot from MMC2
Loading Environment from EXT4…
\*\* Unable to use mmc 0:1 for loading the env \*\*
U-Boot 2018.09-00002-g0b54a51eee (Sep 10 2018 - 19:41:39 -0500), Build: jenkins-github_Bootloader-Builder-65
CPU : AM335X-GP rev 2.1
I2C: ready
DRAM: 512 MiB
No match for driver ‘omap_hsmmc’
No match for driver ‘omap_hsmmc’
Some drivers were not found
Reset Source: Power-on reset has occurred.
RTC 32KCLK Source: External.
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Loading Environment from EXT4…
\*\* Unable to use mmc 0:1 for loading the env \*\*
Board: BeagleBone Black
not set. Validating first E-fuse MAC
BeagleBone Black:
BeagleBone: cape eeprom: i2c_probe: 0x54:
BeagleBone: cape eeprom: i2c_probe: 0x55:
BeagleBone: cape eeprom: i2c_probe: 0x56:
BeagleBone: cape eeprom: i2c_probe: 0x57:
Net: eth0: MII MODE
cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
board_name=\[A335BNLT\] …
board_rev=\[00C0\] …
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1…
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
gpio: pin 53 (gpio 53) value is 1
switch to partitions #0, OK
mmc0 is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt …
Checking for: /boot.scr …
Checking for: /boot/boot.scr …
Checking for: /boot/uEnv.txt …
btrfs_read_superblock: invalid checksum at superblock mirror 0
btrfs_read_superblock: invalid checksum at superblock mirror 1
btrfs_read_superblock: No valid BTRFS superblock found!
\*\* Unrecognized filesystem type \*\*
gpio: pin 55 (gpio 55) value is 1
2259 bytes read in 9 ms (245.1 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt…
gpio: pin 56 (gpio 56) value is 1
Running uname_boot …
loading /boot/vmlinuz-6.12.49-bone36 …
8790528 bytes read in 564 ms (14.9 MiB/s)
debug: \[enable_uboot_overlays=1\] …
debug: \[enable_uboot_cape_universal=\] …
debug: \[uboot_base_dtb_univ=am335x-boneblack-uboot.dtb\] …
uboot_overlays: \[uboot_base_dtb=am335x-boneblack-uboot.dtb\] …
uboot_overlays: Switching too: dtb=am335x-boneblack-uboot.dtb …
loading /boot/dtbs/6.12.49-bone36/am335x-boneblack-uboot.dtb …
96616 bytes read in 40 ms (2.3 MiB/s)
uboot_overlays: \[fdt_buffer=0x60000\] …
uboot_overlays: unable to find \[mmc 0:3 BB-EHRPWM1-P9_14-P9_16.dtbo\]…
uboot_overlays: unable to find \[mmc 0:3 /lib/firmware/BB-BONE-eMMC1-01-00A0.dtbo\]…
uboot_overlays: unable to find \[mmc 0:3 /lib/firmware/BB-HDMI-TDA998x-00A0.dtbo\]…
uboot_overlays: unable to find \[mmc 0:3 /lib/firmware/BB-ADC-00A0.dtbo\]…
uboot_overlays: unable to find \[mmc 0:3 AM335X-PRU-UIO-00A0.dtbo\]…
uboot_overlays: add \[enable_uboot_cape_universal=1\] to /boot/uEnv.txt to enable…
loading /boot/initrd.img-6.12.49-bone36 …
12361257 bytes read in 790 ms (14.9 MiB/s)
debug: \[console=ttyS0,115200n8 root=/dev/mmcblk0p3 ro rootfstype=ext4 rootwait fsck.repair=yes earlycon coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100\] …
debug: \[bootz 0x82000000 0x88080000:bc9e29 0x88000000\] …
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Ramdisk to 8f436000, end 8ffffe29 … OK
Loading Device Tree to 8f41b000, end 8f435967 … OK
Starting kernel …