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