mmcblk number changed on kernel update

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

mmcblk number changed on kernel update

2,063件の閲覧回数
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 返答(返信)

2,058件の閲覧回数
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 件の賞賛
返信

2,052件の閲覧回数
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 件の賞賛
返信

2,050件の閲覧回数
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 件の賞賛
返信