cgd
e1b1b6b39b
update for booted_dev and disk->blkdev changes.
1999-04-02 03:20:00 +00:00
cgd
39ea91226c
move the boot/disk.* code to common/blkdev.*, and gut it. The previous
...
guts were actually functionally equivalent to the current guts, but were
much larger, filled with bugs, and indeed poked around at the disklabel
when some of those bugs prevented them from ever using the disklabel!
1999-04-02 03:17:28 +00:00
cgd
7c4cd2bb56
unrevert the changes made last night, now that 'installboot' has
...
had a few bugs fixed that let the problem slip in, and since bootxx's
Makefile now goes out of its way to satisfy installboot's undocumented
and totally unreasonable assumptions about the bootxx file it's operating
on. No point in fixing the assumptions, because sooner rather than later
this incarnation of installboot is going to die.
1999-04-02 03:11:57 +00:00
ross
9c323a2d8b
Revert recent changes, which either don't work, or can't be built
...
successfully by ordinary mortals.
1999-04-01 11:08:39 +00:00
cgd
801906b363
GC; unused
1999-03-31 06:37:13 +00:00
cgd
4a209e30f8
Compile with -Os (optimize for size).
...
Clean up the "Region 1" related definitions, and define load addresses,
max load size, and max total size for as many boot block types as we can.
(types = unified, primary, secondary). We can't always define all
values for all boot blocks, though.
Make CPP flags selection less gross.
Use objcopy rather than headersize (yay, evil gets a stake to the heart!).
Use a little shell script to verify that the sizes of the boot blocks are OK.
Do not compile too much more of libsa than we actually have to.
1999-03-31 02:52:11 +00:00
ross
5bc91073ce
Bug fix for the bug fix. Be sure to prom_close() in bootxx and boot, but not
...
in netboot, and not in diskclose(), but after trying all kernelnames[].
1999-03-27 09:01:27 +00:00
ross
6ee909b24f
Fix bug found by Bernd "Veego" Ernesti: close the console disk channel.
1999-03-26 20:53:12 +00:00
ross
509315b9e0
We don't call prom_open() here anymore, so don't call prom_close() either!
1998-12-28 09:12:52 +00:00
ross
74f36b2497
Try the ustarfs open first...it's the only one that can't necessarily
...
seek. We might be reading a tape and the extra superblock reads will
eat up tape records.
1998-10-15 00:51:22 +00:00
ross
9c29657a67
Extern def for raw prom disk file descriptor.
1998-10-15 00:49:34 +00:00
ross
b0367fb980
Don't actually do the raw prom open here.
1998-10-15 00:48:55 +00:00
ross
ec4de2679b
Track tfs -> ustarfs change.
1998-09-24 05:23:58 +00:00
ross
10da0cf1c3
Add fs_ops to file_system[] for the ustar-format `tfs'.
1998-09-22 00:39:31 +00:00
thorpej
4893f22399
Much more sane boot block builds, from Chris Demetriou.
1998-03-28 00:21:35 +00:00
drochner
281398581a
-Wall fixes
1997-09-06 14:08:27 +00:00
drochner
3b191b29c0
enable -Wall
1997-09-06 14:07:57 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
thorpej
6a2fc99857
STRIP -> STRIPFLAG
1997-04-17 07:27:46 +00:00
cgd
562fa9b97d
clean up NetBSD RCS ID strings
1997-04-06 08:39:37 +00:00
cgd
776b6dcbca
hack to fake up disklabel
1997-04-01 17:23:04 +00:00
cgd
21ad990583
reorganize Alpha boot block sources: put common sources in a 'common'
...
directory (so they don't clutter up the arch/alpha/stand), and put
not-common sources in programs' directories.
1997-01-24 01:52:35 +00:00
cgd
1fca013b1e
add support for reading gzipped kernels.
1997-01-23 23:10:34 +00:00
cgd
1c88f56c26
update for new kernel library build process
1997-01-23 22:31:32 +00:00
cgd
0512081ce4
bump version
1997-01-18 01:59:32 +00:00
cgd
d3bfc848a9
if a file name is given (i.e. BOOTED_FILE) is set, boot only that file,
...
but if not then try to boot "netbsd", "netbsd.bak", "netbsd.old", and
"onetbsd" (in that order) until one is found or until the list of names
is exhausted.
1997-01-18 01:58:32 +00:00
cgd
b9b13b5fb1
add cd9660 file system ops to the file system ops table
1997-01-18 01:51:58 +00:00
cgd
d5260695b3
move an 'int debug;' into boot.c (it was the only diff between boot.c and
...
netboot.c), and nuke netboot.c (using boot.c instead for network boot blocks).
1997-01-18 00:59:46 +00:00
cgd
abcd6f59bf
remove a kludge which was breaking multiple opens/closes of the disk
1997-01-18 00:31:48 +00:00
cgd
7e7bb6e04d
clean up a bit. include libraries more carefully, so that when compressed
...
read code is integrated into libsa things will work properly.
1997-01-17 21:14:31 +00:00
cgd
3fb0a713f5
seriously clean up makefiles. use libsa/libkern/libz as appropriate,
...
and don't build the various sources into objs locally by specifying
them directly in the Makefiles.
1997-01-16 02:59:08 +00:00
thorpej
150c33e60b
Use ${INSTALL}.
1996-10-18 05:55:26 +00:00
cgd
8cab2f173f
update for changes in asm.h
1996-10-17 02:50:38 +00:00
cgd
c54f6f32d9
update for ELF toolchain support
1996-09-23 04:32:59 +00:00
cgd
886dba6dff
(1) split load-file functionality out from the 'main program' of the
...
boot block, since it will be shared with the network boot block.
(2) Kill a.out support, since it never worked was never used, and will
never be.
(3) Add support for booting of ELF kernels, from Matt Thomas. (Currently
untested, but it compiles.)
1996-09-17 22:00:24 +00:00
cgd
643339aa90
Don't pass arguments to the kernel, trim unnecessary environment
...
calls, kill 'ask' loop (i.e. if boot fails, halt), seperate
ECOFF and a.out support into seperate options.
1996-06-14 20:02:52 +00:00
cgd
3393d0e53b
a few more minor ecoff-header-related tweaks.
1996-05-10 00:15:04 +00:00
cgd
56017a3c1e
update to include <sys/exec_ecoff.h>, rather than the alpha-specific
...
(and redundant) coff.h file (which has now been removed).
1996-05-09 23:54:07 +00:00
cgd
1d001142a9
don't forget dkcksum.c, now that it's seperate
1996-04-12 01:35:15 +00:00
cgd
deb4082f80
wholesale update from my NetBSD/Alpha source tree. Includes:
...
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
1995-11-23 02:33:17 +00:00
cgd
f9e02471d0
make boot blocks work on AlphaStation systems
1995-06-28 00:58:44 +00:00
cgd
504990e332
fill up device switches, clean up a couple of mistakes.
1995-02-27 16:36:07 +00:00
cgd
b2c99bfbc2
RCS ids, some missing copyrights.
1995-02-16 02:32:50 +00:00
cgd
85854cb4ad
preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO
...
THE REST OF THE KERNEL ARE IN THE TREE YET. Also, some of this is
_incredibly_ hack-ish, etc., but it works.
1995-02-13 23:06:39 +00:00