Hi,
I've installed the official Debian Jessie image to the eMMC, using emmc.sh script. System works fine and boots from eMMC as it should, but only if there is no SD card inserted. If there is a SD card inserted during boot, it becomes /dev/mmcblk0 and the boot fails, because it wants to mount root device from /dev/mmcblk0p2, where it doesn't exist.
I think, that the correct solution would be, to switch the order of mmc devices. The eMMC should be first and the SD should be second. I tried to achieve this with switching the parameters for [card0_boot_para]/[card2_boot_para] and [mmc0_para]/[mmc2_para]. After compiling script.bin, boot fails to initialize emmc/sd devices, failing with '[mmc-err] update clock timeout, fatal error'.
So the question is, what am I doing wrong with switching the emmc/sd devices (I'm quite a newbie here...) or is there another option to achieve the same - to boot from eMMC with SD card inserted?
Thanks