You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 9
Next »
- Enable CPU virtualisation in BIOS
- Open Windows Features
- Enable Windows-Subsystem for Linux
- Powershell as Admin:
- dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
- Reboot
- Download and install: https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
- Powershell as Admin:
- wsl --set-default-version 2
- Start Ubuntu App (Windows Start Button → Ubuntu)
- Add username and password
- Update packet manager:
- sudo apt update && sudo apt upgrade
- Install:
- sudo apt install xfce4 xrdp
- Modify Remote Port
- sudo sed -i 's/3389/3388/g' /etc/xrdp/xrdp.ini
- Start XRDP Server
- sudo /etc/init.d/xrdp start
- XRDP autostart::
- TODO (currently start "sudo /etc/init.d/xrdp start" manually in case WinOS was reboot)
- Connect via RDP:
- localhost:3388
- Install browser
sudo apt-get install firefox
change console from dash to bash
sudo dpkg-reconfigure dash
Enable i386 architecture
sudo dpkg --add-architecture i386
sudo apt-get update
Download and run plnx-env-setup.sh: https://www.xilinx.com/support/answers/73296.html
sudo ./plnx-env-setup.sh
Install(in case script did not install all)
sudo apt-get install iproute2 gawk python3 python build-essential gcc git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gnupg wget git diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib automake zlib1g:i386 screen pax gzip cpio python3-pip python3-pexpect xz-utils debianutils iputils-ping python3-git python3-jinja2 libegl1-mesa libsdl1.2-dev pylint3 -y
- Download Xilinx Vitis All OS installer Single-File(Includes Vitis, Vivado and Petalinux downloader):
- Downloads (xilinx.com)
- Extracted Files on linux drive
- tar -xvf Xilinx_Unified_2020.2_1118_1232.tar.gz
- Create Folder /tools/Xilinx
- sudo mkdir /tools
- sudo mkdir /tools
- Change owner to user
sudo chown <owner>:<owner> /tools/Xilinx
Install Vitis
run xsetup
- select Vitis on default installation path
- Add Environment variable be license (can be shared with WinOS License) permanently
- Open Xilinx License manager and chose Copy License and select your license file from windows partion
- Install petalinux
- run xsetup
- select petalinux on default installation path
- Add source environment to auto start of new console :
- sudo vim /etc/bash.bashrc
- add on the end: source /tools/Xilinx/PetaLinux/2020.2/tool/settings.sh