We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi Expert,
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
Regards,
Vishal
MMU can be enabled in EL3. Did you get hang right after enable sctlr_el3.m=1?
If yes, you need to check the MMU page table, and SCTLR_EL3.WXN setting.
The MMU page table can be checked with help of armDS https://developer.arm.com/documentation/100953/0529/ds-5-debug-perspectives-and-views/mmu-mpu-view
You should also make sure that the piece of code which enables MMU should be in a va-pa 1:1 flat mapping.