Home | History | Annotate | Download | only in boot
History log of /src/sys/arch/cobalt/stand/boot/Makefile
RevisionDateAuthorComments
 1.32  08-Apr-2017  christos centralize vers.c building for standalone programs.
 1.31  08-Sep-2016  christos branches: 1.31.2;
Avoid the PIE
 1.30  23-Jun-2015  matt branches: 1.30.2;
Always build for mips3. Use -Os instead -O2 for smallest code size.
text goes from 74608 to 63020
 1.29  05-Aug-2014  apb branches: 1.29.4;
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.28  27-Jan-2014  apb branches: 1.28.2;
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.27  16-Jan-2014  christos eliminate use of bsd.sys.mk from Makefiles
 1.26  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.25  10-Jul-2011  mrg branches: 1.25.2; 1.25.12; 1.25.16;
don't set MACHINE_ARCH. the CPUFLAGS/etc. is enough, and otherwise this
doesn't work with an isolated $TOOLDIR from the mipse[lb] toolchain.
 1.24  09-Jul-2011  matt Use TOOL_GZIP
 1.23  20-Feb-2011  matt Merge forward from matt-nb5-mips64.
(XXX generic kernels on raq2 die after interrupts are enabled but gxemul
works fine).
 1.22  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.21  27-May-2010  dholland branches: 1.21.2; 1.21.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.20  19-Jan-2010  tsutsui branches: 1.20.2; 1.20.4;
Use -DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT
in debug printf()s.
 1.19  15-Mar-2009  tsutsui Use <bsd.klinks.mk> for MD include dir symlinks.
 1.18  28-May-2008  tsutsui branches: 1.18.6; 1.18.12;
Print boot banner and a loading kernel name onto LCD,
for users who don't have serial console. Bump version.
 1.17  23-Mar-2008  tsutsui branches: 1.17.2; 1.17.4; 1.17.6;
Use macro defined in <machine/cpu.h> for cobalt_id and device addresses etc.
since <machine/leds.h> has been removed.
Also remove redundant address definitions in Makefile and local headers.
Pointed out by dieter roelants.
 1.16  16-Mar-2008  tsutsui Add support for optional Z85C30 serial console on Cobalt Qube 2700.
Bump version.
 1.15  02-Mar-2008  tsutsui WARNSfy
 1.14  01-Mar-2008  tsutsui Split out a PCI configuration space read function into a separate file
so that we could use it in other sources.
 1.13  01-Mar-2008  tsutsui - print cobalt model names in boot banner
- bump version.
 1.12  30-Oct-2007  tsutsui branches: 1.12.12; 1.12.16;
Add support for netboot via tlp0 with standalone tlp(4) driver
taken from arch/sandpoint/stand/netboot.
There are still some kludge but it just works on RaQ and RaQ2.
 1.11  12-Aug-2006  uwe branches: 1.11.6; 1.11.12; 1.11.22; 1.11.30; 1.11.32; 1.11.36;
Link libkern last. It contains functions normally found in libgcc, so
other libraries might have references to them.

Makes this compile with gcc4 (that emits calls to __ash[rl]di3 in libsa).
 1.10  11-Dec-2005  christos branches: 1.10.4; 1.10.8; 1.10.18;
merge ktrace-lwp.
 1.9  01-Jan-2005  simonb branches: 1.9.10;
Don't specify the object format to pick the right endianness - the
linker already knows if it is big- or little-endian.
 1.8  21-Jun-2004  jmc Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
 1.7  10-Apr-2004  tsutsui Add a prompt to specify a kernel filename to be loaded on bootloader.
 1.6  27-Jan-2004  cdi branches: 1.6.2;
Load the boot program at 0x80F00000 to give the boxes with just 16Mb of
RAM a chance to boot. Discussed with soren@, tested on customer's board.

NB: While acceptable as a temporary workaround since most (all?) Cobalt
hardware comes with no less than 16Megs on board, changing a kernel load
address or making a boot loader relocatable could be a better solution.
 1.5  07-Jan-2004  cdi Pass some info from the boot loader to the kernel:

- Kernel image name
- Symbol table
- A flag indicating console presence (could be clobbered if not passed)

Add _rtt() entry to the boot loader code.
 1.4  14-Dec-2003  tsutsui Include <bsd.own.mk> at the top so that machine-links are also created
on "make depend". Tested on my RaQ2, and fixes port-cobalt/23711.
While here, two more cosmetics:
- remove redundant definitions
- use NOMAN rather than setting MAN empty
 1.3  26-Oct-2003  lukem 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.2  08-Oct-2003  simonb Define LIB{CRT0,C,CRTBEGIN,CRTEND} as nothing, we don't need to link
against them.
 1.1  25-Jun-2003  cdi branches: 1.1.2;
Initial commit of a 1-stage boot loader for NetBSD/cobalt. Only booting off
the hard drive is supported at the moment.
 1.1.2.4  17-Jan-2005  skrll Sync with HEAD.
 1.1.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.1.2.1  03-Aug-2004  skrll Sync with HEAD
 1.6.2.1  22-Jun-2004  tron branches: 1.6.2.1.2;
Pull up revision 1.8 (requested by jmc in ticket #531):
Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
 1.6.2.1.2.1  13-Apr-2005  tron Pull up revision 1.7 (requested by tsutsui in ticket #1070):
Add a prompt to specify a kernel filename to be loaded on bootloader.
 1.9.10.4  24-Mar-2008  yamt sync with head.
 1.9.10.3  17-Mar-2008  yamt sync with head.
 1.9.10.2  15-Nov-2007  yamt sync with head.
 1.9.10.1  30-Dec-2006  yamt sync with head.
 1.10.18.1  15-Aug-2006  tron Pull up following revision(s) (requested by uwe in ticket #23):
sys/arch/cobalt/stand/boot/Makefile: revision 1.11
Link libkern last. It contains functions normally found in libgcc, so
other libraries might have references to them.
Makes this compile with gcc4 (that emits calls to __ash[rl]di3 in libsa).
 1.10.8.1  03-Sep-2006  yamt sync with head.
 1.10.4.1  09-Sep-2006  rpaulo sync with head
 1.11.36.1  13-Nov-2007  bouyer Sync with HEAD
 1.11.32.2  23-Mar-2008  matt sync with HEAD
 1.11.32.1  06-Nov-2007  matt sync with HEAD
 1.11.30.1  31-Oct-2007  joerg Sync with HEAD.
 1.11.22.1  06-Jan-2008  wrstuden Catch up to netbsd-4.0 release.
 1.11.12.1  03-Dec-2007  ad Sync with HEAD.
 1.11.6.1  04-Nov-2007  pavel Pull up following revisions (requested by tsutsui in ticket #974):
sys/arch/cobalt/cobalt/autoconf.c: revision 1.25-1.26
sys/arch/cobalt/cobalt/machdep.c: revision 1.89
sys/arch/cobalt/stand/boot/Makefile: revision 1.12
sys/arch/cobalt/stand/boot/boot.c: revision 1.10
sys/arch/cobalt/stand/boot/boot.h: revision 1.6
sys/arch/cobalt/stand/boot/cache.c: revision 1.1-1.2
sys/arch/cobalt/stand/boot/clock.c: revision 1.2
sys/arch/cobalt/stand/boot/conf.c: revision 1.5
sys/arch/cobalt/stand/boot/devopen.c: revision 1.4
sys/arch/cobalt/stand/boot/nif_tlp.c: revision 1.1
sys/arch/cobalt/stand/boot/start.S: revision 1.6
sys/arch/cobalt/stand/boot/tlp.c: revision 1.1-1.3
sys/arch/cobalt/stand/boot/version: revision 1.6
sys/lib/libsa/dev_net.h: revision 1.5
Add an extern decl of try_bootp variable here since MD sources could set it.

In device_register(), check booted devices more properly:
- check "tlp" name on netboot
- use ata channel and drive numbers to check wd unit

Assume netboot if "nfsroot=/path" is specified in bootstring.

Use PCI bus/dev/function numbers rather than device unit
to check first tlp in device_register().

Add support for netboot via tlp0 with standalone tlp(4) driver
taken from arch/sandpoint/stand/netboot.
There are still some kludge but it just works on RaQ and RaQ2.

Fix my stupid bug in cache flush code and remove one kludge for it.

- use chaned mode for RX descs and allocate only one desc per each cacheline
to avoid possible race condition between CPU writeback vs DMA write
- remove unnecessary FS and LS bits from RxD->xd0
(sys/dev/ic/tulipvar.h sets them but maybe they are ignored?)
 1.12.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.12.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.12.12.1  24-Mar-2008  keiichi sync with head.
 1.17.6.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.17.4.3  11-Aug-2010  yamt sync with head.
 1.17.4.2  11-Mar-2010  yamt sync with head
 1.17.4.1  04-May-2009  yamt sync with head.
 1.17.2.1  04-Jun-2008  yamt sync with head
 1.18.12.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.18.6.1  28-Apr-2009  skrll Sync with HEAD.
 1.20.4.2  05-Mar-2011  rmind sync with head
 1.20.4.1  30-May-2010  rmind sync with head
 1.20.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.21.4.2  05-Mar-2011  bouyer 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.25.16.1  18-May-2014  rmind sync with head
 1.25.12.2  03-Dec-2017  jdolecek update from HEAD
 1.25.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.25.2.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.28.2.1  10-Aug-2014  tls Rebase.
 1.29.4.3  28-Aug-2017  skrll Sync with HEAD
 1.29.4.2  05-Oct-2016  skrll Sync with HEAD
 1.29.4.1  22-Sep-2015  skrll Sync with HEAD
 1.30.2.1  26-Apr-2017  pgoyette Sync with HEAD
 1.31.2.1  21-Apr-2017  bouyer Sync with HEAD

RSS XML Feed