Iam trying to build pynq2.6 for zcu102
I have installed petalinux / vivado / and vitis 2020.1
then running the cmd : make BOARDS=ZCU102
I get the following error:
version | fgrep 4.0.0
/bin/bash: version: command not found
Makefile:339: recipe for target ‘qemu_check_aarch64’ failed
make: [qemu_check_aarch64] Error 1 (ignored)
vivado -version | fgrep 2020.1
Vivado v2020.1 (64-bit)
vitis -version | fgrep 2020.1
****** Vitis v2020.1 (64-bit)
which petalinux-config
/home/shal/petalinux/2020.1/tools/common/petalinux/bin/petalinux-config
which arm-linux-gnueabihf-gcc
/home/shal/Xilinx/Vitis/2020.1/gnu/aarch32/lin/gcc-arm-linux-gnueabi/bin/arm-linux-gnueabihf-gcc
which microblaze-xilinx-elf-gcc
/home/shal/petalinux/2020.1/tools/xsct/gnu/microblaze/lin/bin/microblaze-xilinx-elf-gcc
which ct-ng
Makefile:356: recipe for target ‘checkenv’ failed
make: *** [checkenv] Error 1
I dont understand what the issue
Thank you very much
Shal
I think I might have had this error after not specifying the architecture in the *.spec file. It’s not written in the how-to guide, but I saw it on the *.spec file of the prebuilt boards.
For the ZCU102, which has the AArch64 CPU, you need to add this line to your *.spec file. I assume you replaced MyBoard from the guide with ZCU102:
So i recheck all my setup , reinstall packages that petalinux need and I successfully generate an image for petalinux for zcu102
when I go though the pynq procedure , I run the ./scripts/setup_host.sh
and get the following error : The following packages have unmet dependencies:
libglib2.0-dev : Depends: libglib2.0-0 (= 2.56.1-2ubuntu1) but 2.56.4-0ubuntu0.18.04.4 is to be installed
Depends: libglib2.0-bin (= 2.56.1-2ubuntu1)
libsdl1.2-dev : Depends: libasound2-dev but it is not going to be installed
Depends: libcaca-dev but it is not going to be installed
Depends: libglu1-mesa-dev but it is not going to be installed or
libglu-dev
Depends: libpulse-dev but it is not going to be installed
Depends: libx11-dev but it is not going to be installed
Depends: libxext-dev but it is not going to be installed
libssl-dev : Depends: libssl1.1 (= 1.1.0g-2ubuntu4) but 1.1.1-1ubuntu2.1~18.04.5 is to be installed
Recommends: libssl-doc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Is there any script that arrange all those dependencies automatically as petalinux do ?