-   Linux - Embedded & Single-board computer (
-   -   RTC . (

raajeshjt 11-02-2009 12:47 AM

I am using AT91SAM9260 with linux Kernel.Usually hwclock reads time from onchip RTC.I am using both onchip RTC and external RTC ds1307.I want hwclock to read time from external RTC.Wat are the options I should enable during configure linux kernel.

Thanks and Regards

clvic 11-03-2009 03:22 PM

The command "hwclock" can read from any source. From "man hwclock": "--rtc=filename overrides the default /dev file name", so you can select, for instance, /dev/rtc1.
You can also change the symbolic link /dev/rtc to point to the /dev/rtcX file you want to use.

All times are GMT -5. The time now is 01:55 PM.