I have booted a custom board based on mx53_ARD reference board with android(R10.4 BSP). It boots from the eMMC NAND. It also have sd card slot and usb.
The various devices are mounted as follows,
SD Card -mmc1
Wifi module -mmc2
The issue is when SD Card is not connected , the sd card partition of NAND is detected. When SD card is connected the sdcard partition of sd card itself is displayed not that of NAND. I referred to vold.fstab but was not successful in solving the issue.
Please share your thoughts. I like to know more details about how mounting is done.