Subject: Centris 660AV: Where to start?
To: None <port-mac68k@NetBSD.ORG>
From: Dave Huang <khym@bga.com>
List: port-mac68k
Date: 05/09/1996 18:35:16
Okay, I just got a 660AV of my very own to mess with, and was wondering
what's involved in getting it to work. A kernel compiled from May 8 
sources prints:

[ preserving 85268 bytes of netbsd symbol table ]
Bootstrapping NetBSD/mac68k.
Faked range to byte 0xc00000.
Bootstrapping the pmap system.
Pmap bootstrapped.
Moving ROMBase from 0x40800000 to 0xa87000.
Video address 0x50100800 -> 0xb87000.

Then it hangs.

I noticed that the romvecs[] array in machdep.c is missing a lot of info 
on the AV ROMs, so I tried to fill in what I could by using MacsBug to 
get the addresses. There were a few entries I didn't know where to find 
though: the ADB int, PM int, ADBBase + 130, ADBAlternateInit, and 
InitEgret. MacsBug claimed that PMgrOp is _UnimplTrap, so I assume that 
should be left as 0?

Also, in mac68k_set_io_offsets, the 660AV gets lumped into MACH_CLASSQ. 
However, it looks like sccA is at base + 0x4000, not 0xc000, and 
ASCBase is the same as ROMBase? (ASCBase is the value stored at 0xcc0, 
right?) Should SCSIBase be set to what's found in 0xc00? On my machine, 
it's 0x50f18000 (base + 0x18000).

It doesn't seem like any of that is my immediate problem though; I stuck 
a printf at the end of mac68k_set_io_offsets, and it made it past that. 
So, I'm guessing that it's hanging somewhere in locore.s, probably in 
that "Prepare to enable MMU." section (after calling bootstrap_mac68k).

Any hints on what I should try? :) Thanks...
--
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 20 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++