Home | History | Annotate | Download | only in installboot
History log of /src/usr.sbin/installboot/evboards.c
RevisionDateAuthorComments
 1.8  01-Nov-2022  andvar s/instalboot/installboot/
 1.7  10-Jul-2022  brook usr.sbin/installboot: Add a command line option (-u) to set U-Boot search paths

Installboot can install U-Boot boot blocks directly into a system
image. Normally, the U-Boot files are searched for in
/usr/pkg/share/u-boot, under the expectation that most people will
build them with pkgsrc. However, it is also possible to set an
environment variable (INSTALLBOOT_UBOOT_PATHS) to a colon-separated
search path to accommodate other situations. This commit adds a
command line option (-u) to set the search path; if present, it
overrides the environment and default.
 1.6  06-Aug-2021  andvar fix various typos in comments.
 1.5  07-Jun-2020  thorpej Update for proplib(3) API changes.
 1.4  14-May-2020  msaitoh Remove extra semicolon.
 1.3  19-Sep-2019  thorpej Add support for additional install step directives to enable using
installboot(8) to write u-boot images to SPI NOR and other types of
raw flash devices: input-block-size, input-pad-size, output-size, and
output-block-size.

Add the ability to create aliases for install objects, useful for when
e.g. sdmmc and emmc share the same steps.

Tested on an A20-OLinuXino-LIME2-e16Gs16M by bouyer@.

XXX pullup netbsd-9
 1.2  12-May-2019  maya branches: 1.2.2; 1.2.4;
Use attribute printf.

Helps clang builds. From a.rin.
 1.1  07-May-2019  thorpej 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.2.4.1  22-Sep-2019  martin Pull up following revision(s) (requested by thorpej in ticket #210):

usr.sbin/installboot/evboards.h: revision 1.2
usr.sbin/installboot/evboards.c: revision 1.3

Add support for additional install step directives to enable using
installboot(8) to write u-boot images to SPI NOR and other types of
raw flash devices: input-block-size, input-pad-size, output-size, and
output-block-size.

Add the ability to create aliases for install objects, useful for when
e.g. sdmmc and emmc share the same steps.

Tested on an A20-OLinuXino-LIME2-e16Gs16M by bouyer@.
XXX pullup netbsd-9
 1.2.2.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.2.2  10-Jun-2019  christos Sync with HEAD
 1.2.2.1  12-May-2019  christos file evboards.c was added on branch phil-wifi on 2019-06-10 22:10:30 +0000

RSS XML Feed