[ODROID N2] RTC setting at boot failure

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

[ODROID N2] RTC setting at boot failure

Postby aplund » Fri Sep 25, 2020 7:43 am

The PCF8563 is currently built as a module in the archlinuxarm odroid-n2 kernel. This prevents the kernel setting the time from the RTC at boot as this process occurs before modules are loaded.

There is a message in the kernel log if you have this issue:

$this->bbcode_second_pass_code('', 'hctosys: unable to open rtc device (rtc0)')

Kernel options need to change to properly fix this. I'm not sure how this affects people without the RTC, but presumably it would do no harm for them apart from a marginally larger kernel.

Fix with new kernel options listed here: https://forum.odroid.com/viewtopic.php?p=275058#p275058
aplund
 
Posts: 24
Joined: Tue Feb 04, 2014 5:27 am

Re: [ODROID N2] RTC setting at boot failure

Postby summers » Sat Sep 26, 2020 5:43 am

Can't you just add it to the initramfs ? Check out mkinitcpio, and how to add modules.

https://wiki.archlinux.org/index.php/Mkinitcpio
summers
 
Posts: 995
Joined: Sat Sep 06, 2014 12:56 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 2 guests