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?