public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Secure memory
@ 2015-11-06 22:10 York Sun
  2015-11-09 23:54 ` York Sun
  0 siblings, 1 reply; 3+ messages in thread
From: York Sun @ 2015-11-06 22:10 UTC (permalink / raw)
  To: u-boot

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.

York

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

* [U-Boot] Secure memory
  2015-11-06 22:10 [U-Boot] Secure memory York Sun
@ 2015-11-09 23:54 ` York Sun
  2015-11-10 12:17   ` Albert ARIBAUD
  0 siblings, 1 reply; 3+ messages in thread
From: York Sun @ 2015-11-09 23:54 UTC (permalink / raw)
  To: u-boot



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

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

* [U-Boot] Secure memory
  2015-11-09 23:54 ` York Sun
@ 2015-11-10 12:17   ` Albert ARIBAUD
  0 siblings, 0 replies; 3+ messages in thread
From: Albert ARIBAUD @ 2015-11-10 12:17 UTC (permalink / raw)
  To: u-boot

Hello York,

On Mon, 9 Nov 2015 15:54:39 -0800, York Sun <yorksun@freescale.com>
wrote:

> I didn't hear from you so I went ahead to implement the change. Please review
> the patches, coming soon.

Will do.

[BTW, I have no firm opinion on running U-Boot in secure or non-secure
mode -- I'm from the generation to whom a bootlader has, or should
have, all privileges, including the one of running non-secure. :)]

> York

Amicalement,
-- 
Albert.

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

end of thread, other threads:[~2015-11-10 12:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-06 22:10 [U-Boot] Secure memory York Sun
2015-11-09 23:54 ` York Sun
2015-11-10 12:17   ` Albert ARIBAUD

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