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: 
Contributor
Contributor
350 Views
Registered: ‎11-09-2018

Petalinux build failure - device-tree/pl.dtsi:77.34-48 Value out of range for 32-bit array element

Jump to solution

I have very simiple design with PS and CMAC in US+ device.  The CMAC is at 0x0080000000 address space with 64k of range.  The PS interfaces to the PL with the M_AXI_HPM0_LPD with 64 bit data width.  I have tried the tranditional 32 bid width with the same results. 

I have following error in the petalinux-build command:
Error: /data/fpga_designs/czeh/vision/HTG_image/TestBed_20_20190208/build/../components/plnx_workspace/device-tree/device-tree/pl.dtsi:77.34-48 Value out of range for 32-bit array element
Error: /data/fpga_designs/czeh/vision/HTG_image/TestBed_20_20190208/build/../components/plnx_workspace/device-tree/device-tree/pl.dtsi:81.26-40 Value out of range for 32-bit array element
Error: /data/fpga_designs/czeh/vision/HTG_image/TestBed_20_20190208/build/../components/plnx_workspace/device-tree/device-tree/pl.dtsi:82.26-40 Value out of range for 32-bit array element
FATAL ERROR: Syntax error parsing input tree
WARNING: /export/home/czeh/fpga_designs/vision/HTG_image/TestBed_20_20190208/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+f38738e568-r0/temp/run.do_compile.193529:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -b 0 -i /data/fpga_designs/czeh/vision/HTG_image/TestBed_20_20190208/build/../components/plnx_workspace/device-tree/device-tree -i /export/home/czeh/fpga_designs/vision/HTG_image/TestBed_20_20190208/build/tmp/work-shared/plnx-zynqmp/kernel-source/include -i /export/home/czeh/fpga_designs/vision/HTG_image/TestBed_20_20190208/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/xilinx -i /export/home/czeh/fpga_designs/vision/HTG_image/TestBed_20_20190208/build/tmp/work-shared/plnx-zynqmp/kernel-source/include -i /export/home/czeh/fpga_designs/vision/HTG_image/TestBed_20_20190208/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+f38738e568-r0 -o ${DTS_NAME}.dtb `basename ${DTS_FILE}`.pp'
ERROR: Function failed: do_compile (log file is located at /export/home/czeh/fpga_designs/vision/HTG_image/TestBed_20_20190208/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+f38738e568-r0/temp/log.do_compile.193529)

From the pl.dtsi file:
Line 77 - xlnx,rx-pause-da-mcast = <0x0180C2000001>;
Line 81 - xlnx,tx-da-gpp = <0x0180C2000001>;
Line 82 - xlnx,tx-da-ppp = <0x0180C2000001>;

I applied the patch associated with AR70285, but it does not help me get past this issue.

 

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
300 Views
Registered: ‎04-15-2011

回复: Petalinux build failure - device-tree/pl.dtsi:77.34-48 Value out of range for 32-bit array element

Jump to solution

czeh@ball

 

These errors are complaining that the DA and SA addresses from the IP core GUI are not 32-bit values.

As a workaround, you may modify pl.dtsi as below:

xlnx,tx-pause-da-mcast = /bits/ 64 <0x0180C2000001>;

xlnx,tx-da-gpp = /bits/ 64 <0x0180C2000001>;

xlnx,tx-da-ppp = /bits/ 64 <0x0180C2000001>;

 

Regards,

Longley

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
2 Replies
Xilinx Employee
Xilinx Employee
301 Views
Registered: ‎04-15-2011

回复: Petalinux build failure - device-tree/pl.dtsi:77.34-48 Value out of range for 32-bit array element

Jump to solution

czeh@ball

 

These errors are complaining that the DA and SA addresses from the IP core GUI are not 32-bit values.

As a workaround, you may modify pl.dtsi as below:

xlnx,tx-pause-da-mcast = /bits/ 64 <0x0180C2000001>;

xlnx,tx-da-gpp = /bits/ 64 <0x0180C2000001>;

xlnx,tx-da-ppp = /bits/ 64 <0x0180C2000001>;

 

Regards,

Longley

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Contributor
Contributor
284 Views
Registered: ‎11-09-2018

Re: Petalinux build failure - device-tree/pl.dtsi:77.34-48 Value out of range for 32-bit array element

Jump to solution

Thank you for the suggestion.  I modified the script that was generated by the Xilinx tools.  The build does now complete but I am not sure of how this change impacts the functionality of the core.  

Thank you for your help,

Chris

0 Kudos