Kria™ KV260 Vision AI Starter Kit Tutorial

Creating a Vitis Platform

Build Vitis Platform

Introduction

This tutorial shows how to build a platform for applications running on the KV260 Vision AI Starter Kit.

Prerequisites

  • AMD Vitis™ Unified Software Platform of the appropiate version

Accessing the Tutorial Reference Files

NOTE: Skip the following steps if the design files have already been cloned and extracted to a working repository.

  1. To access the reference files, type the following into a terminal:

    git clone --branch xlnx_rel_v2022.1 --recursive https://github.com/Xilinx/kria-vitis-platforms.git
    
  2. Navigate to the kria-vitis-platforms/kv260, which is the working directory.

Generating an Vitis Extensible Platform

  1. Go to the working directory.

    cd $working_dir
    
  2. To build the platform, run the following command. The Makefile calls a lower-level Makefile to generate a platform. If an XSA is not already available, it builds that as well.

    make platform PFM=<platform_name>
    

    Applications and their corresponding platforms are listed in the following table.

Application Platform
smartcam kv260_ispMipiRx_vcu_DP
aibox-reid kv260_vcuDecode_vmixDP
defect-detect kv260_ispMipiRx_vmixDP
nlp-smartvision kv260_ispMipiRx_rpiMipiRx_DP
  1. The generated platform will be located at:

    $working_dir/platforms/xilinx_<platform_name>_<version_number>
    

    The xpfm file in the above directory will be used as the input when building the Vitis accelerator projects. It exposes all the essential platform interfaces like Clock, Interrupts, Master AXI4 interfaces and Slave AXI4 interfaces for the accelerator to connect to.

NOTE: The software components (boot, smp_linux etc) in this platform are empty. The software components will be generated later when building PetaLinux.

Next Step

References

For more information on how to generate a platform, refer to the Vitis Unified Software Platform Documentation: Application Acceleration Development (UG1393).

Copyright © 2021-2024 Advanced Micro Devices, Inc

Terms and Conditions