【分享】 解决PetaLinux工程FSBL do_configureh错误

更换PetaLinux工程的HDF/XSA文件后,PetaLinux工程编译出现FSBL do_configureh错误。使用命令“petalinux-build -x mrproper -f ”,彻底清除工程,再编译工程,不再有问题。

错误记录如下:

DEBUG: Executing shell function do_configure
MISC_ARG is  -yamlconf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/fsbl.yaml
APP_ARG is  -app "Zynq MP FSBL"
Using xsct from: /opt/Xilinx/peta/2020.1/tools/xsct//bin/xsct
cmd is: xsct -sdx -nodisp /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/app.tcl -ws /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/build -pname fsbl -rp /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/git -processor psu_cortexa53_0 -hdf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/deploy/images/zcu106-zynqmp/Xilinx-zcu106-zynqmp.xsa -arch 64  -app "Zynq MP FSBL"  -yamlconf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/fsbl.yaml
INFO: [Hsi 55-2053] elapsed time for repository (/opt/Xilinx/peta/2020.1/tools/xsct/data/embeddedsw) loading 0 seconds
INFO: Update hw fsbl_plat project
Loading the sw platform from /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/build/fsbl_plat/platform.spr
Reading the platform  : "fsbl_plat"
Opening the hardware design, this may take few seconds.
Failed to generate bsp for application zynqmp_fsbl
    while executing
"builtin_platform -addbootdomains"
    (procedure "platform" line 353)
    invoked from within
"platform create -name $params(hwpname) -hw $params(hdf) -out $params(ws)"
    invoked from within
"if { $params(ws) ne "" } {
       #Local Work Space available
       if { $params(pname) ne "" } {
              # hwpname/bspname is empty then default it to pname+_hwproj/b..."
    (file "/proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOIN..." line 139)
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/temp/run.do_configure.39888' failed with exit code 1:
MISC_ARG is  -yamlconf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/fsbl.yaml
APP_ARG is  -app "Zynq MP FSBL"
Using xsct from: /opt/Xilinx/peta/2020.1/tools/xsct//bin/xsct
cmd is: xsct -sdx -nodisp /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/app.tcl -ws /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/build -pname fsbl -rp /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/git -processor psu_cortexa53_0 -hdf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/deploy/images/zcu106-zynqmp/Xilinx-zcu106-zynqmp.xsa -arch 64  -app "Zynq MP FSBL"  -yamlconf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/fsbl.yaml
INFO: [Hsi 55-2053] elapsed time for repository (/opt/Xilinx/peta/2020.1/tools/xsct/data/embeddedsw) loading 0 seconds
INFO: Update hw fsbl_plat project
Loading the sw platform from /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOINC+6cbb920f4d-r0/build/fsbl_plat/platform.spr
Reading the platform  : "fsbl_plat"
Opening the hardware design, this may take few seconds.
Failed to generate bsp for application zynqmp_fsbl
    while executing
"builtin_platform -addbootdomains"
    (procedure "platform" line 353)
    invoked from within
"platform create -name $params(hwpname) -hw $params(hdf) -out $params(ws)"
    invoked from within
"if { $params(ws) ne "" } {
       #Local Work Space available
       if { $params(pname) ne "" } {
              # hwpname/bspname is empty then default it to pname+_hwproj/b..."
    (file "/proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp/work/zcu106_zynqmp-xilinx-linux/fsbl/2020.1+gitAUTOIN..." line 139)
WARNING: exit code 1 from a shell command.

测试版本 petalinux 2020.1

上一篇:【分享】一键离线安装PetaLinux依赖包


下一篇:-02-建立PetaLinux工程