On Thu, Nov 20, 2025 at 12:50:57AM -0800, Adriana Nicolae wrote:

> From: adriana <[email protected]>
> 
> The Linux kernel can discover SMBIOS tables through two primary methods:
> 1. Via EFI tables, when using EFI boot;
> 2. Via the 'smbios3-entrypoint' property in the /chosen node of the
> device tree.
> 
> When U-Boot boots a Linux kernel using a non-EFI command ("bootm",
> "bootz", or "booti"), the kernel relies on the device tree to detect
> the hardware. If SMBIOS tables are available in U-Boot, they should
> be passed to the kernel via this device tree property.
> 
> This patch modifies boot_fdt_prepare(), to inject the SMBIOSv3 table
> address into the device tree if there is a table generated by U-boot.
> The "board_fdt_chosen_smbios" is weak in order to leave the possibilty
> for specific boards to select custom SMBIOS addresses.
> 
> The changes in this patch are added in the context of supporting this
> device tree property in linux kernel:
> https://lkml.org/lkml/2025/10/24/1393
> 
> Device tree schema was updated to include the "smbios3-entrypoint" node
> in pull request: https://github.com/devicetree-org/dt-schema/pull/177
> 
> Signed-off-by: Adriana Nicolae <[email protected]>

A small thing I had fixed up, please reset the patch author to your full
name as well. A bigger problem is that this breaks the expected output
of fdt_test_chosen:
https://source.denx.de/u-boot/u-boot/-/jobs/1313270#L255 for example.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to