Unless people having hard time on setting up the environment:
Vagrant is not a good method to setup the SD build environment.
I have not investigate to the bottom but what previous engineer shows there might Virtual R/W issue during such setup.
STEPS:
- I will suggest download 18.04.06 LTS Ubuntu from official website
- Create a virtual disk size about 200GB or more, set the CPU >#4, RAM >#8192
- Update Ubuntu packages before setting up the PYNQ
3b) Git clone the PYNQ to /home//PYNQ
3c) sudo chmod -R 777 ./PYNQ/*
- you can start download Vivado etc.
- run “sudo ./scripts/setup_host.sh” No modification is needed to this script
- run with “sudo plnx-env-setup.sh”
https://support.xilinx.com/s/article/73296?language=en_US to setup PetaLinux packages
- Install all Vivado Vitis HLS # 2020.2 NOT 2020.2.#
put it in /home/PYNQ/xilinx and make sure it is owned by PYNQ and 777 right - “sudo dpkg-reconfigure dash” select NO
- Update python3 pip “python3 -m pip install --upgrade pip”
- Install PetaLinux to /home//xilinx/petalinux/…
- Just setup the tftproot
mkdir /tftproot
chmod 777 /tftproot
/etc/init.d/openbsd-inetd restart
netstat -an | more | grep udp - setup source at ~/.bashrc
- Reopen a terminal to check if all tool load correctly
Remind that 18.04.06 is not a supported OS of petalinux can be ignore
Loading of a new terminal should return:
PetaLinux environment set to ‘/home/pynq/xilinx/petalinux’
WARNING: This is not a supported OS
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
INFO: Turn off webtalk feature!
13) Well Known issue for isl-0.2.0 link dead and other link miss:
mkdir -p ~/src
wget -P ~/src https://libisl.sourceforge.io/isl-0.20.tar.bz2
wget -P ~/src https://github.com/libexpat/libexpat/releases/download/R_2_4_1/expat-2.4.1.tar.bz2
Go back to ~/PYNQ/sdbuild/scripts/tools/crosstool-ng-1.24.0/
./configure
make
sudo make install
END) Now hope all are going well unless hell time begins =]