Steps for Root File System Type Configuration - 2023.2 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2023-10-18
Version
2023.2 English
  1. Change into the root directory of your PetaLinux project.
    cd <plnx-proj-root>
  2. Launch the top-level system configuration menu.
    petalinux-config
  3. Select Image Packaging Configuration > Root File System Type.
  4. 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 the switch_root.
  5. Save Configuration settings.