Creating a bug report/issue
Required Information
-
DietPi version |
cat /boot/dietpi/.version
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=13
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’
G_LIVE_PATCH_STATUS[0]=‘applied’
G_LIVE_PATCH_STATUS[1]=‘not applicable’ -
Distro version |
echo $G_DISTRO_NAME $G_RASPBIAN
bullseye -
Kernel version |
uname -a
Linux DietPi 6.0.13-meson64 #22.11.2 SMP PREEMPT Sun Dec 18 16:52:19 CET 2022 aarch64 GNU/Linux -
SBC model |
echo $G_HW_MODEL_NAME
or (EG: RPi3)
Odroid C2 (aarch64) -
Power supply used | (EG: 5V 1A RAVpower)
5V 2A -
SD card used | (EG: SanDisk ultra)
eMMC
Additional Information (if applicable)
https://wiki.odroid.com/accessory/add-on_boards/rtc_shield
Steps to reproduce
rtc_pcf8563 and aml_i2c both installed and running
root@DietPi:~# i2cdetect -y 0
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@DietPi:~# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: 30 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
i2cdetect returns module rtc_pcf8563 24576 0
but aml_i2c module is not listed so I have no way to update the time on the RTC module
Extra details
It looks like the aml_i2c module is not loaded in the kernel on my system. It’s possible that it’s not built into the kernel image or that it’s not being loaded automatically at boot? I tried “modprobe aml_i2c” to see if it’s available on the system, it returns:
modprobe: FATAL: Module aml_i2c not found in directory /lib/modules/6.0.13-meson64