I was studying the A55 baremetal boot. I changed the execution level from EL3 to EL2 then to EL1 can work very well,but EL1 can not change to EL0.I use the spsr_eln and elr_eln register with the instrcuction eret from higher EL to lower EL. but the EL1 to EL0 always causes excepiton and the ESR_EL3 show the error infor is 92000050.I did not setup MMU.
Thanks by advance
Thank you very much,May I ask you why do we use elr_el2 other than elr_el1?