Custom board image building for HTG-ZRF16

Hi @Armanhbabaei ,

  1. Please check at what point the check_env.sh script is failing. For instance in my case it would constantly fail trying to check for gcc-multilib since that is not a binary by itself (or at least on my distro) so I deleted from the check_env.sh script. Like this I had many other errors but I just went step by step checking where would the script fail.

  2. Have you ran setup_host.sh? It will install the version of the tools needed to build the PYNQ image.

Both check_env.sh and setup_host.sh can be found in PYNQ/sdbuild/scripts.

  1. In regard to the petalinux issue, do you have petalinux already installed on your system? Have you gotten an image to work already? I wrote a small guide on how to get a Petalinux image to work. Make sure to create a working Petalinux image, test it and then generate a BSP from it (i’ll explain that later).
  1. Once the Petalinux image is created and you know it’s working accordingly, then go ahead and create the BSP by running the following command:

petalinux-package bsp from the directory where you created the original petalinux image.

Please don’t hesitate to ask any other question.

Best,

Aldo