Subject: mips emulator: Anyone using gxemul?
To: None <port-hpcmips@netbsd.org>
From: Andy Ruhl <acruhl@gmail.com>
List: port-hpcmips
Date: 07/13/2005 06:07:11
I had used mips64emul, and I found out the name changed to gxemul now.

And it emulates a Mobilepro 880, which is what I have.

And maybe not surprisingly, it also will not boot a 3.0_BETA kernel I
cross built. But it panics, where my Mobilepro just hangs.

Here's the output:

mem_cluster_cnt =3D 2
mem_clusters[0] =3D {0x0,0x37b000}
mem_clusters[1] =3D {0x37b000,0x1c85000}
loading 0x37b000,0x1c85000
Copyright (c) 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005
       The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
       The Regents of the University of California. All rights reserved.

trap: TLB miss (load or instr. fetch) in kernel mode
status=3D0x2, cause=3D0x808, epc=3D0x801dae74, vaddr=3D0x0
pid=3D0 cmd=3D usp=3D0x0 ksp=3D0x8037aca0
Stopped in pid 0.1 () at                     0x801dae74     lw       v0,32(=
v0)
db>

If the bt is useful, I can type it but there are no function names.

This emulator has some trouble with keyboard input, but maybe that can
be fixed with some timing changes. And if so, this might be a nice way
to do mipsel package builds too.

Andy