This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Check out caches

I'm using a AM35 board and I'd like to know if there is any way to verify that the caches (L1, L2) are enabled at boot time or by kernel.

 

Many Thanks.

  • Hello,

    The Control Register (c1, cp15) is dumped from kernel while booting (look for "cr=" line), you can see the I and D cache enable status from bit 12 and 2 respectively (1 means they are enabled). For L2 cache status, you will need to get Aux Control register value which is not printed during boot.

    Btw, the kernel configuration menu under "System Type ---> " should show if cache are enabled/disabled.

       Hemant