Use UMS to Update kernel and resize partition - TechNexion/u-boot-tn-imx GitHub Wiki
Enter to UMS (USB Mass Storage) in u-boot on target board
ums 0 mmc 0
The mmc number
should correspond to eMMC, it may vary by different platforms.
Check from this command:
mmc list
For PICO-IMX8M:
ums 0 mmc 0
For PICO-IMX8MM/FLEX-IMX8MM
ums 0 mmc 1
Manipulate eMMC as USB mass storage on host PC
lsblk
It's able to replace kernel image and dtb in the 1st FAT partition of eMMC.
Resize partition in eMMC
- Install partition tool - gparted
sudo apt-get install gparted
- Execute
gparted
to resize partition:
sudo gparted /dev/sdX