flash u-boot to emmc by uboot

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

flash u-boot to emmc by uboot

ソリューションへジャンプ
2,057件の閲覧回数
1053387324
Contributor I

I use i.MX8MQ.

I want to flash u-boot to emmc by using uboot.

I run the follow commands:

fatload mmc 0:1 ${loadaddr} flash.bin
mmc write ${loadaddr} 0x21 <u-boot image size in blocks>

but, failed. I also try change 0x21 to 0x42 or 0x2 ,all fails.

Please help me,thank you very much!

0 件の賞賛
返信
1 解決策
2,053件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi 1053387324

 

for various emmc programming options one can look at

https://boundarydevices.com/programming-emmc-on-i-mx-platforms/

 

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,039件の閲覧回数
1053387324
Contributor I

I also try the u-boot ums function.

when in host ubuntu, I find the new device /dev/sdb , /dev/sdb1, /dev/sdb2,then I use the fllow command to flash img

sudo dd if=$BOOT_DIR/flash.bin of=/dev/sdb seek=33 bs=1k conv=fsync

the u-boot version is not changed.

0 件の賞賛
返信
2,054件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi 1053387324

 

for various emmc programming options one can look at

https://boundarydevices.com/programming-emmc-on-i-mx-platforms/

 

Best regards
igor

0 件の賞賛
返信