Project

General

Profile

Actions

新建 #254

open

PRO-RK3568-AHD-V11 修改rtc时间后 重启时间不保存

Added by 余 顺 about 1 year ago. Updated about 1 year ago.

Status:
新建
Priority:
普通
Assignee:
-
Category:
rtc
Target version:
Start date:
03/16/2024
Due date:
% Done:

0%

Estimated time:

Description

底板型号:pro-rk3568-ahd

系统:android11

问题描述:测试rtc ,通过指令读取正常。使用指令保存 确认系统时间 和rtc 时间都一致后重启,系统时间和rtc 回到初始时间 ,并且未接网线来同步网络时间

打印如下:

执行指令:
hwclock --show --rtc=/dev/rtc0 查看RTC0的时间
date 查看系统时间
date "2024-03-09 09:46:00" 写入系统时间
hwclock --systohc --rtc=/dev/rtc0 将系统时间写入硬件时钟,并指定硬件时钟设备为 /dev/rtc0


Files

Actions

Also available in: Atom PDF