cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
165 Views
Registered: ‎12-04-2019

PetaLinux Build Failure with exec_python_func() error in v2019

My developing environment is below :

  - Petalinux v2019.1 / Vivado 2019.1

  - zcu106

  - No Internet ( I have already downloaded sstate file)

I'm following the steps in UG1144, and have a problem with "petalinux-build" step.

 

The error is :

ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_compile: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:devicetree_do_compile(d)
0003:
File: '/home/root/petalinux/2019.1/components/yocto/source/aarch64/layers/core/meta/classes/devicetree.bbclass', lineno: 131, function: devicetree_do_compile
0127: if not(os.path.isfile(dtspath)) or not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
0128: continue # skip non-.dts files and non-overlay files
0129: except:
0130: continue # skip if can't determine if overlay
*** 0131: devicetree_compile(dtspath, includes, d)
0132:}
0133:
0134:devicetree_do_install() {
0135: for DTB_FILE in `ls *.dtb *.dtbo`; do
File: '/home/root/petalinux/2019.1/components/yocto/source/aarch64/layers/core/meta/classes/devicetree.bbclass', lineno: 119, function: devicetree_compile
0115: dtcargs += ["-i", i]
0116: dtcargs += ["-o", "{0}.{1}".format(dtname, "dtbo" if isoverlay else "dtb")]
0117: dtcargs += ["-I", "dts", "-O", "dtb", "{0}.pp".format(dts)]
0118: bb.note("Running {0}".format(" ".join(dtcargs)))
*** 0119: subprocess.run(dtcargs, check = True)
0120:
0121:python devicetree_do_compile() {
0122: includes = expand_includes("DT_INCLUDE", d)
0123: listpath = d.getVar("DT_FILES_PATH")
File: '/home/root/petalinux/2019.1/components/yocto/source/aarch64/buildtools/sysroots/x86_64-petalinux-linux/usr/lib/python3.5/subprocess.py', lineno: 398, function: run
0394: raise
0395: retcode = process.poll()
0396: if check and retcode:
0397: raise CalledProcessError(retcode, process.args,
*** 0398: output=stdout, stderr=stderr)
0399: return CompletedProcess(process.args, retcode, stdout, stderr)
0400:
0401:
0402:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command '['dtc', '-R', '8', '-b', '0', '-p', '0x1000', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/altera', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/amlogic', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/hisilicon', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/freescale', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/cavium', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/renesas', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/realtek', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/include', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/qcom', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/sprd','-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/synaptics', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/rockchip', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/scripts/dtc/include-prefixes', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/xilinx', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/../components/plnx_workspace/device-tree/device-tree', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/ti', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/broadcom', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/al', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/socionext', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/mediatek', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/lg', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/actions', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/marvell', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/exynos', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/amd', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/nvidia', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/zte', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/allwinner', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/apm', '-i', '/home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work-shared/plnx-zynqmp/kernel-source/arch/arm64/boot/dts/arm', '-o', 'system-top.dtb', '-I', 'dts', '-O', 'dtb', 'system-top.dts.pp']' returned non-zero exit status 1

ERROR: device-tree-xilinx+gitAUTOINC+73e546e312-r0 do_compile: Function failed: devicetree_do_compile
ERROR: Logfile of failure stored in: /home/root/projects/xilinx-vcu-trd-zcu106-v2019.1-final/build/tmp/work/plnx_zynqmp-xilinx-linux/device-tree/xilinx+gitAUTOINC+73e546e312-r0/temp/log.do_compile.11602
ERROR: Task (/home/root/petalinux/2019.1/components/yocto/source/aarch64/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_compile) failed with exit code '1'

 

0 Kudos