UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer qswsjs
Observer
3,795 Views
Registered: ‎07-18-2013

build petalinux image ,device tree error

Jump to solution

hi,

I'm trying build petalinux image file,I get following error 

 

ALL ] DTC arch/microblaze/boot/Xilinx-ml605_plb_linux_pcie.dtb
[ALL ] DTC: dts->dtb on file "arch/microblaze/boot/dts/Xilinx-ml605_plb_linux_pcie.dts"
[ALL ] ERROR (duplicate_property_names): Duplicate property name ranges in /plb@0/plbv46-pcie@85c00000
[ERROR] ERROR: Input tree has errors, aborting (use -f to force output)

 

Here is my device tree source (Xilinx-ml605_plb_linux_pcie.dts):

 

/*
* Device Tree Generator version: 1.1
*
* (C) Copyright 2007-2012 Xilinx, Inc.
* (C) Copyright 2007-2012 Michal Simek
* (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd
*
* Michal SIMEK <monstr@monstr.eu>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of
* the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
* CAUTION: This file is automatically generated by libgen.
* Version: Xilinx EDK 14.4 EDK_P.49d
* Today is: 星期六, the 21 of 九月, 2013; 23:02:05
*
* XPS project directory: plb_linux_pcie
*/

/dts-v1/;
/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "xlnx,microblaze";
model = "plb_linux_pcie";
aliases {
ethernet0 = &ethernet_mac;
serial0 = &rs232_uart_1;
serial1 = &mdm_0;
} ;
chosen {
bootargs = "console=ttyS0,115200 ";
linux,stdout-path = "/plb@0/serial@83e00000";
} ;
cpus {
#address-cells = <1>;
#cpus = <0x1>;
#size-cells = <0>;
microblaze_0: cpu@0 {
clock-frequency = <100000000>;
compatible = "xlnx,microblaze-8.40.b";
d-cache-baseaddr = <0x50000000>;
d-cache-highaddr = <0x5fffffff>;
d-cache-line-size = <0x10>;
d-cache-size = <0x4000>;
device_type = "cpu";
i-cache-baseaddr = <0x50000000>;
i-cache-highaddr = <0x5fffffff>;
i-cache-line-size = <0x20>;
i-cache-size = <0x4000>;
model = "microblaze,8.40.b";
reg = <0>;
timebase-frequency = <100000000>;
xlnx,addr-tag-bits = <0xe>;
xlnx,allow-dcache-wr = <0x1>;
xlnx,allow-icache-wr = <0x1>;
xlnx,area-optimized = <0x0>;
xlnx,avoid-primitives = <0x0>;
xlnx,base-vectors = <0x0>;
xlnx,branch-target-cache-size = <0x0>;
xlnx,cache-byte-size = <0x4000>;
xlnx,d-axi = <0x0>;
xlnx,d-lmb = <0x1>;
xlnx,d-plb = <0x1>;
xlnx,data-size = <0x20>;
xlnx,dcache-addr-tag = <0xe>;
xlnx,dcache-always-used = <0x1>;
xlnx,dcache-byte-size = <0x4000>;
xlnx,dcache-data-width = <0x0>;
xlnx,dcache-force-tag-lutram = <0x0>;
xlnx,dcache-interface = <0x0>;
xlnx,dcache-line-len = <0x4>;
xlnx,dcache-use-fsl = <0x1>;
xlnx,dcache-use-writeback = <0x0>;
xlnx,dcache-victims = <0x0>;
xlnx,debug-enabled = <0x1>;
xlnx,div-zero-exception = <0x1>;
xlnx,dynamic-bus-sizing = <0x1>;
xlnx,ecc-use-ce-exception = <0x0>;
xlnx,edge-is-positive = <0x1>;
xlnx,endianness = <0x0>;
xlnx,family = "virtex6";
xlnx,fault-tolerant = <0x0>;
xlnx,fpu-exception = <0x0>;
xlnx,freq = <0x5f5e100>;
xlnx,fsl-data-size = <0x20>;
xlnx,fsl-exception = <0x0>;
xlnx,fsl-links = <0x0>;
xlnx,i-axi = <0x0>;
xlnx,i-lmb = <0x1>;
xlnx,i-plb = <0x1>;
xlnx,icache-always-used = <0x1>;
xlnx,icache-data-width = <0x0>;
xlnx,icache-force-tag-lutram = <0x0>;
xlnx,icache-interface = <0x0>;
xlnx,icache-line-len = <0x8>;
xlnx,icache-streams = <0x1>;
xlnx,icache-use-fsl = <0x1>;
xlnx,icache-victims = <0x8>;
xlnx,ill-opcode-exception = <0x1>;
xlnx,instance = "microblaze_0";
xlnx,interconnect = <0x1>;
xlnx,interrupt-is-edge = <0x0>;
xlnx,lockstep-slave = <0x0>;
xlnx,mmu-dtlb-size = <0x4>;
xlnx,mmu-itlb-size = <0x2>;
xlnx,mmu-privileged-instr = <0x0>;
xlnx,mmu-tlb-access = <0x3>;
xlnx,mmu-zones = <0x2>;
xlnx,number-of-pc-brk = <0x1>;
xlnx,number-of-rd-addr-brk = <0x0>;
xlnx,number-of-wr-addr-brk = <0x0>;
xlnx,opcode-0x0-illegal = <0x1>;
xlnx,optimization = <0x0>;
xlnx,pc-width = <0x20>;
xlnx,pvr = <0x2>;
xlnx,pvr-user1 = <0x0>;
xlnx,pvr-user2 = <0x0>;
xlnx,reset-msr = <0x0>;
xlnx,sco = <0x0>;
xlnx,stream-interconnect = <0x0>;
xlnx,unaligned-exceptions = <0x1>;
xlnx,use-barrel = <0x1>;
xlnx,use-branch-target-cache = <0x0>;
xlnx,use-dcache = <0x1>;
xlnx,use-div = <0x1>;
xlnx,use-ext-brk = <0x1>;
xlnx,use-ext-nm-brk = <0x1>;
xlnx,use-extended-fsl-instr = <0x0>;
xlnx,use-fpu = <0x0>;
xlnx,use-hw-mul = <0x2>;
xlnx,use-icache = <0x1>;
xlnx,use-interrupt = <0x1>;
xlnx,use-mmu = <0x3>;
xlnx,use-msr-instr = <0x1>;
xlnx,use-pcmp-instr = <0x1>;
xlnx,use-reorder-instr = <0x1>;
xlnx,use-stack-protection = <0x0>;
} ;
} ;
ddr3_sdram: memory@50000000 {
device_type = "memory";
reg = < 0x50000000 0x10000000 >;
} ;
mb_plb: plb@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "xlnx,plb-v46-1.05.a", "xlnx,plb-v46-1.00.a", "simple-bus";
ranges ;
ethernet_mac: ethernet@81000000 {
compatible = "xlnx,xps-ethernetlite-4.00.a", "xlnx,xps-ethernetlite-1.00.a";
device_type = "network";
interrupt-parent = <&xps_intc_0>;
interrupts = < 4 0 >;
local-mac-address = [ 00 0a 35 00 ad 80 ];
reg = < 0x81000000 0x10000 >;
xlnx,duplex = <0x1>;
xlnx,family = "virtex6";
xlnx,include-global-buffers = <0x0>;
xlnx,include-internal-loopback = <0x0>;
xlnx,include-mdio = <0x1>;
xlnx,rx-ping-pong = <0x0>;
xlnx,tx-ping-pong = <0x0>;
} ;
mdm_0: serial@84400000 {
compatible = "xlnx,mdm-2.10.a", "xlnx,xps-uartlite-1.00.a";
interrupt-parent = <&xps_intc_0>;
interrupts = < 0 0 >;
port-number = <1>;
reg = < 0x84400000 0x10000 >;
xlnx,family = "virtex6";
xlnx,interconnect = <0x1>;
xlnx,jtag-chain = <0x2>;
xlnx,mb-dbg-ports = <0x1>;
xlnx,use-bscan = <0x0>;
xlnx,use-uart = <0x1>;
} ;
plbv46_pcie_0: plbv46-pcie@85c00000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "xlnx,compound";
interrupt-parent = <&xps_intc_0>;
interrupts = < 6 2 >;
ranges ;
ranges = < 0x85c00000 0x85c00000 0x10000 0x10000000 0x10000000 0x10000 >;
} ;
primary_flash: flash@86000000 {
#address-cells = <1>;
#size-cells = <1>;
bank-width = <2>;
compatible = "xlnx,xps-mch-emc-3.01.a", "cfi-flash";
reg = < 0x86000000 0x2000000 >;
xlnx,family = "virtex6";
xlnx,include-datawidth-matching-0 = <0x1>;
xlnx,include-datawidth-matching-1 = <0x0>;
xlnx,include-datawidth-matching-2 = <0x0>;
xlnx,include-datawidth-matching-3 = <0x0>;
xlnx,include-negedge-ioregs = <0x0>;
xlnx,include-plb-ipif = <0x1>;
xlnx,include-wrbuf = <0x1>;
xlnx,max-mem-width = <0x10>;
xlnx,mch-native-dwidth = <0x20>;
xlnx,mch-splb-awidth = <0x20>;
xlnx,mch-splb-clk-period-ps = <0x2710>;
xlnx,mch0-accessbuf-depth = <0x10>;
xlnx,mch0-protocol = <0x0>;
xlnx,mch0-rddatabuf-depth = <0x10>;
xlnx,mch1-accessbuf-depth = <0x10>;
xlnx,mch1-protocol = <0x0>;
xlnx,mch1-rddatabuf-depth = <0x10>;
xlnx,mch2-accessbuf-depth = <0x10>;
xlnx,mch2-protocol = <0x0>;
xlnx,mch2-rddatabuf-depth = <0x10>;
xlnx,mch3-accessbuf-depth = <0x10>;
xlnx,mch3-protocol = <0x0>;
xlnx,mch3-rddatabuf-depth = <0x10>;
xlnx,mem0-width = <0x10>;
xlnx,mem1-width = <0x20>;
xlnx,mem2-width = <0x20>;
xlnx,mem3-width = <0x20>;
xlnx,num-banks-mem = <0x1>;
xlnx,num-channels = <0x0>;
xlnx,pagemode-flash-0 = <0x0>;
xlnx,pagemode-flash-1 = <0x0>;
xlnx,pagemode-flash-2 = <0x0>;
xlnx,pagemode-flash-3 = <0x0>;
xlnx,priority-mode = <0x0>;
xlnx,synch-mem-0 = <0x0>;
xlnx,synch-mem-1 = <0x0>;
xlnx,synch-mem-2 = <0x0>;
xlnx,synch-mem-3 = <0x0>;
xlnx,synch-pipedelay-0 = <0x2>;
xlnx,synch-pipedelay-1 = <0x2>;
xlnx,synch-pipedelay-2 = <0x2>;
xlnx,synch-pipedelay-3 = <0x2>;
xlnx,tavdv-ps-mem-0 = <0x1adb0>;
xlnx,tavdv-ps-mem-1 = <0x3a98>;
xlnx,tavdv-ps-mem-2 = <0x3a98>;
xlnx,tavdv-ps-mem-3 = <0x3a98>;
xlnx,tcedv-ps-mem-0 = <0x1adb0>;
xlnx,tcedv-ps-mem-1 = <0x3a98>;
xlnx,tcedv-ps-mem-2 = <0x3a98>;
xlnx,tcedv-ps-mem-3 = <0x3a98>;
xlnx,thzce-ps-mem-0 = <0x88b8>;
xlnx,thzce-ps-mem-1 = <0x1b58>;
xlnx,thzce-ps-mem-2 = <0x1b58>;
xlnx,thzce-ps-mem-3 = <0x1b58>;
xlnx,thzoe-ps-mem-0 = <0x1b58>;
xlnx,thzoe-ps-mem-1 = <0x1b58>;
xlnx,thzoe-ps-mem-2 = <0x1b58>;
xlnx,thzoe-ps-mem-3 = <0x1b58>;
xlnx,tlzwe-ps-mem-0 = <0x88b8>;
xlnx,tlzwe-ps-mem-1 = <0x0>;
xlnx,tlzwe-ps-mem-2 = <0x0>;
xlnx,tlzwe-ps-mem-3 = <0x0>;
xlnx,tpacc-ps-flash-0 = <0x61a8>;
xlnx,tpacc-ps-flash-1 = <0x61a8>;
xlnx,tpacc-ps-flash-2 = <0x61a8>;
xlnx,tpacc-ps-flash-3 = <0x61a8>;
xlnx,twc-ps-mem-0 = <0x2af8>;
xlnx,twc-ps-mem-1 = <0x3a98>;
xlnx,twc-ps-mem-2 = <0x3a98>;
xlnx,twc-ps-mem-3 = <0x3a98>;
xlnx,twp-ps-mem-0 = <0x11170>;
xlnx,twp-ps-mem-1 = <0x2ee0>;
xlnx,twp-ps-mem-2 = <0x2ee0>;
xlnx,twp-ps-mem-3 = <0x2ee0>;
xlnx,xcl0-linesize = <0x4>;
xlnx,xcl0-writexfer = <0x1>;
xlnx,xcl1-linesize = <0x4>;
xlnx,xcl1-writexfer = <0x1>;
xlnx,xcl2-linesize = <0x4>;
xlnx,xcl2-writexfer = <0x1>;
xlnx,xcl3-linesize = <0x4>;
xlnx,xcl3-writexfer = <0x1>;
partition@0x00000000 {
label = "fpga";
reg = <0x00000000 0x00200000>;
};
partition@0x00200000 {
label = "boot";
reg = <0x00200000 0x00040000>;
};
partition@0x00240000 {
label = "bootenv";
reg = <0x00240000 0x00020000>;
};
partition@0x00260000 {
label = "config";
reg = <0x00260000 0x00020000>;
};
partition@0x00280000 {
label = "image";
reg = <0x00280000 0x00c00000>;
};
partition@0x00e80000 {
label = "spare";
reg = <0x00e80000 0x00000000>;
};
} ;
rs232_uart_1: serial@83e00000 {
clock-frequency = <100000000>;
compatible = "xlnx,xps-uart16550-3.00.a", "ns16550a";
current-speed = <115200>;
device_type = "serial";
interrupt-parent = <&xps_intc_0>;
interrupts = < 2 2 >;
reg = < 0x83e00000 0x10000 >;
reg-offset = <0x1003>;
reg-shift = <2>;
xlnx,external-xin-clk-hz = <0x17d7840>;
xlnx,family = "virtex6";
xlnx,has-external-rclk = <0x0>;
xlnx,has-external-xin = <0x0>;
xlnx,is-a-16550 = <0x1>;
} ;
xps_central_dma_0: xps-central-dma@80200000 {
compatible = "xlnx,xps-central-dma-2.03.a";
interrupt-parent = <&xps_intc_0>;
interrupts = < 5 2 >;
reg = < 0x80200000 0x10000 >;
xlnx,family = "virtex6";
xlnx,fifo-depth = <0x8>;
xlnx,mplb-awidth = <0x20>;
xlnx,mplb-dwidth = <0x40>;
xlnx,mplb-native-dwidth = <0x20>;
xlnx,rd-burst-size = <0x8>;
xlnx,wr-burst-size = <0x8>;
} ;
xps_intc_0: interrupt-controller@81800000 {
#interrupt-cells = <0x2>;
compatible = "xlnx,xps-intc-2.01.a", "xlnx,xps-intc-1.00.a";
interrupt-controller ;
reg = < 0x81800000 0x10000 >;
xlnx,kind-of-intr = <0x19>;
xlnx,num-intr-inputs = <0x7>;
} ;
xps_timer_0: system-timer@83c00000 {
compatible = "xlnx,xps-timer-1.02.a", "xlnx,xps-timer-1.00.a";
interrupt-parent = <&xps_intc_0>;
interrupts = < 3 0 >;
reg = < 0x83c00000 0x10000 >;
xlnx,count-width = <0x20>;
xlnx,family = "virtex6";
xlnx,gen0-assert = <0x1>;
xlnx,gen1-assert = <0x1>;
xlnx,one-timer-only = <0x0>;
xlnx,trig0-assert = <0x1>;
xlnx,trig1-assert = <0x1>;
} ;
} ;
} ;

 

the plbv46_pcie_0: plbv46-pcie@85c00000   has some error? how should i modify?

thanks in advance !

0 Kudos
1 Solution

Accepted Solutions
Scholar rfs613
Scholar
4,766 Views
Registered: ‎05-28-2013

Re: build petalinux image ,device tree error

Jump to solution
I suspect the problem here is that there are two "ranges" statements in the plbv46 entry. I'm not sure why the device tree generator is producing this. Try removing the empty ranges entry.

plbv46_pcie_0: plbv46-pcie@85c00000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "xlnx,compound";
interrupt-parent = <&xps_intc_0>;
interrupts = < 6 2 >;
ranges ; #### REMOVE THIS ONE #####
ranges = < 0x85c00000 0x85c00000 0x10000 0x10000000 0x10000000 0x10000 >;
} ;

View solution in original post

0 Kudos
2 Replies
Scholar rfs613
Scholar
4,767 Views
Registered: ‎05-28-2013

Re: build petalinux image ,device tree error

Jump to solution
I suspect the problem here is that there are two "ranges" statements in the plbv46 entry. I'm not sure why the device tree generator is producing this. Try removing the empty ranges entry.

plbv46_pcie_0: plbv46-pcie@85c00000 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "xlnx,compound";
interrupt-parent = <&xps_intc_0>;
interrupts = < 6 2 >;
ranges ; #### REMOVE THIS ONE #####
ranges = < 0x85c00000 0x85c00000 0x10000 0x10000000 0x10000000 0x10000 >;
} ;

View solution in original post

0 Kudos
Observer qswsjs
Observer
3,731 Views
Registered: ‎07-18-2013

Re: build petalinux image ,device tree error

Jump to solution

thank you very much! it;s really the problem . I search that the .dts file always like this 

 

bus-rangge=<>;

rangges =<>;

I don't know why the genarator generate like that ,maybe a bug,

0 Kudos