Steps to Configure INITRAMFS Boot - 2020.2 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2020-11-24
Version
2020.2 English
  1. Set the RootFS type to INITRAMFS. For more information, see Root File System Type Configuration.
  2. Build the system image. For more information, see Build System Image.
  3. Use one of the following methods to boot the system image.
    1. Boot a PetaLinux Image on QEMU, see Booting a PetaLinux Image on QEMU.
    2. Boot a PetaLinux Image on Hardware with SD Card, see Boot a PetaLinux Image on Hardware with an SD Card.
    3. Boot a PetaLinux Image on Hardware with JTAG, see Boot a PetaLinux Image on Hardware with JTAG.
Important: The default mode in the PetaLinux BSP is the INITRD mode.

In INITRAMFS mode, RootFS is included in the kernel image.

  • Image → Image (kernel) + rootfs.cpio (for Zynq® UltraScale+™ MPSoC )
  • zImage → zImage (kernel) + rootfs.cpio (for Zynq-7000 devices)
  • linux.bin.ub → simpleImage.mb (kernel) + rootfs.cpio (for MicroBlaze™ processors)

As you select the RootFS components, its size increases proportionally.