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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵