How to uboot flash in emmc using dd command

cancel
Showing results for 
Search instead for 
Did you mean: 

How to uboot flash in emmc using dd command

Jump to solution
554 Views
ankitpanchal167
Contributor III

Hi 

We are try to flash uboot in emmc using dd command on imx8mp using below command.

/bin/echo 0 > /sys/block/mmcblk2boot0/force_ro
/bin/dd if=/dev/zero of=/dev/mmcblk2boot0 bs=1k count=5000 conv=fsync
/bin/sync &
/bin/dd if=imx-boot-imx8mp-35som-sd.bin-flash_evk of=/dev/mmcblk2boot0 bs=1024 seek=32 conv=fsync
/bin/sync &
/bin/echo 1 > /sys/block/mmcblk2boot0/force_ro

/usr/bin/mmc bootpart enable 1 1 /dev/mmcblk2

But this not working for emmc.

Uboot flash dd command perfectly working with sd card. but not working with emmc.

 

any idea about this ? 

 

0 Kudos
1 Solution
546 Views
BiyongSUN
NXP Employee
NXP Employee

please, read the reference manual carefully.

 

无标题.png

View solution in original post

0 Kudos
1 Reply
547 Views
BiyongSUN
NXP Employee
NXP Employee

please, read the reference manual carefully.

 

无标题.png

0 Kudos