History log of /src/usr.sbin/installboot/machines.c |
Revision | | Date | Author | Comments |
1.44 |
| 22-May-2024 |
tsutsui | Remove no-op emips stuff.
It seems blindly copied and modified from pmax, but emips bootloader can be specified by "Ml40x_2ace.plx" config file on the Giano simulator. (not sure what on the real Xilinx ML401 board, but maybe hardcoded)
|
1.43 |
| 21-Jun-2020 |
thorpej | Add evbmips support for u-boot handling.
|
1.42 |
| 15-Aug-2019 |
martin | Never trust a compiler that predefines i386 as 1 - do the symbol name concatenation at the make level instead.
|
1.41 |
| 15-Aug-2019 |
martin | Replace black voodo linker magic (sometimes failing) with some makefile + macro magic to trim the list of available machines on size restricted install media.
|
1.40 |
| 07-May-2019 |
thorpej | branches: 1.40.2; Add installboot(8) support for evbarm (and, in the future, other evb*) boards that use u-boot. A known board database lists boards and their respective u-boot packages. u-boot packages are discovered at run-time (in /usr/pkg/share/u-boot, by default). These packages contain board database overlays that describe u-boot installation procedure that's specific for that board.
Support this as a native tool and as a host tool. The native tool will attempt to determine the running board type using OpenFirmware calls. Host tool and native tool alike may also specify a board type directly using the "-o board=xxx option" or have installboot(8) determine the board type from a device tree blob using "-o dtb=/path/to/board.dtb". A "-o media=xxx" option is provided for boards that have different u-boot binaries and/or installation procedures for different media types (e.g. SDMMC, eMMC, or USB).
This is trivial to extend to other evb* platforms that use u-boot, even if they don't use FDT for autoconfiguration.
|
1.39 |
| 24-Feb-2014 |
skrll | branches: 1.39.18; 1.39.26; Rename NetBSD/hp700 to NetBSD/hppa.
Unfortunately our VCS isn't very helpful here.
|
1.38 |
| 14-Jun-2011 |
matt | branches: 1.38.2; 1.38.8; A small bit of constification
|
1.37 |
| 26-Jan-2011 |
pooka | branches: 1.37.2; Add support for the Extensible MIPS ("eMIPS") platform. The NetBSD/emips port runs on Xilinx and Beecube FPGA systems and the Giano system simulator.
eMIPS is a platform developed at Microsoft Research for researching reconfigurable computing. eMIPS allows dynamic loading and scheduling of application-specific circuits for the purpose of accelerating computations based on the current workload.
NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research by Alessandro Forin and Neil Pittman. Microsoft Corporation has donated full copyright to The NetBSD Foundation.
Platform support for eMIPS is the first part of Microsoft's contribution. The second part includes the hardware accelerator framework and will be proposed on tech-kern soon.
|
1.36 |
| 14-Jan-2010 |
tsutsui | branches: 1.36.2; Remove if defined(__RCSID) around __RCSID() macro. #include "nbtool_config.h" is enough for tools.
|
1.35 |
| 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.34 |
| 01-Sep-2006 |
uwe | branches: 1.34.16; NetBSD/landisk support.
|
1.33 |
| 18-Feb-2006 |
dsl | Define the ib_mach_xxx entries here in a way that will allocate them into the bss if the MD file isn't linked into the installboot image.
|
1.32 |
| 18-Feb-2006 |
dsl | Move the MD definitions into the MD files, leaving machines.c with just a list of the supported machines.
|
1.31 |
| 29-Dec-2005 |
tsutsui | Add ews4800mips support.
|
1.30 |
| 14-Nov-2005 |
lukem | Update copyright years. Whitespace tweaks.
|
1.29 |
| 11-Nov-2005 |
dsl | Add a -e (edit) option to allow the bootstrap options of an installed bootstrap or a file containing such a bootstrap to be changed/displayed. In particular this will (soon) let you modify the parameters for pxeboot.
|
1.28 |
| 16-Jul-2005 |
hannken | Add option `ioaddr=<ioaddr>' to amd64. Already noted in man page.
Approved by: Frank van der Linden <fvdl@netbsd.org>
|
1.27 |
| 12-Jun-2005 |
dyoung | Build hp300 support into installboot(8).
|
1.26 |
| 14-May-2005 |
chs | add hp700 support.
|
1.25 |
| 15-Aug-2004 |
dsl | Add an option to set bp_consaddr (serial console IO port address) Only complain about small patch area if we would write something non-zero there.
|
1.24 |
| 20-Jun-2004 |
jmc | Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
|
1.23 |
| 13-Mar-2004 |
dsl | branches: 1.23.2; Add a -o keymap=zyz option that will set the boot keymap. If a character in the map is typed, it gets replaced by the one following.
|
1.22 |
| 14-Nov-2003 |
lukem | Disable hp300 support (again). This code is not to be reenabled again until it is fixed to my satisfaction (as a member of core and the person who ends up dealing with most of the host tool build bugs)
|
1.21 |
| 13-Nov-2003 |
dsl | roundup() write of hp300 boot code to a multiplr of the disk sector size. and re-instate the hp300 code - seems to work.
|
1.20 |
| 10-Nov-2003 |
fvdl | Comment out hp300 references.
|
1.19 |
| 08-Nov-2003 |
dsl | First cut of hp300 installboot, seems to DTRT on i386. Maybe this code ought to know how to add a file to the LIF filesystem.
|
1.18 |
| 27-Oct-2003 |
cl | add next68k support to installboot
|
1.17 |
| 30-Aug-2003 |
fvdl | Add amd64 to list of supported machines (does the same as i386).
|
1.16 |
| 27-Jul-2003 |
lukem | rcsid
|
1.15 |
| 15-Apr-2003 |
dsl | Change the way -o options are parsed, now done in MI code with a check after all the options have been processed that they are supported my the specific system. Add i386 MD options (console, password, speed and timeout) (Approved by christos and lukem)
|
1.14 |
| 09-Apr-2003 |
dsl | Add support for i386 boot code - for new bootxx stuff
|
1.13 |
| 15-Jan-2003 |
mhitch | Add support for amiga.
|
1.12 |
| 02-Jun-2002 |
isaki | Add x68k stuff.
|
1.11 |
| 20-May-2002 |
lukem | - use uint8_t instead of char for boot block blobs - bbinfo_params: - replace "int littleendian" with "bbinfo_endian endian" - add comments - shared_bbinfo_clearboot(): - add callback method to shared_bbinfo_clearboot() - don't clear from 0..headeroffset; use a callback to do that - add news68k and newsmips support. From Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>, with a rework by me to take advantage of the new shared_bbinfo_clearboot() callback. (XXX: untested yet)
|
1.10 |
| 17-May-2002 |
lukem | Enable sun3, using same sun68k backend as sun2.
XXX: sun3 port still needs to be cut over to using sun68k bootxx...
|
1.9 |
| 15-May-2002 |
lukem | bootblock.h: - unify sparc_bbinfo (1064 bytes, with 256 block entries) and sun68k_bbinfo (296 byte, with 64 block entries) into shared_bbinfo (512 bytes, with 118 block entries), which will be also shared by future bbinfo-using platforms (including macppc) - add datestamp to *_BBINFO_MAGIC strings, to prevent installboot vs bootxx version skew. - add macppc support
*/bootxx.c: - migrate to new shared_bbinfo structure
installboot: - add macppc support (still needs applepartmap support and testing) - improve and add some more warnings & errors to installboot - implement shared_bbinfo_clearboot() and shared_bbinfo_setboot(), which perform the majority of the work for bbinfo-using back-ends (rather than replicating that across multiple back-ends).
|
1.8 |
| 06-May-2002 |
pk | Add sparc module.
|
1.7 |
| 22-Apr-2002 |
lukem | Add sun2 backend from Matthew Fredette. (Implemented with "sun68k.c" as it should eventually support "sun3" as well.)
|
1.6 |
| 19-Apr-2002 |
lukem | - Add code from Matt Fredette <fredette@theory.lcs.mit.edu> to implement fstype checking, and back-end "ffs" support. - Consistently use at least uint32_t for blocknumbers (vs. int / long / ...) - Consistently use uintXX_t instead of u_intXX_t. - Move various duplicated prototypes into "installboot.h"
|
1.5 |
| 11-Apr-2002 |
lukem | - add no_parseopt(), no_setboot() and no_clearboot() methods for back-ends to use when they don't support a particular method - don't automatically generate machines.c anymore - add entries for i386 (temporarily unsupported) and shark (permanently unsupported)
|
1.4 |
| 04-Apr-2002 |
lukem | Add sparc64 back-end, contributed by Matthew Green.
|
1.3 |
| 03-Apr-2002 |
lukem | Add support for alpha, based on {vax,pmax}.c and sys/arch/alpha/stand/installboot. XXX: not fully tested yet.
|
1.2 |
| 03-Apr-2002 |
lukem | Add pmax installboot back-end; from vax.c and arch/pmax/stand/installboot/*. XXX: not tested yet.
|
1.1 |
| 03-Apr-2002 |
lukem | replace machines.c rebuild with "regenmachines", which needs to be run manually
|
1.23.2.1 |
| 22-Jun-2004 |
tron | Pull up revision 1.24 (requested by jmc in ticket #527): Completely rework how tools/compat is done. Purge all uses/references to _NETBSD_SOURCE as this makes cross building from older/newer versions of NetBSD harder, not easier (and also makes the resulting tools 'different') Wrap all required code with the inclusion of nbtool_config.h, attempt to only use POSIX code in all places (or when reasonable test w. configure and provide definitions: ala u_int, etc). Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86 NetBSD current (x86 and amd64) and Solaris 9. Fixes PR's: PR#17762 PR#25944
|
1.34.16.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.36.2.1 |
| 08-Feb-2011 |
bouyer | Sync with HEAD
|
1.37.2.1 |
| 23-Jun-2011 |
cherry | Catchup with rmind-uvmplock merge.
|
1.38.8.1 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.38.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.39.26.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
1.39.26.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.39.18.1 |
| 07-May-2021 |
martin | Pull up following revision(s) (requested by mrg in ticket #1678):
bin/pax/options.c: revision 1.119 usr.bin/config/scan.l: revision 1.32 usr.bin/make/main.c: revision 1.274 bin/pax/extern.h: revision 1.60 usr.bin/config/defs.h: revision 1.106 usr.bin/make/make.h: revision 1.105 sbin/newfs_udf/udf_create.c: revision 1.27 (patch) sbin/newfs_udf/newfs_udf.h: revision 1.7 (patch) usr.bin/config/main.c: revision 1.100 usr.sbin/installboot/Makefile: revisions 1.53,1.54 (patch) usr.sbin/installboot/installboot.h: revision 1.41 (patch) usr.sbin/installboot/machines.c: revisisons 1.41,1.42 (patch)
Avoid depending on common symbols.
|
1.40.2.1 |
| 21-Aug-2019 |
msaitoh | Pull up following revision(s) (requested by martin in ticket #80): usr.sbin/installboot/Makefile: revision 1.53 usr.sbin/installboot/Makefile: revision 1.54 usr.sbin/installboot/machines.c: revision 1.41 usr.sbin/installboot/machines.c: revision 1.42 Replace black voodo linker magic (sometimes failing) with some makefile + macro magic to trim the list of available machines on size restricted install media. Never trust a compiler that predefines i386 as 1 - do the symbol name concatenation at the make level instead.
|