- Start AMD Vitis™ unified software platform.
- Create BSP: File > New Component > Platform.
- Select Name and Location.
- Select Design.
- Select Standalone for Operating System.
- Select Processor.
- Select Finish.
- Add Libmetal and OpenAMP Libraries.
- In Vitis Components View select the
created platform > processor > domain > Board Support Package.
- Check Libmetal and OpenAMP libraries.
Note: To Build OpenAMP RPC demo such that the demo will use OpenAMP provided proxy information do the following:After 3: Navigate to Vitis Components View select the created platform > processor > domain > Board Support Package > 'openamp' and set flag 'OPENAMP_WITH_PROXY' to true.
Note: To Use External Repo for OpenAMP or Libmetal libraries use the following steps:- Create New directory with the following
structure:
'libmetal' or 'openamp' - data - src - Within data - copy over the YAML at https://github.com/xilinx/embeddedsw/blob/xlnx_rel_v2024.1/ThirdParty/sw_services/openamp/data/openamp.yaml or https://github.com/xilinx/embeddedsw/blob/xlnx_rel_v2024.1/ThirdParty/sw_services/libmetal/data/libmetal.yaml.
-
Within src:
copy over your modified copy of the OpenAMP or Libmetal Repo.
copy over the 'sdt' directory from the https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/tree/master/ThirdParty/sw_services/libmetal/src/sdt.
- Point to your local copy: AMD Vitis™ > Embedded SW Repositories > Local Repositories > click '+' > add top level new directory that has data and src therein. Next click OK.
- Click 'Rescan Repositories'.
- When adding library below - select your local copy from the dropdown.
- In Vitis Components View select the
created platform > processor > domain > Board Support Package.
- Build BSP: View > Flow > Click 'Build' In Flow View.
- Create Application: File > New Component > From Examples > Select one of the
following:
Table 1. New Components Supported Demos Name OpenAMP RPC Demo OpenAMP matrix multiplication Demo OpenAMD echo-test Libmetal AMP Demo Select Create Application Component from Template > Next > Select platform with libraries > Next > Finish.
- Build Application: View > Flow > Select application project name > Click 'Build' In Flow View.