ARM A53 and initial MMU mapping for EL0/1/2/3 ?

Joakim Tjernlund Joakim.Tjernlund at infinera.com
Tue Feb 8 23:05:00 CET 2022


Trying to figure out how I should map the MMU for normal RAM so it acessible
from all ELx security states.
So far I have this mem_map: 

		/* memory mapped RAM. 32MB  */
		.virt = 0x60000000UL,
		.phys = 0x60000000UL,
		.size = 0x02000000UL,
		.attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) | PTE_BLOCK_INNER_SHARE

but starting to doubt that is correct, can someone suggest what to put in the .attrs field?

 Jocke


More information about the U-Boot mailing list