- 配置环境变量
source Xilinx/Vivado/2023.01/setting64.sh - 进入xsdb
在petalinux生成的镜像目录执行xsdb
cd project/images/linux xsdb - 执行流程如下

- boot脚本如下
connect
rst -system
targets -set -nocase -filter {name =~ “PSU”}
mask_write 0xFFCA0038 0x1C0 0x1C0
fpga -no-revision-check -f system.bit
targets -set -nocase -filter {name =~ “MicroBlaze PMU”}
puts stderr “INFO: Downloading ELF file to the target.”
dow pmufw.elf
after 1000
con
targets -set -nocase -filter {name =~ “APU”}
mwr 0xffff0000 0x14000000
mwr 0xff41a040 0x3
mask_write 0xFD1A0104 0x501 0x0
targets -set -nocase -filter {name =~ “A53#0”}
source psu_init.tcl
puts stderr “INFO: Downloading ELF file to the target.”
dow zynqmp_fsbl.elf<

最低0.47元/天 解锁文章
721

被折叠的 条评论
为什么被折叠?



