[PATCH 07/10] Support separate DTB files with the UEFI app
Simon Glass
sjg at chromium.org
Sun Dec 8 16:29:19 CET 2024
On Sat, 23 Nov 2024 at 12:57, Matthew Garrett <mjg59 at srcf.ucam.org> wrote:
>
> From: Matthew Garrett <mgarrett at aurora.tech>
>
> The UEFI app is an actual executable with things like section headers,
> so just gluing the DTB onto the end of it won't work. Add an additional
> section to contain this and allocate some space, and then during build
> copy the DTB into that section.
>
> Signed-off-by: Matthew Garrett <mgarrett at aurora.tech>
> ---
>
> Makefile | 7 ++++++-
> arch/x86/config.mk | 2 +-
> arch/x86/lib/elf_x86_64_efi.lds | 4 ++++
> include/asm-generic/sections.h | 1 +
> lib/efi/Makefile | 2 +-
> lib/efi/efi_dtb.S | 6 ++++++
> lib/fdtdec.c | 3 +++
> 7 files changed, 22 insertions(+), 3 deletions(-)
> create mode 100644 lib/efi/efi_dtb.S
Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to ci/master, thanks!
More information about the U-Boot
mailing list