Rtc problem

RTC problem. I have put the rtc battery in nvidia nx. And have set

  1. timedate set-local-rtc 1
  2. go to /lib/udev/udev/rules.d/50-udev-default.rules to set the rtc using"0"
  3. I have checked that the rtc0 is working ( I power off my nx, and reboot it after 1 hour, the sudo hwclock is correct)

So, my question is, how to forever set the local time to be the time on rtc0. Thx

Try to add CONFIG_RTC_HCTOSYS_DEVICE=“rtc0” for it.


Where to set it? Is it a normal config or kernal config?
thanks to reply

It’s kernel config.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.