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.

Set Hardware clock on Am335x

Hello,

I am running ti-sdk-am335x-evm-06.00.00.00 on my AM335x. Now, in my application I want to display time and date, so I manually set the date with

date 102211442015.00

But after a reboot the date is reset to January 2000. So I tried to set the hardware clock to system time with

hwclock -w, but it didn't work. I can't even figure out how to set the hardware clock time to anything, it always stays the same:

root@am335x-evm:~# hwclock
Sat Jan  1 00:00:00 2000  0.000000 seconds

Could someone please help me? Thanks a lot