Part Number:AM5708
Tool/software: Linux
Hi,
I'm using AM5708 based custom board.
We have SD card slot on MMC1 and EMMC mounted on MMC2.
Previously, we were booting with kernel 4.4.41. In that kernel, when we have SD card attached in our board, then SD card was detecting on mmcblk0 and EMMC was detecting on mmcblk1. And when SD card was not attached on the board, then EMMC was detecting on mmcblk0. So, we were always booting using mmcblk0 because our priority was SD card -> EMMC.
Now, we are trying to upgrade our kernel to 4.14.79. In this kernel version, even when SD card is not attached, EMMC is detected on mmcblk1. So, kernel is stuck at "Waiting for root device /dev/mmcblk0p2".
If SD card is attached, it is successfully booting from it, but we require to have both option (SD/EMMC) working so we can't change the command line argument for rootfs.
Is there any way I can put any fix in kernel to start detecting mmc like the previous kernel.
Thanks,
Gunjal