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

跳至解决方案
1,133 次查看
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 解答
1,104 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

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

 

Best regards

Harvey

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,105 次查看
Harvey021
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

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

 

Best regards

Harvey

0 项奖励
回复
1,003 次查看
yixinchi
Contributor I
你好,您知道/dev/mmcblk0和/dev/mmcblk1在emmc的地址吗,我可以uboot命令行下将uboot进行在线更新吗
0 项奖励
回复
980 次查看
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 项奖励
回复