取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
Highlighted
Visitor
Visitor
442 次查看
注册日期: ‎05-22-2020

编译报错是怎么回事

跳至解决方案

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] generating user layers
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time !
[INFO] generating u-boot configuration files
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
[INFO] silentconfig rootfs
[INFO] generating petalinux-user-image.bb
[kedacom@9af5780d37aa txy_project]$ petalinux-build
[INFO] building project
[INFO] sourcing bitbake
[INFO] generating user layers
INFO: bitbake petalinux-user-image
Loading cache: 100% |##################################################################################################################################| Time: 0:00:00
Loaded 3815 entries from dependency cache.
Parsing recipes: 100% |################################################################################################################################| Time: 0:00:04
Parsing of 2779 .bb files complete (2770 cached, 9 parsed). 3814 targets, 150 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#############################################################################################################################| Time: 0:00:02
Checking sstate mirror object availability: 100% |#####################################################################################################| Time: 0:00:00
Sstate summary: Wanted 155 Found 23 Missed 264 Current 786 (14% match, 85% complete)
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: linux-xlnx: compiling from external source tree /home/xilinx/arm_ha_project/txy_project/components/ext_sources/kernel-source/
ERROR: pmu-firmware-2019.1+gitAUTOINC+26c14d9861-r0 do_configure: Function failed: do_configure (log file is located at /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.5872)
ERROR: Logfile of failure stored in: /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.5872
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is -yamlconf /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/pmu-firmware.yaml
| APP_ARG is -app "ZynqMP PMU Firmware"
| Using xsct from: /home/xilinx/petalinux2019.1/tools/xsct/bin/xsct
| cmd is: xsct -sdx -nodisp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl -ws /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build -pname pmu-firmware -rp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/git -processor psu_pmu_0 -hdf /home/xilinx/arm_ha_project/txy_project/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 32 -app "ZynqMP PMU Firmware" -yamlconf /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/pmu-firmware.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| INFO: Update hw pmu-firmware_plat project
| The given file "/home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/platform.spr" does not exist.
| while executing
| "builtin_platform -read [file normalize [lindex $args 0]]"
| (procedure "platform" line 368)
| invoked from within
| "platform read $params(ws)/$platname/platform.spr"
| 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 "/home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl" line 139)
| WARNING: /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/run.do_configure.5872:1 exit 1 from 'xsct -sdx -nodisp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl -ws /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build -pname pmu-firmware -rp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/git -processor psu_pmu_0 -hdf /home/xilinx/arm_ha_project/txy_project/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 32 -app "ZynqMP PMU Firmware" -yamlconf /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/pmu-firmware.yaml'
| ERROR: Function failed: do_configure (log file is located at /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.5872)
ERROR: Task (/home/xilinx/petalinux2019.1/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/pmu-firmware/pmu-firmware_git.bb:do_configure) failed with exit code '1'
ERROR: fsbl-2019.1+gitAUTOINC+26c14d9861-r0 do_configure: Function failed: do_configure (log file is located at /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.5869)
ERROR: Logfile of failure stored in: /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.5869
Log data follows:
| DEBUG: Executing shell function do_configure
| MISC_ARG is -yamlconf /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/fsbl.yaml
| APP_ARG is -app "Zynq MP FSBL"
| Using xsct from: /home/xilinx/petalinux2019.1/tools/xsct/bin/xsct
| cmd is: xsct -sdx -nodisp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl -ws /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/build -pname fsbl -rp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/git -processor psu_cortexa53_0 -hdf /home/xilinx/arm_ha_project/txy_project/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64 -app "Zynq MP FSBL" -yamlconf /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/fsbl.yaml
| INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
| INFO: Update hw fsbl_plat project
| The given file "/home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/build/fsbl_plat/platform.spr" does not exist.
| while executing
| "builtin_platform -read [file normalize [lindex $args 0]]"
| (procedure "platform" line 368)
| invoked from within
| "platform read $params(ws)/$platname/platform.spr"
| 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 "/home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl" line 139)
| WARNING: /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/temp/run.do_configure.5869:1 exit 1 from 'xsct -sdx -nodisp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/app.tcl -ws /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/build -pname fsbl -rp /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/git -processor psu_cortexa53_0 -hdf /home/xilinx/arm_ha_project/txy_project/build/tmp/deploy/images/plnx-zynqmp/Xilinx-plnx-zynqmp.hdf -arch 64 -app "Zynq MP FSBL" -yamlconf /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/fsbl.yaml'
| ERROR: Function failed: do_configure (log file is located at /home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/fsbl/2019.1+gitAUTOINC+26c14d9861-r0/temp/log.do_configure.5869)
ERROR: Task (/home/xilinx/petalinux2019.1/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_configure) failed with exit code '1'

Second Keyboard Interrupt, stopping...

NOTE: Tasks Summary: Attempted 3210 tasks of which 3193 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
/home/xilinx/petalinux2019.1/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/pmu-firmware/pmu-firmware_git.bb:do_configure
/home/xilinx/petalinux2019.1/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/fsbl/fsbl_git.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

0 项奖励
1 解答

已接受的解答
Highlighted
Xilinx Employee
Xilinx Employee
103 次查看
注册日期: ‎06-19-2019

你重新创建一个petalinux project,然后再导入hdf尝试看看。

------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------

在原帖中查看解决方案

9 回复数
Highlighted
Xilinx Employee
Xilinx Employee
416 次查看
注册日期: ‎06-19-2019

从你log信息上看,可能是缺少文件了,你用的是本地镜像编译的吗?联网后试试看。

| The given file "/home/xilinx/arm_ha_project/txy_project/build/tmp/work/plnx_zynqmp-xilinx-linux/pmu-firmware/2019.1+gitAUTOINC+26c14d9861-r0/build/pmu-firmware_plat/platform.spr" does not exist.

------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------
0 项奖励
Highlighted
Visitor
Visitor
409 次查看
注册日期: ‎05-22-2020

您好:ERROR: Kernel configuration is invalid.
| include/generated/autoconf.h or include/config/auto.conf are missing.
| Run 'make oldconfig && make prepare' on kernel src to fix it.

目前有会出现这个错误

0 项奖励
Visitor
Visitor
408 次查看
注册日期: ‎05-22-2020
您好:
ERROR: Kernel configuration is invalid.
| include/generated/autoconf.h or include/config/auto.conf are missing.
| Run 'make oldconfig && make prepare' on kernel src to fix it.
目前会出现这个错误
0 项奖励
Highlighted
Visitor
Visitor
391 次查看
注册日期: ‎05-22-2020
联网也不行。
0 项奖励
Highlighted
Xilinx Employee
Xilinx Employee
384 次查看
注册日期: ‎06-19-2019

重新创建一个petalinux的project试试看,这几个文件都是自动产生的。

------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------
0 项奖励
Highlighted
Visitor
Visitor
369 次查看
注册日期: ‎05-22-2020
您好 是这样的 我这边有两个udp_demo_top.hdf,一个是昨天FPGA同时提供给我的,可以编译,今天提供的就不行,这个是什么原因。
0 项奖励
Highlighted
Xilinx Employee
Xilinx Employee
347 次查看
注册日期: ‎06-19-2019

那你把hdf文件解压后,对比一下看看哪里不一样,特别是psu_init。可能底层配置改了,产生了错误。

------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------
0 项奖励
Highlighted
Visitor
Visitor
155 次查看
注册日期: ‎05-22-2020

您好:

    对比了一下这个两个文件,psu_init.c 没什么差别,只有sysdef.xml udep_demo_top.bit 和 udep_demo_top.mmi有区别

0 项奖励
Highlighted
Xilinx Employee
Xilinx Employee
104 次查看
注册日期: ‎06-19-2019

你重新创建一个petalinux project,然后再导入hdf尝试看看。

------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------

在原帖中查看解决方案