Getting back a physical address from virtual address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting back a physical address from virtual address

786 Views
syedr1
Contributor II

Hi All,

I am currently working on SRAM and I use mmap for getting the virtual address.

Now my requirement is to get back the original physical address from the generated virtual address.

Please provide the steps to get the physical address.

0 Kudos
Reply
1 Reply

746 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @syedr1 

I hope you are doing well
 
The details regarding the Management Unit (MMU) and virtual to physical address mapping are mentioned in section 2.1.4 Memory Map of the i.MX Reference Manual,
 
To learn more about the Memory and MMU, kindly refer to the below NXP document
 
I hope this information helps you.
 
Thanks & Regards
Dhruvit Vasavada
0 Kudos
Reply