PYNQ: PYTHON PRODUCTIVITY

Auto resizefs not working on UltraZed-EV

I have been having an issue with the rootfs not being resized on first boot and it causes all the expected problems with no space for the OS to operate.

The UltraZed-EV assigns /dev/mmcblk1 to the SD card. I had to modify the bootargs file to get it to find the rootfs partition during boot.

It seems that the resizefs.sh script is hardwired to resize /dev/mmcblk0. I tried editing the resizefs.sh script in the resizefs package and adding that to my board spec. It seems to work. Does that have any unwanted side effects?

Thanks,
Ralph

Hi, good job on finding that issue. For me, I don’t quite understand why the system would assign a different partition other than mmcblk1. I don’t see any side effect at my first glance.