From: Paul Wassi <p.wa...@gmx.at> Build the RTC driver into the kernel, (and remove the optional module), in order to make hctosys working. (Currently the module is loaded after hctosys has failed previously)
Signed-off-by: Paul Wassi <p.wa...@gmx.at> --- It's the same on kirkwood, as it is on imx6 here: https://patchwork.ozlabs.org/patch/683889/ hctosys fails due to missing RTC driver; the module providing the driver is loaded too late. Integrating the driver into the kernel resolves this. Additionally, the afterwards unnecessary kmod-RTC-driver is remove from the image. As a result, the bootlog from a Seagate Dockstar looks like this: > [ 0.958105] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0 > (...) > [ 1.500257] rtc-mv f1010300.rtc: setting system clock to 2016-10-23 > 11:57:18 UTC (1477223838) linux/kirkwood/config-4.4 | 2 +- linux/kirkwood/profiles/100-generic.mk | 2 +- linux/kirkwood/profiles/110-nas.mk | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/target/linux/kirkwood/config-4.4 b/target/linux/kirkwood/config-4.4 --- a/target/linux/kirkwood/config-4.4 +++ b/target/linux/kirkwood/config-4.4 @@ -266,7 +266,7 @@ CONFIG_REGMAP=y CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_RTC_CLASS=y -# CONFIG_RTC_DRV_MV is not set +CONFIG_RTC_DRV_MV=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_SCHED_HRTICK=y # CONFIG_SCHED_INFO is not set diff --git a/target/linux/kirkwood/profiles/100-generic.mk b/target/linux/kirkwood/profiles/100-generic.mk --- a/target/linux/kirkwood/profiles/100-generic.mk +++ b/target/linux/kirkwood/profiles/100-generic.mk @@ -11,7 +11,7 @@ define Profile/Generic kmod-mmc kmod-mvsdio kmod-usb2 kmod-usb-storage \ kmod-i2c-core kmod-i2c-mv64xxx \ kmod-ata-core kmod-ata-marvell-sata \ - kmod-rtc-marvell kmod-thermal-kirkwood \ + kmod-thermal-kirkwood \ kmod-mwl8k swconfig wpad-mini endef diff --git a/target/linux/kirkwood/profiles/110-nas.mk b/target/linux/kirkwood/profiles/110-nas.mk --- a/target/linux/kirkwood/profiles/110-nas.mk +++ b/target/linux/kirkwood/profiles/110-nas.mk @@ -8,7 +8,7 @@ define Profile/DOCKSTAR NAME:=Seagate FreeAgent Dockstar PACKAGES:= \ - kmod-rtc-marvell kmod-usb2 kmod-usb-storage + kmod-usb2 kmod-usb-storage endef define Profile/DOCKSTAR/Description @@ -21,7 +21,7 @@ define Profile/GOFLEXHOME NAME:=Seagate GoFlexHome PACKAGES:= \ kmod-ata-core kmod-ata-marvell-sata \ - kmod-rtc-marvell kmod-usb2 kmod-usb-storage \ + kmod-usb2 kmod-usb-storage \ uboot-envtools endef @@ -48,7 +48,7 @@ define Profile/IB62X0 NAME:=RaidSonic ICY BOX IB-NAS62x0 PACKAGES:= \ kmod-ata-core kmod-ata-marvell-sata \ - kmod-rtc-marvell kmod-usb2 kmod-usb-storage + kmod-usb2 kmod-usb-storage endef define Profile/IB62X0/Description @@ -86,7 +86,7 @@ define Profile/NSA310S NAME:=ZyXEL NSA310S PACKAGES:= \ kmod-ata-core kmod-ata-marvell-sata \ - kmod-rtc-marvell kmod-usb2 kmod-usb-storage + kmod-usb2 kmod-usb-storage endef define Profile/NSA310S/Description _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev