Hello everyone, this is my first post in this forum and I need your help.
I installed DietPi on my Nanopi M4 and it works fine but in the log I discovered that every second the following line
I looked for a similar problem here in the forum but didn’t really find anything.
I have to mention that I use a SATA HAT, maybe that’s why this problem occurs, I have no idea why the error appears every second.
The system is running Openmediavault 7 but this error occurred before I had installed omv.
The power supply I use has enough power, the system ran on Armbian for a few years until I switched to DietPi.
I have to correct myself, under advanced options you can set UART, I2C, SPI etc pp. not for all devices, but for example RPi, OPi Zero 3 and some more.
But it’s interesting that raspi-config, which is also RPi only, works for the NanoPi.
When I compare raspi-config to dietpi-config then the two scripts do basically the same for I2C, they add dtparam=i2c_arm=on to /boot/firmware/config.txt but raspi-config does also a modprobe i2c-dev.
If your are motivated you can implement this into the DietPi script
Sorry for the late reply. raspi-config did even install and start on a NanoPi M4?
The /boot/config.txt of course does not exist there, and the overlay it aims to use is RPi-only.
So the problem is that the I2C kernel module is triggered, even that ni I2C device is attacked? I guess the HAT is the reason for this. It should work to just blacklist the module, and this is probably what raspi-config did.
Check /etc/modprobe.d for a related file. It would contain blacklist i2c-dev. Probably it is an alias, but more fitting would be blacklist rk3x-i2c.