A platform can contain multiple domains, supporting different operating systems and targeting different processors. The Vitis tool supports Linux, FreeRTOS, and Standalone (or Baremetal).
- In the current workspace, expand the Platform component in the
Component Explorer to
open the Settings folder
and select the vitis-comp.json file.Note: To create a Platform component refer to Creating a Platform Component from XSA.
- Click the + button to Add Domain.
- Specify the Name and Display name.
- For the OS select Linux, FreeRTOS, Standalone.
- Select from the available Processors. The selection of Processor changes based on the selected OS.
- Click OK to add the domain to the Platform.
For a FreeRTOS and Standalone domains a Board Support Package (or BSP) is created for the domain. You can specify the libraries to include in the BSP.
For a Linux domain you can configure additional details of the Linux domain by selecting the new domain in the platform. The Boot Components Directory must contain all the components required by the BIF. PetaLinux can generate these components.
Tip: The components in the Linux domain settings
copies to the platform folder when generating the platform. Adding sysroot to a Linux
domain is not supported because Windows does not support copying symbol links.