Appendix: Creating the PLM - 2023.2 English

Versal Adaptive SoC Embedded Design Tutorial (UG1305)

Document ID
UG1305
Release Date
2023-12-12
Version
2023.2 English

Following are the steps to create a platform loader and manager (PLM) elf file in the AMD Vitis™ software platform. In Versal™ devices, the PLM executes in the PMC, and is used to bootstrap the APU and RPU.

Creating the Platform

Follow these steps to create a platform for the PLM:

  1. Select the workspace.

    ../_images/location_new_vitis.PNG
  2. Select File > New Component > Platform. The new application project wizard opens.

    Use the following information to make your selections on the wizard screens:

    Wizard Screen

    System Properties

    Setting or command to use

    Platform

    Component name

    plm_platform

    Component location

    < platform path >

    Hardware Design (XSA)

    Click the browser button to add your XSA file

    Domain

    Operating System

    standalone

    Processor

    psv_pmc_0

  3. Select the Hardware Design (XSA) and click Next.

  4. Select Operating System and Processor, click Next and Finish.

    Platform will be created successfully.

    ../_images/plm-platform.png

Creating a Versal PLM Application from Example

Follow these steps to create a Versal PLM application using the created platform:

  1. Select File > New Components > From Example.

  2. Select versal_plm and click Create Application Component from Template.

    ../_images/versal-plm.png

    Use the following information to make your selections on the wizard screens:

    Wizard Screen

    System Properties

    Setting or command to use

    Application

    Details

    Component name

    plm

    Component location

    < Application path >

    Hardware Design (XSA)

    Select the platform created (plm_platform)

    Domain

    Operating System

    standalone

    Processor

    psv_pmc_0

  3. Add the Component name and click Next.

  4. Select the Created Platform and click Next.

  5. Select Domain “standalone” and Processor “psv_pmc_0” and click Next.

  6. Click Finish and the versal_plm application is created successfully.

    ../_images/plm-success.png

The Vitis software platform creates the PLM application project and edt_versal_wrapper platform under the Explorer view.

Select the component (platform) and click Build.

../_images/build-plm.png

Select the component (application) and click Build.

../_images/versal-plm-build.png

This generates the versal_plm.elf file within the Output folder of the application project. After building the project, build the platform as well.

../_images/build-target-plm.png