<DC-IRC> <Spectrefield> Hello everyone ! I have tried to activate the SPI buses on the Radxa Zero by copying the dtbo from the official image. The kernel accepts these files, but the SPI bus is not loaded in /dev/. ChatGPT have said to check lsmod and there is no SPI driver activated. Any idea about how to install / activate this driver ? Have a good sunday ! 🙂
<DC-IRC> <Spectrefield> Hello everyone ! I have tried to activate the SPI buses on the Radxa Zero by copying the dtbo from the official image. The kernel accepts these files, but the SPI bus is not loaded in /dev/. ChatGPT said to check lsmod and there is no SPI driver activated. Any idea about how to install / activate this driver ? Have a good sunday ! 🙂
<DC-IRC> <rpardini> I don't think you can use Radxa's overlays directly. Compare it with this https://github.com/rpardini/armbian-build/blob/extensions/userpatches/kernel/meson64-edge/dt/meson-g12a-radxa-zero-spidev.dts (which is not an overlay, instead, a full replacement DT); the `compatible = "armbian,spi-dev";` is what's needed to get it working (it's a long story ref "bare SPI" devices being removed upstream).
<DC-IRC> <Spectrefield> Yes I have found some difference in the device tree but it seems compatible. The only thing that can be differ is the driver
<DC-IRC> <rpardini> The driver _is_ different. You need `armbian,spi-dev` specifically for it to work.
<DC-IRC> <rpardini> Also, Radxa's overlays need fixups. So just use a simpler overlay like I showed above and it should work.
<DC-IRC> <Spectrefield> Then I need to find the radxa spi dev from the official image and try to add it in the armbian kernel ?