[UIO] enable virtual remoteproc cape for debian6.12.36-bone29

Dear I am running the following debian on my beaglebone black:

eeprom:[A335BNLT00C02323SBB09009]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Bookworm Base Image 2025-05-29]
bootloader:[microSD-(push-button)]:[/dev/mmcblk0]:[U-Boot SPL 2022.04-gc6f4cf7d (Apr 24 2025 - 03:22:59 +0000)]:[location: dd MBR]
UBOOT: Booted Device-Tree:[am335x-boneblack-uboot.dts]
UBOOT: Loaded Overlay:[BB-ADC-00A0.bb.org-overlays]
UBOOT: Loaded Overlay:[BB-BONE-eMMC1-01-00A0.bb.org-overlays]
kernel:[6.12.36-bone29]
/boot/uEnv.txt Settings:
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[disable_uboot_overlay_wireless=1]
uboot_overlay_options:[uboot_overlay_pru=AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade <pkg>]
WARNING:pkg:[bb-cape-overlays]:[NOT_INSTALLED]
pkg:[bb-customizations]:[1.20240119.0-0~bookworm+20240119]
pkg:[bb-usb-gadgets]:[1.20250523.1-0~bookworm+20250527]
pkg:[bb-wl18xx-firmware]:[1.20230703.0-0~bookworm+20240703]
pkg:[kmod]:[30+20221128-1]
WARNING:pkg:[librobotcontrol]:[NOT_INSTALLED]
groups:[beagle : beagle 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/mmcblk0p3 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 lpj=1990656 rng_core.default_quality=100 quiet]
dmesg | grep remote
[   12.074217] systemd[1]: Reached target remote-fs.target - Remote File Systems.
[   27.315050] remoteproc remoteproc0: wkup_m3 is available
[   31.975924] remoteproc remoteproc0: powering up wkup_m3
[   31.999659] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[   31.999933] remoteproc remoteproc0: remote processor wkup_m3 is now up
[   40.908893] remoteproc remoteproc1: 4a334000.pru is available
[   40.910890] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pru
[   40.908893] remoteproc remoteproc1: 4a334000.pru is available
[   40.910890] remoteproc remoteproc2: 4a338000.pru is available
dmesg | grep pinctrl-single
[    3.417425] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper

I would like to activate the remoteproc virtual cape but I only see fron uEnv.txt

###PRUSS OPTIONS
###pru_rproc (4.14.x-ti kernel)
#uboot_overlay_pru=AM335X-PRU-RPROC-4-14-TI-00A0.dtbo
###pru_rproc (4.19.x-ti kernel)
#uboot_overlay_pru=AM335X-PRU-RPROC-4-19-TI-00A0.dtbo
###pru_uio (4.14.x-ti, 4.19.x-ti & mainline/bone kernel)

where can I find the overlay for debian 6.12?
I cannot even setup the config-pin as pru, see below:

config-pin P8.27 pruout
P8_27 pinmux file not found!
Pin has no cape: P8_27

Anyone can help on this?

Thanks

The UIO driver was removed from mainline in 6.9.x https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/uio?h=v6.16-rc6&id=1019fa4839c97c4efff9c26af4d74a184921d8da

Regards,

1 Like

Hi Robert,
Thanks for your reply.
Does it mean also that the config-pin is not working on that kernel main line.
To set the PRU IO must be done via dts not anymore via bb-overlays?

Regards,

pru thru remoteproc is already enabled.

Hi Robert,
Yes the pru module is loaded, my concern is to be able to use the pin-config to set pru pin that does not work. some pinmux file not found.
is this not working with the latest latest debian image?

$:config-pin P8.27 pruout
P8_27 pinmux file not found!
Pin has no cape: P8_27

is any knows why the config-pin tool does not work on debian 6.12?
Any help is welcome

@malkowki , the config-pin utility stopped working on some distros a while back…

I think because no one wanted to make it keep working.

Even on update/upgrade a while ago on kernel 5.10.x, the config-pin utility is no longer a use case.

Also…a short set of research brought me here:

I do not think people are developing it any longer but one can try… I do not know the updated versioning or where to find it.

Again, that was done by researching config-pin in a browser.

and here is an update…

That search was done in the beagleboard.org section of github.com.