diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 09:10:29 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 09:10:29 +0000 |
commit | 595cbd2e050401adf0cab2bab6ce52f902dfbb54 (patch) | |
tree | 8474c159022572bb93d15b7f2c287d1044321bc1 /sys/arch/vax/floppy | |
parent | 3472e7ae763d3e453e57b218243b6d60ece25b43 (diff) |
sync w/ 0430
Diffstat (limited to 'sys/arch/vax/floppy')
-rw-r--r-- | sys/arch/vax/floppy/Makefile | 45 | ||||
-rw-r--r-- | sys/arch/vax/floppy/NOTE | 5 | ||||
-rw-r--r-- | sys/arch/vax/floppy/anyboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/defboo.MS780C-interleaved | 17 | ||||
-rw-r--r-- | sys/arch/vax/floppy/defboo.hk | 14 | ||||
-rw-r--r-- | sys/arch/vax/floppy/defboo.hp | 14 | ||||
-rw-r--r-- | sys/arch/vax/floppy/defboo.kra | 14 | ||||
-rw-r--r-- | sys/arch/vax/floppy/defboo.ra | 14 | ||||
-rw-r--r-- | sys/arch/vax/floppy/defboo.up | 14 | ||||
-rw-r--r-- | sys/arch/vax/floppy/hkmboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/hksboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/hpmboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/hpsboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/ramboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/rasboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/restar.cmd | 16 | ||||
-rw-r--r-- | sys/arch/vax/floppy/upmboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/upsboo.cmd | 13 | ||||
-rw-r--r-- | sys/arch/vax/floppy/utboot.cmd | 20 |
19 files changed, 290 insertions, 0 deletions
diff --git a/sys/arch/vax/floppy/Makefile b/sys/arch/vax/floppy/Makefile new file mode 100644 index 00000000000..0ce301f6865 --- /dev/null +++ b/sys/arch/vax/floppy/Makefile @@ -0,0 +1,45 @@ +# $NetBSD: Makefile,v 1.1 1996/03/02 17:57:34 ragge Exp $ +# @(#)Makefile 7.2 (Berkeley) 5/9/91 + +# Make a 780 rx01 floppy +# +BOOTS= boot +STDBOO= defboo.cmd anyboo.cmd restar.cmd +DEFBOO= defboo.hk defboo.hp defboo.ra defboo.up +DEVBOO= hkmboo.cmd hksboo.cmd hpmboo.cmd hpsboo.cmd \ + ramboo.cmd rasboo.cmd upmboo.cmd upsboo.cmd +UTILS= format copy drtest + +# order is NOT random... +OBJS= ${BOOTS} ${STDBOO} ${DEVBOO} ${UTILS} +FROMDEC=du* dm* db* s[mbr]* *boo.* vmb.exe *.hlp cs* ci* + +FLOPPY= /dev/floppy +#FLOPPY= /dev/rrx0b # for using RX device + +all: floppy + +floppy: 3tracks ${OBJS} + cp 3tracks floppy + arff crf floppy ${OBJS} + +install: floppy + dd if=floppy of=${FLOPPY} + +# build a boot floppy from a DEC console floppy +update: ${OBJS} + -mkdir fromdec + cd fromdec; arff xf ${FLOPPY}; rm -f ${FROMDEC} ${OBJS} ${DEFBOO}; \ + flcopy -t3 -f ${FLOPPY}; rm -f floppy; arff crf ${FLOPPY} * + rm -rf fromdec + arff rf ${FLOPPY} ${OBJS} + -rm -f defboo.cmd + +defboo.cmd: + @echo You must copy one of \{${DEFBOO}\} to defboo.cmd. + @echo See installing and operating guide for details. + @/bin/false #force exits + +clean: + rm -f ${BOOTS} ${UTILS} floppy defboo.cmd + rm -rf fromdec diff --git a/sys/arch/vax/floppy/NOTE b/sys/arch/vax/floppy/NOTE new file mode 100644 index 00000000000..a0936cfb5ed --- /dev/null +++ b/sys/arch/vax/floppy/NOTE @@ -0,0 +1,5 @@ +This are the boot files needed to boot up a 11/780 system. +BUT; both arff and flcopy are missing from the distribution; +neither is there a driver for the LSI11 RX01 in the kernel. +Anyway, these files must be installed on the console RX01 +to be able to boot up a 11/780 system. diff --git a/sys/arch/vax/floppy/anyboo.cmd b/sys/arch/vax/floppy/anyboo.cmd new file mode 100644 index 00000000000..347604774a0 --- /dev/null +++ b/sys/arch/vax/floppy/anyboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ANY DEVICE TO A SINGLE USER SHELL
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R11 3 ! 3=RB_ASKNAME+RB_SINGLE +! R10 NICHTS ! DEVICE CHOICE ISNT APPLICABLE +START 2
diff --git a/sys/arch/vax/floppy/defboo.MS780C-interleaved b/sys/arch/vax/floppy/defboo.MS780C-interleaved new file mode 100644 index 00000000000..ced73085ad1 --- /dev/null +++ b/sys/arch/vax/floppy/defboo.MS780C-interleaved @@ -0,0 +1,17 @@ +!
+! BOOTSTRAP BY BOOT() SYSCALL
+! GO MULTI-USER AFTER CHECKING; BOOT FROM DEFAULT DEVICE
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+D 20002000 101
+D 20004000 101
+D 20004004 4000
+LOAD BOOT
+D/G B 0 ! BOOT PARAMETERS: MULTI USER AFTER CHECK
+D/G A 0 ! DEV TO BOOT FROM (0=HP, 2=UP, 3=HK)
+START 2
diff --git a/sys/arch/vax/floppy/defboo.hk b/sys/arch/vax/floppy/defboo.hk new file mode 100644 index 00000000000..26cc2627734 --- /dev/null +++ b/sys/arch/vax/floppy/defboo.hk @@ -0,0 +1,14 @@ +!
+! BOOTSTRAP BY BOOT() SYSCALL
+! GO MULTI-USER AFTER CHECKING; BOOT FROM DEFAULT DEVICE
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D/G B 0 ! BOOT PARAMETERS: MULTI USER AFTER CHECK
+D/G A 3 ! DEV TO BOOT FROM (0=HP, 2=UP, 3=HK, 9=RA)
+START 2
diff --git a/sys/arch/vax/floppy/defboo.hp b/sys/arch/vax/floppy/defboo.hp new file mode 100644 index 00000000000..d57691057f1 --- /dev/null +++ b/sys/arch/vax/floppy/defboo.hp @@ -0,0 +1,14 @@ +!
+! BOOTSTRAP BY BOOT() SYSCALL
+! GO MULTI-USER AFTER CHECKING; BOOT FROM DEFAULT DEVICE
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D/G B 0 ! BOOT PARAMETERS: MULTI USER AFTER CHECK
+D/G A 0 ! DEV TO BOOT FROM (0=HP, 2=UP, 3=HK, 9=RA)
+START 2
diff --git a/sys/arch/vax/floppy/defboo.kra b/sys/arch/vax/floppy/defboo.kra new file mode 100644 index 00000000000..a09d592326b --- /dev/null +++ b/sys/arch/vax/floppy/defboo.kra @@ -0,0 +1,14 @@ +!
+! BOOTSTRAP BY BOOT() SYSCALL
+! GO MULTI-USER AFTER CHECKING; BOOT FROM DEFAULT DEVICE
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D/G B 0 ! BOOT PARAMETERS: MULTI USER AFTER CHECK
+D/G A 10 ! DEV TO BOOT FROM (0=HP, 2=UP, 3=HK, 9=RA, 16=KRA)
+START 2
diff --git a/sys/arch/vax/floppy/defboo.ra b/sys/arch/vax/floppy/defboo.ra new file mode 100644 index 00000000000..9317d5638fc --- /dev/null +++ b/sys/arch/vax/floppy/defboo.ra @@ -0,0 +1,14 @@ +!
+! BOOTSTRAP BY BOOT() SYSCALL
+! GO MULTI-USER AFTER CHECKING; BOOT FROM DEFAULT DEVICE
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D/G B 0 ! BOOT PARAMETERS: MULTI USER AFTER CHECK
+D/G A 9 ! DEV TO BOOT FROM (0=HP, 2=UP, 3=HK, 9=RA)
+START 2
diff --git a/sys/arch/vax/floppy/defboo.up b/sys/arch/vax/floppy/defboo.up new file mode 100644 index 00000000000..655e3dd45b8 --- /dev/null +++ b/sys/arch/vax/floppy/defboo.up @@ -0,0 +1,14 @@ +!
+! BOOTSTRAP BY BOOT() SYSCALL
+! GO MULTI-USER AFTER CHECKING; BOOT FROM DEFAULT DEVICE
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D/G B 0 ! BOOT PARAMETERS: MULTI USER AFTER CHECK
+D/G A 2 ! DEV TO BOOT FROM (0=HP, 2=UP, 3=HK, 9=RA)
+START 2
diff --git a/sys/arch/vax/floppy/hkmboo.cmd b/sys/arch/vax/floppy/hkmboo.cmd new file mode 100644 index 00000000000..db424340872 --- /dev/null +++ b/sys/arch/vax/floppy/hkmboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON HK, GOING MULTI USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 3 ! DEVICE CHOICE 3=HK
+D R11 0 ! 0= AUTOBOOT
+START 2
diff --git a/sys/arch/vax/floppy/hksboo.cmd b/sys/arch/vax/floppy/hksboo.cmd new file mode 100644 index 00000000000..670f9e6dfbf --- /dev/null +++ b/sys/arch/vax/floppy/hksboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON HK, LEAVING SINGLE USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 3 ! DEVICE CHOICE 3=HK
+D R11 2 ! 2= RB_SINGLE
+START 2
diff --git a/sys/arch/vax/floppy/hpmboo.cmd b/sys/arch/vax/floppy/hpmboo.cmd new file mode 100644 index 00000000000..e424d5fb05a --- /dev/null +++ b/sys/arch/vax/floppy/hpmboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON RP, GOING MULTI USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 0 ! DEVICE CHOICE 0=HP
+D R11 0 ! 0= AUTOBOOT
+START 2
diff --git a/sys/arch/vax/floppy/hpsboo.cmd b/sys/arch/vax/floppy/hpsboo.cmd new file mode 100644 index 00000000000..2d9d81ed484 --- /dev/null +++ b/sys/arch/vax/floppy/hpsboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON RP, LEAVING SINGLE USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 0 ! DEVICE CHOICE 0=HP
+D R11 2 ! 2= RB_SINGLE
+START 2
diff --git a/sys/arch/vax/floppy/ramboo.cmd b/sys/arch/vax/floppy/ramboo.cmd new file mode 100644 index 00000000000..40d2e8cf526 --- /dev/null +++ b/sys/arch/vax/floppy/ramboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON UP, GOING MULTI USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 9 ! DEVICE CHOICE 9=RA
+D R11 0 ! 0= AUTOBOOT
+START 2
diff --git a/sys/arch/vax/floppy/rasboo.cmd b/sys/arch/vax/floppy/rasboo.cmd new file mode 100644 index 00000000000..bade1bbd7e1 --- /dev/null +++ b/sys/arch/vax/floppy/rasboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON UP, LEAVING SINGLE USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 9 ! DEVICE CHOICE 9=RA
+D R11 2 ! 2= RB_SINGLE
+START 2
diff --git a/sys/arch/vax/floppy/restar.cmd b/sys/arch/vax/floppy/restar.cmd new file mode 100644 index 00000000000..64e345dfb88 --- /dev/null +++ b/sys/arch/vax/floppy/restar.cmd @@ -0,0 +1,16 @@ +! RESTART COMMMAND FILE
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT ! HALT PROCESSOR
+UNJAM ! UNJAM SBI
+INIT ! INITIALIZE PROCESSOR
+D/I 11 20003800 ! SET SCBB TO ROM
+D/G 0 0
+D/G 1 3 ! UBA TR NUMBER
+D/G 2 0
+D/G 3 0
+D/G 4 0
+D/G 5 0
+D/G FP 0
+S 20003004
diff --git a/sys/arch/vax/floppy/upmboo.cmd b/sys/arch/vax/floppy/upmboo.cmd new file mode 100644 index 00000000000..41be64da676 --- /dev/null +++ b/sys/arch/vax/floppy/upmboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON UP, GOING MULTI USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 2 ! DEVICE CHOICE 2=UP
+D R11 0 ! 0= AUTOBOOT
+START 2
diff --git a/sys/arch/vax/floppy/upsboo.cmd b/sys/arch/vax/floppy/upsboo.cmd new file mode 100644 index 00000000000..af96678067b --- /dev/null +++ b/sys/arch/vax/floppy/upsboo.cmd @@ -0,0 +1,13 @@ +!
+! BOOTSTRAP ON UP, LEAVING SINGLE USER
+!
+SET DEF HEX
+SET DEF LONG
+SET REL:0
+HALT
+UNJAM
+INIT
+LOAD BOOT
+D R10 2 ! DEVICE CHOICE 2=UP
+D R11 2 ! 2= RB_SINGLE
+START 2
diff --git a/sys/arch/vax/floppy/utboot.cmd b/sys/arch/vax/floppy/utboot.cmd new file mode 100644 index 00000000000..fe89eb5ebea --- /dev/null +++ b/sys/arch/vax/floppy/utboot.cmd @@ -0,0 +1,20 @@ +SET DEF HEX +SET DEF LONG +SET REL:0 +HALT +UNJAM +INIT +D/P 200 0036EFD0 +D + D0510000 +D + 2000008F +D + 0800C180 +D + 0804C1D4 +D + 0026EFD0 +D + C8520000 +D + 00F5208F +D + 8FB05200 +D + 1AA204C0 +02008fae 8fae06a2 +0000060 02a20100 b004a2b4 00006239 20006000 +0000100 2013e000 +0000104 |