arm-linux校时和时钟同步


# 将时间写到系统
date 2020.08.25-14:02:00

# 将时间同步到硬件时钟芯片
hwclock -f /dev/rtc1 -w

# 将时间从硬件时钟芯片同步到系统
hwclock -f /dev/rtc1 -s