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

Disabling the MMU

Hello everybody!

I am working on a IMX-6 and i have a little problem with the MMU.

I want to write on some registers which are blocked by the MMU, so i want to disable it. I went on this page ARM Information Center and i saw that i have to use this command "MCR p15, 0, <Rd>, c3, c0, 0" but i'm not very familiar with assembler. How do i choose which domain access control register i want to modify? What i should write instead of <Rd>? And, is the value (the last field, right?) in decimal or binary?

Sorry for my english, it's not my mother tongue.

Regards

Alexandre

Parents
  • This is highly likely to explode; you can't just "turn off" the MMU in the middle of operation as all of your physical to virtual translations (and the caches) will disappear.

    Why not just map the memory page containing the registers into the virtual memory view (the correct solution)

    HTH,

    Pete

Reply
  • This is highly likely to explode; you can't just "turn off" the MMU in the middle of operation as all of your physical to virtual translations (and the caches) will disappear.

    Why not just map the memory page containing the registers into the virtual memory view (the correct solution)

    HTH,

    Pete

Children