KV260 environment setting --- 1.download ubuntu22.04LTS (img file for kv260) website: https://ubuntu.com/download/amd ![image](https://hackmd.io/_uploads/r1GF96Yxbx.png) 2.transfer img file to SD card (here I use the tool ) tool : https://etcher.balena.io/#download-etcher ![image](https://hackmd.io/_uploads/HJW7A6Flbg.png) ![image](https://hackmd.io/_uploads/Hy_s0pFl-x.png) <- img file after above step , put the SDcard on kv260 ,it will automatically boot up by this img . 3.Enter kv260 , and hold the important item of this system (follow the steps) - search the items ``` dpkg -l | grep xilinx ``` This cmd will show the important item ![image](https://hackmd.io/_uploads/SkyCQVqgbx.png) - Hold these item ``` sudo apt-mark hold linux-image-5.15.0-1027-xilinx-zynqmp sudo apt-mark hold linux-modules-5.15.0-1027-xilinx-zynqmp sudo apt-mark hold linux-headers-5.15.0-1027-xilinx-zynqmp sudo apt-mark hold linux-image-xilinx-zynqmp sudo apt-mark hold linux-headers-xilinx-zynqmp sudo apt-mark hold linux-xilinx-zynqmp sudo apt-mark hold linux-xilinx-zynqmp-headers-5.15.0-1027 ``` - update ``` sudo apt update sudo apt upgrade -y ``` - check the kernel was not updated (because the img has setup the kernel to fit the board , we don't need to modify it) ``` uname -a ls -l /boot ``` ![image](https://hackmd.io/_uploads/HyZPUNceZg.png) ![image](https://hackmd.io/_uploads/rJ0mPV5xZl.png) 4.check the version of system ``` cat /etc/os-release ``` ![image](https://hackmd.io/_uploads/HJ9adN9x-l.png) 5.install the KV260-PYNQ (contain vitis-AI runtime) ref: https://github.com/Xilinx/Kria-PYNQ ``` git clone https://github.com/Xilinx/Kria-PYNQ.git ``` (we need to cancel the apt update,because xilinx had closed the website of this one) ``` grep -R "packages.xilinx.com/kria/apt" sudo nano /etc/apt/sources.list.d/xilinx-kria.list ``` => we need to comment out the " deb [arch=arm64] https://packages.xilinx.com/kria/apt jammy main " cmd Then we can install PYNQ (juypter notebook)that support Xilinx DPU ``` cd Kria-PYNQ/ sudo bash install.sh -b { KV260 | KR260 | KD240 } ``` This step will spend about an hours . It will show following log if success. ![image](https://hackmd.io/_uploads/Syga6B5gWl.png) 6.Then you can use jupyternotebook to do host program of this mpsoc ![image](https://hackmd.io/_uploads/SkztCH5ebx.png) 7.Run jupyternotebook to do host program to check whether this system can support DPU. ![image](https://hackmd.io/_uploads/rJnevLcgWx.png)