On Thu, Oct 29, 2026 at 03:57:44AM -0700, Abhilash V wrote: > Stage the configured XBL-sec ELF and embed it as a type-5 > PT_LOAD segment in the remade SPL ELF. The linker script > places its complete ELF image at the configured Shikra > address, alongside the U-Boot SPL load segment. > > The resulting u-boot-spl.elf is unsigned; external tooling > performs signing after the normal build. > > Signed-off-by: Abhilash V <[email protected]> [snip] > diff --git a/board/qualcomm/shikra/shikra-spl-wrap-elf.lds > b/board/qualcomm/shikra/shikra-spl-wrap-elf.lds > index b2922cd2c2c..387b83ae6dc 100644 > --- a/board/qualcomm/shikra/shikra-spl-wrap-elf.lds > +++ b/board/qualcomm/shikra/shikra-spl-wrap-elf.lds > @@ -1,18 +1,40 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > +/* Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. */ > + > +/* The boot ROM identifies XBL-sec by the segment type in p_flags. */ > +#define PF_SEGMENT_TYPE_XBL_SEC 5 > + > /* > - * SPDX-License-Identifier: GPL-2.0-only > - * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
Please just get this part right when you introduce the file. -- Tom
signature.asc
Description: PGP signature
