In SDT flow, PetaLinux can build multi-domain applications such as baremetal, r5, and freertos. By default, multiconfigs are set to minimal domains, enable the required multiconfig domains to build specific domain applications.
To build multiconfig Applications, go to
and select the required target.If you want to build specific application, perform the following steps:
- To build baremetal fsbl, run the following
command:
petalinux-build -c "multiconfig:cortexa53-0-zynqmp-fsbl-baremetal:fsbl-firmware"
- To build hello-world baremetal app, run the following
command:
petalinux-build -c "multiconfig:cortexa53-0-zynqmp-fsbl-baremetal:hello-world"
- The supported multiconfig applications can be found here.
- Follow the link to build Multiconfig firmware.
- Follow the link for Multiconfig drivers.
- Follow the link for Multiconfig libraries.Note: The build application/driver/firmware/library, elf or bin can be found in <plnx-proj>/build/tmp-multiconfig/tmp-machine-name/deploy/images.
Ex: /tmp/xilinx-zcu102-sdt-2024.2-2024.03.13-06.51.58-msN-multiconfig/tmp-cortexa53-0-zynqmp-baremetal/deploy/images/xlnx-zynqmp-zcu102-rev1-0/gpiops-example
Domain/Processor Name | Machine Name | Notes |
---|---|---|
cortexa53 |
cortexa53-0-zynqmp-fsbl-baremetal cortexa53-0-zynqmp-baremetal cortexa53-0-zynqmp-freertos cortexa53-1-zynqmp-baremetal cortexa53-1-zynqmp-freertos cortexa53-2-zynqmp-baremetal cortexa53-2-zynqmp-freertos cortexa53-3-zynqmp-baremetal cortexa53-3-zynqmp-freertos |
Use Machine cortexa53-0-zynqmp-fsbl-baremetal for compiling fsbl |
PMU Microblaze | microblaze-0-pmu | |
cortexr5 |
cortexr5-0-zynqmp-fsbl-baremetal cortexr5-0-zynqmp-baremetal cortexr5-0-zynqmp-freertos cortexr5-1-zynqmp-baremetal cortexr5-1-zynqmp-freertos cortexr5-0-versal-baremetal cortexr5-0-versal-freertos cortexr5-1-versal-baremetal cortexr5-1-versal-freertos |
|
cortexa72 |
cortexa72-0-versal-baremetal cortexa72-0-versal-freertos cortexa72-1-versal-baremetal cortexa72-1-versal-freertos |
|
PLM Microblaze | microblaze-0-pmc | |
PSM Microblaze | microblaze-0-psm |