Subject: Re: NEC Mobilepro880 doesn't boot with current or netbsd-4
To: Jun Ebihara <jun@soum.co.jp>
From: Andy Ruhl <acruhl@gmail.com>
List: port-hpcmips
Date: 01/21/2007 08:07:20
On 1/20/07, Jun Ebihara <jun@soum.co.jp> wrote:
> From: "Andy Ruhl" <acruhl@gmail.com>
> Subject: NEC Mobilepro880 doesn't boot with current or netbsd-4
> Date: Sat, 20 Jan 2007 09:45:06 -0700
>
> > mqvideo0: framebuffer address: 0xaa0ea600
> > trap: TLB miss (load or instr. fetch) in kernel mode
>
> there is a bug in MQ200 initialization.
> Disable MQ200 from kernel configration.
>
> src/sys/arch/hpcmips/dev/mq200machdep.c:
>
> void
> mq200_mdsetup(struct mq200_softc *sc)
> {
>         const struct mq200_md_param *mdp;
>
>         sc->sc_md = NULL;
>         for (mdp = machdep_params; mdp->md_platform != NULL; mdp++) {
>                                    ~~~~~~~~~~~~~~~~~~~~~~~~

I did this in the GENERIC config file:

##mqvideo*      at vr4102ip? addr 0x0a000000 size 0x800000      # MQ200 video
##hpcfb*                at      mqvideo?

Recompiled and it worked. X still works as well.

Should I submit a PR? I'm not sure what the code snippet you posted
actually does so I don't know how to fix it...

Thanks!

Andy