mmcblk number changed on kernel update

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

mmcblk number changed on kernel update

1,969 次查看
craigmcqueenir
Contributor IV

I have an imx8mm based system. I'm using Yocto dunfell with meta-freescale providing kernel 5.4.107.

Recently I tried to update the kernel to 5.4.119. I found it didn't boot, because the mmcblk number changed from 2 to 0. So my root partition is no longer mmcblk2p3, but mmcblk0p3.

The eMMC was numbered mmcblk2 so far because it's on usdhc3.

Having these device numbers changing (on a minor kernel update surprisingly) is unexpected and prevents the board from booting. Is there something I can put in the device tree to preserve the numbering of mmcblk2? Any other solution?

0 项奖励
回复
3 回复数

1,964 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Craig

 

for mmcblk numbering one can look at Table 54. Linux uSDHC relationships

i.MX Linux User’s Guide​

 

Best regards
igor

0 项奖励
回复

1,958 次查看
craigmcqueenir
Contributor IV

Thanks for replying. However, your reply doesn't tell me anything more than what I had already said:

The eMMC was numbered mmcblk2 so far because it's on usdhc3.

My question is, why does this no longer hold true after a Linux kernel upgrade from 5.4.107 to 5.4.119? And how can this be fixed?

0 项奖励
回复

1,956 次查看
igorpadykov
NXP Employee
NXP Employee

>why does this no longer hold true after a Linux kernel upgrade from 5.4.107 to 5.4.119? And how can this be fixed?

 

since this is general linux question recommended to post it on kernel mail list

http://vger.kernel.org/vger-lists.html

 

Best regards
igor

0 项奖励
回复