How to uboot flash in emmc using dd command

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How to uboot flash in emmc using dd command

跳至解决方案
3,028 次查看
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 项奖励
1 解答
3,020 次查看
BiyongSUN
NXP Employee
NXP Employee

please, read the reference manual carefully.

 

无标题.png

在原帖中查看解决方案

0 项奖励
1 回复
3,021 次查看
BiyongSUN
NXP Employee
NXP Employee

please, read the reference manual carefully.

 

无标题.png

0 项奖励