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 一道python难题2
  • ¥15 一道python难题
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备