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.
Sorry for the delay. I’ve found that on Resin OS 2.12.7, if you are using a docker compose file (i.e. multiple container images) the guest containers do not get to see /lib/firmware and as such, are unable to apply overlays to enable SPI. If you have a single container running on Resin OS 2.12.7 without docker compose, the container is able to see /lib/firmware and as such, enable the SPI bus.