From 2b932f83db215dec06336e7d8c8b68f5aa558b6f Mon Sep 17 00:00:00 2001 From: "Belsare, Akshay" Date: Mon, 6 Mar 2023 15:08:54 +0530 Subject: [PATCH] docs(zynqmp): add ddr address usage Update documentation for TF-A DDR address range usage when the FSBL is run on RPU instead of APU. Change-Id: I223d67c35ac9ce3384820531a7453d3b32a1eb58 Signed-off-by: Akshay Belsare --- docs/plat/xilinx-zynqmp.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/plat/xilinx-zynqmp.rst b/docs/plat/xilinx-zynqmp.rst index f98106237..81f4fbecc 100644 --- a/docs/plat/xilinx-zynqmp.rst +++ b/docs/plat/xilinx-zynqmp.rst @@ -76,6 +76,18 @@ make CROSS_COMPILE=aarch64-none-elf- PLAT=zynqmp RESET_TO_BL31=1 DEBUG=1 \ ZYNQMP_ATF_MEM_BASE= ZYNQMP_ATF_MEM_SIZE= \ XILINX_OF_BOARD_DTB_ADDR= bl31 +DDR Address Range Usage +----------------------- + +When FSBL runs on RPU and TF-A is to be placed in DDR address range, +then the user needs to make sure that the DDR address is beyond 256KB. +In the RPU view, the first 256 KB is TCM memory. + +For this use case, with the minimum base address in DDR for TF-A, +the build command example is; + +make CROSS_COMPILE=aarch64-none-elf- PLAT=zynqmp RESET_TO_BL31=1 DEBUG=1 \ + ZYNQMP_ATF_MEM_BASE=0x40000 ZYNQMP_ATF_MEM_SIZE= FSBL->TF-A Parameter Passing ---------------------------- -- 2.39.5