Use mfgtool to flash eMMC - TechNexion/u-boot-edm GitHub Wiki
MFGtool is the manufacturing tool provided by NXP. Here the mfgtool we use is mfgtool2. This tool is able to be executed under windows and linux environment. We customize the ramdisk of mfgtool firmware to mount on-boared eMMC as USB mass storage. It makes the eMMC accessed by host PC to provide a easy way to flash u-boot, linux kernel or yocto/android/ubuntu release image.
xxx_mfgtool_xxx.zip
ftp://ftp.technexion.net/development_resources/development_tools/installer/
-
First, attach a USB Type-C peripheral cable to the board, and the other end to the host PC. Then, Set the boot jumpers to serial download mode.
-
Extract the mfgtool.zip and execute MfgTool2.exe in the folder.

-
If the boardisn't detected it will show "No Device Connected":

If the board is detected it will show "HID-compliant device":

Then, press "Start" button to start to load mfgtool firmware, when it completes:

Eventually, you will see a new removable storage device shown in the file manager.

There are several useful flashing tools under MS windows:
- Install required packages for executing mfgtool Requirement:
- libusb-1.0-0-dev
- libusb-1.0-0
Usage:
./linux-runvbs.sh to kick off mfgtool for specific platform.
or launch ./linux-cvbs.sh to covert all vbs to bash scripts.
-
First, attach a USB Type-C peripheral cable to the board, and the other end to the host PC. Then, Set the boot jumpers to serial download mode.
-
Extract the mfgtool.zip and execute MfgTool in the folder "mfgtools"
chmod a+x mfgtoolcli
sudo bash ./linux-runvbs.sh mfgtool2-pico_imx8-use_eMMC_as_usb_mass_storage.vbs

- Wait about 15 sec, then you can use "lsblk" command to check if there is new block device shown.
Use "dd" command or bmaptool to flash image into eMMC.