Can't Enable SPI on DietPi Radxa zero

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version |
    G_DIETPI_VERSION_CORE=9 G_DIETPI_VERSION_SUB=8 G_DIETPI_VERSION_RC=0 G_GITBRANCH='master' G_GITOWNER='MichaIng'
  • Distro version | bookworm
  • Kernel version | Linux hyperion 6.6.65-current-meson64 #1 SMP PREEMPT Wed Dec 11 15:13:43 UTC 2024 aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | Radxa Zero (aarch64)
  • Power supply used | 5V 4A
  • SD card used | SanDisk ultra

Steps to reproduce

Hello DietPi Community,

I’m trying to enable SPI on my DietPi setup but haven’t been able to find the option in dietpi-config.

Here’s some additional info about my setup:

Steps I’ve already tried:

  1. Edited /boot/config
  2. Rebooted the system and checked with lsmod | grep spi, but no SPI modules are loaded.

Is there a specific step I’m missing, or how do I enable SPI on this DietPi version?

Any help or guidance would be greatly appreciated!

Thanks in advance,

Expected behaviour

Enable SPI

Actual behaviour

best to my knowlage, /boot/config.txt ha no effect on Radxa device as config.txt as a RPI SBC configuration file. You would need to enable SPI/overlay on /boot/dietpiEnv.tx

I don’t have a Radxa device, but maybe following could help Can't get SPI to work with Rock Pi 4 - #4 by Nasker

getting this error

sudo modprobe spi-spidev
modprobe: FATAL: Module spi-spidev not found in directory /lib/modules/6.6.65-current-meson64
sudo modprobe meson-spi-spidev
modprobe: FATAL: Module meson-spi-spidev not found in directory /lib/modules/6.6.65-current-meson64