Booting Zynq UltraScale Via JTAG,Xilinx MPSOC平台使用JTAG加载和运行Uboot的脚本

基本步骤:

• Program the Programmable Logic (PL) bitstream

• Load the PMU firmware (PMUFW) image

• Load the FSBL binary

• Load U-Boot

• Load ARM Trusted Firmware (ATF)

2tcl脚本


targets -set -nocase -filter {name=~"*PL*"}

fpga design.bit
targets -set -filter {name=~"PSU"}
#disable security gates for DAP PLTAP and PMU
mwr 0xFFCA0038 0x1FF
after 500

#load and run pmufw
targets -set -filter {name=~"MicroBlaze PMU"}
dow pmufw.elf
con
after 500

targets -set -filter {name=~"Cortex-A53 #0"}
rst -processor
dow fsbl.elf
con
after 10000
stop

dow u-boot.elf
dow bl31.elf
con
after 5000
stop

#dow u-boot.elf
#con
#rrd pc  display pc address
#rwr pc 0x100000 set pc point to 0x100000
#dow -data BOOT.bin 0x8000

猜你喜欢

转载自blog.csdn.net/ambercctv/article/details/81556990