yuan_users 2023-02-07 21:40 采纳率: 50%
浏览 16
已结题

petalinux build system.dtb

petalinux2015.4 编译镜像出错。感谢

root@ubuntu:/opt/prj# petalinux-create --type project --template zynq --name test
INFO: Create project: test
INFO: New project successfully created in /opt/prj/test
root@ubuntu:/opt/prj# cd test/
root@ubuntu:/opt/prj/test# petalinux-config --get-hw-description ./design_1_wrapper_hw_platform_0/
INFO: Checking component...
INFO: Getting hardware description...

****** hsi v2015.4 (64-bit)
  **** SW Build 1412921 on Wed Nov 18 09:44:32 MST 2015
    ** Copyright 1986-2015 Xilinx, Inc. All Rights Reserved.

source /opt/prj/test/build/linux/hw-description/hw-description.tcl -notrace
INFO: [Common 17-206] Exiting hsi at Tue Feb  7 04:38:27 2023...
INFO: Config linux
[INFO ] config linux


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

[INFO ] generate DTS to /opt/prj/test/subsystems/linux/configs/device-tree
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
WARNING: ps7_ethernet_0: No reset found
INFO: [Common 17-206] Exiting hsi at Tue Feb  7 04:38:40 2023...
[INFO ] generate BSP for zynq_fsbl
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
WARNING : No interface that uses file system is available 
WARNING : No interface that uses file system is available 
INFO: [Common 17-206] Exiting hsi at Tue Feb  7 04:38:47 2023...
INFO: Config linux/kernel
[INFO ] oldconfig linux/kernel
INFO: Config linux/rootfs
[INFO ] oldconfig linux/rootfs
INFO: Config linux/u-boot
[INFO ] generate linux/u-boot configuration files
[INFO ] generate linux/u-boot board header files
INFO: [Hsi 55-1698] elapsed time for repository loading 0 seconds
INFO: [Common 17-206] Exiting hsi at Tue Feb  7 04:38:52 2023...
[INFO ] oldconfig linux/u-boot
root@ubuntu:/opt/prj/test# petalinux-config -c kernel --defconfig
INFO: Checking component...
INFO: Config linux/kernel
[INFO ] defconfig linux/kernel
[INFO ] xilinx_zynq_defconfig linux/kernel
root@ubuntu:/opt/prj/test# petalinux-build 
INFO: Checking component...
INFO: Generating make files and build linux
INFO: Generating make files for the subcomponents of linux
INFO: Building linux
[INFO ] pre-build linux/rootfs/fwupgrade
[INFO ] pre-build linux/rootfs/peekpoke
[INFO ] build system.dtb
[ERROR] make[1]: *** [system.dtb] Error 255
ERROR: Failed to build linux

  • 写回答

2条回答 默认 最新

  • CodeBytes 2023-02-07 21:51
    关注

    该回答引用ChatGPT

    看起来您的 PetaLinux 编译过程遇到了一些错误,具体的错误信息是:ERROR: make[1]: *** [system.dtb] Error 255。这种错误通常是由于缺少某些库或配置文件导致的。您可以检查您的环境以确保所有必需的依赖项都已安装,或者研究错误日志以更深入地了解可能的原因

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

问题事件

  • 系统已结题 2月16日
  • 已采纳回答 2月8日
  • 创建了问题 2月7日

悬赏问题

  • ¥15 用土力学知识进行土坡稳定性分析与挡土墙设计
  • ¥70 PlayWright在Java上连接CDP关联本地Chrome启动失败,貌似是Windows端口转发问题
  • ¥15 帮我写一个c++工程
  • ¥30 Eclipse官网打不开,官网首页进不去,显示无法访问此页面,求解决方法
  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?