DART-SD410 Debian RTC: Difference between revisions
From Variscite Wiki
(Created page with "{{PageHeader|DART-SD410 - RTC}} {{DocImage|category1=DART-SD410|category2=Debian}} __toc__ To set the RTC first set the date from Linux shell, type:<br> <pre># date --set="20...") |
No edit summary |
||
Line 6: | Line 6: | ||
<pre># hwclock --systohc --utc | <pre># hwclock --systohc --utc | ||
</pre> | </pre> | ||
Power down your board wait 5 minutes and power up. Check your system with date and the time should be up to date.<br> | Power down your board wait 5 minutes and power up.<br> | ||
Set the system time according to external RTC chip: | |||
<pre> | |||
# hwclock -s | |||
</pre> | |||
Check your system with date and the time should be up to date.<br> |
Latest revision as of 09:06, 13 August 2017
DART-SD410 - 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.
Set the system time according to external RTC chip:
# hwclock -s
Check your system with date and the time should be up to date.