Home | History | Annotate | only in /src/sys/arch/sparc/stand/boot
History log of /src/sys/arch/sparc/stand/boot
RevisionDateAuthorComments
 1.46 03-Jun-2023  lukem adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
which works for both clang and gcc, and remove compiler-specific
equivalents.
 1.45 03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.44 06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.43 03-Jun-2020  rin Appease clang -Waddress-of-packed-member for <ufs/lfs/lfs_accessors.h>,
in the same manner as done for sparc64; pointer substitution is just for
sanity check and harmless there.
 1.42 28-Apr-2017  christos Also move bootjs.net after we've evaluated $OBJS (thanks gson@)
 1.41 09-Apr-2017  christos branches: 1.41.4;
move .for generated rules after OBJS have been set.
 1.40 08-Apr-2017  christos centralize vers.c building for standalone programs.
 1.39 10-Mar-2016  martin branches: 1.39.2; 1.39.4;
Strip debug symbols from boot code
 1.38 28-Aug-2011  mrg branches: 1.38.12; 1.38.30;
emit some linker -Map files so that we can figure out what symbols
in the boot loaders are.
 1.37 22-Jan-2011  joerg Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.36 13-Dec-2009  nakayama branches: 1.36.4; 1.36.6; 1.36.8;
System utilities, boot programs and kernel modules are machine
(port) specific not CPU, so use MACHINE not MACHINE_ARCH.
 1.35 14-Feb-2009  abs Convert more MACHINE tests to MACHINE_ARCH
 1.34 11-Dec-2005  christos branches: 1.34.78; 1.34.86; 1.34.92;
merge ktrace-lwp.
 1.33 10-Jul-2005  martin Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
root-path). From Christos.
 1.32 15-Dec-2003  martin branches: 1.32.14; 1.32.16;
Rename the JavaStation network boot loader: bootjs.elf -> bootjs.net.
 1.31 12-Dec-2003  martin Add support to build bootjs.elf - the secondary bootstrap used to netboot
JavaStations. Based on patches from Valeriy E. Ushakov.
 1.30 26-Oct-2003  lukem Use ${HOST_SH} instead of `sh'.

If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
 1.29 30-Jul-2003  mrg sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)
 1.28 01-Mar-2003  pk branches: 1.28.2;
Add support for large kernels by searching for a physical memory segment
to fit it in. As a bonus, the kernel is now also mapped to the virtual
address (i.e. KERNBASE) it is linked at.
 1.27 04-Dec-2001  thorpej Don't declare which exec formats to support in loadfile_machdep.h.
Instead, give each user of loadfile() control over which exec formats
it wants to support.
 1.26 22-Sep-2001  tv branches: 1.26.4;
objcopy -> ${OBJCOPY}; remove redundant definitions of OBJCOPY?= (it is
now in bsd.own.mk).
 1.25 22-Sep-2001  mrg use the 32-bit compiler on sparc64 (but not yet enabled.)
 1.24 21-Jun-2001  uwe branches: 1.24.2; 1.24.4;
Add PROM patches (forth code) as a table indexed with root node name
and prom version. Little tweaks to prom during secondary boot are
much easier then fragile work-arounds in the kernel. Currently this
is used for JavaStation 1 with OBP3.
 1.23 31-Oct-2000  pk Dispose of `boot.net.big'.
 1.22 21-Jul-2000  jdolecek 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
 1.21 03-Jul-2000  sommerfeld 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.
 1.20 13-Mar-2000  mycroft branches: 1.20.4;
Make dependall work.
 1.19 26-Feb-2000  pk 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).
 1.18 25-Feb-2000  pk We need <bsd.obj.mk>.
 1.17 21-Feb-2000  pk 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.
 1.16 09-Nov-1999  mycroft branches: 1.16.2;
Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
already too large, and GENERIC won't be far behind.
 1.15 21-Aug-1999  sommerfeld branches: 1.15.2; 1.15.4; 1.15.6;
Use ${SIZE}, ${OBJCOPY} rather than size and objcopy.
 1.14 03-May-1999  pk Better pad the artificial header to exactly 32 bytes.
 1.13 30-Apr-1999  christos Add bootinfo struct to pass symtab arguments.
XXX: This does not work with ELF yet, but I don't understand why...
 1.12 28-Apr-1999  christos 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.
 1.11 05-Mar-1999  pk branches: 1.11.2; 1.11.4;
Use `-Ttext' switch & collect ld options in LINKFLAGS.
 1.10 15-Feb-1999  pk Use PROMLIB to streamline this code. This also provides the bulk of
Open Firmware boot code.
 1.9 18-Dec-1997  pk Clean vers.c & vers.o.
 1.8 15-Nov-1997  pk Use DESTDIR consistently when constructing `boot.net'.
 1.7 12-Nov-1997  pk Change load address to avoid cache-aliasing on machines with Harvard-style
cache implementations (notably the Hypersparcs).
 1.6 31-Oct-1997  pk 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 ...
 1.5 01-Jun-1997  mrg branches: 1.5.8;
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>.
 1.4 29-Nov-1996  pk remove header munging hack.
 1.3 05-Oct-1996  mrg update for kern/sa lib Makefile.inc changes.
 1.2 30-Sep-1995  pk Make this work with OBJ dirs.
 1.1 16-Sep-1995  pk 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.
 1.5.8.3 15-Nov-1997  mellon Pull rev 1.8 up from trunk (pk)
 1.5.8.2 14-Nov-1997  mellon Pull rev 1.7 up from trunk (pk)
 1.5.8.1 04-Nov-1997  mellon Pull rev 1.6 up from trunk (pk)
 1.11.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.11.2.3 28-Feb-2000  he Apply patch (requested by toddpw):
Add an include target so that ``make build'' works.
 1.11.2.2 28-Feb-2000  he Pull up revision 1.18 (requested by pk):
Make sure ``make obj'' works.
 1.11.2.1 22-Feb-2000  he Apply patch (requested by pk):
Make several sparc boot programs to run at different relocated
addresses. The boot build procedures can then pick the one which
is least likely to fail.
 1.15.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.15.4.1 15-Nov-1999  fvdl Sync with -current
 1.15.2.2 22-Nov-2000  bouyer Sync with HEAD.
 1.15.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.16.2.2 09-Nov-1999  mycroft Move the boot block load address from 3MB to 7MB. The INSTALL kernel is
already too large, and GENERIC won't be far behind.
 1.16.2.1 09-Nov-1999  mycroft file Makefile was added on branch comdex-fall-1999 on 1999-11-09 18:39:42 +0000
 1.20.4.1 26-Aug-2000  mrg "pull up" (via patch) fixes for sparc64 vs sparc boot blocks. (this is
resolved on the trunk with newvers_stand.sh). approved by thorpej.
 1.24.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.24.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.26.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.26.4.1 22-Sep-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:27:54 +0000
 1.28.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.28.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.28.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.28.2.1 03-Aug-2004  skrll Sync with HEAD
 1.32.16.1 21-Jun-2006  yamt sync with head.
 1.32.14.1 10-Jul-2005  tron Pull up revision 1.33 (requested by christos in ticket #567):
Add SUPPORT_DHCP - otherwise bootp does not work (packet is too short for
root-path). From Christos.
 1.34.92.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.34.86.1 03-Mar-2009  skrll Sync with HEAD.
 1.34.78.2 11-Mar-2010  yamt sync with head
 1.34.78.1 04-May-2009  yamt sync with head.
 1.36.8.1 08-Feb-2011  bouyer Sync with HEAD
 1.36.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.36.4.1 05-Mar-2011  rmind sync with head
 1.38.30.2 28-Aug-2017  skrll Sync with HEAD
 1.38.30.1 19-Mar-2016  skrll Sync with HEAD
 1.38.12.1 03-Dec-2017  jdolecek update from HEAD
 1.39.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.39.2.1 26-Apr-2017  pgoyette Sync with HEAD
 1.41.4.1 02-May-2017  pgoyette Sync with HEAD - tag prg-localcount2-base1
 1.30 11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.29 27-Nov-2015  joerg Don't use dynamically sized unions, they are a horrible GNUism. Just use
the existing upper limit all the time.
 1.28 28-May-2012  martin branches: 1.28.2; 1.28.16;
Pass the "boothowto" from the bootloader to the kernel.
If (an old) bootloader did not pass the flags, check explicitly if we
missed RB_USERCONF and invoke userconf_prompt() in MD code, as MI code
already missed it.
This fixes PR 46466.
 1.27 22-Jan-2011  joerg branches: 1.27.4; 1.27.8; 1.27.10;
Drop bootprog_maker (formerly enabled by -M) and bootprog_date (formerly
disabled by -D) from the output of newvers_stand.sh. Change -D to the
inverted logic, so that it adds the date to bootprog_rev in ().

Change all platforms accordingly. -D is added if MKREPRO is not yes and
wasn't present before. Platforms that didn't use -D don't depend on
MKREPRO now either.
 1.26 25-Aug-2010  christos branches: 1.26.2; 1.26.4;
factor out the floppy detection code.
 1.25 25-Aug-2010  christos Don't LOAD_BACKWARDS for floppies.
 1.24 04-Mar-2007  christos branches: 1.24.44; 1.24.64; 1.24.66;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.23 13-Jul-2006  uwe branches: 1.23.10;
De-__P. ANSIify.

Same object code is generated (except in prf.c, where putchar argument
type was changed to int to match the prototype and one instrcution
changes accordingly).

strategy() in ofdev.c was not ANSIified in this sweep, b/c that
changes code generated at call sites!
 1.22 11-Dec-2005  christos branches: 1.22.4; 1.22.8;
merge ktrace-lwp.
 1.21 03-Jun-2005  martin branches: 1.21.2;
constify
 1.20 27-Apr-2005  martin Do not rely on strings to which pointers are returned by promlib functions
to persist accross further promlib calls.
This fixes (at least) bootjs.net.
 1.19 08-Apr-2004  pk branches: 1.19.4; 1.19.10;
compat mode: skip double map at VA 0 if the physical load address is 0.
This allows a much wider range of historic kernels to be booted (w/ `-C').
 1.18 07-Aug-2003  agc branches: 1.18.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.17 30-Jul-2003  mrg sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)
 1.16 10-Jul-2003  pk compat mode:
* print warning if kernel image is too large.
* adjust `required space' computation to be more compatible to
what it was before.
* since there's still no code to recognise `old kernels', provide
a way to turn on `compatmode' manually, using the `-C' boot option.
 1.15 01-Mar-2003  pk branches: 1.15.2;
Add support for large kernels by searching for a physical memory segment
to fit it in. As a bonus, the kernel is now also mapped to the virtual
address (i.e. KERNBASE) it is linked at.
 1.14 25-Feb-2003  pk * Use fdloadfile() to avoid opening the the underlying device twice.
* Cleanup old stuff.
 1.13 11-Dec-2002  pk * loadfile() return a file descriptor that must be closed.
* check the kernel size before loading
 1.12 09-Nov-2002  uwe Use BOOT_FLAG() macro to process flags.
 1.11 28-Mar-2002  pk Pass actual loaded kernel file in bootinfo[].
 1.10 21-Jun-2001  uwe branches: 1.10.2; 1.10.8;
Add PROM patches (forth code) as a table indexed with root node name
and prom version. Little tweaks to prom during secondary boot are
much easier then fragile work-arounds in the kernel. Currently this
is used for JavaStation 1 with OBP3.
 1.9 08-Nov-1999  pk Include <sys/exec.h> instead of <a.out.h>/
 1.8 12-Jun-1999  pk branches: 1.8.2; 1.8.4; 1.8.8;
Initialize the heap (for alloc()) explicitly, since the `end' symbol
is not necessarily double-word aligned.
 1.7 03-May-1999  christos Casts for PROM_LOADADDR which is not casted anymore.
 1.6 30-Apr-1999  christos Add bootinfo struct to pass symtab arguments.
XXX: This does not work with ELF yet, but I don't understand why...
 1.5 28-Apr-1999  christos 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.
 1.4 15-Feb-1999  pk branches: 1.4.4;
Use PROMLIB to streamline this code. This also provides the bulk of
Open Firmware boot code.
 1.3 29-Aug-1998  mrg 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..
 1.2 14-Sep-1997  pk branches: 1.2.2;
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.
 1.1 01-Jun-1997  mrg branches: 1.1.4;
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>.
 1.1.4.1 16-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2.2.1 19-Jan-1999  cgd pull up rev 1.3 from trunk (mrg)
 1.4.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.8.8.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.4.1 15-Nov-1999  fvdl Sync with -current
 1.8.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.10.8.4 11-Dec-2002  thorpej Sync with HEAD.
 1.10.8.3 11-Nov-2002  nathanw Catch up to -current
 1.10.8.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.10.8.1 21-Jun-2001  nathanw file boot.c was added on branch nathanw_sa on 2002-04-01 07:42:56 +0000
 1.10.2.1 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.15.2.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.15.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.15.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.15.2.1 03-Aug-2004  skrll Sync with HEAD
 1.18.2.1 08-Apr-2004  jdc branches: 1.18.2.1.2;
Pull up revision 1.19 (requested by pk in ticket #95)

compat mode: skip double map at VA 0 if the physical load address is 0.
This allows a much wider range of historic kernels to be booted (w/ `-C').
 1.18.2.1.2.1 12-May-2005  riz Pull up revision 1.20 (requested by martin in ticket #1484):
Do not rely on strings to which pointers are returned by promlib functions
to persist accross further promlib calls.
This fixes (at least) bootjs.net.
 1.19.10.1 28-Apr-2005  tron Pull up revision 1.20 (requested by martin in ticket #210):
Do not rely on strings to which pointers are returned by promlib functions
to persist accross further promlib calls.
This fixes (at least) bootjs.net.
 1.19.4.1 29-Apr-2005  kent sync with -current
 1.21.2.2 03-Sep-2007  yamt sync with head.
 1.21.2.1 30-Dec-2006  yamt sync with head.
 1.22.8.1 11-Aug-2006  yamt sync with head
 1.22.4.1 09-Sep-2006  rpaulo sync with head
 1.23.10.1 12-Mar-2007  rmind Sync with HEAD.
 1.24.66.1 05-Mar-2011  rmind sync with head
 1.24.64.1 22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.24.44.1 09-Oct-2010  yamt sync with head
 1.26.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.26.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.27.10.1 05-Jun-2012  jdc Pull up revisions:
src/sys/arch/sparc/include/bootinfo.h revision 1.6
src/sys/arch/sparc/sparc/autoconf.c revision 1.243
src/sys/arch/sparc/stand/boot/boot.c revision 1.28
src/sys/arch/sparc/stand/ofwboot/boot.c revision 1.29
src/sys/arch/sparc64/include/bootinfo.h revision 1.6-1.7
src/sys/arch/sparc64/sparc64/autoconf.c revision 1.186
(requested by martin in ticket #289).

Pass the "boothowto" from the bootloader to the kernel.
If (an old) bootloader did not pass the flags, check explicitly if we
missed RB_USERCONF and invoke userconf_prompt() in MD code, as MI code
already missed it.
This fixes PR 46466.

Ooops, remove definitions duplicated in <sparc/bootinfo.h>
 1.27.8.1 02-Jun-2012  mrg sync to latest -current.
 1.27.4.1 30-Oct-2012  yamt sync with head
 1.28.16.2 09-Jul-2016  skrll Sync with HEAD
 1.28.16.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.28.2.1 03-Dec-2017  jdolecek update from HEAD
 1.3 14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.2 28-Apr-2008  martin branches: 1.2.8; 1.2.14;
Remove clause 3 and 4 from TNF licenses
 1.1 30-Apr-1999  christos branches: 1.1.2; 1.1.140; 1.1.142; 1.1.144;
Add bootinfo struct to pass symtab arguments.
XXX: This does not work with ELF yet, but I don't understand why...
 1.1.144.2 04-May-2009  yamt sync with head.
 1.1.144.1 16-May-2008  yamt sync with head.
 1.1.142.1 18-May-2008  yamt sync with head.
 1.1.140.1 02-Jun-2008  mjf Sync with HEAD.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.2.14.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.2.8.1 28-Apr-2009  skrll Sync with HEAD.
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 13-Jul-2006  uwe branches: 1.2.58; 1.2.60; 1.2.62;
De-__P. ANSIify.

Same object code is generated (except in prf.c, where putchar argument
type was changed to int to match the prototype and one instrcution
changes accordingly).

strategy() in ofdev.c was not ANSIified in this sweep, b/c that
changes code generated at call sites!
 1.1 30-Apr-1999  christos branches: 1.1.2; 1.1.54; 1.1.68; 1.1.72;
Add bootinfo struct to pass symtab arguments.
XXX: This does not work with ELF yet, but I don't understand why...
 1.1.72.1 11-Aug-2006  yamt sync with head
 1.1.68.1 09-Sep-2006  rpaulo sync with head
 1.1.54.1 30-Dec-2006  yamt sync with head.
 1.1.2.1 21-Jun-1999  thorpej Sync w/ -current.
 1.2.62.1 16-May-2008  yamt sync with head.
 1.2.60.1 18-May-2008  yamt sync with head.
 1.2.58.1 02-Jun-2008  mjf Sync with HEAD.
 1.12 11-Dec-2005  christos merge ktrace-lwp.
 1.11 14-Aug-2005  uwe Constify. Make (the only) submatch function static.
Prettify some comments.
 1.10 14-Aug-2005  macallan add a prom patch that creates a device node for the Krups' audio chip
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
 1.9 18-Mar-2004  hannken branches: 1.9.14; 1.9.16;
Rename PROM_getpropstring* => prom_getpropstring*
 1.8 13-Feb-2004  wiz Uppercase CPU, plural is CPUs.
 1.7 30-Jul-2003  mrg sprinkle some: libkern.h, some -ffreestanding and some cast-y goodness,
all for the pleasure of the gcc 3 :-)
 1.6 16-Dec-2002  jdc branches: 1.6.6;
Extend the matching routine to take a function pointer, so that additional
(arbitrary) matching can be done.
Add match function and patch for Cycle 5 IP (Sparc 5 clone).

Reviewed by Uwe.
 1.5 11-Jan-2002  uwe OBP 2.30 in JS1 is romvec version 3, so g/c PROM_OBP_V2 entry.
Add bare-bones "8042" (pckbc) node and rename bogus zs nodes out of
the way to prevent them from matching.
 1.4 11-Dec-2001  aymeric add support for OBP 3.x as seen on some JavaStation 1's
 1.3 22-Nov-2001  uwe Add patches for Mr.Coffee with OBP2.
Miscellaneous cosmetic changes.
 1.2 26-Sep-2001  eeh branches: 1.2.4;
getprop* -> PROM_getprop*
 1.1 21-Jun-2001  uwe branches: 1.1.2; 1.1.4;
Add PROM patches (forth code) as a table indexed with root node name
and prom version. Little tweaks to prom during secondary boot are
much easier then fragile work-arounds in the kernel. Currently this
is used for JavaStation 1 with OBP3.
 1.1.4.1 01-Oct-2001  fvdl Catch up with -current.
 1.1.2.2 11-Feb-2002  jdolecek Sync w/ -current.
 1.1.2.1 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.5 19-Dec-2002  thorpej Sync with HEAD.
 1.2.4.4 28-Feb-2002  nathanw Catch up to -current.
 1.2.4.3 11-Jan-2002  nathanw More catchup.
 1.2.4.2 08-Jan-2002  nathanw Catch up to -current.
 1.2.4.1 26-Sep-2001  nathanw file prompatch.c was added on branch nathanw_sa on 2002-01-08 00:27:54 +0000
 1.6.6.4 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.6.6.1 03-Aug-2004  skrll Sync with HEAD
 1.9.16.1 21-Jun-2006  yamt sync with head.
 1.9.14.1 15-Aug-2005  tron Pull up revision 1.10 (requested by macallan in ticket #664):
add a prom patch that creates a device node for the Krups' audio chip
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
 1.19 11-Dec-2005  christos merge ktrace-lwp.
 1.18 14-Aug-2005  macallan add a prom patch that creates a device node for the Krups' audio chip
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
 1.17 01-Mar-2003  pk branches: 1.17.2; 1.17.16; 1.17.18;
Add support for large kernels by searching for a physical memory segment
to fit it in. As a bonus, the kernel is now also mapped to the virtual
address (i.e. KERNBASE) it is linked at.
 1.16 16-Dec-2002  jdc Increment version number for match function and Cycle 5 IP changes.
 1.15 21-Mar-2002  uwe PROM patches for JavaStation-1.
 1.14 09-Nov-2001  scw Bump the version numbers of all bootloaders which use loadfile_elfXX() now
that it tries hard to avoid backwards seeks.
 1.13 02-Aug-2001  bjh21 branches: 1.13.4; 1.13.6;
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.
 1.12 21-Jul-2000  jdolecek branches: 1.12.4;
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
 1.11 30-Apr-1999  christos branches: 1.11.2;
Add bootinfo struct to pass symtab arguments.
XXX: This does not work with ELF yet, but I don't understand why...
 1.10 28-Apr-1999  christos 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.
 1.9 15-Jan-1999  mrg branches: 1.9.4;
look for /^Version:/ to find the boot block version, rather than using
the "version" file's RCS id (which is useless for branches).
 1.8 29-Aug-1998  mrg 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..
 1.7 01-Jun-1997  mrg branches: 1.7.8;
need to bump this back to version 1.7 (last one).
 1.6 01-Jun-1997  mrg need to bump this back to version 1.7.
 1.5 01-Jun-1997  mrg need to bump this back to version 1.7.
 1.4 01-Jun-1997  mrg need to bump this back to version 1.7.
 1.3 01-Jun-1997  mrg need to bump this back to version 1.7.
 1.2 01-Jun-1997  mrg need to bump this back to version 1.7.
 1.1 01-Jun-1997  mrg 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>.
 1.7.8.1 19-Jan-1999  cgd pull up revs 1.8-1.9 from trunk (mrg)
 1.9.4.1 21-Jun-1999  thorpej Sync w/ -current.
 1.11.2.1 20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.12.4.3 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.12.4.2 10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.12.4.1 03-Aug-2001  lukem update to -current
 1.13.6.4 19-Dec-2002  thorpej Sync with HEAD.
 1.13.6.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.13.6.2 08-Jan-2002  nathanw Catch up to -current.
 1.13.6.1 02-Aug-2001  nathanw file version was added on branch nathanw_sa on 2002-01-08 00:27:54 +0000
 1.13.4.1 12-Nov-2001  thorpej Sync the thorpej-mips-cache branch with -current.
 1.17.18.1 21-Jun-2006  yamt sync with head.
 1.17.16.1 15-Aug-2005  tron Pull up revision 1.18 (requested by macallan in ticket #664):
add a prom patch that creates a device node for the Krups' audio chip
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
 1.17.2.1 10-Nov-2005  skrll Sync with HEAD. Here we go again...

RSS XML Feed