simonb
326cce3c7a
Add a PROM call stub for getchar.
1999-11-27 06:52:05 +00:00
simonb
92bd89485a
Remove code in sector 0 support - we don't need the space and it allows
...
for the coexistance for other port's bootblocks in sector 0.
1999-11-27 06:49:34 +00:00
simonb
1463e10159
Don't require a disklabel at the start of a disk - needed for
...
ISO 9660 f/s support.
1999-11-27 06:48:08 +00:00
simonb
31d531e54b
Header file include cleanup.
1999-11-27 06:47:24 +00:00
simonb
4001a35043
Small cleanup based on Alpha newvers.sh.
1999-11-27 06:46:56 +00:00
simonb
0246cad68c
GC register keyword.
...
Add LIBSA_SINGLE_DEVICE support.
1999-11-27 06:46:36 +00:00
simonb
8160906e08
Add lfs, cd9660, nfs and ustarfs filesystem support.
...
Remove callv variable declaration.
1999-11-27 06:45:52 +00:00
simonb
55ae392784
Add some PROM function prototypes
...
Add bootprog* variable declarations (ala alpha/stand/common.h).
1999-11-27 06:45:07 +00:00
simonb
4bb143c0ea
Move callv variable declaration here from conf.c.
1999-11-27 06:44:00 +00:00
simonb
c3c29ad5c5
Load second stage bootblocks from "boot.pmax", falling back to "boot"
...
for backwards compatibility and "boot.pma" after that for people who
make ISO filesystems with 8.3 format file names.
1999-11-27 06:34:06 +00:00
simonb
10c7b5ab91
Remove the remaining files in lib directory. The other files in
...
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:55:46 +00:00
simonb
40bbc6129e
Remove the remaining files in scsiboot directory. The other files in
...
this directory were moved to ../common via a CVS repository copy.
1999-11-27 03:54:43 +00:00
simonb
426c66b28c
Moved to common/callvec.c,v
1999-11-27 03:14:47 +00:00
simonb
42fdd5dfb7
Moved from lib/callvec.c,v
1999-11-27 03:14:46 +00:00
simonb
e2751ce295
Moved to common/printf.S,v
1999-11-27 03:12:24 +00:00
simonb
360739d57f
Moved from scsiboot/printf.S,v
1999-11-27 03:12:23 +00:00
simonb
88b44c10cb
Moved to common/clear_cache.S,v
1999-11-27 03:11:56 +00:00
simonb
ea515c3a7f
Moved from scsiboot/clear_cache.S,v
1999-11-27 03:11:55 +00:00
simonb
16ddb8bd85
Moved to common/bootxx.c,v
1999-11-27 03:11:41 +00:00
simonb
9bbac58265
Moved from scsiboot/bootxx.c,v
1999-11-27 03:11:40 +00:00
simonb
acefb84bcb
Moved to common/startprog.S,v
1999-11-27 03:10:17 +00:00
simonb
81ff761e62
Moved from lib/startprog.S,v
1999-11-27 03:10:16 +00:00
simonb
a61aff17a2
Moved to common/start.S,v
1999-11-27 03:10:07 +00:00
simonb
ffab24d77d
Moved from lib/start.S,v
1999-11-27 03:10:06 +00:00
simonb
d4e109f26d
Moved to common/rz.h,v
1999-11-27 03:09:52 +00:00
simonb
2dcb3cc6f2
Moved from lib/rz.h,v
1999-11-27 03:09:51 +00:00
simonb
de5d47be57
Moved to common/rz.c,v
1999-11-27 03:09:42 +00:00
simonb
dd6570cdf6
Moved from lib/rz.c,v
1999-11-27 03:09:41 +00:00
simonb
875e06c29a
Moved to common/putchar.c,v
1999-11-27 03:09:27 +00:00
simonb
59e9772e78
Moved from lib/putchar.c,v
1999-11-27 03:09:26 +00:00
simonb
7915729248
Moved to common/newvers.sh,v
1999-11-27 03:09:06 +00:00
simonb
cf4333e101
Moved from lib/newvers.sh,v
1999-11-27 03:09:05 +00:00
simonb
b24ec11fca
Moved to common/devopen.c,v
1999-11-27 03:08:47 +00:00
simonb
16c74987cc
Moved from lib/devopen.c,v
1999-11-27 03:08:46 +00:00
simonb
1a4a126f90
Moved to common/conf.c,v
1999-11-27 03:08:31 +00:00
simonb
b02cf094dc
Moved from lib/conf.c,v
1999-11-27 03:08:30 +00:00
simonb
8ac75f530b
Moved to common/common.h,v
1999-11-27 03:08:02 +00:00
simonb
034554d0a8
Moved from lib/common.h,v
1999-11-27 03:08:01 +00:00
simonb
41f1bf53e1
Moved to common/bootread.S,v
1999-11-27 03:07:40 +00:00
simonb
4a75552397
Moved from lib/bootread.S,v
1999-11-27 03:07:39 +00:00
simonb
d5c8b5ad99
Moved to common/bootinit.S,v
1999-11-27 03:07:22 +00:00
simonb
1f59f63d6d
Moved from lib/bootinit.S,v
1999-11-27 03:07:21 +00:00
simonb
4d2b51c4be
Moved to common/bootinfo.h,v
1999-11-27 03:06:56 +00:00
simonb
3f99fedebd
Moved from lib/bootinfo.h,v
1999-11-27 03:06:55 +00:00
simonb
4a53cd4daa
Moved to common/bootinfo.c,v
1999-11-27 03:06:31 +00:00
simonb
1e9b1f56a7
Moved from lib/bootinfo.c,v
1999-11-27 03:06:30 +00:00
simonb
089a87b280
Moved from boot/boot.c,v
1999-11-27 02:52:07 +00:00
simonb
9f8721cd67
Moved to common/boot.c,v
1999-11-27 02:52:06 +00:00
simonb
b83882f7c7
Use new pmax stand structure for multi-filesystem bootblocks. All
...
entries are commented out for now until everything else is updated.
1999-11-27 01:45:46 +00:00
thorpej
728d672378
Backout my libsa changes.
1999-11-13 21:33:12 +00:00
simonb
4abf82d09b
Remove references to libkern after Jason's recent work to libsa.
1999-11-12 01:37:42 +00:00
simonb
fb8de5803e
Use ELFCLASS32 instead of ELFCLASS.
1999-10-27 03:28:54 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
simonb
249879ba34
Begone with some garish Mach_StructureNames.
...
Add a comment about the bootblock structure.
1999-10-25 02:29:45 +00:00
simonb
60f2775a8e
Fix incorrect comment.
1999-09-28 02:26:35 +00:00
mrg
f484530816
do not "quote" SAMISCMAKEFLAGS values, it causes pain and suffering.
1999-07-21 13:34:34 +00:00
simonb
e37110cfef
Add some instructions.
1999-05-13 08:40:08 +00:00
simonb
bb592db897
Standalone program that contains a compressed kernel image suitable for
...
netbooting on machines that can't netboot a fullsize kernel.
This is only a stop-gap solution until the pmax gets a working two stage
netboot, and is not enabled by default.
1999-05-13 08:38:05 +00:00
christos
c22a8166d9
use new loadfile
1999-04-28 09:18:47 +00:00
simonb
cbd32a724f
Sync with rev 1.9 of sys/arch/i386/stand/lib/loadfile.c:
...
another nit in error handling: don't try to print out a NULL
filename (which means "use default" and is dealt with properly
by open())
1999-04-17 11:24:16 +00:00
simonb
b84e038e4b
Bump version number to 1.1 for default kernel names.
1999-04-12 05:46:57 +00:00
simonb
71c3fc3251
If only a device name is specified with no kernel name, try to load a
...
kernel from a default list of names. This list is netbsd, netbsd.bak,
netbsd.old, onetbsd and gennetbsd - all without and with a .gz
extension.
1999-04-12 05:19:25 +00:00
simonb
ab3de4de0e
Make the bootpath "N/rzY" with no trailing '/' valid by adding the extra
...
'/' before appending 'boot' to the path.
1999-04-12 05:14:51 +00:00
simonb
520c13bcc8
Fix an off-by-32 error - space was padded out to the 96th byte for the
...
DEC disk boot block header, but it's only 64 bytes long. Gives us
another 32 bytes in the first stage.
Don't use a roll-your-own START_FRAME size and offsets for the stack
and ra - use the <mips/asm.h> provided CALLFRAME_SIZ, CALLFRAME_RA and
CALLFRAME_SP
1999-04-12 03:53:13 +00:00
simonb
0a7e699d22
Add "WARNS?= 1" - woohoo!
1999-04-11 04:31:02 +00:00
simonb
cdc059d0d0
Use BOOTRZ instead of BOOTXX.
...
Add -DLIBSA_NO_DEV_IOCTL.
1999-04-11 04:28:14 +00:00
simonb
6247c771c1
Use BOOTRZ instead of BOOTXX.
...
Add a PROM callback for prom_close if not LIBSA_NO_DEV_CLOSE.
1999-04-11 04:27:53 +00:00
simonb
deb30f311a
Include <common.h> to get prototypes for PROM callbacks.
...
Use LIBSA_NO_DEV_CLOSE and BOOTRZ instead of SMALL.
In rzclose() call prom_close() on the descriptor if we're on a
pre-REX machine.
1999-04-11 04:27:30 +00:00
simonb
b2706c76c1
s/vmunix/netbsd/
...
Use BOOTRZ instead of SMALL.
1999-04-11 04:26:31 +00:00
simonb
558e5709dd
Use LIBSA_NO_DEV_CLOSE and LIBSA_NO_DEV_IOCTL instead of SMALL.
1999-04-11 04:26:06 +00:00
simonb
bc48dfc927
Clean up prototypes.
...
Print a message on failure to load or execute kernel.
1999-04-11 04:25:47 +00:00
simonb
f1e493608f
Move MKMAN to ../Makefile.inc.
1999-04-11 04:25:15 +00:00
simonb
c8ba78a09e
Move BINDIR, BINMODE to Makefile.inc.
...
Remove -DSMALL.
Define an empty LIBZ if building first stage bootblocks since LIBZ
defaults to /usr/lib/libz.a.
1999-04-11 04:24:41 +00:00
simonb
96fba8337e
Define BINDIR, BINMODE and MKMAN in the "standard" place.
1999-04-11 04:19:56 +00:00
simonb
9498a6da95
Clean up prototypes and entry variable usage.
1999-04-11 04:08:25 +00:00
simonb
2fb264a52e
Declare some prototypes for the pmax-specific libsa functions.
1999-04-11 04:05:46 +00:00
simonb
39b90701da
Include <stand.h> so we get a putchar() prototype.
1999-04-11 04:03:29 +00:00
simonb
cda54b761e
Apply rev 1.8 of sys/arch/i386/stand/lib/loadfile.c:
...
fix error handling: almost all errors were ignored
YES, this will be made MI soon...
1999-04-10 01:52:33 +00:00
simonb
e6ab4443a2
Mention a few other (not implemented) space saving ideas in case we
...
get desparate in the future.
1999-04-01 08:47:38 +00:00
simonb
f36bd65f46
Build the full MI libsa for the first stage bootblocks rather than
...
picking the bits we wanted explicitly, taking advantage of some of the
recent code-size trimming from cgd. There's now no duplication if libsa
code in sys/arch/pmax/stand.
As a bonus, we now have 416 bytes free in stage one (up from 80), and
will all of Chris' space saving options enabled (these are commented out
in scsiboot/Makefile), theres over a 1kB free.
1999-04-01 06:05:04 +00:00
simonb
971284a4ed
Add support for LIBSA_SINGLE_DEVICE and LIBSA_SINGLE_FILESYSTEM.
1999-04-01 05:52:38 +00:00
simonb
ff2206f6df
G/C UFS_NOSYMLINK, UFS_NOCLOSE and UFS_NOWRITE and use new LIBSA_NO_FS_*.
1999-03-31 07:43:39 +00:00
simonb
4c9bbd20fb
Don't define errno expliticly, use libsa/errno.c in first stage and
...
${LIBSA} in the second stage.
1999-03-31 07:23:27 +00:00
simonb
febdc0ddf2
Use recent LIBSA_NO_TWIDDLE support.
1999-03-31 04:30:11 +00:00
simonb
0f4c2803ca
Create/build vers.c/vers.o inside the final link stage so that the build
...
datestamp get's updated each build.
1999-03-31 03:10:56 +00:00
simonb
5fbc10c671
Reorder ${LIBS} so that we don't need to explicitly pull in bcmp.c
...
and bzero.c from libkern.
1999-03-31 02:35:14 +00:00
simonb
a487471f7c
Remove bogus comment.
1999-03-29 13:48:25 +00:00
simonb
516865d17c
Enable now that "make depend" works properly.
1999-03-27 07:39:06 +00:00
simonb
d44e9483b0
Go back to a Makefile.booters scheme, like most other ports do. No
...
more problems for "make depend" - tested with and without obj dirs.
1999-03-27 07:17:50 +00:00
simonb
d0e107a1a5
Update copyrights.
1999-03-26 05:23:58 +00:00
simonb
4fefe2cb37
Conditionally set BINMODE and BINDIR so lower level Makefiles can override
...
the location or modes.
Fix up the machine and mips symlink creation.
1999-03-26 02:12:17 +00:00
simonb
461afc9079
Explictly set BINMODE to 555 so that ../Makefile.inc doesn't override it.
1999-03-26 02:07:55 +00:00
simonb
aff677bcae
Updates for new bootblocks.
1999-03-25 12:24:56 +00:00
simonb
5010ae76c0
Remove old (not-enabled) local support for loading kernels.
1999-03-25 12:16:04 +00:00
simonb
b295b577e1
Second stage bootblocks based on original single stage blocks.
1999-03-25 12:11:41 +00:00
simonb
2dde1643c2
Makefile for /boot.
1999-03-25 12:10:12 +00:00
simonb
7c060ce391
Version info for bootblocks.
1999-03-25 11:57:41 +00:00
simonb
26098f27a2
Emtpy twiddle() to save space in stage 1 bootblocks
1999-03-25 05:28:36 +00:00
simonb
b9b7830d05
Unused now.
1999-03-25 05:27:00 +00:00
simonb
1e80ec96a0
Only include the dec disklabel at the start of BOOTXX is defined.
1999-03-25 05:23:48 +00:00