Subject: making kernel for Duo230
To: None <port-mac68k@netbsd.org>
From: Daishi Kato <daishi@axlight.com>
List: port-mac68k
Date: 10/25/1999 11:12:25
Hello,

Somebody remember me?
I'm trying to boot NetBSD again on my Duo230.
I have NetBSD-1.2 working, trying to make the NetBSD-1.4.1 kernel with it.

First,
I changed all '.long 0xf0100800' in get_pte() in locore.s
to '.long 0xf0100c00' which mean to use the tt1 register
instead of the tt0 register.

Second,
I moved the line
"adb_setup_hw_type();    /* setup hardware type */"
in adb_direct.c (adb_reinit())
before the line
"if (adbHardware != ADB_HW_PB)".

Finally,
I've commentted out the line
"if ((via_reg(VIA1, vIFR) & 0x10) == 0x10)"
in pm_direct.c (inside pm_adb_op()).

I know the last one is too easy,
but I do not know what to do else.
And it boots.

Somebody has any ideas?

Is Takashi Hamada on this list?

Thanks in advance.

http://www.geocities.co.jp/SiliconValley-SanJose/4064/
http://www.axlight.com/people/daishi/macbsd/

(I will prepare the diff file soon.)

--
Daishi Kato
daishi@axlight.com