[meta-freescale] imx6ul evk SD card boot issue with certain type of uSD

Otavio Salvador otavio.salvador at ossystems.com.br
Fri Jun 10 03:46:20 PDT 2016


On Fri, Jun 10, 2016 at 6:13 AM, Cjb_SW Freescale
<cjb.sw.nospam at gmail.com> wrote:
> Dear All,
> I'm facing a problem at boot (spl) with some types of uSD.
>
> I made some tests, here is the result:
>
> uSD card Innodisk Industrial 2GB FAIL with:
> uSD card Sandisk 8GB FAIL with:
>    U-Boot SPL 2016.03+fslc+g1e82446 (May 17 2016 - 12:24:33)
>    Trying to boot from MMC
>    spl: mmc block read error
>    SPL: failed to boot from all boot devices
>    ### ERROR ### Please RESET the board ###
>
> uSD card Sandisk 4GB Boot ok...
>
> Does anybody knows what is going wrong?
> I'm aligned to fsl-bsp branch Krogoth

commit 58abb988ce24525474f0d515d2a36c1b3acf893f
Author: Fabio Estevam <fabio.estevam at nxp.com>
Date:   Wed Apr 20 22:48:13 2016 -0300

    mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT

    mx6ul_evk does not come with a eMMC populated, so we should not
    define CONFIG_SUPPORT_EMMC_BOOT as it causes SPL to not be able
    to boot some brands of SD cards, such as SanDisk microSD HC - 8GB:

    U-Boot SPL 2016.05-rc1-28384-g108f841 (Apr 19 2016 - 11:19:11)
    Trying to boot from MMC1
    spl: mmc block read error
    SPL: failed to boot from all boot devices
    ### ERROR ### Please RESET the board ###

    When CONFIG_SUPPORT_EMMC_BOOT is defined spl_boot_mode() returns
    MMCSD_MODE_EMMCBOOT, so remove this option to have a reliable boot
    via SD card.

    Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>

Might help.

I pushed this change for U-Boot FSLC fork:

To git at github.com:Freescale/u-boot-imx.git
   1e82446..8e1bfe4  2016.03+fslc -> 2016.03+fslc

So please try that and let us know if it fixes the issue. If it does
we can update the BSP.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list