https://github.com/Xilinx/qemu

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842060/QEMU

 

 

Xilinx Quick Emulator  User Guide

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2019_2/ug1169-xilinx-qemu.pdf#page=27

 

Using QSPI for Boot
1. Create the QSPI boot image(s) for either or both single flashmode and dual parallel
mode.
Single Flash Mode
dd if=/dev/zero of=qemu_qspi.bin bs=64M count=1
dd if=BOOT.BIN of=qemu_qspi.bin bs=1 seek=0 conv=notrunc
Dual Parallel Mode
dd if=/dev/zero bs=128M count=1 of=qemu_qspi_tmp.bin
dd if=BOOT.BIN of=qemu_qspi_tmp.bin bs=1 seek=0 conv=notrunc
flash_strip_bw qemu_qspi_tmp.bin qemu_qspi_low.bin qemu_qspi_high.bin

2. Boot either the single or dual image(s) on QEMU.
Single Flash Mode
qemu-system-aarch64 -M arm-generic-fdt -nographic \
-dtb <proj_dir>/images/linux/zynqmp-qemu-arm.dtb \
-device loader,file=<proj_dir>/ images/linux/zynqmp_a53_fsbl.elf,cpu-num=0 \
-device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 \
-drive file=qemu_qspi.bin,if=mtd,format=raw,index=0 \
-boot mode=1

 

相关文章:

  • 2022-01-26
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
  • 2021-10-17
  • 2021-06-16
  • 2021-11-25
猜你喜欢
  • 2021-05-20
  • 2021-12-27
  • 2022-02-14
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
  • 2021-09-04
相关资源
相似解决方案