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

On Dec 7, 2018, at 3:29 PM, Chris Hanson <cmhanson%eschatologist.net@localhost> wrote:

On Dec 7, 2018, at 3:22 PM, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> 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

Home | Main Index | Thread Index | Old Index