
cd $::env(TRAINING_PATH)/bootLoading/support

source bootLoading_builder.tcl

buildStartingPoint

2-2. Add the First Stage Boot Loader (FSBL).
$TRAINING_PATH/bootLoading/lab/bootLoading_plat/export/bootLoading_plat/sw/bootLoading_plat/boot/fsbl.elf

2-3. Add the platform management firmware.
 $TRAINING_PATH/bootLoading/lab/bootLoading_plat/export/bootLoading_plat/sw/bootLoading_plat/boot/pmufw.elf

2-4. Add the bitstream.
$TRAINING_PATH/bootLoading/lab/bootLoading_plat/hw/UED_zcu104.bit

2-5. Add the boot loading application.
$TRAINING_PATH/bootLoading/lab/bootLoading_app/Debug/bootLoading_app.elf


4-4. Invoke the QEMU emulator from the command line. 
$QEMU_PATH/qemu-system-aarch64 -M arm-generic-fdt -nographic -dtb $TRAINING_PATH/tools/zynqmp-qemu-arm.dtb -device loader,file=$QEMU_FSBL/fsbl.elf,cpu-num=0 -device loader,addr=0xfd1a0104,data=0x8000000e,data-len=4 -drive file=qemu_spi.bin,if=mtd,format=raw,index=0 -boot mode=1 

