Enable RTC on the CM4 I/O board
basementhud/pipeline/head This commit looks good Details

Include the kernel modules in the initramfs to set the clock as early as
possible.
pull/1/head
Dustin 2022-04-06 17:18:14 -05:00
parent ab4c6671f6
commit 7e12510413
2 changed files with 4 additions and 1 deletions

View File

@ -55,3 +55,6 @@ upstream_kernel=1
# https://fedoraproject.org/w/index.php?title=Architectures/ARM/Raspberry_Pi/HATs # https://fedoraproject.org/w/index.php?title=Architectures/ARM/Raspberry_Pi/HATs
dtoverlay=disable-bt dtoverlay=disable-bt
# Enable the i2c RTC on the CM4 I/O board
dtoverlay=i2c-rtc,pcf85063a,i2c_csi_dsi

View File

@ -24,7 +24,7 @@ chroot "${destdir}" dracut \
--no-hostonly \ --no-hostonly \
--modules 'nbd udev-rules dracut-systemd shutdown' \ --modules 'nbd udev-rules dracut-systemd shutdown' \
--drivers 'genet nbd squashfs' \ --drivers 'genet nbd squashfs' \
--force-drivers 'bcm2835_wdt' \ --force-drivers 'bcm2835_wdt i2c_bcm2835 i2c_mux_pinctrl rtc_pcf85063' \
--force \ --force \
/boot/initramfs.img \ /boot/initramfs.img \
"${kver}" "${kver}"