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