前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >PetaLinux指定Linux configuration文件

PetaLinux指定Linux configuration文件

作者头像
hankfu
发布2021-12-06 13:59:29
2.3K0
发布2021-12-06 13:59:29
举报
文章被收录于专栏:hank

PetaLinux新特性,可以指定Linux configuration。Linux configuration文件要放在Linux代码的目录arch/arm64/configs里。使用petalinux-config配置时,指定文件名就可以,不用指定目录。 所以最好一起用Linux configuration和Linux external source。

UG1144的说明如下:

代码语言:javascript
复制
Added Linux Configuration
Added a new menu confi g, petalinux-configuration  → Linux configuration , to specify the Linux
defconfig.

如果Linux configuration文件不在目录arch/arm64/configs里,会出现以下错误。

代码语言:javascript
复制
|#####################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 3 Found 2 Missed 1 Current 102 (66% match, 99% complete)
NOTE: Executing Tasks
ERROR: linux-xlnx-5.10+gitAUTOINC+568989d441-r0 do_kernel_metadata: A KBUILD_DEFCONFIG '/proj/zcu106/v212/zcu106-bsp-peta/project-spec/xilinx_peta_obj1787_defconfig' was specified, but not present in the source tree (/proj/zcu106/v212/zcu106-bsp-peta/build/tmp/work-shared/zynqmp-generic/kernel-source/arch/arm64/configs/)
ERROR: linux-xlnx-5.10+gitAUTOINC+568989d441-r0 do_kernel_metadata: Execution of '/proj/zcu106/v212/zcu106-bsp-peta/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.10+gitAUTOINC+568989d441-r0/temp/run.do_kernel_metadata.23353' failed with exit code 1:
WARNING: exit code 1 from a shell command.

ERROR: Logfile of failure stored in: /proj/zcu106/v212/zcu106-bsp-peta/build/tmp/work/zynqmp_generic-xilinx-linux/linux-xlnx/5.10+gitAUTOINC+568989d441-r0/temp/log.do_kernel_metadata.23353
ERROR: Task (/proj/zcu106/v212/zcu106-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-bsp/recipes-kernel/linux/linux-xlnx_2021.2.bb:do_kernel_metadata) failed with exit code '1'
NOTE: Tasks Summary: Attempted 470 tasks of which 463 didn't need to be rerun and 1 failed.
本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2021-12-03 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档