Commit 89f9c4fb authored by Henrik Riomar's avatar Henrik Riomar Committed by Natanael Copa
Browse files

add feature rpirtc

Add new feature rpi rtc allowing a hw rtc to be used.

The init script in Alpine Linux since v3.9 looks for /dev/rtc, if
not found it will switch to swclock.

To make this check work on a Rasberry PI with a mounted rtc and
the following in usercfg.txt
 dtoverlay=i2c-rtc,ds3231
we must have rtc drivers available already initramfs.
parent edad1469
......@@ -43,6 +43,7 @@ CONF_FILES := mkinitfs.conf \
features.d/raid.files \
features.d/raid.modules \
features.d/reiserfs.modules \
features.d/rpirtc.modules \
features.d/scsi.modules \
features.d/squashfs.modules \
features.d/ubifs.modules \
......
kernel/drivers/rtc/rtc-ds1307.ko
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment