The Yocto machine specifies the target device for which the image is built. The variable corresponds to a machine configuration file of the same name, through which machine-specific configurations are set. Currently, PetaLinux supports the user machine configuration file.
You can add your own machine configuration file under <plnx-proj-root>/project-spec/meta-user/conf/machine/ or you can
add your machine configuration file in any additional layers and add it into project
through petalinux-config
.
Follow these steps to specify the user machine configuration file name in the PetaLinux project:
- Go to the PetaLinux project.
- Select .
- Specify your machine configuration file name.
Based on the design, the machine configuration files are generated dynamically.
Template | Machine |
---|---|
zynq | zynq-generic |
zynqmp | zynqmp-generic |
microblaze | microblazeel-v11.0-bs-cmp-mh-div-generic |
versal | versal-generic |
versal-net | versal-net-generic |