summaryrefslogtreecommitdiff
path: root/contrib/apps/httpserver
diff options
context:
space:
mode:
authorDaniel Golle <[email protected]>2026-07-19 02:51:17 +0100
committerTom Rini <[email protected]>2026-07-29 14:52:23 -0600
commitde61c59164e0aa1735d37db6ba0db1276e62ac61 (patch)
tree06e931dc2234c980a979e9a6bf971d2009474c84 /contrib/apps/httpserver
parent06c49ce4f1870718321bb502671c2ed0a42fd15e (diff)
spl: atf: fix BL32 entry point for multi-segment TEE images
binman's split-elf operation records one FIT image node per ELF segment, all with os = "tee", and only the segment containing the ELF entry point carries an entry property. Since fdt_add_subnode() inserts new subnodes in front of existing ones, the /fit-images nodes end up in reverse recording order, so spl_fit_images_find() would return the *last* TEE segment and its load address was passed to BL31 as the BL32 entry point. On RK3588 with an OP-TEE tee.elf consisting of two PT_LOAD segments this made BL31 (SPD=opteed) ERET into OP-TEE's data segment at 0x30200000 instead of the entry point at 0x30000000, hanging the boot right after 'BL31: Initializing BL32'. Prefer the FIT image node which provides an entry property and only fall back to the first matching node when none of them has one. Signed-off-by: Daniel Golle <[email protected]>
Diffstat (limited to 'contrib/apps/httpserver')
0 files changed, 0 insertions, 0 deletions