List Info

Thread: NEC Mobilepro880 doesn't boot with current or netbsd-4




NEC Mobilepro880 doesn't boot with current or netbsd-4
user name
2007-01-20 10:45:06
Hello all.

I grabbed kernels from these places:

ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-daily/netbsd-4/200701
170000Z/hpcmips/binary/sets/kern-GENERIC.tgz
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-daily/HEAD/2007011500
00Z/hpcmips/binary/sets/kern-GENERIC.tgz

Both do not boot. They do boot in an emulated environment
using
gxemul, however I noticed that the hardware isn't discovered
the same
way as on my real hardware so I don't know if that's
relevant.

They do boot on my Mobilepro790 however. I just plug this
exact same
CF card into it, and it boots just fine.

Here's the last few lines I get (typed by hand, if more is
needed let me know):

mqvideo0: framebuffer address: 0xaa0ea600
trap: TLB miss (load or instr. fetch) in kernel mode
status=0x2, cause=0x8008, epc=0x80297568, vaddr=0
pid=0 cmd=swapper usp=0x0 ksp=0x8037bac8
Stopped in pid 0.1 (swapper) at 0x80297568:   lwr  
t3,a1,-4
db> bt
80297550+18 (8037bb60,109,0,101) ra 802370d0 sz 0
802370a0+30 (8037bb60,109,0,101) ra 80235af8 sz 40
80235704+3f4 (8037bb60,109,0,101) ra 0 sz 0
User-level: pid 0.1
db>

Again, the above output is from this kernel:

ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-daily/HEAD/2007011500
00Z/hpcmips/binary/sets/kern-GENERIC.tgz

Any help would be appreciated.

Andy

Re: NEC Mobilepro880 doesn't boot with current or netbsd-4
user name
2007-01-20 18:34:09
From: "Andy Ruhl" <acruhlgmail.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++) {
                                   ~~~~~~~~~~~~~~~~~~~~~~~~

---
jun ebihara

Re: NEC Mobilepro880 doesn't boot with current or netbsd-4
user name
2007-01-21 19:30:24
From: "Andy Ruhl" <acruhlgmail.com>
Subject: Re: NEC Mobilepro880 doesn't boot with current or
netbsd-4
Date: Sun, 21 Jan 2007 08:07:20 -0700

> 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.

good!

> 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...

please submit PR.

solution:
     
> >         for (mdp = machdep_params;
mdp->md_platform != NULL; mdp++) {

 0. add 'NULL' value on initialize mdp->md_platform. 
 1. set mdp->md_platform initialize paramater for
not-tested machine.
   current status: MC-R530 ok

--
jun ebihara


Re: NEC Mobilepro880 doesn't boot with current or netbsd-4
user name
2007-01-21 09:07:20
On 1/20/07, Jun Ebihara <junsoum.co.jp> wrote:
> From: "Andy Ruhl" <acruhlgmail.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

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )