How to flash eMMC?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to flash eMMC?

3,017 Views
ozanunsal
Contributor I

Hi I am new to iMX8M and I got the iMX8M QUAD EVK in order to improve my skill. However, I had a problem in flashing the eMMC without using mfgtool. I can boot with SD card but I want to flash this to the eMMC. So, the system can boot without SD card. Can anyone help me how to do this?

Regards,

Ozan

Labels (1)
0 Kudos
3 Replies

2,512 Views
dennis3
Contributor V

I copied my SD card contents straight to the eMMC chip and it worked fine.

suppose SD card is /dev/sda and eMMC chip is /dev/sdd

> dd if=/dev/sda of=/dev/sdd bs=1k 

Caveats:

* My eMMC chip was a different (smaller capacity) size.

So after copy I used

 1) fdisk -> delete and recreate the ext4 partition so it matches the eMMC size.

 2) resize2fs to shrink the ext4 file system to match the new partition.

After eMMC chip is populated with new file system, I just had to change the boot pins on the dev board to boot from eMMC.

0 Kudos

2,512 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Forget the attachement

0 Kudos

2,512 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Ozan,

Attached is the Linux User Guide that can help you on booting from eMMC.

Regards

0 Kudos