This section explains how to copy image files to SD card partitions. Assuming the two partitions get mounted at /media/BOOT and /media/rootfs.
- Change to the root directory of your PetaLinux
project.
cd <plnx-proj-root>
- Copy BOOT.BIN and image.ub to BOOT partition of SD card. The
image.ub file has device tree and
kernel image files.
cp images/linux/BOOT.BIN /media/BOOT/ cp images/linux/image.ub /media/BOOT/ cp images/linux/boot.scr /media/BOOT/
- Extract rootfs.tar.gz file
to the root file system partition of the SD card and extract the file system.
sudo tar xvfp rootfs.tar.gz -C /media/rootfs
In order to boot this SD card ext image, see Booting PetaLinux Image on Hardware with an SD Card. To Create an SD
image using PetaLinux use the petalinux-package
--wic
command.