Home | History | Annotate | Download | only in ofwboot
History log of /src/sys/arch/ofppc/stand/ofwboot/Makefile
RevisionDateAuthorComments
 1.32  08-Apr-2017  christos centralize vers.c building for standalone programs.
 1.31  10-Aug-2014  joerg branches: 1.31.4; 1.31.8; 1.31.12;
Put GCC/GAS specific options under ACTIVE_CC == "gcc".
 1.30  08-Aug-2014  joerg Don't set -mmultiple or -mno-string for PowerPC, the difference is too
small to really matter and it sometimes even increases the size.
 1.29  12-Jan-2014  tsutsui branches: 1.29.2;
Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.28  21-Aug-2013  matt Use <bsd.klinks.mk>
Add ${_MKTARGET_LINK}
 1.27  24-Jan-2011  joerg branches: 1.27.4; 1.27.14; 1.27.18;
Ensure that NOMAN is defined earlier.
 1.26  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.25  11-Sep-2009  phx branches: 1.25.4; 1.25.6; 1.25.8;
Added support for RDB partitions.
Moved MBR parition code out of ofdev.c into mbr.c.
Tested on Pegasos2 (RDB and MBR) and RS6000.
 1.24  12-Jan-2009  tsutsui WARNSfy
 1.23  13-Feb-2008  garbled branches: 1.23.6; 1.23.10; 1.23.18;
Add support to ofwboot for booting on the 7046-B50. Also likely to work
on the 7043-150. The B50 wants not only a note at the head of the
binary, like the 7044 did, but it also wants a PHDR that points at it.
Because the IBM firmware doesn't like the real note section that ld
generates (it puts it at the end of the file), we instead point PT_NOTE
at the text section. This works, because at the top of the text section,
there is a note hacked in, which was required for the 7044.

Also, change the mode from virtual mode to real mode in the note, because
the B50 hangs if you load it in virtual. Tested to work on a B50, 7044,
and Pegasos2.

Yay IBM.
 1.22  12-Feb-2008  garbled 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.21  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.20  17-Oct-2007  garbled branches: 1.20.2; 1.20.8;
Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
 1.19  21-May-2007  tsutsui branches: 1.19.10;
Add src/common/include to -I include path so that ofwboot build
without installed headers in DESTDIR.
 1.18  11-Dec-2005  christos branches: 1.18.30; 1.18.32; 1.18.38;
merge ktrace-lwp.
 1.17  26-Oct-2003  lukem branches: 1.17.16;
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.16  24-Oct-2003  matt Make this work with R/O source trees.
 1.15  08-Oct-2003  simonb Use -ffreestanding.
Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
 1.14  21-Sep-2002  chs branches: 1.14.6;
tidy a bit.
 1.13  18-Sep-2002  chs build ofwboot as an ELF binary.
 1.12  18-Jun-2002  itojun avoid hardcoding MBR_MAGICOFF and MBR_MAGIC.
 1.11  12-Dec-2001  tv branches: 1.11.8;
MKfoo=no -> NOfoo
 1.10  23-Oct-2001  thorpej branches: 1.10.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.9  07-Aug-2000  jdolecek branches: 1.9.4;
convert to use conf/newvers_stand.sh, minor Makefile adjustments
 1.8  23-Jan-2000  mycroft Clean up the machine symlink stuff ever so slightly. Needs to be
standardized between files.
 1.7  12-Oct-1999  wrstuden branches: 1.7.2;
Make symlink for powerpc@.
 1.6  13-Feb-1999  lukem branches: 1.6.8;
convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.5  09-Jun-1998  sakamoto Use PowerPC-generic stuff and eliminate the powermac portion.
 1.4  28-May-1998  sakamoto Rename NetBSD/powerpc to NetBSD/ofppc.
New sys/arch/powerpc with PowerPC-generic stuff.
 1.3  02-Mar-1998  drochner enable compatibility for old partition ID per default
 1.2  17-Apr-1997  thorpej STRIP -> STRIPFLAG
 1.1  16-Apr-1997  thorpej 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.6.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.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.9.4.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.4.2  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.9.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.4.4  18-Oct-2002  nathanw Catch up to -current.
 1.10.4.3  20-Jun-2002  nathanw Catch up to -current.
 1.10.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.10.4.1  23-Oct-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:27:01 +0000
 1.11.8.1  16-Jul-2002  gehenna catch up with -current.
 1.14.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.14.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.14.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.16.3  27-Feb-2008  yamt sync with head.
 1.17.16.2  21-Jan-2008  yamt sync with head
 1.17.16.1  03-Sep-2007  yamt sync with head.
 1.18.38.1  22-May-2007  matt Update to HEAD.
 1.18.32.1  11-Jul-2007  mjf Sync with head.
 1.18.30.1  27-May-2007  ad Sync with head.
 1.19.10.2  23-Mar-2008  matt sync with HEAD
 1.19.10.1  06-Nov-2007  matt sync with HEAD
 1.20.8.1  10-Jan-2008  bouyer Sync with HEAD
 1.20.2.1  18-Feb-2008  mjf Sync with HEAD.
 1.23.18.1  19-Jan-2009  skrll Sync with HEAD.
 1.23.10.2  16-Sep-2009  yamt sync with head
 1.23.10.1  04-May-2009  yamt sync with head.
 1.23.6.1  17-Jan-2009  mjf Sync with HEAD.
 1.25.8.1  08-Feb-2011  bouyer Sync with HEAD
 1.25.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.25.4.1  05-Mar-2011  rmind sync with head
 1.27.18.2  18-May-2014  rmind sync with head
 1.27.18.1  28-Aug-2013  rmind sync with head
 1.27.14.2  03-Dec-2017  jdolecek update from HEAD
 1.27.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.27.4.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.29.2.1  10-Aug-2014  tls Rebase.
 1.31.12.1  21-Apr-2017  bouyer Sync with HEAD
 1.31.8.1  26-Apr-2017  pgoyette Sync with HEAD
 1.31.4.1  28-Aug-2017  skrll Sync with HEAD

RSS XML Feed