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

Issues in Cortex A9 bareboard code if L2 cache controller registers are not mapped

Hi

I have written a bareboard code for i.MX6 (Cortex A9 Quad core). I am activating and using only one core.  Once I enable the MMU, code throws random exceptions. Both L1 and L2 caches are disabled. The interesting part is that if I just map the memory mapped register space of L2 cache controller (L2C 310) in MMU (Cache is still disabled), exceptions do not come. Not able to figure out what L2 cache controller mapping do without enabling the cache.

Deepak

Parents
  • There is a warning shown by Peedi emulator (which we use for debugging this board), "Unknown ARM EABI Version 0x5000000". We have been ignoring this. Not sure if this can be related to our exceptions. Also, is it mandatory for Cortex A9 processor to have stack alignment of 8 bytes in non-leaf functions. I read somewhere it is no more mandatory.

Reply
  • There is a warning shown by Peedi emulator (which we use for debugging this board), "Unknown ARM EABI Version 0x5000000". We have been ignoring this. Not sure if this can be related to our exceptions. Also, is it mandatory for Cortex A9 processor to have stack alignment of 8 bytes in non-leaf functions. I read somewhere it is no more mandatory.

Children