Hello,
Sometimes ls1046ardb PCF2129 RTC OSF (oscillator stop flag) is set during power off/on.
Repeat below step 1-5:
1. power on ls1046ardb.
2. download and run sdk kernel image.
3. Run command "dmesg | grep rtc" after bootup.
4. power off ls1046ardb.
5. wait for several minutes.
In step 3, the issue happens if below messages are shown.
root@ls1046ardb:~# dmesg | grep rtc
[ 17.271336] ftm-alarm 29d0000.timer: registered as rtc1
[ 17.418889] rtc-pcf2127-i2c 1-0051: oscillator stop detected, date/time is not reliable
[ 17.427109] rtc-pcf2127-i2c 1-0051: registered as rtc0
[ 17.437170] rtc-pcf2127-i2c 1-0051: oscillator stop detected, date/time is not reliable
[ 17.445257] rtc-pcf2127-i2c 1-0051: hctosys: unable to read the hardware clock
[ 20.418373] rtc-pcf2127-i2c 1-0051: oscillator stop detected, date/time is not reliable
Refer to the attached ls1046-sdk.log, this issue happens 2 times in 10 times of test.
After the issue happens, the date is set to default value.
Would you please help check this issue? Thanks.
MinWang@WindRiver
I repeat the test 25 times, and don't change the time from the last time.
See attachment.
No issue could be reproduced.
Please try to install Layerscape Linux Distribution POC User Guide Rev, L6.1.55_2.2.0 to test the RTC.
Thanks
Do the same steps, could not reproduce the same issue.
I power off the power for nearly 10 minutes, but the time could be reserved correctly.
Please check if the battery works correctly on your ls1046ardb.
Today I repeated the test 22 times after a new RTC battery was used. The detailed log "ls1046-sdk-2.log" is attached. I saw this issue at the 1st test, the 2nd test and the 19th test. The 1st failure was expected because RTC battery was replaced. The 2nd test and the 19th test should be real failures.