Hi, I have a custom AM335X board, with eMMC on AM335X mmc1 port and SD card on AM335X mmc0 port. everything is fine and kernel = 3.2, uboot = 2013.01
Currently I can boot the uboot and the kernel from SD or eMMC separately. But when a SD is inserted, and boot from eMMC, the kernel tries to mount the 2nd partition on SD as rootfs (which is wrong, SD became /dev/mmcblk0)
The reason being so is because, kernel probes mmc devices in order:
when SD is not present, kernel register eMMC(mmc1) as /dev/mmcblk0
when SD is inserted, kernel register SD as /dev/mmcblk0 and eMMC(mmc1) as /dev/mmcblk1
Therefore when kernel tries to mount / , it will not find the correct partition.
Any solution to fix this problem? Can you change the order or probe, or fix the dev numbering? thanks!