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.

AM62L: Disabling Cache for Linux Testing

Part Number: AM62L


Tool/software:

Hi Support, 

Assigned focus account customer asks:

Is there an easy way to disable the processor cache for test purposes?

Best Regards, Blake

  • Is there an easy way to disable the processor cache for test purposes?

    I've talked to one our system experts and they said there isn't a good/easy way to do this, and one would probably need to dive in / modify the Linux kernel memory subsystem to do that. Doing some quick Internet search I found that it seems doing so would also create some coherency concerns in a multi-core system (AM62L has 2x A53 cores). Generally speaking this doesn't seem to be a common/recommended thing to try or to do.

    Can you provide more details on the exact "tests"? Is it performance related? Something else? Can it be done in U-Boot perhaps (it's easy to disable the caches there, via CONFIG option).

    Regards, Andreas