LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 11-02-2009, 12:47 AM   #1
raajeshjt
LQ Newbie
 
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
RTC .


I am using AT91SAM9260 with linux 2.6.30.4 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
JT.Raajesh
 
Old 11-03-2009, 03:22 PM   #2
clvic
Member
 
Registered: Feb 2008
Location: Rome, Italy
Distribution: OpenSuSE 11.x, vectorlinux, slax, Sabayon
Posts: 206
Blog Entries: 2

Rep: Reputation: 45
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RTC . raajeshjt Linux - Embedded & Single-board computer 1 11-05-2009 08:39 PM
RTC Alarm wakes up, even while BIOS has RTC alarm disabled mastermind2501 Linux - Newbie 2 12-22-2008 04:32 PM
Problem with rtc rogerscuall Linux - Software 0 08-09-2007 11:40 AM
Genrtc and rtc FlashHarry Linux - Newbie 3 06-24-2006 04:38 PM
Proc-rtc HeatSeaker Linux - Software 3 10-31-2004 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 05:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration