How to uboot flash in emmc using dd command

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to uboot flash in emmc using dd command

ソリューションへジャンプ
3,066件の閲覧回数
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,058件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

please, read the reference manual carefully.

 

无标题.png

元の投稿で解決策を見る

0 件の賞賛
1 返信
3,059件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

please, read the reference manual carefully.

 

无标题.png

0 件の賞賛