Home | History | Annotate | only in /src/sys/arch/ews4800mips/stand/boot
History log of /src/sys/arch/ews4800mips/stand/boot
RevisionDateAuthorComments
 1.27 09-May-2025  martin Bump kernel size slightly
 1.26 27-Apr-2025  tsutsui Remove a trailing tab.
 1.25 07-Jun-2020  tsutsui branches: 1.25.26;
Use -fno-unwind-tables to shrink boot binaries a bit.
 1.24 23-Dec-2019  christos Bump size.
 1.23 01-Jan-2019  christos ELF2ECOFF -> MIPS_ELF2ECOFF
 1.22 08-Apr-2017  christos branches: 1.22.12; 1.22.14;
centralize vers.c building for standalone programs.
 1.21 20-Sep-2016  christos branches: 1.21.2;
The booter contains a kernel which contains a ramdisk. The kernel grew
and does not fit in the booter anymore, grow it a bit.
 1.20 08-Sep-2016  christos Avoid the PIE
 1.19 05-Aug-2014  apb branches: 1.19.4; 1.19.8;
Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
 1.18 31-Jan-2014  tsutsui branches: 1.18.2;
Workaround weird "nbmake[8]: Graph cycles through `clean'" errors.
 1.17 27-Jan-2014  apb Pass the -n flag to gzip invocations.

This prevents it from embedding a timestamp in the output. We pass
"-n" unconditionally, not conditional on MKREPRO, because many other
invocations of gzip already passed the -n flag unconditionally.
 1.16 12-Jan-2014  tsutsui Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.15 25-Dec-2011  tsutsui branches: 1.15.6; 1.15.10;
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.14 10-Jul-2011  matt branches: 1.14.2; 1.14.6;
Use TOOL_GZIP
 1.13 07-Jul-2011  mrg apply some -fno-strict-aliasing
 1.12 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.11 27-May-2010  dholland branches: 1.11.2; 1.11.4;
Introduce .WAIT into the cleandir rule for blasting the libsa/libkern/etc.
trees, because it can race with the libsa/libkern/etc. makefiles' own
cleandir rules. I think I've found all of the uses of the offending idiom...
Closes PR 43360.
 1.10 03-Apr-2009  tsutsui branches: 1.10.2; 1.10.4;
Remove obsolete LIBSA_USE_MEMCPY and LIBSA_USE_MEMSET.
They were removed from <lib/libsa/stand.h> on December 2007.
 1.9 15-Mar-2009  tsutsui - use <bsd.klinks.mk> to create symlinks to MD system header directories
- suppress warnings on build without DESTDIR
 1.8 16-Jul-2008  tsutsui branches: 1.8.2; 1.8.8;
Change boot messages to replace build date and maker with kernrev.
 1.7 28-Jun-2006  lukem branches: 1.7.58; 1.7.62; 1.7.64; 1.7.66; 1.7.68;
more MAKEVERBOSE
 1.6 28-Jun-2006  lukem support MAKEVERBOSE
 1.5 28-Jun-2006  lukem Rename LDFLAGS to LINKFLAGS, as the former is for CC not LD.
 1.4 26-Jan-2006  tsutsui branches: 1.4.2; 1.4.6; 1.4.14; 1.4.16;
Add -DLIBSA_USE_MEMCPY -DLIBSA_USE_MEMSET to CPPFLAGS.
 1.3 08-Jan-2006  tsutsui Build and install the following bootloader binaries:
boot: ELF bootloader binary
boot.coff: COFF bootloader binary (for old firmware)
boot_kernel.gz: ELF bootloader binary which can include kernel binary
by mdsetimage(8) (for netboot)
 1.2 30-Dec-2005  tsutsui branches: 1.2.2;
- Fix a build error.
- Wrap long lines.
 1.1 29-Dec-2005  tsutsui Initial import of NetBSD/ews4800mips port,
for NEC's MIPS based EWS4800 workstations.

Most porting work was done by UCHIYAMA Yasushi <uch@netbsd>
http://mail-index.netbsd.org/port-mips/2004/06/27/0000.html
and various cleanup, updating, and fixes have been done by me.
Currently only EWS4800/350, 360, 360AD, 360ADII, 360EX and 360SX
models are supported.
 1.2.2.2 01-Feb-2006  yamt sync with head.
 1.2.2.1 15-Jan-2006  yamt sync with head.
 1.4.16.3 30-Dec-2006  yamt sync with head.
 1.4.16.2 21-Jun-2006  yamt sync with head.
 1.4.16.1 26-Jan-2006  yamt file Makefile was added on branch yamt-lazymbuf on 2006-06-21 14:51:20 +0000
 1.4.14.1 13-Jul-2006  gdamore Merge from HEAD.
 1.4.6.1 11-Aug-2006  yamt sync with head
 1.4.2.1 09-Sep-2006  rpaulo sync with head
 1.7.68.1 19-Oct-2008  haad Sync with HEAD.
 1.7.66.1 18-Jul-2008  simonb Sync with head.
 1.7.64.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.7.62.2 11-Aug-2010  yamt sync with head.
 1.7.62.1 04-May-2009  yamt sync with head.
 1.7.58.1 28-Sep-2008  mjf Sync with HEAD.
 1.8.8.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.2.1 28-Apr-2009  skrll Sync with HEAD.
 1.10.4.2 05-Mar-2011  rmind sync with head
 1.10.4.1 30-May-2010  rmind sync with head
 1.10.2.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.11.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.11.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.14.6.1 18-Feb-2012  mrg merge to -current.
 1.14.2.2 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.14.2.1 17-Apr-2012  yamt sync with head
 1.15.10.1 18-May-2014  rmind sync with head
 1.15.6.2 03-Dec-2017  jdolecek update from HEAD
 1.15.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.2.1 10-Aug-2014  tls Rebase.
 1.19.8.2 26-Apr-2017  pgoyette Sync with HEAD
 1.19.8.1 04-Nov-2016  pgoyette Sync with HEAD
 1.19.4.2 28-Aug-2017  skrll Sync with HEAD
 1.19.4.1 05-Oct-2016  skrll Sync with HEAD
 1.21.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.22.14.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.22.14.1 10-Jun-2019  christos Sync with HEAD
 1.22.12.1 18-Jan-2019  pgoyette Synch with HEAD
 1.25.26.1 02-Aug-2025  perseant Sync with HEAD
 1.3 04-Feb-2009  tsutsui - use multiple sector read on floppy boot
(speeds up ustarfs floppy boot from ~840sec to ~100sec)
- use twiddle() rather than printing CHS numbers on reading floppy sectors
- make ustarfs_load() work with more than two volumes
- bump revision

XXX: FD_FORMAT_2D is not identified properly in boot_device() on EWS4800/360SX.
 1.2 16-Jul-2008  tsutsui branches: 1.2.2; 1.2.4;
Change boot messages to replace build date and maker with kernrev.
 1.1 29-Dec-2005  tsutsui branches: 1.1.18; 1.1.76; 1.1.80; 1.1.82; 1.1.84; 1.1.86;
Initial import of NetBSD/ews4800mips port,
for NEC's MIPS based EWS4800 workstations.

Most porting work was done by UCHIYAMA Yasushi <uch@netbsd>
http://mail-index.netbsd.org/port-mips/2004/06/27/0000.html
and various cleanup, updating, and fixes have been done by me.
Currently only EWS4800/350, 360, 360AD, 360ADII, 360EX and 360SX
models are supported.
 1.1.86.1 19-Oct-2008  haad Sync with HEAD.
 1.1.84.1 18-Jul-2008  simonb Sync with head.
 1.1.82.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.1.80.1 04-May-2009  yamt sync with head.
 1.1.76.1 28-Sep-2008  mjf Sync with HEAD.
 1.1.18.2 21-Jun-2006  yamt sync with head.
 1.1.18.1 29-Dec-2005  yamt file version was added on branch yamt-lazymbuf on 2006-06-21 14:51:20 +0000
 1.2.4.1 06-Feb-2009  snj Pull up following revision(s) (requested by tsutsui in ticket #419):
sys/arch/ews4800mips/stand/boot/version: revision 1.3
sys/arch/ews4800mips/stand/common/bootxx.c: revision 1.5
sys/arch/ews4800mips/stand/common/disk.c: revision 1.7
sys/arch/ews4800mips/stand/common/floppy_2d.c: revision 1.5
sys/arch/ews4800mips/stand/common/floppy_2hc.c: revision 1.5
sys/arch/ews4800mips/stand/common/floppy_2hd_ibmpc.c: revision 1.5
sys/arch/ews4800mips/stand/common/ustarfs.c: revision 1.8
- use multiple sector read on floppy boot
(speeds up ustarfs floppy boot from ~840sec to ~100sec)
- use twiddle() rather than printing CHS numbers on reading floppy sectors
- make ustarfs_load() work with more than two volumes
- bump revision
XXX: FD_FORMAT_2D is not identified properly in boot_device() on EWS4800/360SX.
 1.2.2.1 03-Mar-2009  skrll Sync with HEAD.

RSS XML Feed