不同内核打印的eMMC分区信息矛盾

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

不同内核打印的eMMC分区信息矛盾

1,622 Views
442682192
Contributor I

您好,

在imx6q平台上可以正常启动linux-4.1.15内核时的eMMC分区信息为:

[    2.722498] mmcblk3: mmc3:0001 SEM08G 7.28 GiB

[    2.727520] mmcblk3boot0: mmc3:0001 SEM08G partition 1 2.00 MiB

[    2.733918] mmcblk3boot1: mmc3:0001 SEM08G partition 2 2.00 MiB

[    2.740263] mmcblk3rpmb: mmc3:0001 SEM08G partition 3 2.00 MiB

[    2.747840]  mmcblk3: p1 p2

但在移植linux-4.4.10内核时的eMMC分区信息变为(uboot和MfgTool都相同):

[    2.577871] Waiting for root device /dev/mmcblk3p2...
[    2.578780] mmcblk0: mmc2:0001 SEM08G 7.28 GiB
[    2.579293] mmcblk0boot0: mmc2:0001 SEM08G partition 1 2.00 MiB
[    2.579799] mmcblk0boot1: mmc2:0001 SEM08G partition 2 2.00 MiB
[    2.580290] mmcblk0rpmb: mmc2:0001 SEM08G partition 3 2.00 MiB
[    2.587766]  mmcblk0: p1 p2

并且卡在此处,不在执行。请问是什么原因造成的?谢谢!

Labels (1)
0 Kudos
3 Replies

837 Views
b36401
NXP Employee
NXP Employee

Please note that 4.4.10 is not our official Linux kernel.
Possibly it has no proper drivers for SD slots (that uses 0-2 in enumeration of mmcblk devices in 4.1.15).
So eMMC is named mmcblk0.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

837 Views
442682192
Contributor I

您好,

我认真按照linux4.1.15核修改了设备树,并且drivers/mmc/目录下的驱动也修改成了4.1.15的驱动,但最终还是显示为 mmcblk0: p1 p2,请问linux-4.4.10核最可能出现的差异是哪里?谢谢!

0 Kudos

837 Views
b36401
NXP Employee
NXP Employee

I have no idea what goes wrong.
You can create an alias with mknod command.
I mean something like this:

# mknod a0 b 179 0

0 Kudos