Difference between revisions of "UCM-iMX95 Yocto Linux: RTC"
(Created page with "There two RTC devices: * SoC integrated '''rtc0''' that can be used as wake-up source * On board '''rtc1''' - a low current battery powered time keeper <!-- == Internal - rtc0...") |
(No difference)
|
Latest revision as of 15:55, 9 January 2025
There two RTC devices:
- SoC integrated rtc0 that can be used as wake-up source
- On board rtc1 - a low current battery powered time keeper
External - rtc1
- System information:
udevadm info -p /sys/class/rtc/rtc1
- Set the date and write to the RTC:
date -s "12 SEP 2019 10:00:00" Thu Sep 12 10:00:00 UTC 2019 hwclock --systohc --rtc /dev/rtc1
- Read the RTC time and date:
hwclock --show --rtc /dev/rtc1 2023-06-16 12:01:37.935876+00:00