# Pynq 2.6 build for zcu102

**URL:** <https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044>\
**Category:** Support\
**Created:** [April 14, 2022, 10:08pm UTC](https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044 "2022-04-14T22:08:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jooeun526](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jooeun526/32/3020_2.png) [@jooeun526](https://discuss.pynq.io/u/jooeun526)\
**Post date:** [April 14, 2022, 10:08pm UTC](https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044/1 "2022-04-14T22:08:41Z")

</div>

Hello,

I am building Pynq 2.6 on ZCU102 with [Xilinx ZCU102向けPYNQビルドと確認(v2.6対応) - Qiita](https://qiita.com/tethys_seesaa/items/07fb1b2f6e3a6f582782)

But, I get some problem when running make BOARD=ZCU102

**Initialising tasks: 100% |##############################################################################################################| Time: 0:00:00**  
**Checking sstate mirror object availability: 100% |######################################################################################| ETA: 0:00:00**

In this state, they did not proceed any further. I waited over 12 hours and tried in various ways, but the results were the same.

Also, to resolve the sstate-cache delay, I downloaded it from the Xilinx and placed it in the , but it had no other effect.

Is there any way to proceed further from the above?

Or is there a way to get a pynq-image or boot.bin with image.db for zcu102?

---

<div class="post-metadata">

**Author:** ![skalade](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/skalade/32/686_2.png) [@skalade](https://discuss.pynq.io/u/skalade)\
**Post date:** [April 14, 2022, 10:38pm UTC](https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044/2 "2022-04-14T22:38:13Z")

</div>

Hi there,

Is there are reason you are using 2.6 instead of 2.7? It should be BOARDS instead of BOARD, and you should specify the BOARDDIR for your custom board folder.

I highly recommend you use the PREBUILT and PYNQ\_SDIST flags in your make call as well. If you are sticking with 2.6, the download link for the board agnostic PYNQ 2.6 image can be found in [this forum post](https://discuss.pynq.io/t/how-to-download-pynq-rootfs-aarch64-v2-6/3926) and the PYNQ 2.6 source distribution [here](https://github.com/Xilinx/PYNQ/releases/download/v2.6.0/pynq-2.6.0.tar.gz).

then

```auto
make BOARDDIR=/full/path/to/your/boarddir PYNQ_SDIST=downloaded_sdist PREBUILT=downloaded_image BOARDS=ZCU102

```

If building more up to date 2.7 images, you can find the sdist in the [release](https://github.com/Xilinx/PYNQ/releases/tag/v2.7.0) and the board agnostic rootfs image on the pynq website under [boards](http://www.pynq.io/board.html).

Thanks  
Shawn

---

<div class="post-metadata">

**Author:** ![jooeun526](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jooeun526/32/3020_2.png) [@jooeun526](https://discuss.pynq.io/u/jooeun526)\
**Post date:** [April 15, 2022, 7:07am UTC](https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044/3 "2022-04-15T07:07:34Z")

</div>

> [@skalade](#):
>
> `PYNQ_SDIST`

Thank you for your very kind reply.

The reason for using 2.6 was that there was a case where 2.6 version was completed. If 2.7 is possible, I will apply it.

Additionally, Could I know the specific filename of which file is included in PYNQ\_SDIST in the part you uploaded?

Thank you very much.

---

<div class="post-metadata">

**Author:** ![jooeun526](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jooeun526/32/3020_2.png) [@jooeun526](https://discuss.pynq.io/u/jooeun526)\
**Post date:** [April 15, 2022, 7:10am UTC](https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044/4 "2022-04-15T07:10:49Z")

</div>

> [@skalade](#):
>
> `downloaded_sdist `

I found it. This is the \<PYNQ 2.6 source distribution here\> you posted

---

<div class="post-metadata">

**Author:** ![jooeun526](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jooeun526/32/3020_2.png) [@jooeun526](https://discuss.pynq.io/u/jooeun526)\
**Post date:** [April 15, 2022, 7:38am UTC](https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044/5 "2022-04-15T07:38:58Z")

</div>

Hello.

There is no further change from the state below, is there any other solution?

My environment is Vitis 2020.1, Petalinux 2020.1 (same to 2.6) with Intel Zeon 64 core  
Also, I hane Vitis 2020.2 Petalinux 2020.2 (same to 2.7)

**PYNQ\_BOARDNAME=ZCU102 FPGA\_MANAGER=1 petalinux-build -c device-tree -p /home/jueun/Downloads/PYNQ\_7/sdbuild/build/ZCU102/petalinux\_project**  
**INFO: sourcing build tools**  
**[INFO] building device-tree**  
**[INFO] sourcing build environment**  
**[INFO] generating user layers**  
**[INFO] generating workspace directory**  
**INFO: bitbake virtual/dtb**  
**Parsing recipes: 100% |#################################################################################################################| Time: 0:00:18**  
**Parsing of 2964 .bb files complete (0 cached, 2964 parsed). 4235 targets, 210 skipped, 0 masked, 0 errors.**  
**NOTE: Resolving any missing task queue dependencies**  
**NOTE: Fetching uninative binary shim from file:///home/jueun/Downloads/PYNQ\_7/sdbuild/build/ZCU102/petalinux\_project/components/yocto/downloads/uninative/9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216/x86\_64-nativesdk-libc.tar.xz;sha256sum=9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216**  
**Initialising tasks: 100% |##############################################################################################################| Time: 0:00:01**  
**Checking sstate mirror object availability: 100% |######################################################################################| ETA: 0:00:00**

---

<div class="post-metadata">

**Author:** ![jooeun526](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.pynq.io/jooeun526/32/3020_2.png) [@jooeun526](https://discuss.pynq.io/u/jooeun526)\
**Post date:** [April 15, 2022, 12:24pm UTC](https://discuss.pynq.io/t/pynq-2-6-build-for-zcu102/4044/7 "2022-04-15T12:24:47Z")

</div>

Thank you for your contribution.

I solved this.

Thank you!!
