mrg
b301668cb5
build sparc64 bootblk, ofwboot, & ofwboot.net on sparc
2001-03-04 15:34:45 +00:00
mrg
e85a9ee949
this is a sparc64 program. so -DSUN4U, machine -> sparc64. cleanup.
2001-03-04 14:50:05 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
jmc
106522ed47
Add -f option. If used it will perform the low level block operations on the
...
file rather than requiring a raw device. Useful when dealing with vnd's
images and building snapshots. Also allows snapshots to be built in
securelevel > 0.
2001-02-19 06:23:55 +00:00
pk
13e03d4b43
On V0 proms, read the `idprom' property at the root node to get to the
...
station's ethernet address.
2001-01-18 12:50:10 +00:00
pk
47e4ec04e2
Dispose of `boot.net.big'.
2000-10-31 23:29:36 +00:00
pk
4bddbd7e5f
Align the DVMA mapping on NBPSG boundaries.
2000-10-31 23:28:11 +00:00
pk
628fe3035f
Change the relocation address of `boot' once again to steer clear of
...
memory used by the PROM on sun4 and early sun4c machines.
2000-10-31 23:21:47 +00:00
pk
d037bc4f59
Change to relocation addresses that currently work on all machines.
...
boot programs at alternative addresses no longer built and installed
by default.
2000-10-20 11:21:08 +00:00
pk
44f6bd0d7f
When relocating, there's no need to copy the BSS area.
2000-10-19 00:16:03 +00:00
jdolecek
27824fb036
note support for verbose/quiet boot (-v, -q flags)
2000-09-24 12:33:58 +00:00
jdolecek
49c105ffdb
add new macro BOOT_FLAG() (defined in <sys/boot_flag.h>) - this
...
maps standard boot flags to corresponding RB_* values
use BOOT_FLAG() in port's MD code as appropriate
as discussed on tech-kern, add new boot flags -v, -q for booting
verbosely or quietly, and corresponding AB_VERBOSE/AB_QUIET
boot flags; also add FreeBSD-compatible bootverbose macro and
NetBSD-specific bootquiet macro
for hpcmips, use new bootverbose instead of it's own hpcmips_verbose
Tested on i386, and to limited extend (compile of affected files) also for
mvme68k, hp300, luna68k, sun3.
2000-09-24 12:32:31 +00:00
pk
55af96281e
Pull down from 1.4 branch: default relocation address = 3E0000
2000-08-28 19:10:31 +00:00
mrg
e144281c4e
move ofwboot & bootblk here; add a Makefile to build ofwboot.net
2000-08-20 14:58:36 +00:00
mrg
85737336b4
add/merge sparc64 support.
2000-08-20 14:57:16 +00:00
mrg
9bea0e1a52
fix ultrasparc support.
2000-08-20 14:56:28 +00:00
mrg
ac5a03b4eb
find loadfile_machdep.h on sparc64.
2000-08-16 08:24:01 +00:00
mrg
7d27fced15
remove some ".sparc64" file suffixes that are not necessary.
2000-08-10 13:34:39 +00:00
mrg
3f0e682019
add sparc64 support.
2000-08-10 13:27:47 +00:00
jdolecek
ab07c9d5a9
switch to sys/conf/newvers_stand.sh for generation of version file
...
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 22:02:54 +00:00
sommerfeld
88067a43e3
Build a boot_big.net (based at 700000) in addition to boot.net,
...
allowing you to netboot a kernel with a ramdisk inside on systems
where memory is laid out to allow this.
2000-07-03 02:04:02 +00:00
fvdl
51e81216d1
Rearrange previous slightly to avoid getting values that are too low;
...
the only goal here is to leave some space for the stack.
2000-06-18 23:03:45 +00:00
fvdl
8dde6d4336
Account for the stack when computing the base va. This makes the
...
bootblocks work again on the 4/110.
2000-06-18 02:25:17 +00:00
pk
cd955cb171
dvma_init: avoid integer variable overflow
2000-04-14 14:14:47 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +00:00
mycroft
b27007be2c
Make dependall work.
2000-03-13 03:25:20 +00:00
pk
546bda740f
Revert to using <bsd.prog.mk> again, so we support all targets that may
...
be presented when building the system (noticed by Juergen Hannken-Illjes).
2000-02-26 11:48:15 +00:00
pk
9bbc61deaa
We need <bsd.obj.mk>.
2000-02-25 16:53:22 +00:00
pk
dd6a9d86b0
SUN_BOOTPARAM compile-time option is no longer used.
2000-02-21 15:13:11 +00:00
pk
f89828d99f
bootxx links at 0x340000
...
2nd-stage boot programs choices: 0x200000,0x300000,0x400000,0x700000 (default: 0x300000)
2000-02-21 15:07:32 +00:00
pk
ea0dbfe79c
RELOC -> RELOC_DEFAULT
2000-02-21 14:44:18 +00:00
pk
8305907589
Build several versions of the second-stage boot program, each linked
...
to run at a different base address. Boot image build procedures can
pick one which is least likely to fail..
The default boot program is again build to run at 0x340000.
2000-02-21 14:41:22 +00:00
pk
52014b23c5
Allow second-stage boot program to be specified on the command line.
2000-02-15 16:15:07 +00:00
pk
59742052ea
Determine base address at run time.
2000-02-15 14:09:59 +00:00
pk
9bb753bb2e
Nuke unused code.
2000-02-15 12:18:05 +00:00
mycroft
7b49d242ce
Clean up the machine symlink stuff ever so slightly. Needs to be
...
standardized between files.
2000-01-23 17:04:03 +00:00
pk
d76bf6c906
Try both the BOOTPARAMS and BOOTP protocol (in that order). This also
...
takes care of PR#8738.
2000-01-22 12:34:57 +00:00
pk
a24fb44ddf
Pull header files from `syssrc' since we use libsa/loadfile().
1999-11-29 14:49:12 +00:00
pk
e0118ca933
Suppress the machine' symlink when making target
obj'.
...
Also add it to the clean target list.
1999-11-25 13:27:30 +00:00
pk
a9cdefb6e6
Remove implementation of the -h' and
-a' options.
1999-11-13 12:09:41 +00:00
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
pk
a96dbfa190
Remove inclusion of unused headers.
1999-11-08 23:29:05 +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
69b216aefe
xmit' &
recv' return `ssize_t'
1999-05-27 14:04:25 +00:00
drochner
fe310dd299
include <lib/libkern/libkern.h> for intoa()/inet_ntoa()
1999-05-07 16:19:27 +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