All of lore.kernel.org
 help / color / mirror / Atom feed
* imx6ul evk SD card boot issue with certain type of uSD
@ 2016-06-10  9:13 Cjb_SW Freescale
  2016-06-10 10:46 ` Otavio Salvador
  0 siblings, 1 reply; 2+ messages in thread
From: Cjb_SW Freescale @ 2016-06-10  9:13 UTC (permalink / raw)
  To: <meta-freescale@yoctoproject.org>

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

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

Thanks a lot
Simone

[-- Attachment #2: Type: text/html, Size: 847 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: imx6ul evk SD card boot issue with certain type of uSD
  2016-06-10  9:13 imx6ul evk SD card boot issue with certain type of uSD Cjb_SW Freescale
@ 2016-06-10 10:46 ` Otavio Salvador
  0 siblings, 0 replies; 2+ messages in thread
From: Otavio Salvador @ 2016-06-10 10:46 UTC (permalink / raw)
  To: Cjb_SW Freescale; +Cc: <meta-freescale@yoctoproject.org>

On Fri, Jun 10, 2016 at 6:13 AM, Cjb_SW Freescale
<cjb.sw.nospam@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@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@nxp.com>

Might help.

I pushed this change for U-Boot FSLC fork:

To git@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-10 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-10  9:13 imx6ul evk SD card boot issue with certain type of uSD Cjb_SW Freescale
2016-06-10 10:46 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.