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 & Read Date and Time from RTC-I2C



I have a custom AM3354 board .External RTC M41ST85WMH6F is connected  via i2c interface.
I want to read time & date from RTC-i2c.I want to set date and time to RTC also.

U-Boot# i2c probe Valid chip addresses: 40 68 U-Boot# date Unknown command 'date' - try 'help' U-Boot# date 271111112014.5 Unknown command 'date' - try 'help'

How to do it?
I am attaching RTC datasheet herewith.

M41ST85WMH6F.pdf