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

Re: DECstation bootloader

To: Harald.Koerfgen@home.ivm.de
Subject: Re: DECstation bootloader
From: K.H.C.vanHouten@research.kpn.com (Karel van Houten)
Date: Wed, 31 Mar 1999 17:55:12 +0200 (MET DST)
Cc: linux-mips@fnet.fr, K.H.C.vanHouten@research.kpn.com
In-reply-to: <XFMail.990331164303.Harald.Koerfgen@home.ivm.de>
Hi Harald,

You wrote:
> Does that mean you're seeing a "This DECstation is a 5000/2x0" message and
> then nothing?
> 
> If so, we're in excellent shape. That simply means that the NetBSD
> bootloader passes the command line parameters in a different way than the
> PROM. Please change "#undef PROM_DEBUG" to "#define PROM_DEBUG" in
> arch/mips/dec/prom/cmdline.c, look what happens and change
> "prom_init_cmdline" accordingly.

Here the result without the above suggestion. I'll now try your suggestion.

KN05 V2.1k
>>boot 3/rz3/vmlinux
>> NetBSD/pmax Secondary Boot, Revision 1.0
>> (simonb@mona, Fri Mar 26 14:48:06 EST 1999)
Boot: 3/rz3/vmlinux
1169552+122480/[190+94448+89966]=0x168b74
Starting at 0x800405cc

This DECstation is a DS5000/2x0

[Now nothing, I have to press the reset button]

???
? PC:  0xa013faac <vtr=NMI/SR>
? CR:  0x0000001c <CE=0,EXC=DBE>
? SR:  0x30510006 <CU1,CU0,BEV,SR,DE,IPL=8,MODE=KNL,ERL,EXL>
? CFG: 0x10410483 <SB=8W,SC=Y,IC=16K,DC=16K,IB=4W,DB=4W,K0=CNC>
?
? MB_CS:  0x00bf8001 <FW,MSK=1F,EE,ECC=0,PF>
? MB_INT: 0x101f0000 <>
?
? SIR:  0x00088001
? SIRM: 0x00000000
?
? at:30010000 a2:0000F000 t3:30010000 s0:10410483 s5:00000003 k1:FF7FFAFF
? v0:80058D94 a3:00001000 t4:801359E0 s1:A000FD79 s6:00000000 gp:80046000
? v1:80170000 t0:00000000 t5:00000020 s2:A000FCF0 s7:DFFDBAFF sp:80047FA0
? a0:10410483 t1:FFFF00FF t6:BF980000 s3:00000001 t8:0000000A fp:F5C759FA
? a1:00000001 t2:0000003C t7:00000004 s4:00000000 t9:A0004C70 ra:A014061C

KN05 V2.1k    (PC: 0xa013faac, SP: 0x80047fa0)
3/prcache                                                   >>boot

-tftp boot(3), bootp|139.63.1.4:/tftpboot/nbImage/
-tftp load 1169824+113264+122480
Launching kernel...
This DECstation is a DS5000/2x0
Loading R4000 MMU routines.
CPU revision is: 00000440
....
....
Partition check:
 sda: sda1 sda2 (MSDOS partition table)
 sdb: sdb1 sdb2 sdb3 sdb4 sdb5 (NETBSD partition table, LE, offset 64)
 sdc: sdc1 sdc2 sdc3 sdc4 sdc5 (NETBSD partition table, LE, offset 64)
VFS: Mounted root (ext2 filesystem) readonly.
....
....
[root@elrond /root]# mount -t ufs -o ro,ufstype=44bsd /dev/sdc1 /netbsd
[root@elrond /root]# cd /netbsd
[root@elrond /netbsd]# ls -llvmlinux
-rwxr-xr-x   1 root     root      1818114 Mar 27 13:39 vmlinux
[root@elrond /netbsd]# file vmlinux
vmlinux: ELF 32-bit LSB executable, MIPS R3000_BE - invalid byte order, version 
1, statically linked, not stripped
[root@elrond /netbsd]#

Note that when booting from the netbsd bootblock,
I don't get "Launching kernel...", but directly
"This DECstation is a DS5000/2x0"

I'll keep you informed.

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