Reducing the Root File System Size - 2023.2 English

Zynq-7000 SoC Embedded Design Tutorial (UG1165)

Document ID
UG1165
Release Date
2024-05-02
Version
2023.2 English

Because there is limited QSPI Flash size, you need to shrink the rootfs size so that the rootfs can be packed into 16 MB QSPI Flash. If in your system you have larger QSPI Flash, this step can be skipped.

  1. Use your preferred editor to open the rootfs_config file in the <PetaLinux Project>/project-spec/configs directory.

  2. Comment the following lines:

    CONFIG_imagefeature-hwcodecs=y
    CONFIG_can-utils=y
    

    Save the file and quit the text editor.

  3. Run petalinux-config -c rootfs –silentconfig to update the rootfs configuration