simonb
d3706e51e4
Remove some useless comments.
2003-05-29 03:53:57 +00:00
drochner
b6a21881e2
allow loading the bootloader via MOP
2003-03-27 19:40:42 +00:00
drochner
2e8a9de36c
memcmp()->bcmp(), this gives us 32 bytes and makes bootxx_ffs
...
build again
2003-03-20 18:41:46 +00:00
drochner
e537123c66
cope with changes to libsa/netif.h
...
(This shouldn't use libsa/netif at all.)
2003-03-13 13:55:24 +00:00
simonb
3a93f29238
Update for LFSv2 support. Ports that have "bootxx_lfs"-style
...
bootblocks currently only support LFSv2, but the second level
"boot" program supports both LFS versions.
2003-02-23 23:23:07 +00:00
simonb
9c7531221b
Use a 32-bit daddr_t so that lib/libsa/{ufs,lfs}.c don't pull in 64
...
bit divide and modulus library routines that break the tight space
constraints on bootblocks on these platforms.
May not be the final solution, but gets bootblocks building again.
2003-02-01 23:58:48 +00:00
jdolecek
d9944f3152
need -mno-abicalls in AFLAGS as well, so that .S would be compiled as
...
non-PIC same way as .c
2002-12-09 12:42:18 +00:00
jdolecek
a74b5c71e2
build with -ffreestanding
2002-12-09 12:20:56 +00:00
jdolecek
4f2661e403
add #include <lib/libkern/libkern.h> to pull in prototypes
...
for couple items which don't have implicit prototypes with -ffreestanding
2002-12-09 12:14:10 +00:00
lukem
fb7bc8541e
arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
...
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
jdolecek
6710074860
update comment
2002-06-18 20:23:08 +00:00
simonb
91a4b7da7f
Use "NOMAN=" instead of "MKMAN=no"; per lukem.
2002-05-07 02:13:51 +00:00
simonb
79cc6dcb79
Remove a "NOMAN="; Makefile.booters now has MKMAN=no.
2002-05-07 02:04:26 +00:00
jdolecek
f1a07a4001
no manpages here
2002-05-05 22:09:05 +00:00
gmcgarry
2a622dde25
Pull in <bsd.own.mk> for definition of ELF2ECOFF.
2002-05-04 07:26:11 +00:00
lukem
dab39d6237
use ${ELF2ECOFF} from <bsd.{own,sys}.mk>
2002-04-12 05:11:17 +00:00
lukem
230e0c2c3e
Decommission pmax MD installboot in favour of MI installboot.
...
(Woo! pmax first again - hi Simon! :-)
2002-04-04 22:59:33 +00:00
gmcgarry
dd71debbae
Test for USETOOLS properly.
...
cVS: ----------------------------------------------------------------------
2002-03-20 20:15:18 +00:00
simonb
02383cded0
The "debug" variable is only used during network debugging, and then
...
only if NET_DEBUG is defined. Put it's declaration and initialisation
inside '#ifdef NET_DEBUG' and save another 16 bytes.
2002-03-15 13:31:08 +00:00
gmcgarry
feb0773e27
Support two-stage netboot. Is known to work on maxine, but problems
...
have been reported on 3min.
2002-02-23 21:43:57 +00:00
lukem
0d0b003e9c
use ${INSTALL_FILE} instead of "cp -p"
2002-01-31 04:23:15 +00:00
lukem
b0b0a32ad7
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
...
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv
8e6f7afb5b
MKfoo=no -> NOfoo
2001-12-12 01:48:43 +00:00
tv
5489b30b60
${MAKE} print-objdir -> ${PRINTOBJDIR}
2001-11-14 00:58:48 +00:00
scw
45e7238a02
Bump the version numbers of all bootloaders which use loadfile_elfXX() now
...
that it tries hard to avoid backwards seeks.
2001-11-09 19:53:11 +00:00
simonb
bc2ec5e553
Use a single ldscript instead of separate scripts for either endianness;
...
use command line parameters to ld(1) instead to set the endian format.
Clean up some endian decisions in mips/conf/Makefile.mips.
Wrap some long lines.
2001-10-05 05:03:27 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
tsutsui
baa3ec7385
Fix errors on make cleandir in stand/boot* dirs.
...
Patch from misc/14012 by kwellsch@tampabay.rr.com .
2001-09-22 05:19:39 +00:00
bjh21
ad2c12a28d
Bump version numbers of all bootloaders that use loadfile/ELF, to account for
...
my changes to symbol loading. I should probably have done this at the time,
but it's better late than never.
2001-08-02 12:24:05 +00:00
simonb
c23e6dcb90
b{cmp,copy,zero} -> mem{cmp,cpy,set}
...
Also remove some unnecessary argument casts.
2001-07-07 14:20:59 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
dmcmahill
028cdb58b4
add '-s' option which will cause the installboot program to recalculate the
...
16 bit sun checksum. This flag is needed when making iso 9660 images which
are bootable on both sparc and pmax machines.
this addresses PR port-pmax/10929
2000-10-17 01:54:30 +00:00
dmcmahill
7eb3c0fb47
make the MAGIC check be endian safe when clearing the bootstrap.
2000-10-16 13:47:17 +00:00
dmcmahill
339897211a
make this be endian independent. The installboot program now works correctly
...
on big endian machines as well as little endian machines.
2000-10-15 03:14:24 +00:00
simonb
57a9ae4559
Add support for booting off RAIDframe RAID1 mirrors.
...
If the first partition is of type FS_RAID, then add 64 to the block
number for each I/O in rzstrategy().
2000-09-13 04:06:46 +00:00
jhawk
a022cf9d37
Use
...
${MAKE}
instead of
make
2000-08-30 23:51:46 +00:00
jdolecek
5942ac860b
switch to sys/conf/newvers_stand.sh for generating vers.c
2000-07-13 22:25:14 +00:00
jdolecek
9c15bcabda
switch to sys/conf/newvers_stand.sh for generating vers.c
...
sync comments in */version with i386
2000-07-13 22:18:12 +00:00
jdolecek
f6330c6500
switch to sys/conf/newvers_stand.sh for generating vers.c
...
sync comments in */version with i386
add a hack to ${PROG} target so that symlinks machine, pmax, mips are
created properly even when building on NetBSD/pmax 1.4.1
2000-07-13 22:18:08 +00:00
soren
e3c19eafd0
Update comment.
2000-07-11 01:02:44 +00:00
matt
1b7636d353
uint32_t -> u_int32_t
2000-06-21 20:41:13 +00:00
matt
1976bfc798
Use <dev/dec/dec_boot.h>. Use *le32* to set boot block info. XXX Needs to
...
use *le32* to read ELF bootstrap file.
2000-06-16 23:24:30 +00:00
matt
1881f3c3d2
Make this compilable on other than pmax.
2000-06-11 23:28:38 +00:00
soren
b70819c71a
Also share BE ldscripts.
2000-05-21 02:50:10 +00:00
simonb
bf851ea6cb
Nuke register.
2000-03-30 14:45:04 +00:00
soren
95054da1a1
Fix doubled 'the's in comments.
2000-03-13 23:52:25 +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
simonb
e065c9fbda
Store only the kernel name itself in the bootinfo BOOTPATH record, and
...
not the full boot device specification.
With this change, /etc/rc doesn't spew garbage when kvm_mkdb can't
find a kernel called "3/rz0/netbsd" or some such...
1999-12-08 14:23:34 +00:00
simonb
3328370469
Return the blocksize-rounded-up length (which was the size malloc()d
...
anyway). The resultant pwrite() is now a multiple of the blocksize and
doesn't fail on a pmax with the MI SCSI driver.
Problem noticed by Tohru Nishimura.
1999-12-01 05:02:03 +00:00