xsdb加载启动镜像

  1. 配置环境变量
    source  Xilinx/Vivado/2023.01/setting64.sh
    
  2. 进入xsdb
    在petalinux生成的镜像目录执行xsdb
    cd project/images/linux xsdb
  3. 执行流程如下在这里插入图片描述
  4. 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
after 1000
con
after 8000; stop; catch {stop}; psu_ps_pl_isolation_removal; psu_ps_pl_reset_config
targets -set -nocase -filter {name =~ “A53#0”}
dow -data image.ub 0x00080000
after 1000
targets -set -nocase -filter {name =~ “A53#0”}
dow -data system.dtb 0x1407f000
after 1000
targets -set -nocase -filter {name =~ “A53#0”}
puts stderr “INFO: Downloading ELF file to the target.”
dow u-boot.elf
after 1000
targets -set -nocase -filter {name =~ “A53#0”}
puts stderr “INFO: Downloading ELF file to the target.”
dow bl31.elf
after 1000
con

```
  1. 启动kernel
    bootm 0x80000
    

https://blog.csdn.net/founderHAN/article/details/110198626

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值