[PATCH] boot/bootfdt: Add smbios3-entrypoint to FDT for non-EFI boots
Tom Rini
trini at konsulko.com
Tue Nov 4 22:11:59 CET 2025
On Tue, Nov 04, 2025 at 08:15:21AM -0800, adriana wrote:
> The Linux kernel can discover SMBIOS tables through two primary methods:
> 1. Via EFI tables, when using EFI boot;
> 2. Via the 'linux,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
>
> Signed-off-by: adriana <adriana at arista.com>
The Signed-off-by line should have your full name please, thanks. Next,
we should have a Link for
https://github.com/devicetree-org/dt-schema/pull/177 and looking at
that, it's just smbios3-entrypoint now. Please wait for that pull
request to be merged and then post v2 of this code that matches the
accepted schema. Thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251104/f689dd8a/attachment.sig>
More information about the U-Boot
mailing list