How to know why system hangs in EL2


I am trying to enable stage 2 translation on Raspberry Pi 3B+. I create a translation table, store its base address in VTTBR, configure VTCR and HCR to enable stage 2 translation.

These steps should be finished in EL2, but it hangs, without any information printed on my screen. I cannot find some useful information why it hangs. Maybe I do not flush cache or TLB? Or maybe my traslation table is wrong? I don't know.

So can someone tell me how to know the reason for hangs in EL2? Maybe I should check some debug logs?

Parents Reply Children
More questions in this forum