I have ARMv8 A65.
I'm enabling MMU from uboot. Uboot hang on setting sctlr_el3.M bit to 1.
So my question is Can i enable MMU with EL3?
if not when exactly i need to move to EL1 to enable MMU?
Thanks in advance
Yes, you can enable MMU for EL1/EL2/EL3 independently.
Please refer to this source code example about how we enable the MMU for different ELs.
Thanks for the reply. This is very helpful.
I'm able to enable MMU in EL3.
Is there any way to check MMU is enabled and working properly or not? (SCTLR_EL.M bit is 1 i verified any other way)
Provoke an exception (writing to un-mapped memory) .