- Change into the root directory of your PetaLinux
project.
cd <plnx-proj-root>
- Launch the top-level system configuration
menu.
petalinux-config
- Select .
- Select INITRAMFS or
INITRD or JFFS2 or UBI/UBIFS or
NFS or EXT4 (SD/eMMC/SATA/USB) as per the requirement.Note: EXT4 boot functionality expects the root file system to be mounted on ext4 partition and the BOOT.BIN , system.dtb, and kernel images in FAT32 partition.Note: Set Image Package Configuration ->Root File System Type as "INITRAMFS/INITRD configuration" with
petalinux-initramfs-image
then the full rootfs should be mounted in ext4 partition to use theswitch_root
. - Save Configuration settings.