Hi, experts:

I plan to develop a boot loader for an ARMv8 SOC.

So, I have a few questions about booting an ARMv8 kernel image.

1.       the linux kernel image’s execution state when jumping to the entrypoint of zImage.

Take Cortex-A57 as an example:

It has 2 execution state : Aarch32 / Aarch64

 

For example:

(1)     boot loader is running at Non-Secure EL2 Aarch64 state

Does the linux kernel zImage also need run at Non-Secure EL2 Aarch64 state?

Is the kernel zImage possible to run at Non-Secure EL2 Aarch32 state?

 

Best wishes,