Appendix: Creating the PLM¶
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:
Select the workspace.
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
Select the Hardware Design (XSA) and click Next.
Select Operating System and Processor, click Next and Finish.
Platform will be created successfully.
Creating a Versal PLM Application from Example¶
Follow these steps to create a Versal PLM application using the created platform:
Select File > New Components > From Example.
Select
versal_plm
and click Create Application Component from Template.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
Add the Component name and click Next.
Select the Created Platform and click Next.
Select Domain “standalone” and Processor “psv_pmc_0” and click Next.
Click Finish and the
versal_plm
application is created successfully.
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.
Select the component (application) and click Build.
This generates the versal_plm.elf
file within the Output folder of the application project. After building the project, build the platform as well.