How can I get which partition is using? /dev/mmcblk0boot0 or /dev/mmcblk0boot1

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

How can I get which partition is using? /dev/mmcblk0boot0 or /dev/mmcblk0boot1

ソリューションへジャンプ
2,537件の閲覧回数
wang12zhe
Contributor III

HW: IMX8QXP EVK

I had flash flash.bin file to /dev/mmcblk0boot0 and /dev/mmcblk0boot1 

I can run " mmc bootpart enable x 1 /dev/mmcblk0" to set system start from  /dev/mmcblk0boot0 or /dev/mmcblk0boot1.

during u-boot starting, how to konw which partition is using?  /dev/mmcblk0boot0 or /dev/mmcblk0boot1?

 

 

 

 

0 件の賞賛
返信
1 解決策
2,508件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

You can try "mmc partconf <dev>" in uboot.

 

Best regards

Harvey

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,509件の閲覧回数
Harvey021
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

You can try "mmc partconf <dev>" in uboot.

 

Best regards

Harvey

0 件の賞賛
返信
2,407件の閲覧回数
yixinchi
Contributor I
你好,您知道/dev/mmcblk0和/dev/mmcblk1在emmc的地址吗,我可以uboot命令行下将uboot进行在线更新吗
0 件の賞賛
返信
2,384件の閲覧回数
yixinchi
Contributor I
Unfortunately, like you said the method I did not succeed, I read the IMX_LINUX_USERS_GUIDE.pdf manual before, I tried the mmc partition structure on page 9, and did not find the uboot that I downloaded using uuu, I even rummaged from 0x0 to 0xa00000 and did not find it
0 件の賞賛
返信