From 740134e6dc78785e2c75532659a8c7971a124f64 Mon Sep 17 00:00:00 2001 From: Juan Castillo Date: Fri, 5 Sep 2014 17:29:38 +0100 Subject: Juno: Reserve some DDR-DRAM for secure use This patch configures the TrustZone Controller in Juno to split the 2GB DDR-DRAM memory at 0x80000000 into Secure and Non-Secure regions: - Secure DDR-DRAM: top 16 MB, except for the last 2 MB which are used by the SCP for DDR retraining - Non-Secure DDR-DRAM: remaining DRAM starting at base address Build option PLAT_TSP_LOCATION selects the location of the secure payload (BL3-2): - 'tsram' : Trusted SRAM (default option) - 'dram' : Secure region in the DDR-DRAM (set by the TrustZone controller) The MMU memory map has been updated to give BL2 permission to load BL3-2 into the DDR-DRAM secure region. Fixes ARM-software/tf-issues#233 Change-Id: I6843fc32ef90aadd3ea6ac4c7f314f8ecbd5d07b --- docs/user-guide.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/user-guide.md') diff --git a/docs/user-guide.md b/docs/user-guide.md index d3a92f9..c58d7ce 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -256,6 +256,12 @@ performed. For a better understanding of FVP options, the FVP memory map is explained in the [Firmware Design]. +#### Juno specific build options + +* `PLAT_TSP_LOCATION`: location of the TSP binary. Options: + - `tsram` : Trusted SRAM (default option) + - `dram` : Secure region in DRAM (set by the TrustZone controller) + ### Creating a Firmware Image Package FIPs are automatically created as part of the build instructions described in -- cgit v1.2.3