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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
735 Views
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 Kudos
1 Solution
706 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

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

 

Best regards

Harvey

View solution in original post

0 Kudos
3 Replies
707 Views
Harvey021
NXP TechSupport
NXP TechSupport

Hi @wang12zhe 

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

 

Best regards

Harvey

0 Kudos
605 Views
yixinchi
Contributor I
你好,您知道/dev/mmcblk0和/dev/mmcblk1在emmc的地址吗,我可以uboot命令行下将uboot进行在线更新吗
0 Kudos
582 Views
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 Kudos