AR# 70296

2017.3/4 PetaLinux: DTG build error(Value out of range for 32-bit array element) for MIG DDR with ECC enabled

Description

I am receiving the error below in my design which has a PL MIG with a second AXI interface for ECC register management:

ERROR: device-tree-generation-xilinx+gitAUTOINC+5b21302249-r0 do_compile: Function failed: do_compile (log file is located at /tmp/jovitac/plnx/v2017.3/zcu102_cr990015/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/temp/log.do_compile.71470)
ERROR: Logfile of failure stored in: /tmp/jovitac/plnx/v2017.3/zcu102_cr990015/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/temp/log.do_compile.71470
Log data follows:
| DEBUG: Executing shell function do_compile
| Error: /group/bcapps/jovitac/vivado-workspace/2017-3_BASH/zcu102_cr990015/build/../components/plnx_workspace/device-tree/device-tree-generation/pl.dtsi:111.43-57 Value out of range for 32-bit array element
| FATAL ERROR: Syntax error parsing input tree
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /tmp/jovitac/plnx/v2017.3/zcu102_cr990015/work/plnx_aarch64-xilinx-linux/device-tree-generation/xilinx+gitAUTOINC+5b21302249-r0/temp/log.do_compile.71470)
ERROR: Task (/proj/petalinux/released/Petalinux-v2017.3/petalinux-v2017.3_1011_1/petalinux-v2017.3-final/components/yocto/source/aarch64/layers/meta-xilinx-tools/recipes-bsp/device-tree/device-tree-generation_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2393 tasks of which 1873 didn't need to be rerun and 1 failed

Solution

To fix this issue, you will need to apply the attached patch.

The patch should be applied to <plnx-proj-root>/project-spec/meta-user/recipes-bsp/device-tree/device-tree-generation_%.bbappend

Note: To apply a patch to recipes, please refer to (UG1144) or http://www.wiki.xilinx.com/PetaLinux+Yocto+Tips

device-tree-generation_%.bbappend content:

SRC_URI_append ="\

    file://system-user.dtsi \
    file://0001-Update-the-ddr4-driver-if-it-has-more-memory-ranges.patch \
    file://0001-Update-the-logic-to-fix-the-main-memory-node.patch \
"

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

Attachments

Associated Attachments

AR# 70296
Date 12/20/2017
Status Active
Type General Article
Devices
Tools
IP
Boards & Kits