Failed to build device tree-PYNQ Image v3.0.1, for zedboard

Hi everybody,
I have been trying to build an image of pynq v3.0.1 for zedboard, however, I’m facing the failure to build error when i execute the make boot_files BOARDS=zed command.
I have followed the following tutorials, to create the pynq image & bsp of zedboard 2022.1.

The versions i have used for petalinux and vitis are 2022.1.
However, I’m still looking for the workaround for building the device tree for it. I have tried creating my own bsp by creating my own petalinux project, plus also directly copy past zedboard.xsa file in petalinux_project as mentioned in the tutorial.

Any guide, on how to solve this problem would be greatly appreciated. For your convenience, i have attached the log file also. If you need anything else, please let me know so.
build.log (8.7 KB)

I see the following line in your build.log
fatal: '/workspace/PYNQ-image_v3.0.1/sdbuild/boot/meta-pynq/recipes-filesystem/python/../../../../../' does not appear to be a git repository

Is that folder populated by a git clone call?

Hi @schelleg,
I don’t think so but the following folder contains a file name python-pynq.inc which has the following content.
SUMMARY = “Xilinx PYNQ Library”
HOMEPAGE = “http://pynq.io
LICENSE = “MIT”
LIC_FILES_CHKSUM = “file://LICENSE;md5=b42e39ad2ddbad7e8ad47f3eee6feff5”
RDEPENDS_${PN} += "
${PYTHON_PN}-core
${PYTHON_PN}-asyncio
${PYTHON_PN}-cffi
${PYTHON_PN}-importlib
${PYTHON_PN}-json
${PYTHON_PN}-math
${PYTHON_PN}-mmap
${PYTHON_PN}-multiprocessing
${PYTHON_PN}-numpy
${PYTHON_PN}-pycparser
${PYTHON_PN}-re
${PYTHON_PN}-resource
${PYTHON_PN}-setuptools
${PYTHON_PN}-signal
${PYTHON_PN}-subprocess
${PYTHON_PN}-threading
${PYTHON_PN}-xml
lmsensors-libsensors
libdrm
"

DEPENDS += " libdrm boost"

PYNQ_ARCH_arm = “armv7l”
PYNQ_ARCH_aarch64 = “aarch64”
CMA_ARCH_arm = “32”
CMA_ARCH_aarch64 = “64”

SRC_URI = “gitsm://${THISDIR}/../../../../../;usehead=1;protocol=file”
SRCREV = “${AUTOREV}”

#SRC_URI += " file://pl_server_init"
FILESEXTRAPATHS:prepend := “${THISDIR}:”
S = “${WORKDIR}/git”
INSANE_SKIP_${PN} = “staticdev”
BBCLASSEXTEND = “native nativesdk”

inherit update-rc.d
INITSCRIPT_PACKAGES = “${PN}”
#INITSCRIPT_NAME = “pl_server_init”
INITSCRIPT_PARAMS = “start 99 S .”

do_compile:prepend() {
install -d “${D}/home/root/notebooks”
export PYNQ_JUPYTER_NOTEBOOKS=“${D}/home/root/notebooks”
export PYNQ_BUILD_ARCH=“${PYNQ_ARCH_${TARGET_ARCH}}”
export PYNQ_BUILD_ROOT=“${STAGING_DIR_TARGET}”
(cd ${S}/sdbuild/packages/libsds/libcma && CMA_ARCH=${CMA_ARCH_${TARGET_ARCH}} make install DESTDIR=${STAGING_DIR_TARGET})

}

do_install:prepend() {
install -d “${D}/home/root/notebooks”
export PYNQ_JUPYTER_NOTEBOOKS=“${D}/home/root/notebooks”
export PYNQ_BUILD_ARCH=“${PYNQ_ARCH_${TARGET_ARCH}}”
export PYNQ_BUILD_ROOT=“${STAGING_DIR_TARGET}”
}

do_install:append() {
install -d ${D}${INIT_D_DIR}
#install -m 755 ${WORKDIR}/pl_server_init ${D}${INIT_D_DIR}/pl_server_init
(cd ${S}/sdbuild/packages/libsds/libcma && CMA_ARCH=${CMA_ARCH_${TARGET_ARCH}} make install DESTDIR=${D})
rm -rf ${D}/home/root/notebooks_*
}

SOLIBS = “.so”
FILES_SOLIBSDEV = “”
FILES_${PN} += “/usr/lib/libcma.so”
FILES_${PN}-notebooks = “/home/root/notebooks”
PACKAGES += “${PN}-notebooks”