Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Use UMS to Update kernel and resize partition

Ray Chang edited this page Jun 11, 2019 · 7 revisions

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.

For PICO-IMX8M:

ums 0 mmc 0

For PICO-IMX8MM/FLEX-IMX8MM

ums 0 mmc 1

ums_demo_01.png

Manipulate eMMC as USB mass storage on host PC

lsblk

ums_demo_02.png

It's able to replace kernel image and dtb in the 1st FAT partition of eMMC.

Resize partition in eMMC

  1. Install partition tool - gparted

sudo apt-get install gparted

  1. Execute gparted to resize partition:

sudo gparted /dev/sdX

ums_demo_03.png