This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: rtc clock on am335x

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: TPS65910

Tool/software: Linux

Hi,

I am using internal rtc module in my am335x customized system and see the below action. And 32.768kHz crystal provided for AM335X RTC

---------------------------------------------------------------------------------

root@am335x-evm:~# date -s "2014-12-30 18:00:00"

Tue Dec 30 18:00:00 UTC 2014

root@am335x-evm:~# hwclock -w

root@am335x-evm:~# hwclock -r

Tue Dec 30 18:00:11 2014 0.000000 seconds

After minute the below command executed

root@am335x-evm:~# date

Tue Dec 30 18:01:09 UTC 2014

---------------------------------------------------------------------------------

After switch OFF my device and rebooted and see the following line during boot: 


omap_rtc omap_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)

root@am335x-evm:~#

root@am335x-evm:~# hwclock -r

Sat Jan 1 00:00:57 2000 0.000000 seconds

root@am335x-evm:~# date

Sat Jan 1 00:00:59 UTC 2000

root@am335x-evm:~# cat /sys/class/rtc/rtc0/time

00:01:17

What could be the reason why my RTC is not working. We have given the external battery backup i.e 3V is connected with PMIC TPS65910.

regards,

lofna