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: 
Participant pedro_machado
Participant
426 Views
Registered: ‎05-26-2018

Error creating a custom DPU project

Jump to solution

I am building a custom DPU for our boards https://github.com/SundanceMultiprocessorTechnology/VCS-1 and I am not able to complete the following steps in Step 5: Configure the rootfs

Apps ->

autostart

Reason: Option Not available

Modules ->

  • dpu

Reason: Option Not available

User Packages ->

  • dnndk

Reason: Option Not available

Please note that I completed all the steps before without any problem.

Issue report also here .

0 Kudos
1 Solution

Accepted Solutions
Contributor
Contributor
265 Views
Registered: ‎11-18-2012

Re: Error creating a custom DPU project

Jump to solution

I think that it is petalinux-image-full.bbappend not petalinux-image.bbappend that describes IMAGE_INSTALL_append in 2018.3.

Refer to Note.2.

Requirements for Using the Xilinx DPU

This section lists the software and hardware tools required to use the Xilinx® Deep Learning Processor (DPU) IP to accelerate machine learning algorithms.

Software Requirements

  • Vivado® Design Suite 2018.2

  • Board files for Ultra96 v1 should be installed

  • Xilinx SDK 2018.2

  • PetaLinux 2018.2

Note: This tutorial is known to work with Vivado/Petalinux/SDK v2018.3, but 2018.2 will provide a better experience at this time. To use it with 2018.3, you will need to make the following changes:

  1. Edit the u96_dpuv2.0_2018.2.tcl script to specify 2018.3.

  2. Change the petalinux-image.bbappend to petalinux-image-full.bbappend.

View solution in original post

5 Replies
Moderator
Moderator
375 Views
Registered: ‎08-16-2018

Re: Error creating a custom DPU project

Jump to solution

You need to add the recipes for these items. While following the instruction in https://github.com/Xilinx/Edge-AI-Platform-Tutorials/tree/master/docs/DPU-Integration we add recipes in below step, 

Step 2: Copy recipes to the PetaLinux project

 

After copying these files, the options will be shown in rootfs.... You need to do the same for your custome design. 


/ 7\7     Meher Krishna Patel, PhD
\ \        Senior Product Application Engineer, Xilinx
/ /        
\_\/\7   It is not so much that you are within the cosmos as that the cosmos is within you...
Xilinx Employee
Xilinx Employee
348 Views
Registered: ‎01-21-2014

Re: Error creating a custom DPU project

Jump to solution

I think you're probbly missing this step:

 

vi project-spec/meta-user/recipes-core/images/petalinux-image.bbappend

Add the following lines:

IMAGE_INSTALL_append = " dnndk"
IMAGE_INSTALL_append = " autostart"
IMAGE_INSTALL_append = " dpu"

0 Kudos
Participant pedro_machado
Participant
319 Views
Registered: ‎05-26-2018

Re: Error creating a custom DPU project

Jump to solution

Hi @meherp and @terryo 

Many thanks for you suggestions but I am afraid that I am stuck in the same place. As I said, initially, I completed all those steps. Check bellow the output of tree, cat for each one of the recipies and screenshoots of the rootfs_config:
 
ZU4EV_dpu$ tree project-spec/meta-user/recipes-apps/
project-spec/meta-user/recipes-apps/
├── autostart
│   ├── autostart.bb
│   └── files
│       ├── autostart.sh
│       └── trd-autostart.sh
├── dnndk
│   ├── dnndk.bb
│   ├── files
│   │   ├── bin
│   │   │   ├── dexplorer
│   │   │   └── dsight
│   │   ├── include
│   │   │   ├── dnndk.h
│   │   │   ├── dputils.h
│   │   │   └── n2cube.h
│   │   └── lib
│   │       ├── echarts.js
│   │       ├── libdputils.so.3.1
│   │       ├── libdputils.so.3.3
│   │       ├── libdsight.a
│   │       ├── libhineon.so
│   │       └── libn2cube.so
│   └── README
├── gpio-demo
│   ├── files
│   │   ├── gpio-demo.c
│   │   └── Makefile
│   └── gpio-demo.bb
└── peekpoke
    ├── files
    │   ├── Makefile
    │   ├── peek.c
    │   └── poke.c
    └── peekpoke.bb

11 directories, 23 files
ZU4EV_dpu$ tree project-spec/meta-user
project-spec/meta-user
├── conf
│   ├── layer.conf
│   └── petalinuxbsp.conf
├── COPYING.MIT
├── README
├── recipes-apps
│   ├── autostart
│   │   ├── autostart.bb
│   │   └── files
│   │       ├── autostart.sh
│   │       └── trd-autostart.sh
│   ├── dnndk
│   │   ├── dnndk.bb
│   │   ├── files
│   │   │   ├── bin
│   │   │   │   ├── dexplorer
│   │   │   │   └── dsight
│   │   │   ├── include
│   │   │   │   ├── dnndk.h
│   │   │   │   ├── dputils.h
│   │   │   │   └── n2cube.h
│   │   │   └── lib
│   │   │       ├── echarts.js
│   │   │       ├── libdputils.so.3.1
│   │   │       ├── libdputils.so.3.3
│   │   │       ├── libdsight.a
│   │   │       ├── libhineon.so
│   │   │       └── libn2cube.so
│   │   └── README
│   ├── gpio-demo
│   │   ├── files
│   │   │   ├── gpio-demo.c
│   │   │   └── Makefile
│   │   └── gpio-demo.bb
│   └── peekpoke
│       ├── files
│       │   ├── Makefile
│       │   ├── peek.c
│       │   └── poke.c
│       └── peekpoke.bb
├── recipes-bsp
│   ├── device-tree
│   │   ├── device-tree.bbappend
│   │   └── files
│   │       ├── multi-arch
│   │       │   ├── zynqmp-qemu-multiarch-arm.dts
│   │       │   └── zynqmp-qemu-multiarch-pmu.dts
│   │       ├── system-user.dtsi
│   │       └── zynqmp-qemu-arm.dts
│   └── u-boot
│       ├── files
│       │   └── platform-top.h
│       └── u-boot-xlnx_%.bbappend
├── recipes-core
│   ├── base-files
│   │   └── base-files_%.bbappend
│   └── images
│       ├── petalinux-image.bbappend
│       └── petalinux-image-full.bbappend
└── recipes-modules
    └── dpu
        ├── dpu.bb
        ├── files
        │   ├── COPYING
        │   ├── dpucore.c
        │   ├── dpucore.h
        │   ├── dpudef.h
        │   ├── dpuext.c
        │   ├── dpuext.h
        │   └── Makefile
        └── README

25 directories, 46 files
ZU4EV_dpu$ tree project-spec/meta-user/recipes-apps/
project-spec/meta-user/recipes-apps/
├── autostart
│   ├── autostart.bb
│   └── files
│       ├── autostart.sh
│       └── trd-autostart.sh
├── dnndk
│   ├── dnndk.bb
│   ├── files
│   │   ├── bin
│   │   │   ├── dexplorer
│   │   │   └── dsight
│   │   ├── include
│   │   │   ├── dnndk.h
│   │   │   ├── dputils.h
│   │   │   └── n2cube.h
│   │   └── lib
│   │       ├── echarts.js
│   │       ├── libdputils.so.3.1
│   │       ├── libdputils.so.3.3
│   │       ├── libdsight.a
│   │       ├── libhineon.so
│   │       └── libn2cube.so
│   └── README
├── gpio-demo
│   ├── files
│   │   ├── gpio-demo.c
│   │   └── Makefile
│   └── gpio-demo.bb
└── peekpoke
    ├── files
    │   ├── Makefile
    │   ├── peek.c
    │   └── poke.c
    └── peekpoke.bb

11 directories, 23 files
$ tree project-spec/meta-user/recipes-core/
project-spec/meta-user/recipes-core/
├── base-files
│   └── base-files_%.bbappend
└── images
    ├── petalinux-image.bbappend
    └── petalinux-image-full.bbappend

2 directories, 3 files
ZU4EV_dpu$ cat project-spec/meta-user/recipes-core/images/petalinux-image.bbappend
IMAGE_INSTALL_append = " dnndk"
IMAGE_INSTALL_append = " autostart"
IMAGE_INSTALL_append = " dpu"
Screenshot from 2019-10-12 18-31-37.pngScreenshot from 2019-10-12 18-31-18.pngScreenshot from 2019-10-12 18-29-24.pngScreenshot from 2019-10-12 18-28-34.png
0 Kudos
Contributor
Contributor
266 Views
Registered: ‎11-18-2012

Re: Error creating a custom DPU project

Jump to solution

I think that it is petalinux-image-full.bbappend not petalinux-image.bbappend that describes IMAGE_INSTALL_append in 2018.3.

Refer to Note.2.

Requirements for Using the Xilinx DPU

This section lists the software and hardware tools required to use the Xilinx® Deep Learning Processor (DPU) IP to accelerate machine learning algorithms.

Software Requirements

  • Vivado® Design Suite 2018.2

  • Board files for Ultra96 v1 should be installed

  • Xilinx SDK 2018.2

  • PetaLinux 2018.2

Note: This tutorial is known to work with Vivado/Petalinux/SDK v2018.3, but 2018.2 will provide a better experience at this time. To use it with 2018.3, you will need to make the following changes:

  1. Edit the u96_dpuv2.0_2018.2.tcl script to specify 2018.3.

  2. Change the petalinux-image.bbappend to petalinux-image-full.bbappend.

View solution in original post

Participant pedro_machado
Participant
249 Views
Registered: ‎05-26-2018

Re: Error creating a custom DPU project

Jump to solution
Many thanks. It worked.
0 Kudos