SPI on Beaglebone Black




I’ve shifted to Resin 2.12.7 for Beaglebone black and my old method of enabling spi using pin-config appears to now be deprecated. On the host os, I can execute “echo BB-SPIDEV0 > /sys/devices/platform/bone_capemgr/slots” to get SPI back, but I would like this to persist this between reboots. As the resin filesystem appears to be read only, what is the recommended way to get the Host / container to do this?

Adding the command to a privileged container’s startup script seems to result in the container producing “bash: echo: write error: No such file or directory” - probably as it can’t “see” slots.


how were you enabling them until now? and on what resinOS version?