xiaoxiang781216 commented on issue #12916:
URL: https://github.com/apache/nuttx/issues/12916#issuecomment-2290827223

   > ### Description
   > I'm porting nuttx to FVP, and have a question during the porting. (This is 
my first time to port OS, hhh) I need to set the related GIC(gic v3) registers 
in EL3 for boot successfully. So, does the nuttx need ARM TF-A before running 
the OS kernel? Thanks!
   
   no, you can create a pseudo interrupt frame and downgrade to EL1 inside 
NuttX if CPU start from EL3 or EL2. The common arrm64 boot code already has 
this code block:
   
https://github.com/apache/nuttx/blob/master/arch/arm64/src/common/arm64_boot.c#L105-L200


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to