

include/ "system-conf.dtsi" / ġ- Insert the sdcard in the host computer USB port (or a VirtualBox with Ubuntu).Ģ- Run GParted program to perform the sdcard partitioning. ultra96v2.xsaġ- Go to the “ultra96v2-vitis-pkg” folder generated in the first step (i.e., 1-XSA design ) and run the following commands mkdir linux_files mkdir linux_files/bootĢ- Run the setting.sh file located at the PetaLinux installation folder by running this command source /tools/Xilinx/petaliux/2020.1/settings.shģ- In the “ultra96v2-vitis-pkg” folder create a PetaLinux project petalinux-create -t project -template zynqMP -n ultra96v2-petalinuxĤ- Go to the generated project folder and configure the project cd ultra96v2-petalinux petalinux-config -get-hw-description=./vivadoġ1- Turn off “CPU Power Management –> CPU Idle –> CPU idle PM support” and “CPU Power Management –> CPU Frequency scaling –> CPU Frequency scaling”ġ2- Save and exit the kernel configuration windowġ3- Open the “./project-spec/meta-user/recipes-bsp/device-tree/files/system-user.dtsi” file and modify that as follows. and run the following TCL command to generate the XSA file write_hw_platform -include_bit ultra96v2.xsaģ0- You can validate the generated XSA file by running the following TCL command. Go to “ultra96v2-vitis-pkg/vivado” that you have created. you can use pwd command to check the folder. And from the popup menu select “Create HDL Wrapper… ” and select the “Let Viviado manage wrapper and auto-update” option in the dialog box.Ģ8- Then under the PROGRAM AND DEBUG option in the left-hand side panel, select “Generate Bitstream” and wait until the end of the process.Ģ9- After generating the bitstream, go to the TCL Console view and make sure you are in the right folder.

Figures 1-6 show the flow of the project creation.Ģ6- Select the Generate button and wait for the process to finish.Ģ7- Again, press the right-click on the “ultra96v2_design (ultra96v2_design.bd)” option in the source view panel. To make Vivado detects the board, copy the Avnet ultra96v2 board definition files (at here ) to the /data/boards/board_files.ġ- create a directory called ultra96v2-vitis-pkg mkdir ultra96v2-vitis-pkg cd ultra96v2-vitis-pkg/Ģ- create a director called vivado mkdir vivado cd vivadoģ- Run Vivado and create a project called ultra96v2-xsa in the ultra96v2-vitis-pkg/vivado folder.
Project m boot.elf how to open install#
Note that, the Xilinx Vitis software includes Vivado, so you do not need to install that separately. I have installed Xilinx Vitis and Petalinux 2020.1 under the Ubuntu 18.04 OS in a VirtualBox environment. In the sequel, I am trying to briefly explain each step.
