freebsd-skq/stand
kevans 560fb23000 stand/fdt: Fallback to name + ".dtbo" if we fail to load name
This behavior also matches a Linux-ism by allowing fdt_overlays to specify
names of overlays without an extension, e.g. fdt-overlays="sunxi-h3-h5-emac"

If we fail to load the file given by a name in fdt_overlays, try again with
".dtbo" appended to it. This still allows overlays to lack .dtbo extension
if user prefers it and just adds a fallback cushion.

Future work could move this from a hard-coded ".dtbo" to a loader.conf(5)
configuration option.

Reviewed by:	gonzo
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D13968
2018-01-23 18:03:13 +00:00
..
arm stand: Move sections around to fix stand/ build with ld.lld on armv7 2018-01-18 22:46:47 +00:00
arm64
common There's no tainted data here, tag it as such to avoid the slew of 2018-01-23 18:01:40 +00:00
efi Remove extra copy of bootinfo.c. It's a bit rotted copy of the one in 2018-01-19 19:09:17 +00:00
fdt stand/fdt: Fallback to name + ".dtbo" if we fail to load name 2018-01-23 18:03:13 +00:00
ficl Revert r326855: Cargo cut a fix for the regressions r326585 caused. 2017-12-14 18:57:17 +00:00
ficl32
forth stand: Add /boot/overlays to allow separation of overlays from base FDT 2018-01-18 04:58:54 +00:00
geli No need to include the userland md5.h, the kernel one is just fine. 2017-12-05 21:37:45 +00:00
i386 Invent new #defines for the biospci_{read,write}_config function to 2018-01-06 06:00:45 +00:00
kshim
libsa getenv does not return tainted data in the boot loader. Attempt to 2018-01-23 18:01:36 +00:00
libsa32
man
mips stand: Add /boot/overlays to allow separation of overlays from base FDT 2018-01-18 04:58:54 +00:00
ofw Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
powerpc Garbage-collect loader.ps3. It is currently disconnected from the build and 2017-12-30 20:27:13 +00:00
sparc64 Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
uboot stand/fdt: Consistently apply fdt_overlays 2017-12-29 18:08:30 +00:00
usb
userboot Interact is always called with NULL. Simplify code a little by 2017-12-19 04:05:55 +00:00
zfs Mark two things as unused (since they are only sometimes used) and 2017-12-03 04:55:33 +00:00
zfs32
defs.mk Fix ubldr. uboot/lib uses defines for the loader. It's part of the 2017-12-29 18:08:35 +00:00
fdt.mk
ficl.mk This path belongs in ficl/Makefile, not the common defines for users 2017-12-08 22:19:41 +00:00
loader.mk Fix ubldr. uboot/lib uses defines for the loader. It's part of the 2017-12-29 18:08:35 +00:00
Makefile
Makefile.amd64 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.arm
Makefile.arm64
Makefile.i386 Switch to proper MK_LOADER_GELI tests. 2017-12-04 01:14:12 +00:00
Makefile.inc Minor flags cleanup 2017-12-02 00:06:58 +00:00
Makefile.mips
Makefile.powerpc
Makefile.sparc64
uboot.mk