The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3989a3d8170168570c10f4529a8ce7891d432520
commit 3989a3d8170168570c10f4529a8ce7891d432520 Author: Warner Losh <[email protected]> AuthorDate: 2026-01-08 05:34:28 +0000 Commit: Warner Losh <[email protected]> CommitDate: 2026-01-08 05:34:28 +0000 loader: Only warn when we have neither FDT nor ACPI Sponsored by: Netflix Reviewed by: adrian, andrew Differential Revision: https://reviews.freebsd.org/D54510 --- stand/efi/loader/bootinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c index 67b36313c26f..151ac34dd08e 100644 --- a/stand/efi/loader/bootinfo.c +++ b/stand/efi/loader/bootinfo.c @@ -432,9 +432,10 @@ bi_load(char *args, vm_offset_t *modulep, vm_offset_t *kernendp, bool exit_bs) #if defined(LOADER_FDT_SUPPORT) if (dtb_size) file_addmetadata(kfp, MODINFOMD_DTBP, sizeof(dtbp), &dtbp); - else + else if (getenv("acpi.revision") == NULL) { printf("WARNING! Trying to fire up the kernel, but no " "device tree blob found!\n"); + } #endif file_addmetadata(kfp, MODINFOMD_KERNEND, sizeof(kernend), &kernend); #ifdef MODINFOMD_MODULEP
