From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 9 Nov 2015 15:54:39 -0800 Subject: [U-Boot] Secure memory In-Reply-To: <563D2557.6040302@freescale.com> References: <563D2557.6040302@freescale.com> Message-ID: <5641323F.5070102@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/06/2015 02:10 PM, York Sun wrote: > Albert, > > I am trying to separate secure memory and non-secure memory for ARMv8. Before I > go too far, I'd like to check with you to see if there is already some code > implemented. > > Basically what I am trying to do is to mark most DDR memory non-secure because > we have some non-secure masters such as SDHC DMA. I also want to reserve some > memory for TrustZone application. In order to do that, I need to put the MMU > tables in secure memory. I will need to modify common/board_f.c to process > reserve_mmu() differently for secure and non-secure mode. > > Please let me know if running u-boot in non-secure mode is a bad idea. > I didn't hear from you so I went ahead to implement the change. Please review the patches, coming soon. York