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.

How to reduce MMU Translation table size

Is there a way to reduce the default MMU translation table size ? Default size for this is 16K and I want to reduce that to 8K or 4K. Basically I am trying to reduce the size of the SYS/BIOS foot print.

Thanks in advance

Shahid

  • Shahid,

    I don't think there is a way to reduce the size in a safe way as it is defined by the ARMv7 HW architecture. It may only grow if you increase the MMU granularity to the second level.

    But first level page table is defined as 1 word of configuration per Megabyte of address space (4096 pages x 4 bytes =16kB table size).

    Large areas of the table will only have default or zero values if there is no physical memory or other addressable space and might never be used. However re-using that areas for other things has some potential issues (e.g. certain MMU setup function overwriting data...).

    Apparently available memory (in the kB range) was no constraint for the ARMv7 architecture definition...

    Regards.