imx6: Android: save time to /dev/rtc0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6: Android: save time to /dev/rtc0

1,000件の閲覧回数
lzenz
Contributor II

Hello,

we ported Android M6.0.1_2.1.0 to a custom hardware with i.mx6dl.

When Android does sync the date and time with the network it is not stored to the /dev/rtc0 device (rtc kernel driver is already working as expected) and is lost when a reboot is done.

Is there a mechanism which can be used to store the date and time to /dev/rtc0?

Thank you.

Regards,

Ludwig

ラベル(2)
0 件の賞賛
返信
2 返答(返信)

775件の閲覧回数
b36401
NXP Employee
NXP Employee

I can suggest to add a command to sync the clock into shutdown script.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

775件の閲覧回数
lzenz
Contributor II

Thank you very much.

Do you know a mechanism or hook which does it immediatly after the android system got a valid time from the network?

Regards,

Ludwig

0 件の賞賛
返信