CPIO format does not support sizes greater than 2 GB. Therefore, you cannot use INITRAMFS for larger sizes. The following steps describes the process for larger image sizes (greater than 2 GB).
- Change the root file system type to EXT4
- Add the following lines in the <plnx-proj-root>/project-spec/meta-user/conf/petalinuxbsp.conf.
IMAGE_FSTYPES:remove = "cpio cpio.gz cpio.bz2 cpio.xz cpio.lzma cpio.lz4 cpio.gz.u-boot" IMAGE_FSTYPES_DEBUGFS:remove = "cpio cpio.gz cpio.bz2 cpio.xz cpio.lzma cpio.lz4 cpio.gz.u-boot"
- Build the project.
$ petalinux-buildNote: Unlike earlier, currently PetaLinux does not generate the global DTS file. Use the following command to generate the global DTS file:
dtc -I dtb -O dts -o system.dts system.dtb
Do not use the symlinked path to the project directories for any build operations, including simply "cd"ing into the directory.