i.MX 8X RTC
Congatec i.MX 8 designs implemented onboard real time clock STM M41T62
Boot the system and check if RTC is detected
$ dmesg | grep m41t80
output
[ 2.195099] rtc-m41t80 1-0068: registered as rtc0
Set current date and write into the hw clock
$ date -s "Thu Jan 31 14:09:00 2019"
$ hwclock -w
Check the current date
$ hwclock
Tue Jun 18 11:09:18 2019 0.000000 seconds
, multiple selections available,