IMX RTC: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{PageHeader| | {{PageHeader|RTC}} {{DocImage|category1=Yocto|category2=VAR-SOM-MX6}}[[Category:DART-6UL]][[Category:VAR-SOM-MX7]] __toc__ | ||
To set the RTC first set the date from Linux shell, type:<br> | To set the RTC first set the date from Linux shell, type:<br> | ||
<pre>$ date --set="20150225 09:04" | <pre>$ date --set="20150225 09:04" |
Revision as of 11:02, 4 September 2016
RTC
To set the RTC first set the date from Linux shell, type:
$ date --set="20150225 09:04"
Then set the real time clock from Linux shell, type:
$ hwclock --systohc --utc
Power down your board wait 5 minutes and power up. Check your system with date and the time should be up to date.