Steps to Configure INITRD 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 INITRD. For more information, see Root File System Type Configuration.
  2. Set RAMDISK loadaddr. Ensure loadaddr does not overlap with kernel or DTB address and that it is a valid DDR address.
  3. Build the system image. For more information, see Build System Image.
  4. Use one of the following methods to boot the system image:
    1. Boot a PetaLinux Image on Hardware with SD Card, see Boot a PetaLinux Image on Hardware with an SD Card.
    2. Boot a PetaLinux Image on Hardware with JTAG, see Boot a PetaLinux Image on Hardware with JTAG.
      • Make sure you have configured TFTP server in host.
      • Set the server IP address to the host IP address using the following command at U-Boot prompt:
        ZynqMP> sete serverip <HOST IP ADDRESS>
      • Read the images using following command:
        ZynqMP> tftpb <dtb load address> system.dtb;tftpb <kernel load address> Image; tftpb <rootfs load address> rootfs.cpio.gz.u-boot.
      • Boot images using following command:
        ZynqMP> booti <kernel load address> <rootfs loadaddress> <device tree load address>