Home | History | Annotate | Download | only in ofwboot
History log of /src/sys/arch/ofppc/stand/ofwboot/boot.c
RevisionDateAuthorComments
 1.25  15-Sep-2020  mrg partial port to powerpc64.
 1.24  11-Jun-2016  dholland PR 51200 gets in libsa considered harmful: use kgets
 1.23  22-Jan-2011  joerg branches: 1.23.14; 1.23.32;
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.22  12-Jan-2009  tsutsui branches: 1.22.6; 1.22.8; 1.22.10;
WARNSfy
 1.21  28-Apr-2008  martin branches: 1.21.8;
Remove clause 3 and 4 from TNF licenses
 1.20  12-Feb-2008  garbled branches: 1.20.6; 1.20.8; 1.20.10;
Add a very quick and simple hack to allow ofwboot to be compiled into a
program that dumps the entire ofw device tree automatically. I needed
this functionality to collect ofw dumps from users, and it doesn't hurt
to just commit it, as it's all protected inside a #ifdef OFWDUMP.
 1.19  24-Jan-2008  garbled Add padding to align the rodata section. This fixes a strange bug
where the bootloader would freak out if various printfs were enabled or
disabled.

Add code to autodetect a 64bit cpu, and attempt to load a different set
of kernels if they exist.

Bump version to 1.9
 1.18  09-Jan-2008  garbled Remove alloc.h too, no longer needed.
 1.17  09-Jan-2008  garbled Changes to the ofppc ofwboot to make it boot on an IBM CHRP RS/6000.
Tested on a pegasos II and a 7044-270. Also, switch away from the hacked
up alloc.c we were using, and use the stock libsa one.
 1.16  18-Oct-2007  garbled branches: 1.16.2; 1.16.8;
Update the bootloader to work with the ofwoea_initppc code used by macppc
 1.15  11-Dec-2005  christos branches: 1.15.30; 1.15.48; 1.15.50; 1.15.54;
merge ktrace-lwp.
 1.14  14-Jul-2003  aymeric branches: 1.14.16;
. ANSIfy a bit more
. use the boot_entry_t type for the entry point

Makes ofwboot compile with -Wmissing-prototypes -Wstrict-prototypes, as
suggested by Chuck Silvers in a private e-mail.
 1.13  26-Jun-2003  aymeric branches: 1.13.2;
. ANSIfy
. include alloc.h
. while there, fix a bug in prom2boot() introduced in rev. 1.11
 1.12  18-Sep-2002  chs add OF_boot(), call it if the user says "reboot".
try loading "netbsd.ofppc" first, to allow sharing root fs.
 1.11  23-Oct-2001  thorpej branches: 1.11.4;
Clean up the NetBSD/ofppc boot loader:
- Garbage collect some cruft that doesn't apply to the ofppc port.
- Make our OFW-friendly alloc.c more like the libsa alloc.c
- Generally reduce some differences where we can between this
boot loader and the NetBSD/macppc boot loader.
- Use libsa's loadfile().
- Fix DDB symbol loading -- Add a magic number after the args string
so the kernel knows the symbols are there, provide both ssym and
esym, and make sure all these values are aligned to a 4-byte boundary.
- Add support for MS-DOS file systems.
 1.10  22-Jul-2001  wiz bcopy -> memcpy, bzero -> memset
 1.9  03-May-2001  soren branches: 1.9.2;
PPC machine type tags haven't been used for a while.
 1.8  17-Jan-2001  ws branches: 1.8.2;
Don't claim the memory for the executable from the firmware.
Some implementations seemed to do strange mappings as a result of it.
 1.7  24-Sep-2000  jdolecek 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.
 1.6  25-Oct-1999  kleink Update to match new SVR4-style definition names in <sys/exec_elf.h>.
 1.5  17-Apr-1999  ws branches: 1.5.2; 1.5.4; 1.5.6;
Modify syncicache on PowerPC from an inline to a real function.
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
 1.4  22-Feb-1998  mycroft branches: 1.4.10;
Clean up #include paths.
Copy prom2boot() from kernel source.
rename _rtt() to OF_exit(), and add a _rtt() that calls it.
 1.3  27-Jan-1998  sakamoto Fix PR/4679:missing cast, from SUNAGAWA Keiki.
 1.2  05-Oct-1997  thorpej Copyright assigned to The NetBSD Foundation.
 1.1  16-Apr-1997  thorpej branches: 1.1.4;
New OpenFirmware boot code for NetBSD/powerpc, based on Wolfgang's original
NetBSD/powerpc boot program. Highligts:
- Rearrange a bit so that we can sanely add boot programs for
non-OpenFirmware systems.
- Add support for loading compressed kernels (for booting from
1.44M floppies).
- Add support for loading Elf kernels (Elf is the new standard format
for NetBSD/powerpc). (XXX Don't load symbols right now - the code
to do it is there, but I don't particularly like how space for the
symbol table is allocated; I will revisit this soon'ish).
 1.1.4.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.4.10.1  21-Jun-1999  thorpej Sync w/ -current.
 1.5.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.4.1  15-Nov-1999  fvdl Sync with -current
 1.5.2.2  11-Feb-2001  bouyer Sync with HEAD.
 1.5.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.8.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.9.2.3  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.9.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.9.2.1  03-Aug-2001  lukem update to -current
 1.11.4.2  18-Oct-2002  nathanw Catch up to -current.
 1.11.4.1  23-Oct-2001  nathanw file boot.c was added on branch nathanw_sa on 2002-10-18 02:39:20 +0000
 1.13.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.13.2.1  03-Aug-2004  skrll Sync with HEAD
 1.14.16.4  27-Feb-2008  yamt sync with head.
 1.14.16.3  04-Feb-2008  yamt sync with head.
 1.14.16.2  21-Jan-2008  yamt sync with head
 1.14.16.1  27-Oct-2007  yamt sync with head.
 1.15.54.1  25-Oct-2007  bouyer Sync with HEAD.
 1.15.50.2  23-Mar-2008  matt sync with HEAD
 1.15.50.1  06-Nov-2007  matt sync with HEAD
 1.15.48.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.15.30.1  23-Oct-2007  ad Sync with head.
 1.16.8.1  10-Jan-2008  bouyer Sync with HEAD
 1.16.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.20.10.2  04-May-2009  yamt sync with head.
 1.20.10.1  16-May-2008  yamt sync with head.
 1.20.8.1  18-May-2008  yamt sync with head.
 1.20.6.2  17-Jan-2009  mjf Sync with HEAD.
 1.20.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.21.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.22.10.1  08-Feb-2011  bouyer Sync with HEAD
 1.22.8.1  06-Jun-2011  jruoho Sync with HEAD.
 1.22.6.1  05-Mar-2011  rmind sync with head
 1.23.32.1  09-Jul-2016  skrll Sync with HEAD
 1.23.14.1  03-Dec-2017  jdolecek update from HEAD

RSS XML Feed