This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Porting code From Cortex-A9 to Cortex-R7

Hi,

 

I have some bare metal code written for Arm cortex A9. I would like to port this code to cortex R7. Since both of them belong to ARMv7, How much effort will this take?

I have never worked on cortex R processors. Will i be able to use the same assembly code? What changes am i to expect?

 

Regards,

Ajeesh

  • Not my area either, it has lots of shiny new facilities but I'd have thought the only thing that might really cause you problems is that you very probably will have a memory protection unit, but you won't have a memory mapping unit. So no virtual memory.

  • Ditto to ; the other thing that will standout is the R7's lack of Trustzone. So any TZ specific core and/or GIC initialization will need to be altered.

    Other than that the programmer's model and instruction set are compatible with A9.
  • Hi,
    Thanks for the reply.
    I am not using any Trust zone features and also i am not using any Memory protection unit. What are changes in GIC initialization am i to expect. I have used GICv2 in my code. As per my understanding i might need only to change the GIC initialization if i am using GICv1 or GICv3. Am i correct?

    regards,
    Ajeesh