Home | History | Annotate | only in /src/sys/arch/evbarm/stand
History log of /src/sys/arch/evbarm/stand
RevisionDateAuthorComments
 1.14 16-Sep-2021  andvar fix various typos, mainly in comments.
 1.13 12-Sep-2020  jmcneill Add HAVE_ACPI and HAVE_UEFI flags to bsd.own.mk and use them to
conditionally include ACPI and UEFI bits instead of relying on adhoc
MACHINE_ARCH tests.
 1.12 08-Sep-2020  jmcneill Build EFI bootloader on big endian armv7 and aarch64 targets.
 1.11 04-Sep-2020  jakllsch Only build bootaa64.efi on LE aarch64 for now, to match set lists
 1.10 30-Mar-2019  jmcneill Remove redundant TARGET_ENDIANNESS check
 1.9 30-Mar-2019  jmcneill Don't even bother trying to get this to work on BE targets.
 1.8 30-Mar-2019  jmcneill Build efiboot on armv7
 1.7 25-Aug-2018  jmcneill Build and install bootaa64.efi on 64-bit evbarm
 1.6 01-Apr-2018  ryo branches: 1.6.2;
Add initial support for ARMv8 (AARCH64) (by nisimura@ and ryo@)

- sys/arch/evbarm64 is gone and integrated into sys/arch/evbarm. (by skrll@)
- add support fdt. evbarm/conf/GENERIC64 fdt (bcm2837,sunxi,tegra) based generic 64bit kernel config. (by skrll@, jmcneill@)
 1.5 05-Feb-2013  matt branches: 1.5.36;
There are other little endian arm machine_arches other than "arm"
Use MACHINE_CPU and TARGET_ENDIANNESS instead of MACHINE_ARCH
 1.4 27-Nov-2012  jkunz According to the i.MX23 Reference Manual section 3.1, Page 3-3:
"The i.MX23 always operates in litle-endian mode."
So build elftosb and bootloader for this processor only for evbarm(-el).
 1.3 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.2 30-Jan-2012  nisimura branches: 1.2.6;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1 29-Apr-2003  thorpej branches: 1.1.142; 1.1.146;
Descend into the gzboot directories.
 1.1.146.1 18-Feb-2012  mrg merge to -current.
 1.1.142.3 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.1.142.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.142.1 17-Apr-2012  yamt sync with head
 1.2.6.1 25-Feb-2013  tls resync with head
 1.5.36.2 06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.5.36.1 07-Apr-2018  pgoyette Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$
 1.6.2.1 10-Jun-2019  christos Sync with HEAD
 1.3 02-May-2013  matt use KLINK_MACHINE
 1.2 02-May-2013  matt This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
 1.1 29-Apr-2003  thorpej branches: 1.1.142; 1.1.152;
Descend into the gzboot directories.
 1.1.152.1 23-Jun-2013  tls resync from head
 1.1.142.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.1 25-Mar-2003  thorpej Standalone board support routines for the ADI BRH.
 1.3 16-Jan-2006  he The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.2 24-Dec-2005  perry branches: 1.2.2;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.1 25-Mar-2003  thorpej branches: 1.1.18;
Memory routines for boards using the ADI BECC companion chip.
 1.1.18.1 21-Jun-2006  yamt sync with head.
 1.2.2.1 01-Feb-2006  yamt sync with head.
 1.2 17-Apr-2002  thorpej branches: 1.2.6;
Add board_init() and board_fini() routines for IQ80310 and IQ80321
eval boards.
 1.1 23-Feb-2002  thorpej branches: 1.1.2;
Add some simple standalone device drivers for IOP310-based boards.
 1.1.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file board.h was added on branch nathanw_sa on 2002-02-28 04:09:16 +0000
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 17-Apr-2002  jdolecek file board.h was added on branch kqueue on 2002-06-23 17:35:44 +0000
 1.6 05-Sep-2022  tsutsui G/C ISSET() macro copies. It has been defined in <sys/types.h> since 2006.
 1.5 23-Oct-2009  snj Switch to a 2 clause license. Approved by joff@ (copyright holder).
 1.4 08-Mar-2006  lukem branches: 1.4.68;
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
 1.3 24-Dec-2005  perry branches: 1.3.4; 1.3.6; 1.3.8; 1.3.10;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 24-Dec-2004  joff branches: 1.1.4; 1.1.12;
On-chip EP93xx UART support
 1.1.12.1 21-Jun-2006  yamt sync with head.
 1.1.4.2 17-Jan-2005  skrll Sync with HEAD.
 1.1.4.1 24-Dec-2004  skrll file epcom.c was added on branch ktrace-lwp on 2005-01-17 19:29:13 +0000
 1.3.10.1 19-Apr-2006  elad sync with head - hopefully this will work
 1.3.8.1 13-Mar-2006  yamt sync with head.
 1.3.6.1 22-Apr-2006  simonb Sync with head.
 1.3.4.1 09-Sep-2006  rpaulo sync with head
 1.4.68.1 11-Mar-2010  yamt sync with head
 1.1 30-Oct-2008  cliff branches: 1.1.6; 1.1.8; 1.1.10; 1.1.16;
add gzboot support for gemini

GEMINI_dram_0x01600000 defines inflation from concatenated
gzboot & netbsd.bin.gz at sdram 0x01600000 to 0x00200000

note that ns16550.c INB() and OUTB() macros now have
"mult 4" type 4 byte regsiter offset stride
if NS16550_AX4 is defined. this is needed for gemini,
and was OKed by gimpy.
 1.1.16.2 04-May-2009  yamt sync with head.
 1.1.16.1 30-Oct-2008  yamt file gemini.c was added on branch yamt-nfs-mp on 2009-05-04 08:11:00 +0000
 1.1.10.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.10.1 30-Oct-2008  skrll file gemini.c was added on branch nick-hppapmap on 2009-01-19 13:16:07 +0000
 1.1.8.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.8.1 30-Oct-2008  mjf file gemini.c was added on branch mjf-devfs2 on 2009-01-17 13:27:59 +0000
 1.1.6.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.6.1 30-Oct-2008  haad file gemini.c was added on branch haad-dm on 2008-12-13 01:13:08 +0000
 1.2 11-Nov-2008  cliff branches: 1.2.4; 1.2.6; 1.2.8; 1.2.12;
constrain MEMSIZE to avoid stepping out of smallest-case
Gemini CPU Remap Control remapped-private memory size
"bad" things can happen if the gzboot heap is in
non-core-private memory.
 1.1 30-Oct-2008  cliff add gzboot support for gemini

GEMINI_dram_0x01600000 defines inflation from concatenated
gzboot & netbsd.bin.gz at sdram 0x01600000 to 0x00200000

note that ns16550.c INB() and OUTB() macros now have
"mult 4" type 4 byte regsiter offset stride
if NS16550_AX4 is defined. this is needed for gemini,
and was OKed by gimpy.
 1.2.12.2 04-May-2009  yamt sync with head.
 1.2.12.1 11-Nov-2008  yamt file gemini_mem.c was added on branch yamt-nfs-mp on 2009-05-04 08:11:00 +0000
 1.2.8.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.8.1 11-Nov-2008  skrll file gemini_mem.c was added on branch nick-hppapmap on 2009-01-19 13:16:07 +0000
 1.2.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.6.1 11-Nov-2008  mjf file gemini_mem.c was added on branch mjf-devfs2 on 2009-01-17 13:27:59 +0000
 1.2.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.2.4.1 11-Nov-2008  haad file gemini_mem.c was added on branch haad-dm on 2008-12-13 01:13:08 +0000
 1.4 16-Jan-2006  he The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.3 24-Dec-2005  perry branches: 1.3.2;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 25-Apr-2002  thorpej branches: 1.2.6; 1.2.28;
Allow the size of the heap to be specified at build time.
 1.1 23-Feb-2002  thorpej branches: 1.1.2;
Add some simple standalone device drivers for IOP310-based boards.
 1.1.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file i80312_mem.c was added on branch nathanw_sa on 2002-02-28 04:09:16 +0000
 1.2.28.1 21-Jun-2006  yamt sync with head.
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 25-Apr-2002  jdolecek file i80312_mem.c was added on branch kqueue on 2002-06-23 17:35:44 +0000
 1.3.2.1 01-Feb-2006  yamt sync with head.
 1.4 16-Jan-2006  he The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.3 24-Dec-2005  perry branches: 1.3.2;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 25-Apr-2002  thorpej branches: 1.2.6; 1.2.28;
Allow the size of the heap to be specified at build time.
 1.1 27-Mar-2002  thorpej branches: 1.1.2;
Stand-alone memory sizing routine for the Intel i80321 I/O processor
("Verde").
 1.1.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.1.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.1 27-Mar-2002  nathanw file i80321_mem.c was added on branch nathanw_sa on 2002-04-01 07:39:48 +0000
 1.2.28.1 21-Jun-2006  yamt sync with head.
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 25-Apr-2002  jdolecek file i80321_mem.c was added on branch kqueue on 2002-06-23 17:35:44 +0000
 1.3.2.1 01-Feb-2006  yamt sync with head.
 1.5 24-Jun-2023  msaitoh Fix typo in error message.
 1.4 16-Jan-2006  he The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.3 24-Dec-2005  perry branches: 1.3.2;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 25-Apr-2002  thorpej branches: 1.2.6; 1.2.8; 1.2.30;
Allow the size of the heap to be specified at build time.
 1.1 18-Apr-2002  thorpej Add a standalone routine for fetching the memory size from the
core module on an ARM Integrator board.
 1.2.30.1 21-Jun-2006  yamt sync with head.
 1.2.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.1 25-Apr-2002  jdolecek file integrator_mem.c was added on branch kqueue on 2002-06-23 17:35:44 +0000
 1.2.6.2 20-Jun-2002  nathanw Catch up to -current.
 1.2.6.1 25-Apr-2002  nathanw file integrator_mem.c was added on branch nathanw_sa on 2002-06-20 03:38:33 +0000
 1.3.2.1 01-Feb-2006  yamt sync with head.
 1.1 17-Apr-2002  thorpej branches: 1.1.6; 1.1.8;
Add board_init() and board_fini() routines for IQ80310 and IQ80321
eval boards.
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 17-Apr-2002  jdolecek file iq80310.c was added on branch kqueue on 2002-06-23 17:35:44 +0000
 1.1.6.2 20-Jun-2002  nathanw Catch up to -current.
 1.1.6.1 17-Apr-2002  nathanw file iq80310.c was added on branch nathanw_sa on 2002-06-20 03:38:34 +0000
 1.3 28-Mar-2002  thorpej Rename iq80310_cons.c to ns16550.c. Require that CONADDR be
defined by the Makefile at build time.
 1.2 27-Mar-2002  thorpej Note that this module will also work with the IQ80321 eval board.
 1.1 23-Feb-2002  thorpej branches: 1.1.2;
Add some simple standalone device drivers for IOP310-based boards.
 1.1.2.3 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file iq80310_cons.c was added on branch nathanw_sa on 2002-02-28 04:09:16 +0000
 1.1 17-Apr-2002  thorpej branches: 1.1.6; 1.1.8;
Add board_init() and board_fini() routines for IQ80310 and IQ80321
eval boards.
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 17-Apr-2002  jdolecek file iq80321.c was added on branch kqueue on 2002-06-23 17:35:44 +0000
 1.1.6.2 20-Jun-2002  nathanw Catch up to -current.
 1.1.6.1 17-Apr-2002  nathanw file iq80321.c was added on branch nathanw_sa on 2002-06-20 03:38:34 +0000
 1.1 12-Feb-2020  thorpej branches: 1.1.2; 1.1.6;
Add gzboot support for NSLU2. This is a work-in-progress. This configuration
follows the existing NSLU2 RedBoot default bootstrap procedure. (Other
configurations are possible, but not yet implemented.)
 1.1.6.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.6.1 12-Feb-2020  martin file ixp425_mem.c was added on branch phil-wifi on 2020-04-08 14:07:36 +0000
 1.1.2.2 29-Feb-2020  ad Sync with head.
 1.1.2.1 12-Feb-2020  ad file ixp425_mem.c was added on branch ad-namecache on 2020-02-29 20:18:23 +0000
 1.5 05-Sep-2022  tsutsui G/C ISSET() macro copies. It has been defined in <sys/types.h> since 2006.
 1.4 30-Oct-2008  cliff add gzboot support for gemini

GEMINI_dram_0x01600000 defines inflation from concatenated
gzboot & netbsd.bin.gz at sdram 0x01600000 to 0x00200000

note that ns16550.c INB() and OUTB() macros now have
"mult 4" type 4 byte regsiter offset stride
if NS16550_AX4 is defined. this is needed for gemini,
and was OKed by gimpy.
 1.3 24-Dec-2005  perry branches: 1.3.74; 1.3.78; 1.3.84; 1.3.86;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 25-Mar-2003  thorpej branches: 1.2.18;
Allow the frequency to be set by the Makefile.
 1.1 28-Mar-2002  thorpej branches: 1.1.2; 1.1.8;
Rename iq80310_cons.c to ns16550.c. Require that CONADDR be
defined by the Makefile at build time.
 1.1.8.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1 28-Mar-2002  jdolecek file ns16550.c was added on branch kqueue on 2002-06-23 17:35:45 +0000
 1.1.2.2 01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.1 28-Mar-2002  nathanw file ns16550.c was added on branch nathanw_sa on 2002-04-01 07:39:48 +0000
 1.2.18.1 21-Jun-2006  yamt sync with head.
 1.3.86.1 19-Jan-2009  skrll Sync with HEAD.
 1.3.84.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.3.78.1 04-May-2009  yamt sync with head.
 1.3.74.1 17-Jan-2009  mjf Sync with HEAD.
 1.1 12-Feb-2020  thorpej branches: 1.1.2; 1.1.6;
Add gzboot support for NSLU2. This is a work-in-progress. This configuration
follows the existing NSLU2 RedBoot default bootstrap procedure. (Other
configurations are possible, but not yet implemented.)
 1.1.6.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.6.1 12-Feb-2020  martin file nslu2.c was added on branch phil-wifi on 2020-04-08 14:07:36 +0000
 1.1.2.2 29-Feb-2020  ad Sync with head.
 1.1.2.1 12-Feb-2020  ad file nslu2.c was added on branch ad-namecache on 2020-02-29 20:18:23 +0000
 1.2 12-Jan-2009  tsutsui branches: 1.2.2; 1.2.4; 1.2.8;
- WARNSfy
- add src/common/dist/zlib to incpath for build without DESTDIR
 1.1 10-Nov-2008  cliff branches: 1.1.4;
- nullcom.c provides nulldev-like console device for silent gzboot
- GEMINI_dram_0x01600000/Makefile uses nullcom, shhh
 1.1.4.2 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.1.4.1 10-Nov-2008  haad file nullcom.c was added on branch haad-dm on 2008-12-13 01:13:08 +0000
 1.2.8.2 04-May-2009  yamt sync with head.
 1.2.8.1 12-Jan-2009  yamt file nullcom.c was added on branch yamt-nfs-mp on 2009-05-04 08:11:00 +0000
 1.2.4.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1 12-Jan-2009  skrll file nullcom.c was added on branch nick-hppapmap on 2009-01-19 13:16:07 +0000
 1.2.2.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1 12-Jan-2009  mjf file nullcom.c was added on branch mjf-devfs2 on 2009-01-17 13:27:59 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 03-Sep-2003  mycroft branches: 1.1.4;
Add gzboot support for SMDK2410.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 03-Sep-2003  skrll file s3c2410_vector.S was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 30-Jul-2003  bsh branches: 1.1.4;
gzboot for SMDK2800.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 30-Jul-2003  skrll file s3c2800_vector.S was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.4 16-Jan-2006  he The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.3 11-Dec-2005  christos branches: 1.3.2;
merge ktrace-lwp.
 1.2 05-Oct-2003  bsh branches: 1.2.4; 1.2.18;
move back get_com_freq() to sscom.c with #ifdef CPU_{S3C2800,S3C2410}
 1.1 03-Sep-2003  mycroft Add gzboot support for SMDK2410.
 1.2.18.1 21-Jun-2006  yamt sync with head.
 1.2.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.2.4.2 03-Aug-2004  skrll Sync with HEAD
 1.2.4.1 05-Oct-2003  skrll file smdk2410.c was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.3.2.1 01-Feb-2006  yamt sync with head.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 03-Sep-2003  mycroft branches: 1.1.4;
Add gzboot support for SMDK2410.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 03-Sep-2003  skrll file smdk2410_io_init.c was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 03-Sep-2003  mycroft branches: 1.1.4;
Add gzboot support for SMDK2410.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 03-Sep-2003  skrll file smdk2410_ram_init.S was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.5 16-Jan-2006  he The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.4 11-Dec-2005  christos branches: 1.4.2;
merge ktrace-lwp.
 1.3 05-Oct-2003  bsh branches: 1.3.4; 1.3.18;
move back get_com_freq() to sscom.c with #ifdef CPU_{S3C2800,S3C2410}
 1.2 03-Sep-2003  mycroft Add gzboot support for SMDK2410.
 1.1 30-Jul-2003  bsh gzboot for SMDK2800.
 1.3.18.1 21-Jun-2006  yamt sync with head.
 1.3.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.4.2 03-Aug-2004  skrll Sync with HEAD
 1.3.4.1 05-Oct-2003  skrll file smdk2800.c was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.4.2.1 01-Feb-2006  yamt sync with head.
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 30-Jul-2003  bsh branches: 1.1.4;
gzboot for SMDK2800.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 30-Jul-2003  skrll file smdk2800_io_init.c was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.2 11-Dec-2005  christos merge ktrace-lwp.
 1.1 30-Jul-2003  bsh branches: 1.1.4;
gzboot for SMDK2800.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 30-Jul-2003  skrll file smdk2800_ram_init.S was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.7 05-Sep-2022  tsutsui G/C ISSET() macro copies. It has been defined in <sys/types.h> since 2006.
 1.6 04-Nov-2013  christos mark variable unused
 1.5 24-Dec-2005  perry branches: 1.5.112; 1.5.122; 1.5.128;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 05-Oct-2003  bsh branches: 1.3.4; 1.3.18;
move back get_com_freq() to sscom.c with #ifdef CPU_{S3C2800,S3C2410}
 1.2 03-Sep-2003  mycroft Add gzboot support for SMDK2410.
 1.1 30-Jul-2003  bsh gzboot for SMDK2800.
 1.3.18.1 21-Jun-2006  yamt sync with head.
 1.3.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.4.2 03-Aug-2004  skrll Sync with HEAD
 1.3.4.1 05-Oct-2003  skrll file sscom.c was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.5.128.1 18-May-2014  rmind sync with head
 1.5.122.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.112.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.4 23-Oct-2009  snj Switch to a 2 clause license. Approved by joff@ (copyright holder).
 1.3 16-Jan-2006  he branches: 1.3.76;
The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.2 11-Dec-2005  christos branches: 1.2.2;
merge ktrace-lwp.
 1.1 24-Dec-2004  joff branches: 1.1.4; 1.1.12;
generic TS-7200 gzboot support
 1.1.12.1 21-Jun-2006  yamt sync with head.
 1.1.4.2 17-Jan-2005  skrll Sync with HEAD.
 1.1.4.1 24-Dec-2004  skrll file ts7200.c was added on branch ktrace-lwp on 2005-01-17 19:29:13 +0000
 1.2.2.1 01-Feb-2006  yamt sync with head.
 1.3.76.1 11-Mar-2010  yamt sync with head
 1.19 24-Oct-2019  christos 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
sense because the documentation says that this flag does not make a
difference in apcs mode, but might produce larger code in non-APCS mode.
So we just add it to silence the warnings.
 1.18 08-Apr-2017  christos branches: 1.18.14;
centralize vers.c building for standalone programs.
 1.17 22-Feb-2017  maya Get rid of more -mno-thumb -mno-thumb-interwork for GCC < 4.8
 1.16 12-Jan-2014  tsutsui branches: 1.16.6; 1.16.10; 1.16.14;
Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.15 15-Dec-2013  joerg Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
 1.14 05-Dec-2013  joerg Use -marm for clang builds, too.
 1.13 04-Nov-2013  christos explicitly add -marm
 1.12 04-Nov-2013  christos -mno-thumb-interwork is the default, and there is no -mthumb in gcc 4.8
 1.11 21-Aug-2013  matt Use <bsd.klinks.mk>
DBG=-Os (instead of blank)
 1.10 15-Aug-2013  matt Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork
 1.9 23-Jun-2013  matt branches: 1.9.2;
Add -fno-unwind-tables
 1.8 29-Mar-2013  matt Make sure CPUFLAGS remains empty.
 1.7 06-Feb-2013  matt gcc will supply -Wa,-eabi=gnu so don't include. Use -mabi=apcs-base, not atpcs
 1.6 05-Feb-2013  matt Make sure these are always compiled with -mabi=atpcs -mfloat-abi=soft
-Wa,-meabi=gnu so they use the old compilation methods.
 1.5 12-Dec-2012  matt Don't allow CPUFLAGS to be overridden.
 1.4 20-Jul-2012  matt branches: 1.4.2;
Add ${_MKTARGET_LINK}
 1.3 22-Feb-2012  nisimura branches: 1.3.2;

- adapt DM9000 driver name change.
- move -DLIBSA_PRINTF_WIDTH_SUPPORT to CPPFLAGS variable as SACPPFLAGS
does not work.
- add a logic to make/remove machine/ and arm/ symlinks.
- remove redundant directives in no use.
 1.2 31-Jan-2012  nisimura branches: 1.2.4;

- add TFTP loading facility.
- SD/MMC load default is now "ld0a:netbsd"
 1.1 30-Jan-2012  nisimura Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.2.4.1 06-Dec-2012  matt Hardcode CPUFLAGS appropriately so that these are always built for the correct
cpu/architecture.
 1.3.2.5 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.3.2.4 16-Jan-2013  yamt sync with (a bit old) head
 1.3.2.3 30-Oct-2012  yamt sync with head
 1.3.2.2 17-Apr-2012  yamt sync with head
 1.3.2.1 22-Feb-2012  yamt file Makefile was added on branch yamt-pagecache on 2012-04-17 00:06:15 +0000
 1.4.2.4 03-Dec-2017  jdolecek update from HEAD
 1.4.2.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.2 23-Jun-2013  tls resync from head
 1.4.2.1 25-Feb-2013  tls resync with head
 1.9.2.2 18-May-2014  rmind sync with head
 1.9.2.1 28-Aug-2013  rmind sync with head
 1.16.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.16.10.2 26-Apr-2017  pgoyette Sync with HEAD
 1.16.10.1 20-Mar-2017  pgoyette Sync with HEAD
 1.16.6.1 28-Aug-2017  skrll Sync with HEAD
 1.18.14.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2 31-Jan-2012  nisimura branches: 1.2.4;

- add TFTP loading facility.
- SD/MMC load default is now "ld0a:netbsd"
 1.1 30-Jan-2012  nisimura Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.2.4.2 17-Apr-2012  yamt sync with head
 1.2.4.1 31-Jan-2012  yamt file dev_net.c was added on branch yamt-pagecache on 2012-04-17 00:06:15 +0000
 1.6 29-Aug-2024  andvar s/Perfom/Perform/ in comment.
 1.5 09-Jul-2018  christos branches: 1.5.36;
Remove duplicate copies of the SET/CLR/ISSET macros.
 1.4 09-Jul-2018  kre Avoid redefining SET/CLR/ISSET (which in the kernel are normally
defined in <sys/types.h>). These redefinitions (when they are,
that is, when types.h is included) were sneaking through because
they were defined identically ... until CLR in <sys/types.h> was
changed... Avoid that issue arising again.
 1.3 02-Jan-2015  christos branches: 1.3.16; 1.3.18;
We have three sets of DTYPE_ constants in the kernel:
altq Drop Type
disklabel Disk Type
file Descriptor Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
 1.2 04-Nov-2013  christos branches: 1.2.6;
make unused.
 1.1 30-Jan-2012  nisimura branches: 1.1.4; 1.1.8; 1.1.12;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1.12.1 18-May-2014  rmind sync with head
 1.1.8.2 03-Dec-2017  jdolecek update from HEAD
 1.1.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.3 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.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 30-Jan-2012  yamt file dev_sdmmc.c was added on branch yamt-pagecache on 2012-04-17 00:06:15 +0000
 1.2.6.1 06-Apr-2015  skrll Sync with HEAD
 1.3.18.1 10-Jun-2019  christos Sync with HEAD
 1.3.16.1 28-Jul-2018  pgoyette Sync with HEAD
 1.5.36.1 02-Aug-2025  perseant Sync with HEAD
 1.1 30-Jan-2012  nisimura branches: 1.1.4;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 30-Jan-2012  yamt file dev_sdmmc.h was added on branch yamt-pagecache on 2012-04-17 00:06:15 +0000
 1.2 31-Jan-2012  nisimura branches: 1.2.4;

- add TFTP loading facility.
- SD/MMC load default is now "ld0a:netbsd"
 1.1 30-Jan-2012  nisimura Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.2.4.2 17-Apr-2012  yamt sync with head
 1.2.4.1 31-Jan-2012  yamt file devopen.c was added on branch yamt-pagecache on 2012-04-17 00:06:15 +0000
 1.4 12-Dec-2021  andvar fix various typos, mainly in comments.
 1.3 29-Mar-2017  msaitoh Fix 0x%d and 0x%u.
 1.2 23-Feb-2012  nisimura branches: 1.2.2; 1.2.4; 1.2.18; 1.2.22; 1.2.26;

- add short comments at the most troublesome part of this device.
- remove a stale debug line.
 1.1 22-Feb-2012  nisimura Reimplement DM9000E driver.
- add a note about 16bit mode operation.
- make sure not to receive any mcast/bcast frames by clearing 64bit
multicast filter hash value register.
- change the filename so as silimar to other implementations.
 1.2.26.1 21-Apr-2017  bouyer Sync with HEAD
 1.2.22.1 26-Apr-2017  pgoyette Sync with HEAD
 1.2.18.1 28-Aug-2017  skrll Sync with HEAD
 1.2.4.1 03-Dec-2017  jdolecek update from HEAD
 1.2.2.2 17-Apr-2012  yamt sync with head
 1.2.2.1 23-Feb-2012  yamt file dm9000.c was added on branch yamt-pagecache on 2012-04-17 00:06:15 +0000
 1.2 22-Feb-2012  nisimura Reimplement DM9000E driver.
- add a note about 16bit mode operation.
- make sure not to receive any mcast/bcast frames by clearing 64bit
multicast filter hash value register.
- change the filename so as silimar to other implementations.
 1.1 30-Jan-2012  nisimura Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1 30-Jan-2012  nisimura branches: 1.1.4;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 30-Jan-2012  yamt file dm9k.h was added on branch yamt-pagecache on 2012-04-17 00:06:16 +0000
 1.2 22-Feb-2012  nisimura branches: 1.2.2;

- detect SoC chipid value found at 0x5600'00b0.
- have brdsetup() to define SoC IOMUX in early startup. Device drivers
are still responsible to arrange relevent registers which they use.
- some cleanup and clarification.
 1.1 30-Jan-2012  nisimura Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.2.2.2 17-Apr-2012  yamt sync with head
 1.2.2.1 22-Feb-2012  yamt file entry.S was added on branch yamt-pagecache on 2012-04-17 00:06:16 +0000
 1.5 29-Nov-2014  skrll Make this work with earm kernels. Not sure the test is realy worth it.

Partially from Greg Willatt
 1.4 01-Dec-2013  joerg branches: 1.4.4;
Inform compiler that the volatile assignment will terminate the function.
 1.3 04-Nov-2013  christos fix pointer cast; mark variable used
 1.2 22-Feb-2012  nisimura branches: 1.2.2; 1.2.4; 1.2.6;

- detect SoC chipid value found at 0x5600'00b0.
- have brdsetup() to define SoC IOMUX in early startup. Device drivers
are still responsible to arrange relevent registers which they use.
- some cleanup and clarification.
 1.1 30-Jan-2012  nisimura Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.2.6.1 18-May-2014  rmind sync with head
 1.2.4.2 03-Dec-2017  jdolecek update from HEAD
 1.2.4.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.2.3 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.2.2.2 17-Apr-2012  yamt sync with head
 1.2.2.1 22-Feb-2012  yamt file main.c was added on branch yamt-pagecache on 2012-04-17 00:06:16 +0000
 1.4.4.1 02-Jan-2015  martin Pull up following revision(s) (requested by skrll in ticket #366):
sys/arch/evbarm/stand/boot2440/main.c: revision 1.5
Make this work with earm kernels. Not sure the test is realy worth it.
Partially from Greg Willatt
 1.2 01-Dec-2013  joerg Use format strings.
 1.1 30-Jan-2012  nisimura branches: 1.1.4; 1.1.8; 1.1.12;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1.12.1 18-May-2014  rmind sync with head
 1.1.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.3 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.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 30-Jan-2012  yamt file netif.c was added on branch yamt-pagecache on 2012-04-17 00:06:16 +0000
 1.4 13-Dec-2015  christos PR/50526: David Binderman: Fix incorrect test
 1.3 27-Oct-2012  chs branches: 1.3.14;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.2 20-Jul-2012  matt branches: 1.2.2;
Add <machine/int_mwgwtypes.h> include for intmax_t
 1.1 30-Jan-2012  nisimura branches: 1.1.2; 1.1.4;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1.4.3 30-Oct-2012  yamt sync with head
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 30-Jan-2012  yamt file s3csdi.c was added on branch yamt-pagecache on 2012-04-17 00:06:16 +0000
 1.1.2.1 09-Aug-2012  jdc Pull up revision 1.2 to fix fallout from ticket #441.

Add <machine/int_mwgwtypes.h> include for intmax_t
 1.2.2.2 03-Dec-2017  jdolecek update from HEAD
 1.2.2.1 20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.3.14.1 27-Dec-2015  skrll Sync with HEAD (as of 26th Dec)
 1.1 30-Jan-2012  nisimura branches: 1.1.4;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 30-Jan-2012  yamt file s3csdi.h was added on branch yamt-pagecache on 2012-04-17 00:06:16 +0000
 1.1 30-Jan-2012  nisimura branches: 1.1.4;

Add FriendlyARM Mini2440 support.
- new code for Samsung S3C2440 SoC.
- update for other S3C2xx0.
This port was done by Paul Fleischer.
 1.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 30-Jan-2012  yamt file version was added on branch yamt-pagecache on 2012-04-17 00:06:16 +0000
 1.16 24-Oct-2019  christos 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
sense because the documentation says that this flag does not make a
difference in apcs mode, but might produce larger code in non-APCS mode.
So we just add it to silence the warnings.
 1.15 22-Feb-2017  maya branches: 1.15.14;
Get rid of more -mno-thumb -mno-thumb-interwork for GCC < 4.8
 1.14 22-Jul-2014  bouyer branches: 1.14.4; 1.14.8; 1.14.12;
Override CPUFLAGS for compiler cpu-specific options, instead of appening
to CFLAGS. This allows the user to define CPUFLAGS without breaking the
build.
 1.13 12-Jan-2014  tsutsui branches: 1.13.2;
Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.12 15-Dec-2013  joerg Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
 1.11 05-Dec-2013  joerg Use -marm for clang builds, too.
 1.10 04-Nov-2013  christos explicitly add -marm
 1.9 04-Nov-2013  christos -mno-thumb-interwork is the default, and there is no -mthumb in gcc 4.8
 1.8 07-Oct-2013  matt iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.7 15-Aug-2013  matt Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork
 1.6 23-Jun-2013  matt branches: 1.6.2;
Add -fno-unwind-tables
 1.5 23-Feb-2013  jkunz branches: 1.5.4;
Contribution from Petri Laakso:
- Support for passing kernel arguments.
- entropy_init() removed as OLINUXINO doesn't generate entropy bits without
user interaction.
- FIFO contents are flushed when DEBUG is enabled.
 1.4 06-Feb-2013  matt gcc will supply -Wa,-eabi=gnu so don't include. Use -mabi=apcs-base, not atpcs
 1.3 05-Feb-2013  matt Add a ${MKTARGET_LINK}
 1.2 05-Feb-2013  matt Make sure these are always compiled with -mabi=atpcs -mfloat-abi=soft
-Wa,-meabi=gnu so they use the old compilation methods.
 1.1 20-Nov-2012  jkunz branches: 1.1.2;
Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.1.2.3 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.1.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.1.2.1 20-Nov-2012  yamt file Makefile was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.5.4.4 03-Dec-2017  jdolecek update from HEAD
 1.5.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.4.2 25-Feb-2013  tls resync with head
 1.5.4.1 23-Feb-2013  tls file Makefile was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.6.2.2 18-May-2014  rmind sync with head
 1.6.2.1 28-Aug-2013  rmind sync with head
 1.13.2.1 10-Aug-2014  tls Rebase.
 1.14.12.1 21-Apr-2017  bouyer Sync with HEAD
 1.14.8.1 20-Mar-2017  pgoyette Sync with HEAD
 1.14.4.1 28-Aug-2017  skrll Sync with HEAD
 1.15.14.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 10-Dec-2017  christos use the machine link for bootconfig.h
 1.3 14-Jan-2017  christos there is no <string.h> in standalone code; should be getting strcpy from
libkern.
 1.2 14-Jan-2017  martin Include <string.h> for strcpy
 1.1 23-Feb-2013  jkunz branches: 1.1.4; 1.1.14; 1.1.18; 1.1.22;
Contribution from Petri Laakso:
- Support for passing kernel arguments.
- entropy_init() removed as OLINUXINO doesn't generate entropy bits without
user interaction.
- FIFO contents are flushed when DEBUG is enabled.
 1.1.22.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1.18.1 05-Feb-2017  skrll Sync with HEAD
 1.1.14.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.1.14.1 23-Feb-2013  yamt file args_prep.c was added on branch yamt-pagecache on 2014-05-22 11:39:43 +0000
 1.1.4.2 25-Feb-2013  tls resync with head
 1.1.4.1 23-Feb-2013  tls file args_prep.c was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.3 23-Feb-2013  jkunz branches: 1.3.4;
Contribution from Petri Laakso:
- Support for passing kernel arguments.
- entropy_init() removed as OLINUXINO doesn't generate entropy bits without
user interaction.
- FIFO contents are flushed when DEBUG is enabled.
 1.2 16-Dec-2012  jkunz branches: 1.2.2;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.2.2.4 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.2.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 16-Dec-2012  yamt file boot_prep.c was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.3.4.2 25-Feb-2013  tls resync with head
 1.3.4.1 23-Feb-2013  tls file boot_prep.c was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.4 07-Oct-2013  matt iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.3 16-Dec-2012  jkunz branches: 1.3.2; 1.3.4; 1.3.6;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.2 20-Nov-2012  jkunz Adjust bootloader file name.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.3.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.6.2 25-Feb-2013  tls resync with head
 1.3.6.1 16-Dec-2012  tls file bootimx23.bd was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.3.4.1 18-May-2014  rmind sync with head
 1.3.2.4 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.3.2.3 23-Jan-2013  yamt sync with head
 1.3.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.3.2.1 16-Dec-2012  yamt file bootimx23.bd was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.1 07-Oct-2013  matt branches: 1.1.4; 1.1.6; 1.1.10;
iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 07-Oct-2013  tls file bootimx23.c was added on branch tls-maxphys on 2014-08-20 00:02:56 +0000
 1.1.6.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.1.6.1 07-Oct-2013  yamt file bootimx23.c was added on branch yamt-pagecache on 2014-05-22 11:39:43 +0000
 1.1.4.2 18-May-2014  rmind sync with head
 1.1.4.1 07-Oct-2013  rmind file bootimx23.c was added on branch rmind-smpnet on 2014-05-18 17:45:05 +0000
 1.3 07-Oct-2013  matt iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.2 16-Dec-2012  jkunz branches: 1.2.2; 1.2.4; 1.2.6;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.2.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.2 25-Feb-2013  tls resync with head
 1.2.6.1 16-Dec-2012  tls file clock_prep.c was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.2.4.1 18-May-2014  rmind sync with head
 1.2.2.4 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.2.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 16-Dec-2012  yamt file clock_prep.c was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.4 07-Oct-2013  matt iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.3 23-Feb-2013  jkunz branches: 1.3.2; 1.3.4;
Contribution from Petri Laakso:
- Support for passing kernel arguments.
- entropy_init() removed as OLINUXINO doesn't generate entropy bits without
user interaction.
- FIFO contents are flushed when DEBUG is enabled.
 1.2 16-Dec-2012  jkunz branches: 1.2.2;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.2.2.4 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.2.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 16-Dec-2012  yamt file common.c was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.3.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.2 25-Feb-2013  tls resync with head
 1.3.4.1 23-Feb-2013  tls file common.c was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.3.2.1 18-May-2014  rmind sync with head
 1.4 07-Oct-2013  matt iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.3 23-Feb-2013  jkunz branches: 1.3.2; 1.3.4;
Contribution from Petri Laakso:
- Support for passing kernel arguments.
- entropy_init() removed as OLINUXINO doesn't generate entropy bits without
user interaction.
- FIFO contents are flushed when DEBUG is enabled.
 1.2 16-Dec-2012  jkunz branches: 1.2.2;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.2.2.4 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.2.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 16-Dec-2012  yamt file common.h was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.3.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.2 25-Feb-2013  tls resync with head
 1.3.4.1 23-Feb-2013  tls file common.h was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.3.2.1 18-May-2014  rmind sync with head
 1.3 07-Oct-2013  matt iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.2 16-Dec-2012  jkunz branches: 1.2.2; 1.2.4; 1.2.6;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.2.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.6.2 25-Feb-2013  tls resync with head
 1.2.6.1 16-Dec-2012  tls file emi_prep.c was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.2.4.1 18-May-2014  rmind sync with head
 1.2.2.4 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.2.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 16-Dec-2012  yamt file emi_prep.c was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.4 07-Oct-2013  matt iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.3 07-Feb-2013  jkunz branches: 1.3.2; 1.3.4;
Contribution from Petri Laakso:
Enable debug UART input
Fixes issue with some OLinuXino boards which were not able to
accept input from the user.
 1.2 16-Dec-2012  jkunz branches: 1.2.2;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.2.2.4 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.2.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.2.1 16-Dec-2012  yamt file pinctrl_prep.c was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.3.4.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.4.2 25-Feb-2013  tls resync with head
 1.3.4.1 07-Feb-2013  tls file pinctrl_prep.c was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.3.2.1 18-May-2014  rmind sync with head
 1.5 17-Aug-2016  skrll Spelling in comment
 1.4 07-Oct-2013  matt branches: 1.4.6;
iMX233/OLinuXino changes from Petri Laskso.
See http://mail-index.netbsd.org/port-arm/2013/10/07/msg002042.html
 1.3 16-Dec-2012  jkunz branches: 1.3.2; 1.3.4; 1.3.6;
Contribution from Petri Laakso.
Refactoring of bootimx23:
- Code style clean up.
- Don't do DCDC initialization in bootimx23. This has proven to be
unreliable. DCDC initialization will be done in kernel later.
Use linear regulators while booting to make bootimx23 reliable.
 1.2 20-Nov-2012  jkunz Give memory more time to power up. Avoids hangups.
 1.1 20-Nov-2012  jkunz Add initial support for Olimex iMX233 based OLinuXino boards.
https://www.olimex.com/Products/OLinuXino/iMX233/
Contributed by Petri Laakso.
 1.3.6.4 03-Dec-2017  jdolecek update from HEAD
 1.3.6.3 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.6.2 25-Feb-2013  tls resync with head
 1.3.6.1 16-Dec-2012  tls file power_prep.c was added on branch tls-maxphys on 2013-02-25 00:28:38 +0000
 1.3.4.1 18-May-2014  rmind sync with head
 1.3.2.4 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.3.2.3 23-Jan-2013  yamt sync with head
 1.3.2.2 16-Jan-2013  yamt sync with (a bit old) head
 1.3.2.1 16-Dec-2012  yamt file power_prep.c was added on branch yamt-pagecache on 2013-01-16 05:32:56 +0000
 1.4.6.1 05-Oct-2016  skrll Sync with HEAD
 1.12 02-May-2013  matt This change arm, armeb, earm, earmeb, earmhf, earmhfeb so all builds that
share a MACHINE_ARCH for userland so that except for etc, will produce
identical sets.

usr/include/machine now points to usr/include/arm
 1.11 05-Feb-2013  matt There are other little endian arm machine_arches other than "arm"
Use MACHINE_CPU and TARGET_ENDIANNESS instead of MACHINE_ARCH
 1.10 02-Jun-2012  skrll branches: 1.10.2;
Whitespace.
 1.9 30-Oct-2008  cliff branches: 1.9.10; 1.9.26;
fix, use += when adint to SUBDIR list
 1.8 30-Oct-2008  cliff add gzboot support for gemini

GEMINI_dram_0x01600000 defines inflation from concatenated
gzboot & netbsd.bin.gz at sdram 0x01600000 to 0x00200000

note that ns16550.c INB() and OUTB() macros now have
"mult 4" type 4 byte regsiter offset stride
if NS16550_AX4 is defined. this is needed for gemini,
and was OKed by gimpy.
 1.7 11-Dec-2005  christos branches: 1.7.74; 1.7.78; 1.7.84; 1.7.86;
merge ktrace-lwp.
 1.6 28-Dec-2004  joff descend into TS7200_flash_0x60660000
 1.5 03-Sep-2003  mycroft Whoops, reenable some stuff.
 1.4 03-Sep-2003  mycroft Add gzboot support for SMDK2410.
 1.3 30-Jul-2003  bsh gzboot for SMDK2800.
 1.2 26-May-2003  thorpej branches: 1.2.2;
Don't build a big-endian image on platforms which don't run big-endian.
 1.1 29-Apr-2003  thorpej Descend into the gzboot directories.
 1.2.2.4 17-Jan-2005  skrll Sync with HEAD.
 1.2.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.2.2.1 03-Aug-2004  skrll Sync with HEAD
 1.7.86.1 19-Jan-2009  skrll Sync with HEAD.
 1.7.84.1 13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.7.78.1 04-May-2009  yamt sync with head.
 1.7.74.1 17-Jan-2009  mjf Sync with HEAD.
 1.9.26.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.9.26.1 30-Oct-2012  yamt sync with head
 1.9.10.1 19-Dec-2013  matt Make endian check more generic
 1.10.2.2 23-Jun-2013  tls resync from head
 1.10.2.1 25-Feb-2013  tls resync with head
 1.38 12-Feb-2020  thorpej Allow a configuration to specify an arbitrary address where the
compressed kernel image is located, in the event it can't be appended
to or embedded within the gzboot binary itself.
 1.37 24-Oct-2019  christos branches: 1.37.2;
1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and
bsd.own.mk also adds it for gcc only (so we end up with 2 -marm for gcc).
Just add -marm unconditionally in bsd.own.mk in ARM_APCS_FLAGS and remove
it from everywhere else.
2. gcc-8 now warns about thumb internetwork in APCS mode. This does not make
sense because the documentation says that this flag does not make a
difference in apcs mode, but might produce larger code in non-APCS mode.
So we just add it to silence the warnings.
 1.36 08-Apr-2017  christos branches: 1.36.14;
centralize vers.c building for standalone programs.
 1.35 22-Feb-2017  maya GC more logic that was intended for GCC <4.8 (or !LLVM)

Same as before (-marm implies -mno-thumb), but now the condition was flipped
 1.34 01-Mar-2016  joerg branches: 1.34.2; 1.34.4;
Don't reuse LDFLAGS for arguments passed directly to ${LD}, share/mk
expects it to be passed to ${CC} or ${CXX}, so they will generally
prefix flags with -Wl.
 1.33 31-Jan-2016  christos remove the MKPIE and MKCTF no hack, and move it to the .mk files
 1.32 31-Jan-2016  christos Disable PIE and CTF for standalone code
XXX: Must be done centrally, and there must be a better way.
 1.31 15-Jul-2015  martin Clear STRIPFLAGS (stripping in general is dangerous with the -BE8 object
format, and should never be done before the final linking has happened).
From Rin Okuyama.
 1.30 12-Jan-2014  tsutsui branches: 1.30.6;
Add empty LIBCRTI= as LIBCRT0 to build sa programs without installed DESTDIR.

XXX: probabry we should have bsd.saprog.mk or something.
 1.29 15-Dec-2013  joerg Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
 1.28 05-Dec-2013  joerg Use -marm for clang builds, too.
 1.27 04-Nov-2013  christos explicitly add -marm
 1.26 04-Nov-2013  christos -mno-thumb-interwork is the default, and there is no -mthumb in gcc 4.8
 1.25 21-Aug-2013  matt Use <bsd.klinks.mk>
 1.24 15-Aug-2013  matt Add CPPFLAGS+= -mno-thumb -mno-thumb-interwork
 1.23 23-Jun-2013  matt branches: 1.23.2;
Add -fno-unwind-tables
 1.22 06-Feb-2013  matt gcc will supply -Wa,-eabi=gnu so don't include. Use -mabi=apcs-base, not atpcs
 1.21 05-Feb-2013  matt Make sure these are always compiled with -mabi=atpcs -mfloat-abi=soft
-Wa,-meabi=gnu so they use the old compilation methods.
 1.20 13-Aug-2012  khorben branches: 1.20.2;
Fixed build with USE_SSP=yes

ok christos@
 1.19 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.18 20-Jul-2012  matt Add missing ${_MKTARGET_LINK}
 1.17 22-Jan-2011  joerg branches: 1.17.4; 1.17.10;
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.16 27-May-2010  dholland branches: 1.16.2; 1.16.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.15 12-Jan-2009  tsutsui branches: 1.15.4; 1.15.6;
- WARNSfy
- add src/common/dist/zlib to incpath for build without DESTDIR
 1.14 16-Jan-2006  he branches: 1.14.72; 1.14.76; 1.14.84;
The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.13 11-Dec-2005  christos branches: 1.13.2;
merge ktrace-lwp.
 1.12 03-May-2005  bsh branches: 1.12.2;
dependencies for .BEGIN is not accepted by the latest nbmake.
 1.11 18-Mar-2005  bsh include <bsd.obj.mk> to teach make the rules for OBJDIR names.

This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
 1.10 21-Jun-2004  jmc branches: 1.10.4; 1.10.6; 1.10.10;
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.9 26-Oct-2003  lukem branches: 1.9.2;
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.8 29-Apr-2003  thorpej branches: 1.8.2;
* Add ${PROGSYM} to CLEANFILES.
* Instsall either the .bin or the .sym, based on whether or not
the resulting gzboot needs to be mdsetimage'd.
 1.7 29-Apr-2003  thorpej Also build a flat binary version of the gzboot program.
 1.6 29-Mar-2003  thorpej Garbage-collect the DYNAMIC_CRC_TABLE stuff. The table it computed
was incompatible with the new CRC code, and it is largely unnecessary
now, since the static table is so much smaller.

Fixes PR kern/20935.
 1.5 25-Apr-2002  thorpej branches: 1.5.6;
Give gzboot a 1M heap, so that loading gzip -9'd kernels works
reliably.
 1.4 24-Feb-2002  thorpej branches: 1.4.2;
Add support for relocating gzboot's .text out of flash and into
RAM (while still decompressing the image directly from flash).

This makes gzboot run a LOT faster.
 1.3 23-Feb-2002  thorpej Fix the -DRELOC=... CPP flag. Add -DDYNAMIC_CRC_TABLE to shrink
the text (and, thus, the space taken up in flash) a bit.
 1.2 23-Feb-2002  thorpej Add support for running directly out of flash:
* Require that the builder Makefile provide a linker script.
* After making sure the MMU is disabled, check to see if
_etext == __data_start. If not, then copy the .data contents
into RAM.
* Put the stack in .bss.
 1.1 23-Feb-2002  thorpej gzboot -- boot a gzip'd kernel image. This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
 1.4.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.4.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.2.1 24-Feb-2002  nathanw file Makefile.gzboot was added on branch nathanw_sa on 2002-02-28 04:09:17 +0000
 1.5.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.5.6.1 25-Apr-2002  jdolecek file Makefile.gzboot was added on branch kqueue on 2002-06-23 17:35:45 +0000
 1.8.2.5 10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.4 01-Apr-2005  skrll Sync with HEAD.
 1.8.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1 03-Aug-2004  skrll Sync with HEAD
 1.9.2.1 22-Jun-2004  tron branches: 1.9.2.1.2;
Pull up revision 1.10 (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.9.2.1.2.1 11-May-2005  riz Pull up revision 1.11 (requested by bsh in ticket #1362):
include <bsd.obj.mk> to teach make the rules for OBJDIR names.
This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
 1.10.10.1 30-Mar-2005  tron Pull up revision 1.11 (requested by bsh in ticket #69):
include <bsd.obj.mk> to teach make the rules for OBJDIR names.
This is to fix a problem on compiling gzboot with BUILDID defined
(by build.sh -B BUILDID).
 1.10.6.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.10.4.1 29-Apr-2005  kent sync with -current
 1.12.2.1 21-Jun-2006  yamt sync with head.
 1.13.2.1 01-Feb-2006  yamt sync with head.
 1.14.84.1 19-Jan-2009  skrll Sync with HEAD.
 1.14.76.2 11-Aug-2010  yamt sync with head.
 1.14.76.1 04-May-2009  yamt sync with head.
 1.14.72.1 17-Jan-2009  mjf Sync with HEAD.
 1.15.6.2 05-Mar-2011  rmind sync with head
 1.15.6.1 30-May-2010  rmind sync with head
 1.15.4.1 17-Aug-2010  uebayasi Sync with HEAD.
 1.16.4.1 08-Feb-2011  bouyer Sync with HEAD
 1.16.2.1 06-Jun-2011  jruoho Sync with HEAD.
 1.17.10.1 13-Aug-2012  riz Pull up following revision(s) (requested by khorben in ticket #493):
sys/arch/evbarm/stand/gzboot/Makefile.gzboot: revision 1.20
Fixed build with USE_SSP=yes
ok christos@
 1.17.4.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.17.4.1 30-Oct-2012  yamt sync with head
 1.20.2.3 03-Dec-2017  jdolecek update from HEAD
 1.20.2.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.20.2.1 25-Feb-2013  tls resync with head
 1.23.2.2 18-May-2014  rmind sync with head
 1.23.2.1 28-Aug-2013  rmind sync with head
 1.30.6.3 28-Aug-2017  skrll Sync with HEAD
 1.30.6.2 19-Mar-2016  skrll Sync with HEAD
 1.30.6.1 22-Sep-2015  skrll Sync with HEAD
 1.34.4.1 21-Apr-2017  bouyer Sync with HEAD
 1.34.2.2 26-Apr-2017  pgoyette Sync with HEAD
 1.34.2.1 20-Mar-2017  pgoyette Sync with HEAD
 1.36.14.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.36.14.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.37.2.1 29-Feb-2020  ad Sync with head.
 1.1 29-Apr-2003  thorpej Descend into the gzboot directories.
 1.16 12-Feb-2020  thorpej Allow a configuration to specify an arbitrary address where the
compressed kernel image is located, in the event it can't be appended
to or embedded within the gzboot binary itself.
 1.15 22-Jan-2011  joerg branches: 1.15.56; 1.15.62;
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.14 26-Oct-2009  cegger branches: 1.14.4; 1.14.6; 1.14.8;
kill extra whitespaces
reviewed by tsutsui@
 1.13 18-Mar-2009  cegger bcopy -> memcpy
 1.12 18-Mar-2009  cegger bzero -> memset
 1.11 25-Jan-2006  christos branches: 1.11.76; 1.11.84; 1.11.90;
free -> dealloc
unsigned -> size_t for alloc/dealloc
 1.10 16-Jan-2006  he The new zlib uses HEAP_SIZE, so instead use BOARD_HEAP_SIZE as the
symbol to use here. Also adapt to the new zlib with the changed name
for the header file.
 1.9 11-Dec-2005  christos branches: 1.9.2;
merge ktrace-lwp.
 1.8 24-Mar-2004  drochner branches: 1.8.16;
remove license clauses 3 and 4 from my cpoyright notices
 1.7 29-Apr-2003  thorpej branches: 1.7.2;
Allow MAXIMAGESIZE to be set to 0. For gzboot's that are linked
for flash, this allows us to basically do:

cat gzboot.bin netbsd.bin.gz > gzimg

to produce the bootable image.
 1.6 17-Apr-2002  thorpej branches: 1.6.6;
* Call board_init() rather than mem_init() (board_init() will take
care of that for us).
* Call board_fini() right before jumping to the kernel entry point.
 1.5 24-Feb-2002  thorpej branches: 1.5.2;
Improve zlib error reporting.
 1.4 23-Feb-2002  thorpej Use bcopy() and bzero(), since the rest of libsa does. This means
we don't have to pull in memset() and memcpy() from libsa.
 1.3 23-Feb-2002  thorpej Don't need to provide zcalloc() and zcfree(); there are such routines
in libz.
 1.2 23-Feb-2002  thorpej Fix a silly bug in the propellor spinning code.
 1.1 23-Feb-2002  thorpej gzboot -- boot a gzip'd kernel image. This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
 1.5.2.3 20-Jun-2002  nathanw Catch up to -current.
 1.5.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.5.2.1 24-Feb-2002  nathanw file gzboot.c was added on branch nathanw_sa on 2002-02-28 04:09:17 +0000
 1.6.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.6.1 17-Apr-2002  jdolecek file gzboot.c was added on branch kqueue on 2002-06-23 17:35:45 +0000
 1.7.2.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.7.2.2 18-Sep-2004  skrll Sync with HEAD.
 1.7.2.1 03-Aug-2004  skrll Sync with HEAD
 1.8.16.1 21-Jun-2006  yamt sync with head.
 1.9.2.1 01-Feb-2006  yamt sync with head.
 1.11.90.1 13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.11.84.1 28-Apr-2009  skrll Sync with HEAD.
 1.11.76.2 11-Mar-2010  yamt sync with head
 1.11.76.1 04-May-2009  yamt sync with head.
 1.14.8.1 08-Feb-2011  bouyer Sync with HEAD
 1.14.6.1 06-Jun-2011  jruoho Sync with HEAD.
 1.14.4.1 05-Mar-2011  rmind sync with head
 1.15.62.1 29-Feb-2020  ad Sync with head.
 1.15.56.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1 23-Feb-2002  thorpej branches: 1.1.2; 1.1.14;
gzboot -- boot a gzip'd kernel image. This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 23-Feb-2002  jdolecek file gzboot.h was added on branch kqueue on 2002-06-23 17:35:45 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 23-Feb-2002  nathanw file gzboot.h was added on branch nathanw_sa on 2002-02-28 04:09:17 +0000
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 26-Feb-2005  bsh align md_root_loadaddr to word boundary.
 1.2 29-Apr-2003  thorpej branches: 1.2.2; 1.2.10; 1.2.12;
Allow MAXIMAGESIZE to be set to 0. For gzboot's that are linked
for flash, this allows us to basically do:

cat gzboot.bin netbsd.bin.gz > gzimg

to produce the bootable image.
 1.1 24-Feb-2002  thorpej branches: 1.1.2; 1.1.14;
Add support for relocating gzboot's .text out of flash and into
RAM (while still decompressing the image directly from flash).

This makes gzboot run a LOT faster.
 1.1.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.14.1 24-Feb-2002  jdolecek file image.S was added on branch kqueue on 2002-06-23 17:35:45 +0000
 1.1.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.1.2.1 24-Feb-2002  nathanw file image.S was added on branch nathanw_sa on 2002-02-28 04:09:17 +0000
 1.2.12.1 19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.2.10.1 29-Apr-2005  kent sync with -current
 1.2.2.1 04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.2 24-Feb-2002  thorpej This file is obsolete.
 1.1 23-Feb-2002  thorpej gzboot -- boot a gzip'd kernel image. This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
 1.7 11-Dec-2005  christos merge ktrace-lwp.
 1.6 22-Jul-2003  briggs Deal with case where __data_store == _edata.
 1.5 14-Oct-2002  bjh21 branches: 1.5.6;
Continue the " - . - 8" purge. Specifically:

add rd, pc, #foo - . - 8 -> adr rd, foo
ldr rd, [pc, #foo - . - 8] -> ldr rd, foo

Also, when saving the return address for a function pointer call, use
"mov lr, pc" just before the call unless the return address is somewhere
other than just after the call site.

Finally, a few obvious little micro-optimisations like using LDR directly
rather than ADR followed by LDR, and loading directly into PC rather than
bouncing via R0.
 1.4 24-Feb-2002  thorpej branches: 1.4.2; 1.4.14;
Fix a couple of comments.
 1.3 24-Feb-2002  thorpej Add support for relocating gzboot's .text out of flash and into
RAM (while still decompressing the image directly from flash).

This makes gzboot run a LOT faster.
 1.2 23-Feb-2002  thorpej Add support for running directly out of flash:
* Require that the builder Makefile provide a linker script.
* After making sure the MMU is disabled, check to see if
_etext == __data_start. If not, then copy the .data contents
into RAM.
* Put the stack in .bss.
 1.1 23-Feb-2002  thorpej gzboot -- boot a gzip'd kernel image. This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
 1.4.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.14.1 24-Feb-2002  jdolecek file srtbegin.S was added on branch kqueue on 2002-06-23 17:35:45 +0000
 1.4.2.3 18-Oct-2002  nathanw Catch up to -current.
 1.4.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.4.2.1 24-Feb-2002  nathanw file srtbegin.S was added on branch nathanw_sa on 2002-02-28 04:09:18 +0000
 1.5.6.3 21-Sep-2004  skrll Fix the sync with head I botched.
 1.5.6.2 18-Sep-2004  skrll Sync with HEAD.
 1.5.6.1 03-Aug-2004  skrll Sync with HEAD
 1.3 29-Apr-2003  thorpej Bump version to 1.2 for the concatenation feature.
 1.2 24-Feb-2002  thorpej branches: 1.2.2; 1.2.14;
Add support for relocating gzboot's .text out of flash and into
RAM (while still decompressing the image directly from flash).

This makes gzboot run a LOT faster.
 1.1 23-Feb-2002  thorpej gzboot -- boot a gzip'd kernel image. This is useful for booting
compressed kernel images from flash.

This needs more work, but is a good first-pass.
 1.2.14.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.14.1 24-Feb-2002  jdolecek file version was added on branch kqueue on 2002-06-23 17:35:45 +0000
 1.2.2.2 28-Feb-2002  nathanw Catch up to -current.
 1.2.2.1 24-Feb-2002  nathanw file version was added on branch nathanw_sa on 2002-02-28 04:09:19 +0000
 1.3 12-Dec-2012  matt Fix CPUFLAGS to the correct value so a passed down CPUFLAGS doesn't result
in broken images.
 1.2 29-Apr-2003  thorpej branches: 1.2.142; 1.2.150; 1.2.152;
Make these images concatenating images.
 1.1 25-Mar-2003  thorpej Gzboot support for the ADI BRH eval board. This flash address allows
the kernel to be decompressed and started at board reset if the BRH's
rotary switch is set to position 5.
 1.2.152.1 25-Feb-2013  tls resync with head
 1.2.150.1 06-Dec-2012  matt Hardcode CPUFLAGS appropriately so that these are always built for the correct
cpu/architecture.
 1.2.142.1 16-Jan-2013  yamt sync with (a bit old) head
 1.6 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.5 26-Sep-2009  skrll branches: 1.5.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.4 11-Dec-2005  christos branches: 1.4.78;
merge ktrace-lwp.
 1.3 24-Dec-2004  joff Pad .sdata section to a 4-byte boundary so that the .image section
is always aligned. This makes md_root_loadaddr always 4 byte aligned.
Without this, may get an un-aligned access trap before we even print
anything on the console which was a pain in the neck to debug since so
early in the bootstrap the CPU usually just halts on exceptions.
 1.2 26-May-2003  thorpej branches: 1.2.2;
Don't set the output format explicitly; let the linker use its defaults.
 1.1 25-Mar-2003  thorpej Gzboot support for the ADI BRH eval board. This flash address allows
the kernel to be decompressed and started at board reset if the BRH's
rotary switch is set to position 5.
 1.2.2.1 17-Jan-2005  skrll Sync with HEAD.
 1.4.78.1 11-Mar-2010  yamt sync with head
 1.5.12.1 30-Oct-2012  yamt sync with head
 1.4 12-Dec-2012  matt Fix CPUFLAGS to the correct value so a passed down CPUFLAGS doesn't result
in broken images.
 1.3 06-Aug-2012  matt branches: 1.3.2;
Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.2 10-Nov-2008  cliff branches: 1.2.4; 1.2.6; 1.2.10; 1.2.22; 1.2.30;
- nullcom.c provides nulldev-like console device for silent gzboot
- GEMINI_dram_0x01600000/Makefile uses nullcom, shhh
 1.1 30-Oct-2008  cliff add gzboot support for gemini

GEMINI_dram_0x01600000 defines inflation from concatenated
gzboot & netbsd.bin.gz at sdram 0x01600000 to 0x00200000

note that ns16550.c INB() and OUTB() macros now have
"mult 4" type 4 byte regsiter offset stride
if NS16550_AX4 is defined. this is needed for gemini,
and was OKed by gimpy.
 1.2.30.1 06-Dec-2012  matt Hardcode CPUFLAGS appropriately so that these are always built for the correct
cpu/architecture.
 1.2.22.2 16-Jan-2013  yamt sync with (a bit old) head
 1.2.22.1 30-Oct-2012  yamt sync with head
 1.2.10.2 04-May-2009  yamt sync with head.
 1.2.10.1 10-Nov-2008  yamt file Makefile was added on branch yamt-nfs-mp on 2009-05-04 08:11:00 +0000
 1.2.6.2 19-Jan-2009  skrll Sync with HEAD.
 1.2.6.1 10-Nov-2008  skrll file Makefile was added on branch nick-hppapmap on 2009-01-19 13:16:08 +0000
 1.2.4.2 17-Jan-2009  mjf Sync with HEAD.
 1.2.4.1 10-Nov-2008  mjf file Makefile was added on branch mjf-devfs2 on 2009-01-17 13:27:59 +0000
 1.3.2.1 25-Feb-2013  tls resync with head
 1.3 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.2 26-Sep-2009  skrll branches: 1.2.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.1 30-Oct-2008  cliff branches: 1.1.6; 1.1.8; 1.1.14;
add gzboot support for gemini

GEMINI_dram_0x01600000 defines inflation from concatenated
gzboot & netbsd.bin.gz at sdram 0x01600000 to 0x00200000

note that ns16550.c INB() and OUTB() macros now have
"mult 4" type 4 byte regsiter offset stride
if NS16550_AX4 is defined. this is needed for gemini,
and was OKed by gimpy.
 1.1.14.3 11-Mar-2010  yamt sync with head
 1.1.14.2 04-May-2009  yamt sync with head.
 1.1.14.1 30-Oct-2008  yamt file ldscript was added on branch yamt-nfs-mp on 2009-05-04 08:11:00 +0000
 1.1.8.2 19-Jan-2009  skrll Sync with HEAD.
 1.1.8.1 30-Oct-2008  skrll file ldscript was added on branch nick-hppapmap on 2009-01-19 13:16:08 +0000
 1.1.6.2 17-Jan-2009  mjf Sync with HEAD.
 1.1.6.1 30-Oct-2008  mjf file ldscript was added on branch mjf-devfs2 on 2009-01-17 13:27:59 +0000
 1.2.12.1 30-Oct-2012  yamt sync with head
 1.4 12-Dec-2012  matt Fix CPUFLAGS to the correct value so a passed down CPUFLAGS doesn't result
in broken images.
 1.3 29-Apr-2003  thorpej branches: 1.3.142; 1.3.150; 1.3.152;
Fix the name of the image.
 1.2 29-Apr-2003  thorpej Make these images concatenating images.
 1.1 29-Apr-2003  thorpej Rename the IQ80310 directory to have all nibbles of the address in the name.
 1.3.152.1 25-Feb-2013  tls resync with head
 1.3.150.1 06-Dec-2012  matt Hardcode CPUFLAGS appropriately so that these are always built for the correct
cpu/architecture.
 1.3.142.1 16-Jan-2013  yamt sync with (a bit old) head
 1.5 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.4 26-Sep-2009  skrll branches: 1.4.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.3 11-Dec-2005  christos branches: 1.3.78;
merge ktrace-lwp.
 1.2 24-Dec-2004  joff Pad .sdata section to a 4-byte boundary so that the .image section
is always aligned. This makes md_root_loadaddr always 4 byte aligned.
Without this, may get an un-aligned access trap before we even print
anything on the console which was a pain in the neck to debug since so
early in the bootstrap the CPU usually just halts on exceptions.
 1.1 29-Apr-2003  thorpej branches: 1.1.2;
Rename the IQ80310 directory to have all nibbles of the address in the name.
 1.1.2.1 17-Jan-2005  skrll Sync with HEAD.
 1.3.78.1 11-Mar-2010  yamt sync with head
 1.4.12.1 30-Oct-2012  yamt sync with head
 1.4 12-Dec-2012  matt Fix CPUFLAGS to the correct value so a passed down CPUFLAGS doesn't result
in broken images.
 1.3 29-Apr-2003  thorpej branches: 1.3.142; 1.3.150; 1.3.152;
Make these images concatenating images.
 1.2 25-Apr-2002  thorpej branches: 1.2.6; 1.2.8;
Add iq80321.c
 1.1 28-Mar-2002  thorpej Example gzboot config for the IQ80321.
 1.2.8.2 25-Apr-2002  thorpej Add iq80321.c
 1.2.8.1 25-Apr-2002  thorpej file Makefile was added on branch nathanw_sa on 2002-04-25 01:47:55 +0000
 1.2.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.6.1 25-Apr-2002  jdolecek file Makefile was added on branch kqueue on 2002-06-23 17:35:46 +0000
 1.3.152.1 25-Feb-2013  tls resync with head
 1.3.150.1 06-Dec-2012  matt Hardcode CPUFLAGS appropriately so that these are always built for the correct
cpu/architecture.
 1.3.142.1 16-Jan-2013  yamt sync with (a bit old) head
 1.8 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.7 26-Sep-2009  skrll branches: 1.7.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.6 11-Dec-2005  christos branches: 1.6.78;
merge ktrace-lwp.
 1.5 24-Dec-2004  joff Pad .sdata section to a 4-byte boundary so that the .image section
is always aligned. This makes md_root_loadaddr always 4 byte aligned.
Without this, may get an un-aligned access trap before we even print
anything on the console which was a pain in the neck to debug since so
early in the bootstrap the CPU usually just halts on exceptions.
 1.4 25-Apr-2002  thorpej branches: 1.4.6; 1.4.8; 1.4.14;
Use LOADADDR() where appropriate.
 1.3 11-Apr-2002  thorpej Lose -nbsd
 1.2 01-Apr-2002  thorpej Add -nbsd to OUTPUT_FORMAT BFD target names.
 1.1 28-Mar-2002  thorpej Example gzboot config for the IQ80321.
 1.4.14.1 17-Jan-2005  skrll Sync with HEAD.
 1.4.8.2 25-Apr-2002  thorpej Use LOADADDR() where appropriate.
 1.4.8.1 25-Apr-2002  thorpej file ldscript was added on branch nathanw_sa on 2002-04-25 01:48:22 +0000
 1.4.6.2 23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.4.6.1 25-Apr-2002  jdolecek file ldscript was added on branch kqueue on 2002-06-23 17:35:46 +0000
 1.6.78.1 11-Mar-2010  yamt sync with head
 1.7.12.1 30-Oct-2012  yamt sync with head
 1.1 12-Feb-2020  thorpej branches: 1.1.6;
Add gzboot support for NSLU2. This is a work-in-progress. This configuration
follows the existing NSLU2 RedBoot default bootstrap procedure. (Other
configurations are possible, but not yet implemented.)
 1.1.6.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1.6.1 12-Feb-2020  martin file Makefile was added on branch phil-wifi on 2020-04-13 08:03:47 +0000
 1.2 12-Feb-2020  thorpej branches: 1.2.6;
Because everything goes into the same memory region at run-time in this
configuration *and* image data concatenated onto the end, the BSS segment
needs to be allocated in the file.
 1.1 12-Feb-2020  thorpej Add gzboot support for NSLU2. This is a work-in-progress. This configuration
follows the existing NSLU2 RedBoot default bootstrap procedure. (Other
configurations are possible, but not yet implemented.)
 1.2.6.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.6.1 12-Feb-2020  martin file ldscript was added on branch phil-wifi on 2020-04-13 08:03:47 +0000
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 22-Apr-2004  thorpej branches: 1.3.2;
Assign to CPUFLAGS to add -march=armv4 instead of adding to COPTS.
 1.2 05-Oct-2003  bsh add -DCPU_S3C{2800,2410} for board/sscom.c
 1.1 03-Sep-2003  mycroft Add gzboot support for SMDK2410.
 1.3.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.2 03-Aug-2004  skrll Sync with HEAD
 1.3.2.1 22-Apr-2004  skrll file Makefile was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.5 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.4 26-Sep-2009  skrll branches: 1.4.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.3 11-Dec-2005  christos branches: 1.3.78;
merge ktrace-lwp.
 1.2 24-Dec-2004  joff Pad .sdata section to a 4-byte boundary so that the .image section
is always aligned. This makes md_root_loadaddr always 4 byte aligned.
Without this, may get an un-aligned access trap before we even print
anything on the console which was a pain in the neck to debug since so
early in the bootstrap the CPU usually just halts on exceptions.
 1.1 03-Sep-2003  mycroft branches: 1.1.4;
Add gzboot support for SMDK2410.
 1.1.4.5 17-Jan-2005  skrll Sync with HEAD.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 03-Sep-2003  skrll file ldscript was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.3.78.1 11-Mar-2010  yamt sync with head
 1.4.12.1 30-Oct-2012  yamt sync with head
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 22-Apr-2004  thorpej branches: 1.3.2;
Assign to CPUFLAGS to add -march=armv4 instead of adding to COPTS.
 1.2 05-Oct-2003  bsh add -DCPU_S3C{2800,2410} for board/sscom.c
 1.1 30-Jul-2003  bsh gzboot for SMDK2800.
 1.3.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.2 03-Aug-2004  skrll Sync with HEAD
 1.3.2.1 22-Apr-2004  skrll file Makefile was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.5 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.4 26-Sep-2009  skrll branches: 1.4.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.3 11-Dec-2005  christos branches: 1.3.78;
merge ktrace-lwp.
 1.2 24-Dec-2004  joff Pad .sdata section to a 4-byte boundary so that the .image section
is always aligned. This makes md_root_loadaddr always 4 byte aligned.
Without this, may get an un-aligned access trap before we even print
anything on the console which was a pain in the neck to debug since so
early in the bootstrap the CPU usually just halts on exceptions.
 1.1 30-Jul-2003  bsh branches: 1.1.4;
gzboot for SMDK2800.
 1.1.4.5 17-Jan-2005  skrll Sync with HEAD.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 30-Jul-2003  skrll file ldscript was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.3.78.1 11-Mar-2010  yamt sync with head
 1.4.12.1 30-Oct-2012  yamt sync with head
 1.4 11-Dec-2005  christos merge ktrace-lwp.
 1.3 22-Apr-2004  thorpej branches: 1.3.2;
Assign to CPUFLAGS to add -march=armv4 instead of adding to COPTS.
 1.2 05-Oct-2003  bsh add -DCPU_S3C{2800,2410} for board/sscom.c
 1.1 30-Jul-2003  bsh gzboot for SMDK2800.
 1.3.2.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.2.3 18-Sep-2004  skrll Sync with HEAD.
 1.3.2.2 03-Aug-2004  skrll Sync with HEAD
 1.3.2.1 22-Apr-2004  skrll file Makefile was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.5 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.4 26-Sep-2009  skrll branches: 1.4.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.3 11-Dec-2005  christos branches: 1.3.78;
merge ktrace-lwp.
 1.2 24-Dec-2004  joff Pad .sdata section to a 4-byte boundary so that the .image section
is always aligned. This makes md_root_loadaddr always 4 byte aligned.
Without this, may get an un-aligned access trap before we even print
anything on the console which was a pain in the neck to debug since so
early in the bootstrap the CPU usually just halts on exceptions.
 1.1 30-Jul-2003  bsh branches: 1.1.4;
gzboot for SMDK2800.
 1.1.4.5 17-Jan-2005  skrll Sync with HEAD.
 1.1.4.4 21-Sep-2004  skrll Fix the sync with head I botched.
 1.1.4.3 18-Sep-2004  skrll Sync with HEAD.
 1.1.4.2 03-Aug-2004  skrll Sync with HEAD
 1.1.4.1 30-Jul-2003  skrll file ldscript was added on branch ktrace-lwp on 2004-08-03 10:34:08 +0000
 1.3.78.1 11-Mar-2010  yamt sync with head
 1.4.12.1 30-Oct-2012  yamt sync with head
 1.3 12-Dec-2012  matt Fix CPUFLAGS to the correct value so a passed down CPUFLAGS doesn't result
in broken images.
 1.2 11-Dec-2005  christos branches: 1.2.112; 1.2.120; 1.2.122;
merge ktrace-lwp.
 1.1 24-Dec-2004  joff branches: 1.1.4;
support for gzimg's in TS-7200 Redboot on-board flash
 1.1.4.2 17-Jan-2005  skrll Sync with HEAD.
 1.1.4.1 24-Dec-2004  skrll file Makefile was added on branch ktrace-lwp on 2005-01-17 19:29:22 +0000
 1.2.122.1 25-Feb-2013  tls resync with head
 1.2.120.1 06-Dec-2012  matt Hardcode CPUFLAGS appropriately so that these are always built for the correct
cpu/architecture.
 1.2.112.1 16-Jan-2013  yamt sync with (a bit old) head
 1.4 06-Aug-2012  matt Fix to allow EABI compilation.
Make sure to DISCARD new .ARM.attributes and .ARM.ebxidx sections.
 1.3 26-Sep-2009  skrll branches: 1.3.12;
Deal with the following change to ld:

* The default output section LMA has changed for allocatable sections from
being equal to VMA, to keeping the difference between LMA and VMA the same as
the previous output section in the same region. This is a more useful
default when using overlays and other cases where you specify an LMA
differing from the VMA for some sections.
 1.2 11-Dec-2005  christos branches: 1.2.78;
merge ktrace-lwp.
 1.1 24-Dec-2004  joff branches: 1.1.4;
support for gzimg's in TS-7200 Redboot on-board flash
 1.1.4.2 17-Jan-2005  skrll Sync with HEAD.
 1.1.4.1 24-Dec-2004  skrll file ldscript was added on branch ktrace-lwp on 2005-01-17 19:29:22 +0000
 1.2.78.1 11-Mar-2010  yamt sync with head
 1.3.12.1 30-Oct-2012  yamt sync with head

RSS XML Feed