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

CortexA8 Booting Problem

Note: This was originally posted on 26th April 2010 at http://forums.arm.com

Hi,

I'm working on cortexA8 bootup. when i enabled the Cache in CP15 Control Register, the processor hangs. when i see the eis log it struck after this instruction.

Can you please tell me what could be went wrong. How to make sure that my CortexA8 processor generated properly.

Thanks,
Noorulla
  • Note: This was originally posted on 28th April 2010 at http://forums.arm.com

    Have you invalidated the cache before enabling it? The contents of the cache are undefined at power-on, and must be invalidated before they are enabled, otherwise you risk picking up random data as code / data.

    Other possible thoughts - are you just enabling the cache, or are you also enabling the MMU in the same operation? If you are enabling the MMU then there is a chance that the translation tables are not correctly configured and you are getting stuck in  fault loop because you do not hav permissions to access the page which you are executing.


    Hi ,

    I'm using the boot code provided by ARM  @ cortexA8 installation logical/tiger/vectors/src/power_indicative/dhrystone. And i build the CortexA8 with hlm_configuration script and i havn't replaced the memories.

    even with this i can see the CortexA8 hangs when it encountered the instruction where it enables the MMU and Cache.

    Thanks,
    Noorulla
  • Note: This was originally posted on 26th April 2010 at http://forums.arm.com

    > when i enabled the Cache in CP15 Control Register, the processor hangs.


    Have you invalidated the cache before enabling it? The contents of the cache are undefined at power-on, and must be invalidated before they are enabled, otherwise you risk picking up random data as code / data.

    Other possible thoughts - are you just enabling the cache, or are you also enabling the MMU in the same operation? If you are enabling the MMU then there is a chance that the translation tables are not correctly configured and you are getting stuck in  fault loop because you do not hav permissions to access the page which you are executing.
  • Note: This was originally posted on 10th May 2010 at http://forums.arm.com

    If boot is hung after MMU/Cache enable then it has to be PA issue... this is common wit MMU...
    Try following two

    a. Disable MMU/Cache
    b. Read LR and PC- This will help to see flow of boot..


    Kedar