33.11.1. Find the UART address
Enter the QEMU console:
Ctrl-X C
Then do:
info mtree
And look for pl011
:
0000000009000000-0000000009000fff (prio 0, i/o): pl011
On gem5, it is easy to find it on the source. We are using the machine RealView_PBX
, and a quick grep leads us to: https://github.com/gem5/gem5/blob/a27ce59a39ec8fa20a3c4e9fa53e9b3db1199e91/src/dev/arm/RealView.py#L615
class RealViewPBX(RealView): uart = Pl011(pio_addr=0x10009000, int_num=44)