Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/cesfic



Jason Thorpe wrote:
>
> On Sep 5, 2006, at 9:29 PM, Garrett D'Amore wrote:
>
>>
>> Module Name:    src
>> Committed By:    gdamore
>> Date:        Wed Sep  6 04:29:01 UTC 2006
>>
>> Modified Files:
>>     src/sys/arch/cesfic/cesfic: clock.c
>>     src/sys/arch/cesfic/include: types.h
>>
>> Log Message:
>> Cesfic converted to timecounters (clockinterrupt only ) and generic-todr
>> (which is meaningless, since it lacks any kind of RTC.)
>
> Not the only system that lacks one.  I've worked on plenty of embedded
> Xscale boards that also lacked an RTC.  It bootstraps time from the
> file system instead, and then just relies on an "ntpdate" during the
> boot process to get in sync with the rest of the world.

Yes, the atheros emebedded wisoc systems have this limitation as well.

These systems will now, by default, get a warning on boot that "no TOD
clock present" and
"CHECK AND RESET THE DATE!"

If we want to, for these systems that are known not to have a TODR on
them, we could suppress these warnings with a kernel config, but
personally I think the warning is useful -- it lets the admin know that
he _should_ be running ntpdate or somesuch.

    -- Garrett


-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191




Home | Main Index | Thread Index | Old Index