Perhaps the issue concerns with SD Manufacture mode. 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 up 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.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------