Building multiconfig Applications - 2024.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2024-05-30
Version
2024.1 English

In SDT flow, PetaLinux is capable of building multi-domain applications such as baremetal, r5, and freertos. By default, multiconfigs are set to minimal domains, enable the required multiconfig domains to build the specific domain applications.

Figure 1. Multiconfig Application

If you want to build multiconfig Applications, go to petalinux-config > Yocto Settings > Multiconfig Targets and select the required target.

If you want to build specific application, perform the following steps:

  1. To build baremetal fsbl, run the following command:
     petalinux-build -c "multiconfig:cortexa53-0-zynqmp-fsbl-baremetal:fsbl-firmware"
  2. 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/tm-machine-name/deploy/images.

    Ex: /tmp/xilinx-zcu102-sdt-2024.1-2024.03.13-06.51.58-msN-multiconfig/tmp-cortexa53-0-zynqmp-baremetal/deploy/images/xlnx-zynqmp-zcu102-rev1-0/gpiops-example

Table 1. Simple Domain Specific Machine Names Mapping
Domain/Processor Name Machine Name Notes
cortexa53MULTIDRAG

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