Hello,
I would like to know how to read the translation table info for A9 from embedded Linux.
In freeRTOS I have translation_table.S but I do not find anything similar for ARM architecure in linux kernel.
Should I just dump TTBR0/TTBR1 registers?
Thanks,
Mihaita
The "real" (speak the hardware) translation table can be found as you write via TTBR0/1. But (IIRC) Linux also maintains its own page table which it uses to update the HW tables pn task switches or if you do an mmap() or the like.
Thanks for your answer. Do you know at which offset I can read CP15 register(that enables me to read TTBR0) ?
I could not find it in the programming model, the register offset.
Here are all the docs. The TRM should help you:
developer.arm.com/.../docs