Hi,
If i want to use an external RTC IC (eg. DS3231)for my real time clock, how to modify linux kernel?
I use DS3231 on i2c0 bus.
I have tested, but failed. My modification as follows:
1. add
{
I2C_BOARD_INFO("ds3231", 0x68),
},
in fuction am335x_i2c0_boardinfo.
2.change linux kernel menuconfig
Device Drivers ---> Real Time Clock ---> <*> Dallas/Maxim DS3232
and disable TI OMAP1 option (also I tried enable this option)
But I failed. When enable TI OMAP1,the RTC is AM335X internal RTC. and disable TI OMAP1 ,there is no rtc device in /dev
So what else I need to do If I want use DS3231 for my RTC but AM335X internal RTC.
Thank you very much!