public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for loading images above 4GB
@ 2020-10-05  8:53 Michal Simek
  2020-10-05  8:53 ` [PATCH v2 1/2] spl: Use standard FIT entries Michal Simek
  2020-10-05  8:53 ` [PATCH v2 2/2] spl: fdt: Record load/entry fit-images entries in 64bit format Michal Simek
  0 siblings, 2 replies; 6+ messages in thread
From: Michal Simek @ 2020-10-05  8:53 UTC (permalink / raw)
  To: u-boot

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

Changes in v2:
- Also fix opensbi
- Add record to doc/uImage.FIT/howto.txt - reported by Simon

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 ++-
 common/spl/spl_opensbi.c |  8 ++--
 doc/uImage.FIT/howto.txt | 84 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 98 insertions(+), 16 deletions(-)

-- 
2.28.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-10-12  7:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-05  8:53 [PATCH v2 0/2] Add support for loading images above 4GB Michal Simek
2020-10-05  8:53 ` [PATCH v2 1/2] spl: Use standard FIT entries Michal Simek
2020-10-12  3:34   ` Simon Glass
2020-10-12  7:51     ` Michal Simek
2020-10-05  8:53 ` [PATCH v2 2/2] spl: fdt: Record load/entry fit-images entries in 64bit format Michal Simek
2020-10-12  3:34   ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox