IMX6 does not have options to select different boot order as, say, it may be done in PC BIOS,
but if (hardware selected) boot device fails the i.MX6 can try boot SD / MMC in so called
SD / MMC Manufacture mode before applying to serial (USB) boot.
Please look at section 8.11 (SD/MMC Manufacture Mode) of the IMX6SDLRM (Rev. 1, 04/2013) for details.
The i.MX6 S/DL in SD/MMC manufacture mode SD or MMC card will be scanned on uSDHC1 and uSDHC2.
If a card is detected and boot image is found in the card, then this boot image will be loaded and executed.
In SD/MMC manufacture mode, CD signal is tested by boot ROM, and pads GPIO_1 and GPIO_4 will be used
as SD1_CD and SD2_CD respectively ; so, this pins should be pulled up /down properly. In particular one can try
to pull down them to avoid entering the SD/MMC manufacture mode.
The boot configuration bit to disable the SD/MMC manufacture mode is BOOT_CFG3[0]. It can be disabled by blowing
the OCOTP fuse OCOTP_CFG4[16] or for GPIO boot override, pull high EIM_A16.
Note : It is supported in i.MX6SDL and i.MX6SL. However, it is not available on i.MX6DQ.
There are differences between i.MX6SDL and i.MX6SL:
In MX6SDL both SD1 and SD2 are used for Manufacturing, the pins used for SD1_CD is GPIO_1
and SD2_CD is GPIO_4.
In MX6SL only SD1 is used for CD, the pin used for CD signal is KEY_ROW7
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------