I am building a minimal petalinux project with a default project using the .xsa from the analog devices adrv9361-z7035 hdl project.
The build works just fine, however, the rootfs.ext4 is about 67MB. I loop mounted the filesystem on my host and it is only using about 17MB. I need this rootfs to sit on the QSPI of the board, however the QSPI is only 32MB.
How can I go about shrinking the size of the generated root file system? Surely it can be made to fit if its apparent size is only 17MB.