Port-hp300 archive

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

Re: Console on 9000/425t with A1659A graphics

> > Yes, changing all three occurences of sgc_slottopa(0) to sgc_slottopa(3)
> > in sys/arch/hp300/hp300/autoconf.c ought to work for your machine.
> I built a kernel with these changes, copied it to my 425t, and did the following:
> Unfortunately, it then panicked:
>     panic: cnopen: no console device
>     Stopped in pid 2.1 (init) at netbsd:cpu_Debugger+0x6: unlk a6

Maybe you also need to change the third arg of sti_sgc_cnprobe()
from 0 to 3 like:

>		if (sti_sgc_cnprobe(sgc_bst, sgc_slottopa(3), 3)) {

because it's used to denote console device:


sti_sgc_cnattach(bus_space_tag_t bst, bus_addr_t addr, int slot)
	int i;

	/* sticn_bases[0] will be fixed in sti_cnattach() */
	for (i = 0; i < STI_REGION_MAX; i++)
		sticn_bases[i] = addr;

	sti_cnattach(&sticn_rom, &sticn_scr, bst, sticn_bases,

	sticonslot = slot;


Anyway, I'll check how we should handle the slot number for hp425t soon.


Izumi Tsutsui

Home | Main Index | Thread Index | Old Index