RTC 使用
AIO-1688JD4 开发板上有 TT8563RH 的 RTC (Real Time Clock) 芯片,可通过该芯片去设置系统时钟。
查看 RTC 时间
$ sudo hwclock
2024-05-09 10:53:15.268874+0800查看系统时间
$ date设置系统时间为 RTC 时间
$ sudo hwclock -s将当前系统时间保存到 RTC
$ sudo hwclock -wAIO-1688JD4 开发板上有 TT8563RH 的 RTC (Real Time Clock) 芯片,可通过该芯片去设置系统时钟。
$ sudo hwclock
2024-05-09 10:53:15.268874+0800$ date$ sudo hwclock -s$ sudo hwclock -w