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.

how to write and read i2c rtc code for am335x board with OS as linux

how to write and read i2c rtc code for am335x board with OS as linux. Can anybody say me how to start and it will be too helpful if I get the code.I am a fresher I dont have an knowledge in it. I have to write the code to receive the data from rtc throgh i2c communication in am335x board with linus as os. I dont want to write with the starter ware. Please help me.