大家好,我使用petalinux 2017.3 编译时出现如下错误,请问这个有人遇到吗?

一,编译之后报错如下:

liuwei@ubuntu:~/project/wasa2_readout_firmware2$ petalinux-build

[INFO] building project

[INFO] sourcing bitbake

INFO: bitbake petalinux-user-image

Loading cache: 100% |########################################################################################################################################################################| Time: 0:00:00

Loaded 3257 entries from dependency cache.

Parsing recipes: 100% |######################################################################################################################################################################| Time: 0:00:02

Parsing of 2466 .bb files complete (2434 cached, 32 parsed). 3259 targets, 226 skipped, 0 masked, 0 errors.

NOTE: Resolving any missing task queue dependencies

Initialising tasks: 100% |###################################################################################################################################################################| Time: 0:00:05

Checking sstate mirror object availability: 100% |###########################################################################################################################################| Time: 0:00:01

NOTE: Executing SetScene Tasks

NOTE: Executing RunQueue Tasks

fsbl-2017.4+gitAUTOINC+77448ae629-r0 do_compile: NOTE: fsbl: compiling from external source tree /home/liuwei/petalinux/tools/hsm/data/embeddedsw

ERROR: device-tree-generation-xilinx+gitAUTOINC+3c7407f6f8-r0 do_compile: Function failed: do_compile (log file is located at /home/liuwei/project/wasa2_readout_firmware2/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.88584)

ERROR: Logfile of failure stored in: /home/liuwei/project/wasa2_readout_firmware2/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.88584

Log data follows:

| DEBUG: Executing shell function do_compile

| Error: /home/liuwei/project/wasa2_readout_firmware2/build/../components/plnx_workspace/device-tree/device-tree-generation/pl.dtsi:134.28-29 syntax error

| FATAL ERROR: Unable to parse input tree

| WARNING: /home/liuwei/project/wasa2_readout_firmware2/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/run.do_compile.88584:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -i /home/liuwei/project/wasa2_readout_firmware2/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0 -i /home/liuwei/project/wasa2_readout_firmware2/build/../components/plnx_workspace/device-tree/device-tree-generation -o /home/liuwei/project/wasa2_readout_firmware2/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.dtb /home/liuwei/project/wasa2_readout_firmware2/build/../components/plnx_workspace/device-tree/device-tree-generation/plnx_arm-system.pp'

| ERROR: Function failed: do_compile (log file is located at /home/liuwei/project/wasa2_readout_firmware2/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/device-tree-generation/xilinx+gitAUTOINC+3c7407f6f8-r0/temp/log.do_compile.88584)

ERROR: Task (/home/liuwei/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile) failed with exit code '1'

NOTE: Tasks Summary: Attempted 2377 tasks of which 2367 didn't need to be rerun and 1 failed.

Summary: 1 task failed:

/home/liuwei/petalinux/components/yocto/source/arm/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

ERROR: Failed to build project

webtalk failed:PetaLinux statistics:extra lines detected:notsent_nofile!

webtalk failed:Failed to get PetaLinux usage statistics!

二,pl.dtsi文件输出如下:

/*

* CAUTION: This file is automatically generated by Xilinx.

* Version:

* Today is: Thu Nov 12 14:57:01 2020

*/

/ {

amba_pl: amba_pl {

#address-cells = <1>;

#size-cells = <1>;

compatible = "simple-bus";

ranges ;

axi_cdma_0: dma@7e200000 {

#dma-cells = <1>;

clock-names = "s_axi_lite_aclk", "m_axi_aclk";

clocks = , ;

compatible = "xlnx,axi-cdma-1.00.a";

interrupt-parent = ;

interrupts = <0 29 4>;

reg = <0x7e200000 0x10000>;

xlnx,addrwidth = <0x20>;

dma-channel@7e200000 {

compatible = "xlnx,axi-cdma-channel";

interrupts = <0 29 4>;

xlnx,datawidth = <0x20>;

xlnx,device-id = <0x0>;

xlnx,max-burst-len = <0x10>;

};

};

axi_gpio_0: gpio@41200000 {

#gpio-cells = <2>;

compatible = "xlnx,xps-gpio-1.00.a";

gpio-controller ;

reg = <0x41200000 0x10000>;

xlnx,all-inputs = <0x1>;

xlnx,all-inputs-2 = <0x0>;

xlnx,all-outputs = <0x0>;

xlnx,all-outputs-2 = <0x1>;

xlnx,dout-default = <0x00000000>;

xlnx,dout-default-2 = <0x00000001>;

xlnx,gpio-width = <0x1>;

xlnx,gpio2-width = <0x1>;

xlnx,interrupt-present = <0x0>;

xlnx,is-dual = <0x1>;

xlnx,tri-default = <0xFFFFFFFF>;

xlnx,tri-default-2 = <0xFFFFFFFF>;

};

axi_gpio_1: gpio@41210000 {

#gpio-cells = <2>;

compatible = "xlnx,xps-gpio-1.00.a";

gpio-controller ;

reg = <0x41210000 0x10000>;

xlnx,all-inputs = <0x0>;

xlnx,all-inputs-2 = <0x0>;

xlnx,all-outputs = <0x1>;

xlnx,all-outputs-2 = <0x0>;

xlnx,dout-default = <0x00200032>;

xlnx,dout-default-2 = <0x00000000>;

xlnx,gpio-width = <0x20>;

xlnx,gpio2-width = <0x20>;

xlnx,interrupt-present = <0x0>;

xlnx,is-dual = <0x0>;

xlnx,tri-default = <0xFFFFFFFF>;

xlnx,tri-default-2 = <0xFFFFFFFF>;

};

axi_gpio_2: gpio@41220000 {

#gpio-cells = <2>;

compatible = "xlnx,xps-gpio-1.00.a";

gpio-controller ;

reg = <0x41220000 0x10000>;

xlnx,all-inputs = <0x0>;

xlnx,all-inputs-2 = <0x0>;

xlnx,all-outputs = <0x1>;

xlnx,all-outputs-2 = <0x0>;

xlnx,dout-default = <0x089B086E>;

xlnx,dout-default-2 = <0x00000000>;

xlnx,gpio-width = <0x20>;

xlnx,gpio2-width = <0x20>;

xlnx,interrupt-present = <0x0>;

xlnx,is-dual = <0x0>;

xlnx,tri-default = <0xFFFFFFFF>;

xlnx,tri-default-2 = <0xFFFFFFFF>;

};

axi_gpio_3: gpio@41230000 {

#gpio-cells = <2>;

compatible = "xlnx,xps-gpio-1.00.a";

gpio-controller ;

reg = <0x41230000 0x10000>;

xlnx,all-inputs = <0x0>;

xlnx,all-inputs-2 = <0x0>;

xlnx,all-outputs = <0x1>;

xlnx,all-outputs-2 = <0x0>;

xlnx,dout-default = <0x00000000>;

xlnx,dout-default-2 = <0x00000000>;

xlnx,gpio-width = <0x20>;

xlnx,gpio2-width = <0x20>;

xlnx,interrupt-present = <0x0>;

xlnx,is-dual = <0x0>;

xlnx,tri-default = <0xFFFFFFFF>;

xlnx,tri-default-2 = <0xFFFFFFFF>;

};

axi_timer_0: timer@42800000 {

clock-frequency = <125000000>;

clock-names = "ref_clk";

clocks = ;

compatible = "xlnx,xps-timer-1.00.a";

interrupt-parent = ;

interrupts = <0 30 4>;

reg = <0x42800000 0x10000>;

xlnx,count-width = <0x20>;

xlnx,gen0-assert = <0x1>;

xlnx,gen1-assert = <0x1>;

xlnx,one-timer-only = <0x0>;

xlnx,trig0-assert = <0x1>;

xlnx,trig1-assert = <0x1>;

};

};

};

linux不编译设备树,petalinux 编译时报设备树语义错误相关推荐

  1. linux内核设备树及编译--完整清晰

    1.设备树的概念 在内核源码中,存在大量对板级细节信息描述的代码.这些代码充斥在/arch/arm/plat-xxx和/arch/arm/mach-xxx目录,对内核而言这些platform设备.re ...

  2. petalinux编译制作linux系统

    0.设置petalinux环境变量 在 Ubuntu 系统中需要先设置 petalinux 工作环境,也就是对 petalinux 工作环境进行初始化,在终端输入如下命令即可: source /opt ...

  3. 使用错误的设备树导致linux,Petalinux工程中设备树的介绍

    设备树是 Petalinux kernel 的关键组件,接下来以 2020.1 版本为例,为大家介绍一下在Xilinx Petalinux 工程中的设备树是如何产生,配置以及修改的. Petalinu ...

  4. linux更改设备树,petalinux 修改设备树

    一.设备树生成及编译 1.执行petalinux-create创建工程 2.执行petalinux-config --get-hw-description导入硬件配置 3.执行petalinux-co ...

  5. RK3399 驱动开发 _ 04 - Android系统中通过fdt文件系统反编译查看设备中真实生效的设备树配置信息

    文章目录 前言 一.设备树保存在文件系哪里? 二.文件系统设备树dts编译与反编译 2.1 设备树原始 dtb 格式 2.2 从设备中获取目标文件fdt 2.3 在ubuntu系统中将fdt反编译成d ...

  6. NVIDIA Jetson Xavier NX 修改设备树和编译内核

    为 NVIDIA Jetson Xavier NX 更改设备树和编译内核 NVIDIA Jetson Xavier NX 模块 如果您正在为 NVIDIA Jetson 模块设计定制载板,您可能需要编 ...

  7. linux生成驱动编译的头文件,嵌入式Linux字符设备驱动——5生成字符设备节点

    嵌入式Linux字符设备驱动开发流程--以LED为例 前言 留空 头文件 #include 查看系统设备类 ls /sys/class 设备类结构体 文件(路径):include/linux/devi ...

  8. linux内核驱动ldd3_《Linux设备驱动程序》编译LDD3的scull驱动问题总结***

    Makefile文件分析 # disable/enable debugging #DEBUG=y # 当DEBUG变量等于y时.两个比较变量用括号括起来,逗号分隔.ifeq和括号中间有一个空格. if ...

  9. zynq petalinux编译系统启动文件实战应用

    前序:ZYNQ系统移植可以有三种系统: 第一种是linaro,我移植过的版本linaro2010~linaro2016,它的交叉编译器是arm-xilinx-linux-gnueabi-,不支持在线编 ...

最新文章

  1. 使用Identity Server 4建立Authorization Server (2)
  2. linux 内核参数 杨,Linux 内核参数
  3. mysql主从同步 sql_mysql主从同步报错;Slave_SQL_Running: No
  4. solr源码导入eclipse
  5. COM 与 COM+ 区别
  6. 【实数二分/前缀和维护】Best Cow Fences
  7. 超级计算机清华,从清华到华科 名校为何主办超级计算机大赛?
  8. DataSet和ListT 泛型之间互相转换 (转载, 作者写的很好)
  9. HDOJ--1495--非常可乐(隐式图)
  10. Dual DSI on msm8937
  11. APP测试点总结(全面解析)
  12. 格物、致知、正心、诚意、修身、齐家、治国、平天下
  13. 【XLPNet车牌识别算法】第一章 序
  14. 计算机科学湖北的大学排行,2015年湖北省大学最佳专业排行榜
  15. ExpandableListView自带箭头图标去除和替换
  16. lsw asw dsw csw
  17. ora-20085 ora-06512错误解决
  18. 光电二极管放大电路的应用
  19. 中南民族大学 计算机组成原理实验报告,计算机系统结构实验报告(中南民族大学)...
  20. ubuntu shell命令大全

热门文章

  1. python if elif else
  2. 利用DB Link搞定Oracle两个数据库间的表同步
  3. 某些服务在未由其他服务或程序使用时将自动停止
  4. H5 71-网易注册界面4
  5. this(C# 参考)
  6. C#字符串来袭——因为爱,所以爱
  7. POJ2676Sudoku
  8. TRAC 整合已有的SVN目录
  9. 保护你的DLL和Code不被别人使用。
  10. php算法两数之和 复杂度,每天一道leetcode算法题:两数之和-php版