STM32MP1) How to set the date and keep it ?
Hello all ~
I have STM32MP157A-EV1 and STM32MP157C-DK2.
I want to change system time and keep it.
But It is not working well.
Below is the test log on EV1.
root@stm32mp1:~# date -s "20031025 18:00:00"
Sat Oct 25 18:00:00 UTC 2003
root@stm32mp1:~# date
Sat Oct 25 18:00:03 UTC 2003
root@stm32mp1:~#
root@stm32mp1:~# hwclock --systohc --utc
root@stm32mp1:~# hwclock
2003-10-25 18:00:18.632338+00:00
reboot ....
root@stm32mp1:~# date
Mon Jun 27 03:19:28 UTC 2022Am I miss something?:sad_but_relieved_face:
thanks.
