Re: Console on 9000/425t with A1659A graphics

Chris Hanson <[email protected]> Fri, 7 Dec 2018 16:11:12 -0800
Newsgroups gmane.os.netbsd.ports.hp300
Message-ID <[email protected]>
On Dec 7, 2018, at 3:29 PM, Chris Hanson <[email protected]> wrote:
> 
> On Dec 7, 2018, at 3:22 PM, Izumi Tsutsui <[email protected] <mailto:[email protected]>> wrote:
>> 
>>>> 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:
> 
> I’ll give it a try, thanks!

That worked, thank you! I suspect this code just needs some logic to know that a t-series machine has SGC slot 3 while e-series has 0.

Now I wonder what it’ll take to get actual graphics… :)

  -- Chris