Home | History | Annotate | Download | only in stand
History log of /src/sys/arch/mvme68k/stand/Makefile.booters
RevisionDateAuthorComments
 1.28  06-May-2021  rin PR port-mvme68k/56146

Build wrtvid as tools.
 1.27  15-Apr-2021  mrg branches: 1.27.2;
more -fcommon for boot programs.
 1.26  08-Apr-2017  christos branches: 1.26.28;
centralize vers.c building for standalone programs.
 1.25  12-Jan-2014  tsutsui branches: 1.25.6; 1.25.10; 1.25.14;
Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.24  21-Sep-2013  tsutsui Explicitly link SRT0.o (Standalone RunTime startup code) first.

This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.

The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.

Should be pulled up to netbsd-6 branches.
 1.23  12-Aug-2013  joerg Build boot loaders without unwind tables.
 1.22  22-Jan-2011  joerg branches: 1.22.4; 1.22.10; 1.22.14; 1.22.16; 1.22.18; 1.22.24;
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.21  02-Jan-2011  tsutsui branches: 1.21.2; 1.21.4;
Switch mvme68k standalone problams to using MI libsa and libkern
for maintainablility. Also bump version for note.

Compile test only, but no functional changes.
 1.20  24-Dec-2009  tsutsui branches: 1.20.4;
Use <bsd.klinks.mk> to create machine and ${MACHINE_CPU} symlinks.
 1.19  06-Dec-2009  tsutsui Create machine and ${MACHINE_CPU} symlinks properly and
remove unnecessary dependencies so that parallel build works.
 1.18  11-Apr-2009  scw Fix for install/40961: The RAMDISK kernel has grown significantly
since bootst was written. Grab 3MB of the kernel image from tape
in hackprom_diskrd() instead of 2MB.

Bump bootst version on account of the above fix.

While here, use -Os instead of -O2 to compile mvme68k stand code.
 1.17  03-Apr-2009  tsutsui Remove obsolete LIBSA_USE_MEMCPY and LIBSA_USE_MEMSET.
They were removed from <lib/libsa/stand.h> on December 2007.
 1.16  12-Jan-2009  tsutsui branches: 1.16.2;
Make sure machine and ${MACHINE_ARCH} symlinks are always created.
 1.15  12-Jan-2009  tsutsui Add some make variables to suppress errors on build without DESTDIR.
 1.14  24-Dec-2005  tsutsui branches: 1.14.24; 1.14.68; 1.14.74; 1.14.78; 1.14.86; 1.14.88;
Move some definitions from CFLAGS to CPPFLAGS so that SRT0.S can
include <m68k/asm.h> properly.
 1.13  11-Dec-2005  christos merge ktrace-lwp.
 1.12  26-Oct-2003  lukem branches: 1.12.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.11  24-Oct-2003  scw Add -ffreestanding
 1.10  27-Feb-2003  scw branches: 1.10.2;
Move the -D__daddr_t from libsa/Makefile to Makefile.booters so
the bootloaders get to benefit from it, not just libsa.
 1.9  28-May-2002  bjh21 Use ${PRINTOBJDIR} rather that rolling our own.
This prevents parallel builds passing "--- xxx ---" (which make prints to
indicate it's building target "xxx") to ld.
 1.8  12-Dec-2001  tv branches: 1.8.8;
MKfoo=no -> NOfoo
 1.7  19-Jul-2001  scw branches: 1.7.6;
Descend into wrtvid in all but the install pass.
 1.6  07-Dec-2000  scw branches: 1.6.4;
Missed this one in yesterday's bootloader commits:
Change BUGCRT from bugcrt.o to bugstart.o.
 1.5  04-Dec-2000  scw Clean up the build process to ensure libsa/libbug are built
before linking the bootloaders.
 1.4  30-Nov-2000  scw Support booting an ELF kernel, plus numerous tweaks due to
the gas.new/ELF transition.
 1.3  20-Nov-2000  scw branches: 1.3.2;
Add support for the m68060-based machines: MVME-172 and MVME-177.
CPU support taken from a combination of NetBSD/amiga and NetBSD/x68k.

At this time, MVME-172 works but MVME-177 is untested. Since the '177
is otherwise identical to the MVME-167, this should *just work*.
 1.2  28-Jul-2000  scw Really make this work for `dependall'. Also strip bootst.bug before
running it through wrtvid.
 1.1  24-Jul-2000  jdolecek cleanup Makefiles, put common stuff to Makefile.booters, ditch unnecessary
stuff
make this all compile with -Wall -Wno-main -Wmissing-prototypes
-Wstrict-prototypes -Werror , also compilable on 1.4.1
label itself as NetBSD/mvme68k instead of "BSD" in bootblock message
move bugcrt.c to libbug, remove bugcrt directory (bugcrt is still built
and used separately to rest of libbug)
convert sboot to use ordinary mvme68 libsa, instead of copying needed
stuff in libc_sa.c
convert to use version info generated by sys/conf/newvers_stand.sh
instead of previous version.c files, add necessary 'version' files
put chiptotime() to separate libsa file (used also by sboot/clock.c)

Thanks to Steve Woodford for help with this. Note that -current build
might be hosed by this change, will be addressed by Steve shortly.
 1.3.2.5  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.3.2.4  08-Dec-2000  bouyer Sync with HEAD.
 1.3.2.3  22-Nov-2000  bouyer Sync with HEAD.
 1.3.2.2  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.3.2.1  20-Nov-2000  bouyer file Makefile.booters was added on branch thorpej_scsipi on 2000-11-20 20:15:27 +0000
 1.6.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.4.1  03-Aug-2001  lukem update to -current
 1.7.6.3  20-Jun-2002  nathanw Catch up to -current.
 1.7.6.2  08-Jan-2002  nathanw Catch up to -current.
 1.7.6.1  19-Jul-2001  nathanw file Makefile.booters was added on branch nathanw_sa on 2002-01-08 00:26:36 +0000
 1.8.8.1  30-May-2002  gehenna Catch up with -current.
 1.10.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.10.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.10.2.1  03-Aug-2004  skrll Sync with HEAD
 1.12.16.1  21-Jun-2006  yamt sync with head.
 1.14.88.1  12-Apr-2009  snj Pull up following revision(s) (requested by scw in ticket #688):
sys/arch/mvme68k/stand/Makefile.booters: revision 1.18
sys/arch/mvme68k/stand/bootst/dev_tape.c: revision 1.11
sys/arch/mvme68k/stand/bootst/version: revision 1.5
Fix for install/40961: The RAMDISK kernel has grown significantly
since bootst was written. Grab 3MB of the kernel image from tape
in hackprom_diskrd() instead of 2MB.
Bump bootst version on account of the above fix.
While here, use -Os instead of -O2 to compile mvme68k stand code.
 1.14.86.2  28-Apr-2009  skrll Sync with HEAD.
 1.14.86.1  19-Jan-2009  skrll Sync with HEAD.
 1.14.78.2  11-Mar-2010  yamt sync with head
 1.14.78.1  04-May-2009  yamt sync with head.
 1.14.74.1  17-Jan-2009  mjf Sync with HEAD.
 1.14.68.1  15-Apr-2009  snj Pull up following revision(s) (requested by scw in ticket #1304):
sys/arch/mvme68k/stand/Makefile.booters: revision 1.18
sys/arch/mvme68k/stand/bootst/dev_tape.c: revision 1.11
sys/arch/mvme68k/stand/bootst/version: revision 1.5
Fix for install/40961: The RAMDISK kernel has grown significantly
since bootst was written. Grab 3MB of the kernel image from tape
in hackprom_diskrd() instead of 2MB.
Bump bootst version on account of the above fix.
While here, use -Os instead of -O2 to compile mvme68k stand code.
 1.14.24.1  15-Apr-2009  snj Pull up following revision(s) (requested by scw in ticket #1304):
sys/arch/mvme68k/stand/Makefile.booters: revision 1.18
sys/arch/mvme68k/stand/bootst/dev_tape.c: revision 1.11
sys/arch/mvme68k/stand/bootst/version: revision 1.5
Fix for install/40961: The RAMDISK kernel has grown significantly
since bootst was written. Grab 3MB of the kernel image from tape
in hackprom_diskrd() instead of 2MB.
Bump bootst version on account of the above fix.
While here, use -Os instead of -O2 to compile mvme68k stand code.
 1.16.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.20.4.1  05-Mar-2011  rmind sync with head
 1.21.4.1  08-Feb-2011  bouyer Sync with HEAD
 1.21.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.22.24.1  23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.22.18.2  18-May-2014  rmind sync with head
 1.22.18.1  28-Aug-2013  rmind sync with head
 1.22.16.1  26-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.22.14.2  03-Dec-2017  jdolecek update from HEAD
 1.22.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.10.1  23-Sep-2013  riz Pull up following revision(s) (requested by tsutsui in ticket #954):
sys/arch/mvme68k/stand/libbug/outln.c: revision 1.4
sys/arch/mvme68k/stand/libsa/Makefile.inc: revision 1.6
sys/arch/mvme68k/stand/Makefile.booters: revision 1.24
sys/arch/mvme68k/include/prom.h: revision 1.18
sys/arch/mvme68k/stand/libsa/Makefile: revision 1.34
sys/arch/mvme68k/stand/libbug/outstr.c: revision 1.4
Explicitly link SRT0.o (Standalone RunTime startup code) first.
This is my fault on changes to make mvme68k bootloaders use MI libsa:
http://mail-index.netbsd.org/source-changes/2011/01/02/msg016539.html
MVME PROM requires raw binaries (by objcopy -O binary) so we have to
make sure the entry point is located at the first address of the binaries.
The problem (6.1 netboot fails with an illegal instruction message)
is reported by Andrew Gillham on port-mvme68k@:
http://mail-index.netbsd.org/port-mvme68k/2013/09/17/msg000082.html
Note mvme68k bootloadres in netbsd-6 still have another bug triggered
by gcc-4.5.
Should be pulled up to netbsd-6 branches.
Make MVMEPROM_ARG2() macro take two args in a single asm statement.
Fixes a problem that a wrong address is passed to the MVMEPROM outstr
function (then caused garbages on screen) after we switched to gcc-4.5.
Reported and confirmed by Andrew Gillham on port-mvme68k@:
http://mail-index.NetBSD.org/port-mvme68k/2013/09/17/msg000084.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/19/msg000085.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000095.html
http://mail-index.NetBSD.org/port-mvme68k/2013/09/22/msg000097.html
No error on "build.sh -m mvme68k build" builds.
Should be pulled up to netbsd-6 branches.
 1.22.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.25.14.1  21-Apr-2017  bouyer Sync with HEAD
 1.25.10.1  26-Apr-2017  pgoyette Sync with HEAD
 1.25.6.1  28-Aug-2017  skrll Sync with HEAD
 1.26.28.1  17-Apr-2021  thorpej Sync with HEAD.
 1.27.2.1  13-May-2021  thorpej Sync with HEAD.

RSS XML Feed