Pynq2.6.0 zcu102 fialed ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device""

Execute the following command:

make PREBUILT=/media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/prebuild/bionic.aarch64.2.6.0_2020_10_19.img BOARDDIR=/media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/myboards

ZCU102.spec:

ARCH_ZCU102 := aarch64
BSP_ZCU102 := xilinx-zcu102-v2020.1-final.bsp

STAGE4_PACKAGES_ZCU102 := pynq ethernet

The following error occurs:
copying tests/test_xrt.py → pynq-2.6.0/tests
Writing pynq-2.6.0/setup.cfg
creating dist
Creating tar archive
removing ‘pynq-2.6.0’ (and everything under it)

  • sudo cp dist/pynq-2.6.0.tar.gz /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102/home/xilinx/pynq_git/dist

  • ‘[’ -e /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/packages/pynq/qemu.sh ‘]’

  • cp /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/packages/pynq/qemu.sh /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102

  • sudo -E chroot /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102 bash qemu.sh

  • . /etc/environment
    ++ PATH=/opt/sigrok/bin:/opt/microblazeel-xilinx-elf/bin:/opt/python3.6/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
    ++ LC_ALL=en_US.UTF-8
    ++ LANG=en_US.UTF-8
    ++ PYNQ_JUPYTER_NOTEBOOKS=/home/xilinx/jupyter_notebooks
    ++ PYNQ_PYTHON=python3.6

  • export HOME=/root

  • HOME=/root

  • export BOARD=ZCU102

  • BOARD=ZCU102

  • cd /home/xilinx

  • mkdir -p jupyter_notebooks

  • cd pynq_git

  • BOARD=ZCU102

  • PYNQ_JUPYTER_NOTEBOOKS=/home/xilinx/jupyter_notebooks

  • python3 -m pip install dist/pynq-2.6.0.tar.gz --upgrade --no-deps
    Processing ./dist/pynq-2.6.0.tar.gz
    ERROR: Could not install packages due to an EnvironmentError: [Errno 28] No space left on device

  • unmount_special

  • for fs in $fss

  • sudo umount -l /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102/proc

  • for fs in $fss

  • sudo umount -l /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102/run

  • for fs in $fss

  • sudo umount -l /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102/dev

  • sudo umount -l /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102/ccache

  • rmdir /media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/build/bionic.ZCU102/ccache
    Makefile:338: recipe for target ‘/media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/output/ZCU102-2.6.0.img’ failed
    make: *** [/media/ccpiot/cfd852b5-0a53-4e35-8317-4213d7cceef1/projects/petalinux_work/PYNQ/sdbuild/output/ZCU102-2.6.0.img] Error 1

Hi there,

According to the error message in your title looks like you ran out of space. At least 50GB is recommended for the SD card build flow.

Thanks
Shawn