mycroft
8f05f33e49
Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
...
already too large, and GENERIC won't be far behind.
1999-11-09 18:39:41 +00:00
pk
560567d851
Include <sys/exec.h> instead of <a.out.h>/
1999-11-08 23:29:56 +00:00
sommerfeld
2e95b13365
Use ${SIZE}, ${OBJCOPY} rather than size and objcopy.
1999-08-21 14:18:36 +00:00
pk
fee9cd9c12
Initialize the heap (for alloc()) explicitly, since the `end' symbol
...
is not necessarily double-word aligned.
1999-06-12 12:49:24 +00:00
pk
a554ffdde0
Better pad the artificial header to exactly 32 bytes.
1999-05-03 18:59:08 +00:00
christos
6fc35c7fc8
Casts for PROM_LOADADDR which is not casted anymore.
1999-05-03 16:13:16 +00:00
christos
81248a0851
Add bootinfo struct to pass symtab arguments.
...
XXX: This does not work with ELF yet, but I don't understand why...
1999-04-30 09:29:40 +00:00
christos
1c8494b7a2
Checkpoint of elf boot stuff:
...
- Use loadfile for both boot and installboot
- Fix problems with linking in bootxx
- Make installboot work with both a.out and ELF bootxx
- *WILL NOT BOOT YET ELF KERNELS* (a.out kernels work) I am working on it.
1999-04-28 15:22:25 +00:00
pk
3846cac1e1
Use `-Ttext' switch & collect ld options in LINKFLAGS.
1999-03-05 11:13:39 +00:00
pk
d292580f3f
Use PROMLIB to streamline this code. This also provides the bulk of
...
Open Firmware boot code.
1999-02-15 18:59:36 +00:00
mrg
bb4584ec40
look for /^Version:/ to find the boot block version, rather than using
...
the "version" file's RCS id (which is useless for branches).
1999-01-15 00:48:03 +00:00
mrg
ed88a6f103
add support for finding kernels other than `netbsd'. the list is:
...
netbsd, netbsd.gz, netbsd.old, netbsd.old.gz, onetbsd, onetbsd.gz
and vmunix, in that order. this is used by the bootable `bootfs'
image (suitable for floppies and cdroms), which contains a netbsd.gz
by default.
while i'm here, fix up `boot [device] -s' which got broke when
booting kernels with a - in their name was fixed..
1998-08-29 06:40:43 +00:00
pk
964a147839
Clean vers.c & vers.o.
1997-12-18 21:03:58 +00:00
pk
639260ce32
Use DESTDIR consistently when constructing `boot.net'.
1997-11-15 14:29:36 +00:00
pk
a309481f34
Change load address to avoid cache-aliasing on machines with Harvard-style
...
cache implementations (notably the Hypersparcs).
1997-11-12 00:37:07 +00:00
pk
b5d7e8f444
Install a version of the secondary boot block in /usr/mdec that is
...
suitable for use on a server for diskless booting. Done mostly to
simplify the installation notes and avoid questions ...
1997-10-31 22:05:17 +00:00
pk
5ba6b94ba6
Do not use KERNBASE to calculate the `end of symbols' location. Instead
...
use the `a_entry' field from the kernel's header as a base.
Pass on a new DDB magic number to the kernel, so kernels linked for a
different KERNBASE value can apply a correction when booted from old
bootblocks.
1997-09-14 19:27:21 +00:00
mrg
81f7adf672
need to bump this back to version 1.7 (last one).
1997-06-01 14:08:58 +00:00
mrg
76b4fd4206
need to bump this back to version 1.7.
1997-06-01 14:08:15 +00:00
mrg
2a4bfcce7b
need to bump this back to version 1.7.
1997-06-01 14:07:27 +00:00
mrg
640e369d6c
need to bump this back to version 1.7.
1997-06-01 14:07:01 +00:00
mrg
887cadb09b
need to bump this back to version 1.7.
1997-06-01 14:06:23 +00:00
mrg
e3ee873c1f
need to bump this back to version 1.7.
1997-06-01 14:05:49 +00:00
mrg
7cedf69cbd
Completely rearrange SPARC boot code, modeling it after alpha and hp300
...
ports' boot programs. Also added support for loading gzip'd kernels,
useful for booting from floppy. From Jason R. Thorpe <thorpej@nas.nasa.gov>,
tested by Matthew Green <mrg@eterna.com.au> and Erik Fair <fair@clock.org>.
1997-06-01 03:39:03 +00:00
pk
c5c074b053
remove header munging hack.
1996-11-29 15:00:25 +00:00
mrg
a632bcbe9c
update for kern/sa lib Makefile.inc changes.
1996-10-05 23:46:43 +00:00
pk
13dcbfbb29
Make this work with OBJ dirs.
1995-09-30 21:43:35 +00:00
pk
f97c30e5fe
Network booting; "oldmon" support; combine all functionality in single images.
...
Many thanks to Gordon Ross and Chuck Cranor for figuring out and testing
the old monitor (sun4) stuff.
1995-09-16 23:20:22 +00:00