Module Name: src Committed By: thorpej Date: Tue May 7 05:02:42 UTC 2019
Modified Files: src/distrib/sets/lists/base: mi src/etc/mtree: NetBSD.dist.base src/share: Makefile src/tools/installboot: Makefile src/usr.sbin/installboot: Makefile installboot.8 installboot.c installboot.h machines.c Added Files: src/share/installboot: Makefile src/share/installboot/evbarm: Makefile boards.plist src/usr.sbin/installboot: evboards.c evboards.h src/usr.sbin/installboot/arch: evbarm.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.1203 -r1.1204 src/distrib/sets/lists/base/mi cvs rdiff -u -r1.196 -r1.197 src/etc/mtree/NetBSD.dist.base cvs rdiff -u -r1.35 -r1.36 src/share/Makefile cvs rdiff -u -r0 -r1.1 src/share/installboot/Makefile cvs rdiff -u -r0 -r1.1 src/share/installboot/evbarm/Makefile \ src/share/installboot/evbarm/boards.plist cvs rdiff -u -r1.11 -r1.12 src/tools/installboot/Makefile cvs rdiff -u -r1.51 -r1.52 src/usr.sbin/installboot/Makefile cvs rdiff -u -r0 -r1.1 src/usr.sbin/installboot/evboards.c \ src/usr.sbin/installboot/evboards.h cvs rdiff -u -r1.95 -r1.96 src/usr.sbin/installboot/installboot.8 cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/installboot/installboot.c \ src/usr.sbin/installboot/installboot.h \ src/usr.sbin/installboot/machines.c cvs rdiff -u -r0 -r1.1 src/usr.sbin/installboot/arch/evbarm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.