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

Cortex-A9 MPCore Fastmodel Trustzone support

Note: This was originally posted on 21st March 2012 at http://forums.arm.com

I am trying to develop an trustzone application based on ARM A9MPcore Fast model. But if I tried to enable the non-secure interrupts and it is not working. Is any one able to use the A9MPCore fast model for trustzone development.


Thanks,
Gopu
Parents
  • Note: This was originally posted on 28th March 2012 at http://forums.arm.com

    Thanks for your comments.

    I have configured all the GIC interrupts as group 1 interrupts in secure application and switched to non-secure mode by setting the secure configuration register and I followed the other steps like configuring the GIC priority, CPU registers and also configuration related to SCU. After that I try to load the linux or baremetal application. But in linux it got stuck in  "calibration timer" and it is because it doesn't receive timer interrupts.  I seen the similar issue with baremetal non-secure application. I am using the  A9MPCore fast model example project supplied by ARM. On debugging the issue, in the model debugger, GIC distributor control register is not banked. I can see only one register in case of GIC distributor control register. In case of GIC CPU control register, it has 2 sets of registers. One is for non-secure and other one for secure mode.

    I am sure that I am missing the configuration or connection in the A9fast model project. As I am not familiar with ARM fast model customization, I posted the question to see whether any one able to use the default example project.

    Thanks a lot for all valuable comments.
Reply
  • Note: This was originally posted on 28th March 2012 at http://forums.arm.com

    Thanks for your comments.

    I have configured all the GIC interrupts as group 1 interrupts in secure application and switched to non-secure mode by setting the secure configuration register and I followed the other steps like configuring the GIC priority, CPU registers and also configuration related to SCU. After that I try to load the linux or baremetal application. But in linux it got stuck in  "calibration timer" and it is because it doesn't receive timer interrupts.  I seen the similar issue with baremetal non-secure application. I am using the  A9MPCore fast model example project supplied by ARM. On debugging the issue, in the model debugger, GIC distributor control register is not banked. I can see only one register in case of GIC distributor control register. In case of GIC CPU control register, it has 2 sets of registers. One is for non-secure and other one for secure mode.

    I am sure that I am missing the configuration or connection in the A9fast model project. As I am not familiar with ARM fast model customization, I posted the question to see whether any one able to use the default example project.

    Thanks a lot for all valuable comments.
Children
No data