Steps to Configure INITRD Boot - 2022.1 English

PetaLinux Tools Documentation: Reference Guide (UG1144)

Document ID
UG1144
Release Date
2022-04-26
Version
2022.1 English
  1. Set the RootFS type to INITRD. For more information, see Configuring Root File System Type.
  2. Set RAMDISK loadaddr. Ensure loadaddr does not overlap with kernel or DTB address and that it is a valid DDR address.
  3. Set INITRAMFS/INITRD Image name. The default image name is set to petalinux-intramfs-image to enable the switch_root. The build system generates two types of root file systems: ramdisk images and rootfs images. The ramdisk image is as specified in INITRAMFS/INITRD Image name. It is packed into Fit image (image.ub).
    Note: Setting petalinux-initramfs-image enables the switch_root and searches for the rootfs in ext2/3/4 of SD partitions.
  4. Build the system image. For more information, see Build System Image.
  5. Use one of the following methods to boot the system image:
    1. Boot a PetaLinux Image on Hardware with SD Card, see Booting PetaLinux Image on Hardware with an SD Card.
    2. Boot a PetaLinux Image on Hardware with JTAG, see Booting PetaLinux Image on Hardware with JTAG.
    3. Boot a PetaLinux Image on Hardware with TFTP, see Booting PetaLinux Image on Hardware with TFTP