Ollie Lho <[EMAIL PROTECTED]> writes:
> "Eric W. Biederman" wrote:
> >
> >
> > The other known bug is that I am not properly initializing the Real
> > Time Clock. I don't know what it is wrong but hwclock hates it. I
> > thought I was reading bogus numbers in the cmos but it appears hwclock
> > just messed up the CMOS data when it got confused. So I probably just
> > need to initialize the RTC interrupt/timer. O.k. that is a much
> > simpler problem.
> >
> > Eric
>
> We got the similair problem with SiS 630 too.
And I did on the alpha and it didn't even register.
> Is your RTC mc146818 compatible or not ?
Yes. Somehow I did not read mc146818 as PC standard real time clock :)
> If it is mc146818 compatible,
> you can take a look at southbirdge.c in SiS 630 source,
> we have figured out the minimal bytew your have to inited
> in CMOS RAM.
That worked.
I have merged the alpha code for this with the code you
have to initialize the SiS chipset and created a mc146818.c
in the pc80 directory.
As soon as I slow down to enough to check in code it will be
in the freebios tree.
Eric