HomeFreeBSD

kboot: Allow loading fdt from different sources

Description

kboot: Allow loading fdt from different sources

Linux has /sys/firmware/fdt and /proc/device-tree to publish the dtb for
the system. The former has it all in one file, while the latter breaks
it out. Prefer the former since it's the more modern interface, but
retain both since I don't have a PS3 to test to see if its kernel is new
enough for /sys/firmware or not.

In addition, do the proper fixup.

Sponsored by: Netflix

Details

Provenance
impAuthored on Dec 9 2022, 5:07 AM
Parents
rG1066a70e149a: kboot: Need to find the ACPI tables
Branches
Unknown
Tags
Unknown