Home | History | Annotate | Download | only in boot
History log of /src/sys/arch/x68k/stand/boot/Makefile
RevisionDateAuthorComments
 1.34  10-Aug-2020  rin Make x68k/stand compile with GCC8. Tested with XEiJ.
 1.33  18-Jan-2020  isaki Add 0x prefix when defining variables, not when using it.
This was necessary for bc(1) but it's no longer necessary.
 1.32  18-Jan-2020  isaki Pass address constants from Makefile to ldscript.
 1.31  14-Jun-2019  isaki branches: 1.31.4;
boot_ufs (primary bootloader) expects /boot OMAGIC a.out.
 1.30  02-Jan-2019  christos use the right version of ELF2AOUT
 1.29  31-Dec-2018  christos use elf2aout for boot.
 1.28  08-Apr-2017  christos branches: 1.28.12; 1.28.14;
centralize vers.c building for standalone programs.
 1.27  25-Jun-2016  isaki branches: 1.27.2; 1.27.4;
Unify netboot and boot (into boot).
Now boot becomes to be able to load the NFS kernel and
netboot also becomes to be able to load the local kernel.
The only difference is the default kernel which loads.
I.e., netboot's default is nfs.

Bump boot_ustar's BOOT_MAXSIZE.
 1.26  08-Aug-2014  isaki branches: 1.26.4;
Remove STRIP?=strip.
Falling back to the hosttool is not a good way now.
 1.25  06-Aug-2014  isaki Remove unused variable.
 1.24  05-Aug-2014  isaki Support a 'switch' command.
It displays/modifies some SRAM parameters on X680x0, like as
memswitch(1) or Human68k's SWITCH.X .
It makes easy to change the boot devices or correct the inconsistency
of SRAM/real memory size.

sample usage:
> switch show .. show all supported parameters
> switch boot=std .. set boot order to 'STD'
> switch memory=12 .. set memory size to 12MB
 1.23  06-Jul-2014  tsutsui Merge and share boot.c between normal boot and netboot by dumb #ifdefs.

Tested on XM6i.
 1.22  20-Mar-2012  minoura branches: 1.22.2; 1.22.12;
Be silent.
 1.21  25-Dec-2011  tsutsui Apply the following patch submitted by Evgeniy Ivanov:
http://mail-index.NetBSD.org/tech-kern/2011/12/15/msg012226.html
http://mail-index.NetBSD.org/tech-kern/2011/12/17/msg012229.html

- add 'ls' op to struct fs_ops to support ls command on each fs,
enabled by -DLIBSA_ENABLE_LS_OP and SAMISCMAKEFLAGS+="SA_ENABLE_LS_OP=yes"
in libsa
- split sys/lib/libsa/ufs_ls.c into UFS specific part and MI part (ls.c)
that opens the target fs and calls fs-depedent XXX_ls() functions
- add a ls op for ext2fs
(all other fs than ufs and ext2fs don't have actual ls ops yet)
- replace existing MD ufs_ls() calls with this new MI ls()

The original patch was written for i386 and ext2fs.
zaurus zboot has been tested by nonaka@.
ews4800mips and x68k loaders have been tested by me (with several fixes).
landisk might be okay since it was almost copied from i386.

XXX1: "ls" op in fs_ops looks a bit inconsistent, but we will be able to
replace it with real fs ops like readdir if it's really worth
XXX2: someone might have to check sys/arch/ia64/stand/efi/libefi/efifs_ls.c
 1.20  12-Apr-2011  tsutsui branches: 1.20.4; 1.20.8;
Make x68k bootloader to use MI libsa, libkern, and libz Makefiles in
src/sys/lib dirs for maintainability. Tested on X68030, ok from isaki@.
 1.19  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.18  06-Jul-2010  mrg branches: 1.18.2; 1.18.4;
remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format. ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
 1.17  14-Feb-2009  abs branches: 1.17.2; 1.17.4;
Use relative paths so we can avoid using ${MACHINE} in a path
 1.16  12-Jan-2009  tsutsui branches: 1.16.2;
- WARNSfy
- make sure machine and ${MACHIN_ARCH} symlinks are always created
- several tweaks to allow build without installed DESTDIR
 1.15  19-Oct-2008  apb branches: 1.15.2;
Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
 1.14  11-Nov-2007  isaki branches: 1.14.14; 1.14.18; 1.14.24;
${PROG} depends on libsa and libiocs.
 1.13  29-Jun-2006  lukem branches: 1.13.14; 1.13.32; 1.13.34; 1.13.38; 1.13.40;
Support MAKEVERBOSE
 1.12  29-Jun-2006  lukem Rename LDFLAGS to LINKFLAGS, as the former is for CC not LD.
 1.11  11-Dec-2005  christos branches: 1.11.4; 1.11.8; 1.11.16;
merge ktrace-lwp.
 1.10  26-Oct-2003  lukem branches: 1.10.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.9  05-May-2002  isaki branches: 1.9.10;
libsa/Makefile: Fix rules to create symlinks on read-only source tree.
{boot,libsa,mboot}/Makefile, Makefile.booters:
move that common rule to Makefile.booters
 1.8  12-Dec-2001  lukem branches: 1.8.2;
Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
 1.7  12-Dec-2001  tv MKfoo=no -> NOfoo
 1.6  14-Nov-2001  tv ${MAKE} print-objdir -> ${PRINTOBJDIR}
 1.5  15-Oct-2001  minoura branches: 1.5.4;
Use newvers_stand.sh to record the version.
 1.4  29-Sep-2001  minoura -D_STANDALONE
 1.3  28-Sep-2001  minoura Create stripped version by default.
 1.2  27-Sep-2001  minoura Make these compile with the old (a.out) toolchain.
 1.1  27-Sep-2001  minoura Initial commit of the new bootloader to support ELF kernel.
It consists of two programs named boot_ufs and boot; the former reads
the latter (an OMAGIC a.out).
Boot now utilizes the libsa library to read the actual kernel.

- LFS code exists, but probobly does not work.
- Currently the ELF toolchain is required.
- Many features are missing.
 1.5.4.3  20-Jun-2002  nathanw Catch up to -current.
 1.5.4.2  08-Jan-2002  nathanw Catch up to -current.
 1.5.4.1  15-Oct-2001  nathanw file Makefile was added on branch nathanw_sa on 2002-01-08 00:28:44 +0000
 1.8.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.8.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.2.1  12-Dec-2001  thorpej file Makefile was added on branch kqueue on 2002-01-10 19:50:26 +0000
 1.9.10.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.10.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.10.1  03-Aug-2004  skrll Sync with HEAD
 1.10.16.2  15-Nov-2007  yamt sync with head.
 1.10.16.1  30-Dec-2006  yamt sync with head.
 1.11.16.1  13-Jul-2006  gdamore Merge from HEAD.
 1.11.8.1  11-Aug-2006  yamt sync with head
 1.11.4.1  09-Sep-2006  rpaulo sync with head
 1.13.40.1  19-Nov-2007  mjf Sync with HEAD.
 1.13.38.1  13-Nov-2007  bouyer Sync with HEAD
 1.13.34.1  09-Jan-2008  matt sync with HEAD
 1.13.32.1  11-Nov-2007  joerg Sync with HEAD.
 1.13.14.1  03-Dec-2007  ad Sync with HEAD.
 1.14.24.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.14.18.2  11-Aug-2010  yamt sync with head.
 1.14.18.1  04-May-2009  yamt sync with head.
 1.14.14.1  17-Jan-2009  mjf Sync with HEAD.
 1.15.2.2  03-Mar-2009  skrll Sync with HEAD.
 1.15.2.1  19-Jan-2009  skrll Sync with HEAD.
 1.16.2.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.17.4.2  21-Apr-2011  rmind sync with head
 1.17.4.1  05-Mar-2011  rmind sync with head
 1.17.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.18.4.1  08-Feb-2011  bouyer Sync with HEAD
 1.18.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.20.8.2  05-Apr-2012  mrg sync to latest -current.
 1.20.8.1  18-Feb-2012  mrg merge to -current.
 1.20.4.1  17-Apr-2012  yamt sync with head
 1.22.12.1  10-Aug-2014  tls Rebase.
 1.22.2.2  03-Dec-2017  jdolecek update from HEAD
 1.22.2.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.26.4.2  28-Aug-2017  skrll Sync with HEAD
 1.26.4.1  09-Jul-2016  skrll Sync with HEAD
 1.27.4.1  21-Apr-2017  bouyer Sync with HEAD
 1.27.2.1  26-Apr-2017  pgoyette Sync with HEAD
 1.28.14.2  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.28.14.1  10-Jun-2019  christos Sync with HEAD
 1.28.12.1  18-Jan-2019  pgoyette Synch with HEAD
 1.31.4.1  25-Jan-2020  ad Sync with head.

RSS XML Feed