- Create the project using the BSP.
- Go to the project directory using the
cdcommand. - Run the
petalinux-config --silentconfigcommand. - Open the platform-auto.h file and add the following command
in the
bootcmdoptions of the U-Boot environment (project-spec/configs/u-boot-xlnx/platform-auto.h). The values can vary based on hardware.$ "bootcmd=sf probe 0;sf read 0x82000000 0xAA0000 0xC00000;bootm 0x82000000\0" -
$saveand exit. - Run the
petalinux-buildcommand. - Create the mcs file with build images using the following
command.
$ petalinux-package --boot --fpga images/linux/system.bit --u-boot --kernel --flash-size 128