0 投票
分类:FPGA | 用户: (320 分)
在 2024.1 版中,VEK280 ES1 评估板使用 runqemu 命令启动失败:

[04/19/2024 17:50:06] xcosswyocto01:/scratch/sandeep/yocto/2024.1/yp-dev/build-versal  $ runqemu nographic

runqemu - INFO - Running bitbake -e  ...

runqemu - INFO - Continuing with the following parameters:

KERNEL: []

DTB: [/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/devicetree/system-top.dtb]

MACHINE: [vek280-es1-versal]

FSTYPE: [wic.qemu-sd]

ROOTFS: [/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/petalinux-image-minimal-vek280-es1-versal-20240419232109.rootfs.wic.qemu-sd]

CONFFILE: [/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/petalinux-image-minimal-vek280-es1-versal-20240419232109.qemuboot.conf]

runqemu - INFO - Acquiring lockfile /tmp/qemu-tap-locks/tap0.lock failed: [Errno 11] Resource temporarily unavailable

runqemu - INFO - Using preconfigured tap device tap1

runqemu - INFO - If this is not intended, touch /tmp/qemu-tap-locks/tap1.skip to make runqemu skip tap1.

runqemu - INFO - Network configuration: ip=192.168.7.4::192.168.7.3:255.255.255.0::eth0:off:8.8.8.8

runqemu - INFO - Running /scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-aarch64-multiarch -net nic,netdev=net0,macaddr=52:54:00:12:34:04 -net nic -netdev tap,id=net0,ifname=tap1,script=no,downscript=no  -drive if=sd,index=1,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/petalinux-image-minimal-vek280-es1-versal-20240419232109.rootfs.wic.qemu-sd,format=raw -hw-dtb /scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/qemu-hw-devicetrees/multiarch/board-versal-ps-vek280.dtb     -serial null -serial null       -boot mode=5       -plm-args '     -M microblaze-fdt     -device loader,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/BOOT-vek280-es1-versal_bh.bin,addr=0xF201E000,force-raw      -device loader,addr=0xf0000000,data=0xba020004,data-len=4     -device loader,addr=0xf0000004,data=0xb800fffc,data-len=4     -device loader,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/CDO/pmc_cdo.bin,addr=0xf2000000,force-raw     -device loader,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/plm-vek280-es1-versal.elf,cpu-num=1     -device loader,addr=0xF1110624,data=0x0,data-len=4     -device loader,addr=0xF1110620,data=0x1,data-len=4     -hw-dtb /scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/qemu-hw-devicetrees/multiarch/board-versal-pmc-virt.dtb     -display none     '  -machine arm-generic-fdt   -m 12G -serial mon:stdio -nographic
runqemu - INFO - Host uptime: 9324947.75

PLM instance cmd: /scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-microblazeel -M microblaze-fdt -device loader,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/BOOT-vek280-es1-versal_bh.bin,addr=0xF201E000,force-raw -device loader,addr=0xf0000000,data=0xba020004,data-len=4 -device loader,addr=0xf0000004,data=0xb800fffc,data-len=4 -device loader,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/CDO/pmc_cdo.bin,addr=0xf2000000,force-raw -device loader,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/plm-vek280-es1-versal.elf,cpu-num=1 -device loader,addr=0xF1110624,data=0x0,data-len=4 -device loader,addr=0xF1110620,data=0x1,data-len=4 -hw-dtb /scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/qemu-hw-devicetrees/multiarch/board-versal-pmc-virt.dtb -display none -machine-path /tmp/tmphnw5ympm

APU instance cmd: /scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-aarch64 -net nic,netdev=net0,macaddr=52:54:00:12:34:04 -net nic -netdev tap,id=net0,ifname=tap1,script=no,downscript=no -drive if=sd,index=1,file=/scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/petalinux-image-minimal-vek280-es1-versal-20240419232109.rootfs.wic.qemu-sd,format=raw -hw-dtb /scratch/sandeep/yocto/2024.1/yp-dev/build-versal/tmp/deploy/images/vek280-es1-versal/qemu-hw-devicetrees/multiarch/board-versal-ps-vek280.dtb -serial null -serial null -boot mode=5 -machine arm-generic-fdt -m 12G -serial mon:stdio -nographic -machine-path /tmp/tmphnw5ympm

[13422.252]****************************************

[13422.465]Xilinx Versal Platform Loader and Manager
[13422.483]Release 2024.1   Apr 18 2024  -  17:19:22

[13422.535]Platform Version: v0.0 PMC: v0.0, PS: v0.0

[13422.560]BOOTMODE: 0x5, MULTIBOOT: 0xF0000000

[13422.579]****************************************

[13427.765]Non Secure Boot

[13437.256]PLM Initialization Time
[13437.313]***********Boot PDI Load: Started***********

[13437.414]Loading PDI from SD1

[13437.441]Monolithic/Master Device

[14892.445]1455.071 ms: PDI initialization time

[14892.515]+++Loading Image#: 0x1, Name: lpd, Id: 0x04210002

[14892.553]---Loading Partition#: 0x1, Id: 0xC

[14934.837] 42.245 ms for Partition#: 0x1, Size: 9536 Bytes

[14935.858]---Loading Partition#: 0x2, Id: 0x0

[14944.363] 7.747 ms for Partition#: 0x2, Size: 65104 Bytes

PSM Firmware version: 2024.1 [Build: Apr 18 2024 17:19:22 ]
[15087.512]+++Loading Image#: 0x2, Name: pl_cfi, Id: 0x18700000

[15088.555]---Loading Partition#: 0x3, Id: 0x3

[22377.289]Polling 0xF11A0000 Mask: 0xFFFFFFFF ExpectedValue: 0x4CD3093

[22378.500]MaskPoll: Addr: 0x0F11A0000, Mask: 0xFFFFFFFF, ExpVal: 0x4CD3093, Timeout: 1000000, RegVal: 0x14CD3093 ...ERROR

[22380.443]CMD: 0x00040101 execute failed, Processed Cdo Length 0x8C

[22381.520]CMD Payload START, Len:0x00000004

 0x00000000F20000B0: 0xF11A0000 0xFFFFFFFF 0x04CD3093 0x00000001
0x00000000F20000BC:
[22383.699]CMD Payload END

[22384.253]Error loading PL data:
CFU_ISR: 0x00000000, CFU_STATUS: 0x0000080C
PMC ERR1: 0x00000000, PMC ERR2: 0x00000000

[22386.991]PLM Error Status: 0x21010001

[22387.655]============Register Dump============

[22388.390]PMC_TAP_IDCODE: 0x14CD3093

[22388.969]EFUSE_CACHE_IP_DISABLE_0(EXTENDED IDCODE): 0x00004000

[22389.937]PMC_TAP_VERSION: 0x03000000

[22390.530]CRP_BOOT_MODE_USER: 0x00000005

[22391.167]CRP_BOOT_MODE_POR: 0x00000005

[22391.786]CRP_RESET_REASON: 0x00000202

[22392.396]PMC_GLOBAL_PMC_MULTI_BOOT: 0xF0000000

[22393.128]PMC_GLOBAL_PWR_STATUS: 0x00000000

[22393.807]PMC_GLOBAL_PMC_GSW_ERR: 0x00000000

[22394.502]PMC_GLOBAL_PLM_ERR: 0x00000000

[22395.131]PMC_GLOBAL_PMC_ERR1_STATUS: 0x00000000

[22395.886]PMC_GLOBAL_PMC_ERR2_STATUS: 0x00000000

[22396.631]PMC_GLOBAL_GICP0_IRQ_STATUS: 0x20000000

[22397.391]PMC_GLOBAL_GICP1_IRQ_STATUS: 0x00000000

[22398.143]PMC_GLOBAL_GICP2_IRQ_STATUS: 0x00000000

[22398.902]PMC_GLOBAL_GICP3_IRQ_STATUS: 0x00000000

[22399.661]PMC_GLOBAL_GICP4_IRQ_STATUS: 0x00000000

[22400.416]PMC_GLOBAL_GICP_PMC_IRQ_STATUS: 0x00000000

[22401.212]============Register Dump============

QEMU: Terminated

runqemu - ERROR - Failed to run qemu:
runqemu - INFO - Cleaning up

runqemu - INFO - Host uptime: 9325245.56

[04/19/2024 17:55:15] xcosswyocto01:/scratch/sandeep/yocto/2024.1/yp-dev/build-versal  $

1个回答

0 投票
用户: (310 分)
请遵循以下变通方法以解决此问题:

Versal VEK280 ES1:

步骤 1:

vi meta-xilinx-restricted-ea/meta-xilinx-restricted-vek280-es1/conf/machine/vek280-es1-versal.conf

步骤 2:

添加以下行:

QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vek280-es1.dtb"

步骤 3:

保存并退出。

Versal VHK158 ES1:

步骤 1:

vi meta-xilinx-restricted-ea/meta-xilinx-restricted-vhk158-es1/conf/machine/vhk158-es1-versal.conf

步骤 2:

添加以下行:

 +QEMU_HW_DTB_PS = "${QEMU_HW_DTB_PATH}/board-versal-ps-vhk158-es1.dtb"

步骤 3:

保存并退出
欢迎来到 问答社区 ,有什么不懂的可以尽管在这里提问,你将会收到社区其他成员的回答。
...