Port-newsmips archive

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

mk48t02 clock changes (Re: NWS-3460 memory map)



BTW, I've committed changes for mk48t02 drivers on newsmips port
to use the MI mk48txx(4) driver and todr(9) APIs.

If you are trying -current on news3400 (i.e HB based machines),
you have to update entries for mkclock on hb0 in your kernel
config files like this:

-mkclock0 at hb0 addr 0xbff407f8                # MK48T02 realtime clock
+mkclock0 at hb0 addr 0xbff40000                # MK48T02 realtime clock

(No change is needed for AP-bus based (news5000) system.)

In article 
<Pine.GSO.4.44.0310251003170.13940-100000%jupiter.scs.ryerson.ca@localhost>
mcarberr%scs.ryerson.ca@localhost wrote:

> I would like to correct the date.
> Does anyone have an layout of the memory?

As mentioned above, MK48T02 clock on news3400 is located
at addr 0xbff00000 and offset to its control register is 0x7f8.
(see also src/sys/dev/ic/mk48txx.c and mk48txxreg.h)

But I think it's much easier to change date by date(1) command on OS.
---
Izumi Tsutsui
tsutsui%ceres.dti.ne.jp@localhost



Home | Main Index | Thread Index | Old Index