Page MenuHomeFreeBSD

loader: Only warn for !FDT && !ACPI take two
ClosedPublic

Authored by cperciva on Jan 19 2026, 1:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 27, 10:37 AM
Unknown Object (File)
Wed, May 13, 4:35 AM
Unknown Object (File)
Tue, May 12, 6:38 PM
Unknown Object (File)
Tue, May 12, 4:49 PM
Unknown Object (File)
Tue, May 12, 2:06 PM
Unknown Object (File)
Mon, May 11, 10:02 PM
Unknown Object (File)
Mon, May 11, 2:51 PM
Unknown Object (File)
Apr 28 2026, 4:06 PM
Subscribers

Details

Summary

For unclear reasons, we used to print two warnings about not having a
DTB: First,
printf("No valid device tree blob found!\n");
and immediately later a second,
printf("WARNING! Trying to fire up the kernel, but no "

	    "device tree blob found!\n");

A previous commit silenced the second warning in the event that the
acpi.revision environment variable was set, on the theory that systems
which have ACPI might not need a DTB; this commit silences the first
of the two warnings under the same condition.

Fixes: 3989a3d81701 ("loader: Only warn when we have neither FDT nor ACPI")
Sponsored by: Amazon

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable