linux-mips-fnet
[Top] [All Lists]

Re: Good news and bad...

To: linux-mips@fnet.fr
Subject: Re: Good news and bad...
From: Harald Koerfgen <hkoerfg1@ford.com>
Date: Mon, 01 Feb 1999 09:18:53 +0100
Organization: Ford Motor Company
References: <Pine.LNX.3.96.990131175405.54D-100000@apt4g.a3nyc.com>
Hi,

Thomas Riemer wrote:
> 
> So the good news is that
> 1. The kernel did compile on the decstation 2100
> 2. The kernel does boot
> 
> The bad news is that the kernel boots up into single
>    user mode, but does not make it multi user...
> 
> The point at which INIT is supposed to switch over to INIT mode 3...
>  it hangs - or appears to hang.

Not ot bad, isn't it?

Tom, you'll need two patches to the binutils to be able to compile a
working kernel:

o Add back support for a.out, which you already did.

o A patch to gas Gleb posted back in October. I'll attach that.
 
> Possibly this is the patch that Gleb has been talking about...
> Can someone post the final patch that came out of that?

I'll do that this evening when I return home.

Later,
Harald
--- binutils-2.8.1.orig/opcodes/mips-opc.c      Mon May 26 21:34:19 1997

+++ binutils-2.8.1/opcodes/mips-opc.c   Wed Oct  7 14:16:21 1998

@@ -655,10 +655,10 @@

 {"tgeu",    "s,t",     0x00000031, 0xfc00003f, RD_s|RD_t|I2|TRAP },

 {"tgeu",    "s,j",     0x04090000, 0xfc1f0000, RD_s|I2|TRAP    }, /* tgeiu */

 {"tgeu",    "s,I",     2,    (int) M_TGEU_I,   INSN_MACRO      },

-{"tlbp",    "",                0x42000008, 0xffffffff, INSN_TLB        },

-{"tlbr",    "",                0x42000001, 0xffffffff, INSN_TLB        },

-{"tlbwi",   "",                0x42000002, 0xffffffff, INSN_TLB        },

-{"tlbwr",   "",                0x42000006, 0xffffffff, INSN_TLB        },

+{"tlbp",    "",                0x42000008, 0xffffffff, INSN_TLB|INSN_COP|COD   
},

+{"tlbr",    "",                0x42000001, 0xffffffff, INSN_TLB|INSN_COP|COD   
},

+{"tlbwi",   "",                0x42000002, 0xffffffff, INSN_TLB|INSN_COP|COD   
},

+{"tlbwr",   "",                0x42000006, 0xffffffff, INSN_TLB|INSN_COP|COD   
},

 {"tlti",    "s,j",     0x040a0000, 0xfc1f0000, RD_s|I2|TRAP    },

 {"tlt",     "s,t",     0x00000032, 0xfc00003f, RD_s|RD_t|I2|TRAP },

 {"tlt",     "s,j",     0x040a0000, 0xfc1f0000, RD_s|I2|TRAP    }, /* tlti */

<Prev in Thread] Current Thread [Next in Thread>