Bin Meng | 56d0635 | 2021-02-25 17:22:34 +0800 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | addrmap command |
| 4 | =============== |
| 5 | |
| 6 | Synopsis |
| 7 | -------- |
| 8 | |
| 9 | :: |
| 10 | |
| 11 | addrmap |
| 12 | |
| 13 | Description |
| 14 | ----------- |
| 15 | |
| 16 | The addrmap command is used to display non-identity virtual-physical memory |
| 17 | mappings for 32-bit CPUs. |
| 18 | |
| 19 | The output may look like: |
| 20 | |
| 21 | :: |
| 22 | |
| 23 | => addrmap |
| 24 | vaddr paddr size |
| 25 | ================ ================ ================ |
| 26 | e0000000 fe0000000 00100000 |
| 27 | 00000000 00000000 04000000 |
| 28 | 04000000 04000000 04000000 |
| 29 | 80000000 c00000000 10000000 |
| 30 | 90000000 c10000000 10000000 |
| 31 | a0000000 fe1000000 00010000 |
| 32 | |
| 33 | The first column indicates the virtual address. |
| 34 | The second column indicates the physical address. |
| 35 | The third column indicates the mapped size. |
| 36 | |
| 37 | Configuration |
| 38 | ------------- |
| 39 | |
| 40 | To use the addrmap command you must specify CONFIG_CMD_ADDRMAP=y. |
| 41 | It is automatically turned on when CONFIG_ADDR_MAP is set. |