Fellow DECstation hackers,
although it took longer than expected and I haven't done as much as I wanted to
feel the time is ripe for a new DECstation kernel :-).
I'll upload the new source tree this evening and it will appear on
http://decstation.unix-ag.org within this week, I hope, depending on how busy
I have carefully tried not to brake existing code and I'd appreciate very much
nonDECstation MIPS-hackers would try this source tree as well. If this kernel is
still working, I'd like to commit my changes to the CVS repository.
Changes since 2.1.73:
o Updated to 2.1.99 with all the greatest and latest linux/MIPS stuff including
streamlined syscall handler and the lazy fpu switch.
o Mach-Code in arch/mips/dec/boot replaced with a cleaner PROM Interface.
o CPU identification and support for R4x00 CPUs added in decstation.c. We have
least one DS5000/260 on the target list. (Are you listening, Karel? I haven't
forgotten you :-))
o Support for DS5100 added. (there is still a lot to do for this one!)
o Support for command line passing and initial ramdisk added.
o Cleaner integration of the DECstation interrupt handling code.
o Probing for TURBOchannel cards added.
o Changed the crude serial console support back to a PROM based console.
hackers should be able to see kernel messages again.
I have included a .config file into the source tree which works for me. If your
binutils-2.8.1 are configured with support for a.out, "make config", pressing n
<Return> and "make dep ; make netboot" should do the trick.
A ramdisk image is included as well. You will find it in arch/mips/dec/boot. It
contains a two instructions "program" /bin/sh which should do segmentation
executed. Unfortunately the kernel dies after mounting the ramdisk in the
execute /bin/sh. The MMU code needs some polishing, I guess.
As usual, this code is tested on a DS5000/133 and a DS5000/240 and I don't have
idea if this code works for other DECstations :-). arch/mips/dec/boot/nbImage is
bootable via tftp and via ultrixboot. Please give it a try and tell me what you
Here is what I get from my DS5000/133:
>>boot 3/tftp root=/dev/ram
Linux/MIPS DECstation Boot
Copyright (C) Paul M. Antoine 1995, 1996, 1997
and others, 1994, 1995, 1996, 1997, 1998
Found a REX compatible boot PROM
This DECStation is a DS5000/1xx with 49152kB RAM
CPU is a R3000A with 64kB I-Cache and 128kB D-Cache
Got the following for the osconsole env. variable: 3
No idea what console to use!
Will be using PROM console!
Moving Kernel Image from 80200000 to 80030000
Launching Kernel ...
Loading R00 MMU routines.
Linux version 2.1.99 (harry@franz) (gcc version 2.7.2) #1 Tue Jun 2 17:23:37 ME8
Calibrating delay loop... 32.90 BogoMIPS
Memory: 47432k/49148k available (756k kernel code, 764k data)
Swansea University Computer Society NET3.039 for Linux 2.1
NET3: Unix domain sockets 0.16 for Linux NET3.038.
Swansea University Computer Society TCP/IP for NET3.037
IP Protocols: ICMP, UDP, TCP
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
TURBOchannel rev. 1 at 12.5 MHz (no parity)
3 slots, size 64 MB
slot 0: DEC PMAZ-AA V5.3d
Starting kswapd v 1.5
Ramdisk driver initialized : 16 ramdisks of 4096K size
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 28k freed
Warning: unable to open an initial console.
Got dbe at 80000028.
$0 : 00000000 10002000 00000004 7fffff94 00000000 00000002 00000002 00000000
$8 : 7fffffdc 7fffffb4 00000000 7fffffdc 00400000 00000001 00000000 800ef400
$16: 800ef474 00410000 800ed020 00000000 82ff5d68 00000003 800ef460 00000000
$24: 00000000 00000060 82ff4000 82ff5b98 00000000 8007fbe4
epc : 80000028
Cause : 0000001c