thorpej
6e17c402e6
Add -ffreestanding to CFLAGS. Remove the GCC 2.8 check around
...
-Wno-main (always include -Wno-main).
2002-01-05 01:22:21 +00:00
lukem
95c845e4fc
add -Os to COPTS after <bsd.prog.mk> is pulled in rather than adding
...
it in CFLAGS beforehand, as a user's mk.conf COPTS+=-O2 results in
boot files that are too large.
2001-12-30 16:32:29 +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
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
thorpej
e727e3f180
Split elf32 vs. elf64 handling in loadfile(), including support for
...
each separately and explicitly. BOOT_ELF is now BOOT_ELF32 and
BOOT_ELF64, and ELFSIZE should no longer be defined in loadfile_machdep.h.
2001-10-31 17:20:45 +00:00
tv
ab11c169b5
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
...
now in bsd.own.mk).
2001-09-22 03:34:17 +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
wiz
684d06bac8
bcopy -> memcpy, bzero -> memset
2001-07-22 15:17:30 +00:00
wiz
a9356936b4
seperate -> separate
2001-07-22 13:33:58 +00:00
he
47ae105daa
Add Makefile snippets to install netboot in installation/netboot
...
under ``make release''.
2001-05-28 18:21:12 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
simonb
215a3a5491
Add support for booting off RAIDframe RAID1 mirrors.
...
Check the first partition type in devopen(), and if it is of type
FS_RAID, add 64 to blkdev_part_offset.
NOTE: This brings the size of the alpha first-stage bootblocks up to
close to the maximum. RAID1 support is controlled by the
BOOTXX_RAID1_SUPPORT define, and is easy to disable if size
becomes an issue.
2000-09-26 05:13:36 +00:00
jdolecek
911d661dad
switch to sys/conf/newvers_stand.sh for generation of version files
...
move the vers.c depend/build goo to Makefile.bootprogs and remove
explicit rules in other Makefiles
sync the message in */version files with other ports using newvers_stand.sh
XXX the new depend rules were tested to limited extend (also with obj dirs)
XXX on i386 and should be ok; the changes should not otherwise influence build
2000-07-21 21:25:18 +00:00
matt
58ca6aac15
Add netbsd.alpha & netbsd.alpha.gz for installation cds.
2000-06-12 23:38:03 +00:00
tsutsui
11c8f56d48
Revert STRIPPROG -> STRIP
2000-02-01 05:25:24 +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
tsutsui
e61f177ab1
STRIP -> STRIPPROG
2000-01-19 16:29:54 +00:00
thorpej
12f7832ebc
don't need private `imb' inline anymore.
1999-11-30 22:32:08 +00:00
thorpej
728d672378
Backout my libsa changes.
1999-11-13 21:33:12 +00:00
simonb
2b6e59dd39
Don't include <lib/libkern/libkern.h> for prototypes that are also in
...
<lib/libsa/stand.h>. The alpha still needs libkern for the division
and remainder support.
1999-11-12 13:11:40 +00:00
hubertf
467dda98ab
Sync usage with the manpage (add -s)
1999-10-05 03:18:32 +00:00
ross
b18cdd3e4e
Add transition-flag -S, to regenerate alpha/sparc harmonized checksums.
1999-10-04 21:22:15 +00:00
ross
9648d2fcd6
Merge from my i386 source tree: make this build on i386 (and others)
1999-10-04 19:23:19 +00:00
ross
722e1970eb
Completely replace the logic used for sparc/alpha checksum harmonization.
1999-10-04 19:19:11 +00:00
ross
add81fb25a
New -s option. Arranges for the 64-bit alpha checksum to contain within it
...
an embedded 16-bit sparc checksum and 16-bit sparc magic number.
See also: rev 1.16
1999-09-19 04:54:57 +00:00
ross
9ff31ad0f5
New option: -s
...
.
Makes the 64-bit alpha checksum magically contain an embedded 16-bit
Sun (NetBSD/sparc) compatible magic number and checksum. This is the
last piece in the "boot one disk from alpha, sun, and i386" problem.
.
And for those who told me this had been done before, :-P. It turns out,
it was only done in the collective sense by multi-disk distributions.
1999-09-19 03:19:00 +00:00
ross
e66e48676c
Nuke the alpha ecoff/elf bootloader and use the libsa/ one instead.
1999-09-10 07:31:16 +00:00
cgd
b18820272a
add bootxx_lfs
1999-08-18 21:34:24 +00:00
cgd
a97b5505e4
add lfs support
1999-08-18 21:34:11 +00:00
cgd
82729b7302
add a makefile for an LFS primary
1999-08-18 20:02:39 +00:00
cgd
30d5d8a1e3
mention that putstr.c and putulong.c might want to be included when debugging
1999-08-18 20:01:06 +00:00
cgd
b28ae57077
add a gross putulong() function which can be useful for debugging.
...
It's not normally included.
1999-08-18 20:00:27 +00:00
cgd
e33c6c47a2
set bb_flags to zero; who knows what they were (on disk) previously,
...
and SRM is finicky about what values it will allow.
1999-06-14 23:55:29 +00:00
cgd
b6e1d0f85a
set bb_flags to 0. Though not strictly necessary (because of an earlier
...
memset()), this is nice for source-level consistency.
1999-06-14 23:52:25 +00:00
cgd
5dd4815be9
uh, get the port name consistently correct (NetBSD/alpha, not NetBSD/Alpha)
1999-05-26 06:22:03 +00:00
cgd
e9da918f1b
add some more bits, mostly stubs
1999-05-11 00:04:52 +00:00
drochner
fe310dd299
include <lib/libkern/libkern.h> for intoa()/inet_ntoa()
1999-05-07 16:19:27 +00:00
cgd
050a43f655
start on a glorified system-examination console program.
1999-04-11 03:38:51 +00:00
cgd
7f28b25d23
add support for 'standalone programs', like kernels but not the kernel.
1999-04-11 03:36:21 +00:00
cgd
13fcfc2aeb
only conditionally set BINDIR to /usr/mdec
1999-04-11 02:51:21 +00:00
cgd
f262e02775
constify bootprog_*, move their definitions into common.h, and have
...
the generated vers.c include common.h to check against definitions.
1999-04-09 17:50:15 +00:00
cgd
587e1ba75e
save 4.3 bytes on the date string! 4 == day of week plus space,
...
.3 == a space on days of the month 1-9.
1999-04-07 06:30:34 +00:00
cgd
ff54a19cef
build/install this binary as bootxx.old, so that users won't get the
...
idea that they should be using it. (no point in renaming the whole
directory since it should be dead soon enough.)
1999-04-06 18:43:18 +00:00
cgd
1fddfb80a5
consistency in boot message printouts
1999-04-05 22:03:56 +00:00
cgd
54b5d8e275
always -D NETBSD_VERS
1999-04-05 22:03:48 +00:00
cgd
ba10f0ca12
now that boot.c does the bootstrap name with a -D, the newvers scripts
...
are all the same, so eliminate the redundancy. also, use mrg's
"Version:" trick to find the version rather than using the RCS ID.
(I must have been having a ... bad day.) Also, bump boot and netboot
versions for all the changes that have been happening lately.
1999-04-05 06:56:23 +00:00
cgd
d4e15df542
don't get the name from newvers, get it from a bootstrap-specific -D
...
in the Makefile. also, print the banner before we do things that
might cause us to print error messages.
1999-04-05 06:42:14 +00:00
cgd
d430800515
GC all support except contiguous block mode. the new installboot
...
takes care of it all better.
1999-04-05 05:48:12 +00:00
cgd
f8eb5f4b98
trim off unnecessary bits
1999-04-05 05:07:04 +00:00