Skip to content

Add support for loading images above 4GB

Michal Simek u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spl: Use standard FIT entriescommon/fdt_support.c common/spl/spl_atf.c common/spl/spl_fit.c+11 -61 reply
1/2spl: Use standard FIT entries+0 -01 reply
2/2spl: fdt: Record load/entry fit-images entries in 64bit formatcommon/fdt_support.c+2 -71 reply
2/2spl: fdt: Record load/entry fit-images entries in 64bit format+0 -01 reply
2/2spl: fdt: Record load/entry fit-images entries in 64bit format+0 -00 replies
2/2spl: fdt: Record load/entry fit-images entries in 64bit format+0 -00 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/2R-b
1/2R-b
2/2
2/2
2/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Add support for loading images above 4GB

Hi,

We have several use cases where customers want to partition memory by putting NS images above 4GB. On Xilinx arm 64bit SOC 0-2GB can be used for others CPU in the systems (like R5) or for secure sw. Currently there is limitation in SPL to record load/entry addresses in 64bit format because they are recorded in 32bit only.
This series add support for it.
Patches have been tested on Xilinx ZynqMP zcu102 board in SD bootmode with images generated by binman. Because u-boot is using CONFIG_POSITION_INDEPENDENT it can be put to others 4k aligned addresses and there is no real need to build it to certain offset.

Thanks,
Michal

Michal Simek (2):
spl: Use standard FIT entries
spl: fdt: Record load/entry fit-images entries in 64bit format

 common/fdt_support.c | 9 ++-------
 common/spl/spl_atf.c | 7 ++++---
 common/spl/spl_fit.c | 6 +++++-
 3 files changed, 11 insertions(+), 11 deletions(-)
Signature · 1 line
2.28.0