cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
729 Views
Registered: ‎06-12-2019

DPU-TRD Vivado 2020.1 Flow - Petalinux build failing

Hello,

I am trying to build Petalinux for the new DPU TRD version for Vivado 2020.1 just released and I am facing an error when building Petalinux. This is the build-flow that I am following: 

https://github.com/Xilinx/Vitis-AI/tree/master/DPU-TRD/prj/Vivado

This is the output log when I hit:

petalinux-build

Output log:

INFO: sourcing build tools
[INFO] building project
[INFO] sourcing build environment
[INFO] generating user layers
[INFO] generating workspace directory
INFO: bitbake petalinux-image-minimal
Parsing recipes: 100% |###############################################################| Time: 0:13:08
Parsing of 2963 .bb files complete (0 cached, 2963 parsed). 4232 targets, 167 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Fetching uninative binary shim from file:///home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/downloads/uninative/9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216/x86_64-nativesdk-libc.tar.xz;sha256sum=9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216
Initialising tasks: 100% |############################################################| Time: 0:00:26
Checking sstate mirror object availability: 100% |####################################| Time: 0:00:10
Sstate summary: Wanted 2570 Found 0 Missed 2570 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
WARNING: dnndkdeploy-1.0-r0 do_fetch: Failed to fetch URL file:///proj/yocto/dnndk/zynqmp_latest, attempting MIRRORS if available
ERROR: dnndkdeploy-1.0-r0 do_fetch: Fetcher failure: Unable to find file file:///proj/yocto/dnndk/zynqmp_latest anywhere. The paths that were searched were:
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/petalinux
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/petalinux
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/petalinux
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/zcu102-zynqmp
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/zcu102-zynqmp
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/zcu102-zynqmp
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/armv8a
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/armv8a
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/armv8a
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/aarch64
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/aarch64
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/aarch64
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/cortexa72-cortexa53
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/cortexa72-cortexa53
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/cortexa72-cortexa53
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/zynqmp
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/zynqmp
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/zynqmp
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/zynqmpeg
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/zynqmpeg
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/zynqmpeg
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/mali400
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/mali400
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/mali400
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/aarch64
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/aarch64
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/aarch64
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/
    /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/build/downloads
ERROR: dnndkdeploy-1.0-r0 do_fetch: Fetcher failure for URL: 'file:///proj/yocto/dnndk/zynqmp_latest'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/build/tmp/work/zynqmp-xilinx-linux/dnndkdeploy/1.0-r0/temp/log.do_fetch.30195
ERROR: Task (/home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6996 tasks of which 0 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/jalezeta/Documents/Vitis-AI/DPU-TRD/prj/Vivado/dpu_petalinux_bsp/xilinx-zcu102-trd/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project

Thanks all  

0 Kudos
4 Replies
wastie
Adventurer
Adventurer
644 Views
Registered: ‎02-12-2008

I Have the same problem with 2020.1

Checking sstate mirror object availability: 100% |###############################################################################################################################################| Time: 0:00:21
Sstate summary: Wanted 458 Found 18 Missed 440 Current 2086 (3% match, 82% complete)
NOTE: Executing Tasks
NOTE: Setscene tasks completed
NOTE: zocl: compiling from external source tree /local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/workspace/sources/zocl/src/runtime_src/core/edge/drm/zocl
WARNING: dnndkdeploy-1.0-r0 do_fetch: Failed to fetch URL file:///proj/yocto/dnndk/zynqmp_latest, attempting MIRRORS if available
ERROR: dnndkdeploy-1.0-r0 do_fetch: Fetcher failure: Unable to find file file:///proj/yocto/dnndk/zynqmp_latest anywhere. The paths that were searched were:
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/petalinux
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/petalinux
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/petalinux
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/zcu102-zynqmp
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/zcu102-zynqmp
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/zcu102-zynqmp
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/armv8a
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/armv8a
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/armv8a
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/aarch64
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/aarch64
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/aarch64
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/cortexa72-cortexa53
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/cortexa72-cortexa53
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/cortexa72-cortexa53
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/zynqmp
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/zynqmp
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/zynqmp
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/zynqmpeg
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/zynqmpeg
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/zynqmpeg
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/mali400
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/mali400
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/mali400
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/aarch64
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/aarch64
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/aarch64
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy-1.0/
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy/
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/files/
/local/home/wastiel/platform/zcu102_base/petalinux/build/downloads
ERROR: dnndkdeploy-1.0-r0 do_fetch: Fetcher failure for URL: 'file:///proj/yocto/dnndk/zynqmp_latest'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /local/home/wastiel/tmp/xilinx-zcu102-2020.1-2020.05.30-16.13.44-W9g/work/zynqmp-xilinx-linux/dnndkdeploy/1.0-r0/temp/log.do_fetch.14079
ERROR: Task (/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy.bb:do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6592 tasks of which 6266 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/local/home/wastiel/platform/zcu102_base/petalinux/components/yocto/layers/meta-vitis-ai/recipes-support/dnndk/dnndkdeploy.bb:do_fetch
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: Failed to build project
Makefile:25: recipe for target 'linux' failed
make[1]: *** [linux] Error 255
make[1]: Leaving directory '/local/home/wastiel/platform/zcu102_base/petalinux'
Makefile:21: recipe for target 'petalinux_proj' failed
make: *** [petalinux_proj] Error 2
w

0 Kudos
619 Views
Registered: ‎06-12-2019

Dear @wastie,

I have posted an Issue on the GitHub repository of Vitis-AI related to this specific build error. They have kindly responded to me on how to fix the error. We need to modify the config file by adding Network sstate feeds URL. I am sending you the link to the Issue on GitHub so you can solve the problem as well. Anyway, they have updated the BSP to solve the build error, so we can either solve the problem or download the latest project and re-build Petalinux. 

https://github.com/Xilinx/Vitis-AI/issues/118

PD: I have tried to modify the config file as explained on the GitHub and now I can build Petalinux perfectly.

 

0 Kudos
wastie
Adventurer
Adventurer
595 Views
Registered: ‎02-12-2008

this didn't fix my issue

0 Kudos
katsuki
Xilinx Employee
Xilinx Employee
488 Views
Registered: ‎11-05-2019

 

Hi @wastie @jalezeta_ikerlan 

Git data has been updated. If you clone it, the build will be successful.

No need for petalinux-config for xrt and zocl.

Thank you


Please mark the Answer as Accept as Solution if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.


Don’t forget to reply, kudo, and accept as solution. If starting with Versal take a look at our Versal Design Process Hub and our Versal Blogs