Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For more information on what the commands do, see the QEMU options section.

Running a bare metal application on

...

Versal Adaptive SoC A72

Code Block
languagebash
themeMidnight
qemu-system-aarch64 \
-M arm-generic-fdt \
-serial null -serial null -serial mon:stdio \
-device loader,file=<baremetal_for_versal_a72.elf>,cpu-num=0 \
-device loader,addr=0xFD1A0300,data=0x8000000e,data-len=4 \
-hw-dtb <device tree binary for Versal> \
-m <DDR memory size> \
-display none

...

Info

To quit the emulation, press CTRL+A followed by X. To switch between the serial port and the monitor, use CTRL+A followed by C.

Running a bare-metal application on

...

Versal Adaptive SoC R5

Code Block
languagebash
themeMidnight
qemu-system-aarch64 \
-M arm-generic-fdt \
-serial null -serial null -serial mon:stdio \
-device loader,file=<baremetal_for_versal_r5.elf>,cpu-num=2 \
-device loader,addr=0xff5e0300,data=0x16,data-len=4 \
-device loader,addr=0xff9a0100,data=0x1,data-len=4 \
-device loader,addr=0xff9a0000,data=0x48,data-len=4 \
-hw-dtb <device tree binary for Versal> \
-m <DDR memory size> \
-display none

...