Commit Graph

212 Commits

Author SHA1 Message Date
ragge
d901690b17 Remove forgotten debug printf. 2000-05-21 09:45:54 +00:00
ragge
0b560b2138 Set correct adapter addresses if none is given. 2000-05-21 09:45:34 +00:00
ragge
93753c91c0 11/750 fixes:
- Set the correct adapter address in RPB for Unibus devices.
- Repair the disk read routines for HP disks. ROM routines do not work
  on HP disks, therefore use a small home-written routine.
2000-05-21 09:44:16 +00:00
ragge
f7b7cabc0b On the 11/750, the stack will be placed by ROM in the code area.
Start with moving it to a safe place.
2000-05-21 08:13:20 +00:00
ragge
b3f6551d41 WARNS=1. Unify the ra and tmscp driver. 2000-05-20 13:36:11 +00:00
ragge
027ee49b0f Adopt to the RPB changes. Complete change of how network devices are
handled. No more hacks to find bus addresses.
2000-05-20 13:35:07 +00:00
ragge
c5f56fab00 Change all devices to use the RPB info when autobooting, this allows for
booting from unsupported devices also. As a side effect; it fixes PR#9202.
2000-05-20 13:30:03 +00:00
ragge
a8a7bf342f New arguments to the rom routines. Adapt srt0 to new world also. 2000-05-20 13:22:39 +00:00
ragge
9ff9efe46a Rewriting of the VAX boot block. Differences:
- Use the RPB for passing boot device info up to kernel, instead of the
  old BSD "hack" with an encoded longword (see sys/reboot.h for details)
- Instead of separate drivers for all devices, use the HW-provided ROM
  routines as much as possible.
- Add filesystem support for CD9660 also (now when there is space).
- Make everything compile with WARNS=1.

The boot block is now <7K in size and have support for UFS, CD9660 and USTAR.
2000-05-20 13:21:29 +00:00
matt
9bf1dc1e62 fix comments. 2000-05-18 04:20:41 +00:00
ragge
6a36c27519 Get boot device CSR from RPB instead of trying to guess it. 2000-05-09 20:53:51 +00:00
ragge
c17aed4bdc Console support for VXT 2000, VAX 4000/105 and VAX 4000/500.
From Michael Kukat.
2000-05-08 17:06:48 +00:00
matt
70d4422b8a Dump NRCV to 8 from 5. Note that a 8K NFS reply takes 6 full size
Ethernet packets so the chances are that if the server was fast enough
this driver would continuously lose one of the fragments.  Eventually
causing the kernel load to fail.  Add 2 extra for random ARP or other
packets that might be picked up.
2000-04-28 00:08:51 +00:00
matt
d32950cb7e Add cd9660 support to the secondary boot blocks. 2000-04-24 21:46:07 +00:00
ragge
c6a9a48f2e Add 4000/90 to the countdown hack. 2000-04-24 14:45:30 +00:00
mhitch
62c210a97b Fix bootblock countdown for 4000/VLC. 2000-04-24 07:03:27 +00:00
ragge
8b94e15772 Fix boot block countdown on 4000/60. Easy to add for other 4000 machines also. 2000-04-22 20:29:58 +00:00
ragge
8c7cf8f008 Add device switch entry for RL disks. Only uses rom to boot so far. 2000-04-22 16:52:23 +00:00
ragge
cab5a24c60 Recognize RL02 as boot device. 2000-04-22 16:50:44 +00:00
matt
414d3f059d Compile -Os instead of -O2 (optimize for space). 2000-04-18 20:47:04 +00:00
ragge
d334fb3019 Handle NCR5394 SCSI as NCR5380. (Doesn't matter, it will use the ROM
routines anyway).
2000-04-18 20:25:13 +00:00
matt
5fa416e77a This should have never been checked in. it's what this directory is supposed
to make.  opps.
2000-04-16 15:59:02 +00:00
matt
92b3e1fecd Use objcopy to emit the binary and linked around for debugging. 2000-04-16 01:44:36 +00:00
matt
5e9394eecb move ustarfs to end so that '@" can be avoided. from mhitch. 2000-04-16 01:42:41 +00:00
matt
faec4da943 Add missing cases for MARIAH/SOC/NVAX and fix a comment or two. 2000-04-16 01:41:23 +00:00
darrenr
162b0b1dab __P(()) -> __P((void)) 2000-03-16 23:21:05 +00:00
ragge
3c7a7bf0e0 Install the boot programs in /usr/mdec also. From Todd Whitesel. 2000-03-04 16:17:46 +00:00
matt
4e90241d42 More files that were changed. 2000-01-24 02:54:01 +00:00
ragge
362ef7b498 Use romread() routines if we are booted from SCSI disks. 1999-10-23 14:42:21 +00:00
ragge
08cf6bea89 Boot block code fixed to 1) understand SCSI disks and 2) read from a
ustar filesystem (used in installation).
1999-10-23 14:40:38 +00:00
ragge
895fe9eaf6 Add support for 4000/90. Also handle interrupts more intelligent.
XXX - countdown doesn't work on 4000/90.
1999-08-23 19:09:27 +00:00
ragge
7638e3fbe3 Add boot support for the VAX 3300/3400 LANCE chip. 1999-08-14 19:41:14 +00:00
ragge
3766555455 Reset the interface when loading is finished, to avoid spurious writing
to memory.
1999-08-07 18:30:36 +00:00
ragge
ae5dbfbe84 BI bus files has moved. 1999-08-07 11:19:04 +00:00
abs
2ceba51630 Work with obj dirs (It seems that ${.CURDIR}/... is your friend).
If I _had_ to pick an arch on which to learn how this stuff works, it probably
would not have been vax... unless of course I was experimenting with time
compressing drugs.  If we have a 1.4.2, this is definitely a candidate.
1999-07-18 05:55:45 +00:00
ragge
996e5bf55a Stop the network interface after kernel is loaded but before starting it.
Not doing this caused packets to be read into memory somewhere after the
kernel was started but before the device was probed, normally in the
system page table. This gave quite unpredictable results...
1999-06-30 18:38:03 +00:00
ragge
a406e5332c Clean up the boot command selection a bit. Add a command "halt". 1999-06-30 18:33:33 +00:00
ragge
3b8e9ab16d Support loading the kernel from ustarfs. 1999-06-30 18:30:42 +00:00
ragge
04620b62b5 Search for include files in new locations. 1999-06-30 18:19:26 +00:00
ragge
7a1f65022b Remove more unused files. 1999-06-20 16:00:14 +00:00
ragge
dc65be6cf8 Remove old unused files. 1999-06-20 15:58:28 +00:00
ragge
92a492d5ea Some 4000/200 fixes. From Michael Kukat. 1999-06-20 15:52:51 +00:00
ragge
f1fc4934a3 Use common routines to identify cpu type.
Set up a SCB to be able to handle clock interrupts in the boot program.
Now timer countdown should work on all types of vaxen.
1999-05-23 21:58:19 +00:00
drochner
fe310dd299 include <lib/libkern/libkern.h> for intoa()/inet_ntoa() 1999-05-07 16:19:27 +00:00
ragge
397795c32d Machines using KA48 must have memory mapped in, and use the same
addresses for console as KA46. From Michael Kukat.
1999-04-14 16:19:03 +00:00
ragge
60d4b9c2bd A bunch of small fixes to make boot work on most VAXen. 1999-04-01 20:40:07 +00:00
ragge
11f0bebf2b #define was wrong. Some .c should be .s. 1999-03-27 09:33:30 +00:00
thorpej
ad22c1dd58 Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.
1999-03-25 23:16:37 +00:00
thorpej
587eda7c3f Use ETHER_*_LEN constants from <net/if_ether.h> instead of defining them
ourselves.
1999-03-25 23:11:51 +00:00
ragge
9f6b94f820 Outdated files. 1999-03-13 15:14:29 +00:00
ragge
fb6b53bfe4 Basic KA48 (VAXstation 4000 VLC) support.
From Michael Kukat <michael@camaronet.de>
1999-03-09 12:57:57 +00:00
ragge
e1305e82d9 New boot program for vax. Appearance similar to the i386 boot blocks. 1999-03-06 16:36:04 +00:00
matt
3e6d4553d9 Make DHCP/BOOTP the default for VAX net booting 1998-11-11 15:49:02 +00:00
ragge
42ed21663a Make boot recognize MSCP disks on VAX8200. From Sergey Svishchev. 1998-10-21 20:16:33 +00:00
matt
c4ece7cdcb Commit out include of "../include/macros.h" since its bcopy conflict with
the one in "lib/libsa/stand.h".
1998-10-09 06:15:33 +00:00
matt
71364ebea6 Workaround problem with le driver forgetting its address 1998-10-09 06:14:22 +00:00
matt
3d8c929799 Remove define for SUPPORT_BOOTPARAMS and put in the Makefile instead.
Fix DHCP code so it works.
1998-10-09 06:13:30 +00:00
matt
7d79b82d33 include <bsd.prog.mk> and make changes so that "make obj" works.
Make it easy to build an boot which uses BOOTP/DHCP instead
RARP/BOOTPARAMS.
1998-10-09 06:12:31 +00:00
matt
bbf29cff44 Add strncpy (needed for bootp/dhcp). Tighten up some of the assembly. 1998-10-09 06:09:48 +00:00
ragge
58831dae59 Bug fixes and improvements. By Roar Thronæs and myself. 1998-08-31 19:20:24 +00:00
ragge
00475fbb1f New times, new pagesize, use magic number in exec header. 1998-08-22 09:16:45 +00:00
ragge
e9534620b0 Netboot support for KA46 (VS4000/60). 1998-08-08 16:10:41 +00:00
ragge
a799083fba Fix netboot support for 3100/m76 which uses diagmem for its lance buffers. 1998-07-26 09:01:23 +00:00
drochner
49bb9d8214 adapt to LANCE driver split 1998-07-21 17:36:01 +00:00
ragge
1aab7e8c23 Added boot program support for the SGEC Ethernet controller, present on
some VAX 4000 maachines. Written by Jay Maynard. (jmaynard@phoenix.net)
1998-07-01 10:52:10 +00:00
ragge
52defbf438 Use rom routines on MicroVAX II, so that the QDSS/QVSS display will
be used if present. Fix provided by Boris Gjenero.
1998-03-20 16:36:20 +00:00
ragge
51964fa1e8 Standalone routine for DEQNA, written by Roar Thronaes. 1998-03-11 22:13:55 +00:00
ragge
ad1f451760 Move the boot program higher up in memory; to allow loading of bigger kernels. 1998-02-28 12:10:13 +00:00
ragge
7b60c8ed11 Fix multivolume installation bug; PR#4454. 1997-11-10 22:14:16 +00:00
ragge
e603ff5aa3 Fix vers.c dependency; PR#4090. 1997-10-20 11:54:26 +00:00
ragge
038cd08cce Make UBA adapter selection work on 8600 again. 1997-10-18 23:39:18 +00:00
thorpej
616e0b7e33 Copyright assigned to The NetBSD Foundation. 1997-10-05 18:26:38 +00:00
ragge
9f009387fc Must grok includes. Also; prettier compile-time printout. 1997-06-29 21:30:09 +00:00
ragge
4d45dc0466 Use correct console on KA65? machines. Bugfix when specifying adaptor
number. Show compile-time for boot. Prettier printout.
1997-06-08 17:49:15 +00:00
ragge
3611dda5d0 Add better boot support for VS3100/??. 1997-04-10 21:25:18 +00:00
ragge
608bad4ba2 Bugfixes to lance routines. Get memory size from rpb to pass to kernel.
Support some more CPU types in boot.
1997-03-22 12:47:27 +00:00
ragge
8fa1cdb04b Add routines for network handling and standalone le driver.
To make this work nice, big changes to the boot unit handling
was also required. From now only DEC HW unit numbering are used
in boot, to easy match boot device in kernel.
1997-03-15 13:04:22 +00:00
ragge
9bf924ecc4 Be able to find out if we are booted from network. 1997-02-27 19:43:26 +00:00
ragge
40f0692085 s/tms/mt/ 1997-02-12 18:00:42 +00:00
thorpej
150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
ragge
fdcabd43da Do not use any emulated insn's in boot program. (in this case cmpc3).
Add strncmp to get around this.
1996-08-02 16:18:39 +00:00
ragge
5e04d04d68 Add support for booting Vaxstations; from MFM and SCSI. (PROM-based boot). 1996-08-02 11:21:41 +00:00
ragge
ce30ddd46b Obsoleted by now. 1996-07-15 11:50:40 +00:00
ragge
640bda0d46 Put in boot support for VAX 8200. 1996-07-15 11:11:01 +00:00
ragge
f9ee92c45a Support installation of /usr/mdec files. 1996-03-16 11:03:11 +00:00
ragge
33aad32f37 Accept adapter numbering in boot. 1996-03-16 11:02:28 +00:00
ragge
6e51b1e47e Support for VAX 8600/8650 added. Works with lots of Unibus adapters,
and will probably work with Massbus adapters as well. (Not tested,
but it's the same code as for 11/780). Ubareset's may cause crashes
on 8600 also like 11/780, but they are more uncommon. No support
for console RL02 yet, but it's likely to come.
1996-03-07 23:22:34 +00:00
ragge
cef093b42e Add VAX780 support to the boot program. 1996-03-02 14:22:57 +00:00
ragge
90b84d2da5 Add standalone driver for TU58 (DECtape II). Now initial installation
from TU58 on 11/750 is possible.
Change types on pte pointers, due to the change of pte's from
int to struct pte.
1996-02-17 18:23:18 +00:00
mycroft
5d668ff961 ASSEMBLER -> _LOCORE 1996-02-02 19:08:33 +00:00
mycroft
88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
ragge
7c65ab14a0 Create libkern as a .a instead of a .o file. 1995-12-28 15:27:21 +00:00
ragge
fbc5d6e054 SA_LIB -> SALIB
Include rpb.h. Typeclash fixes.
Removed #include of non-existing file.
1995-10-20 13:35:41 +00:00
ragge
0b4e25a2c1 Arg to printf forgot. 1995-09-29 16:35:00 +00:00
ragge
3579b04cac Obsolete when not using Microvax rom anymore. 1995-09-16 16:21:56 +00:00
ragge
c378250058 Calls to MicroVAX rom routines removed. 1995-09-16 16:20:18 +00:00
ragge
67abd74816 struct rpb -> include/rpb.h 1995-09-16 15:58:57 +00:00
ragge
01c7626f80 Load microcode file on 11/750. 1995-09-16 15:54:20 +00:00
ragge
64a23e9a8b Take care of xon/xoff (== discard them). 1995-09-16 15:48:49 +00:00
ragge
7bffdf561e Removed bug to prevent division-by-zero when accessing unlabelled disks. 1995-09-16 15:43:25 +00:00
ragge
395e73a5d7 ka650 added. Converted to KNF. 1995-09-16 13:34:20 +00:00
ragge
ed3a9bf3b0 TMSCP support added. 1995-09-16 13:18:27 +00:00
ragge
eefa8685a2 Bootblock support for tmscp added, used on MicroVAX.
MicroVAX rom routines not used anymore, too inconsistent when
not using FILES-11 filesystem.
1995-09-16 13:01:06 +00:00
ragge
b5733df6fb Standalone support for TMSCP tapes, based on ra disk driver. 1995-09-16 12:57:35 +00:00
ragge
7e902b634e Foolish and easy standalone prog to edit disklabels. 1995-09-16 12:56:03 +00:00
ragge
8feecb9503 Rick Macklem's copy hack that can do standalone (multi-)volume
copies from anything to anything.
1995-09-16 12:53:49 +00:00
ragge
e11e0f1712 Passing symtab address to kernel. 1995-06-16 15:07:58 +00:00
ragge
988e66c172 Pass symtab address to kernel. 1995-06-16 15:06:50 +00:00
ragge
589f248bad Cleanup and fixes for uVAX boot. 1995-04-25 14:14:19 +00:00
ragge
887089b1c2 uVAX II support. 1995-03-29 21:35:16 +00:00
ragge
9dbb11b582 Added support for uVAX boot. 1995-03-29 21:23:59 +00:00
ragge
3b634122a3 Boot program added. 1995-02-13 00:41:04 +00:00