stm32mp1 rtc uboot issue
Hi All,
In STM32MP1, i have following two problem related RTC
1. Kernel space
RTC is working fine for me only when i enter following command at every power up , else the default RTC date show local time.
hwclock --localtime --hctosys-- makes RTC works.
root@mp1som:~# date
Mon Sep 7 06:16:00 UTC 2020
root@mp1som:~# hwclock --localtime --hctosys
root@mp1som:~# date
Mon May 26 11:22:49 UTC 2014
2 , Uboot side always shows default RTC time. why this ?
following is uboot log:
U-Boot SPL 2018.11-stm32mp-r3 (Dec 18 2020 - 10:05:24 +0000)
Model: STMicroelectronics STM32MP157A-DK1 Discovery Board
RAM: DDR3-DDR3L 32bits 533000Khz
Trying to boot from MMC1
U-Boot 2018.11-stm32mp-r3 (Dec 18 2020 - 10:05:24 +0000)
CPU: STM32MP157CAA Rev.B
Model: STMicroelectronics STM32MP157A-DK1 Discovery Board
Board: stm32mp1 in basic mode (st,stm32mp157a-dk1)
