I’m used to configure spidev with:
$ config-pin P9.17 spi_cs
$ config-pin P9.18 spi
$ config-pin P9.21 spi
$ config-pin P9.22 spi_sclk
Just updated to debian 13.0 trixie software image and learned that config-pin isn’t in use anymore:
$ config-pin
config-pin: command not found
Would you please assist me in configuring spidev on my device. Wasn’t able to sort that myself while reading trough the other posts.
https://forum.beagleboard.org/t/config-pins-spi/38838
Thanks a lot.
Already update my /boot/uEnv.txt with:
enable_uboot_overlays=1
uboot_overlay_addr4=BB-SPIDEV0-00A0.dtbo
uboot_overlay_addr5=BB-SPIDEV1-00A0.dtbo
disable_uboot_overlay_video=1
disable_uboot_overlay_audio=1
$ sudo beagle-version
eeprom:[A335BNLT00C04619BBBK08C9]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Trixie Base Image 2025-12-08]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot SPL 2022.04-gb4b56c73 (Oct 28 2025 - 17:45:28 +0000)]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0.kernel]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.kernel]
UBOOT: Loaded Overlay:[BB-SPIDEV0-00A0.kernel]
UBOOT: Loaded Overlay:[BB-SPIDEV1-00A0.kernel]
kernel:[6.18.0-bone10]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=BB-SPIDEV0-00A0.dtbo]
uboot_overlay_options:[uboot_overlay_addr5=BB-SPIDEV1-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=AM335X-PRU-UIO-00A0.dtbo]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
pkg:[bb-customizations]:[1.20250808.0-0~trixie+20250808]
pkg:[bb-usb-gadgets]:[1.20250523.1-0~trixie+20250527]
pkg:[bb-wl18xx-firmware]:[1.20230703.0-0~trixie+20240703]
pkg:[kmod]:[34.2-2bbbio1~trixie+20250522]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video plugdev users systemd-journal input render netdev i2c bluetooth gpio admin tisdk weston-launch]
cmdline:[console=ttyS0,115200n8 root=/dev/mmcblk1p3 ro rootfstype=ext4 rootwait fsck.repair=yes earlycon coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100]
dmesg | grep remote
[ 2.625394] remoteproc remoteproc0: wkup_m3 is available
[ 5.394649] remoteproc remoteproc0: powering up wkup_m3
[ 5.431522] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 5.468480] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 15.858218] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[ 50.412153] remoteproc remoteproc1: 4a334000.pru is available
[ 50.432857] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[ 50.412153] remoteproc remoteproc1: 4a334000.pru is available
[ 50.432857] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pinctrl-single
[ 2.671388] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
dmesg | grep wlcore
lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
END