[U-Boot] [PATCH] mx6ul_evk: Remove SPL support
Eric Nelson
eric at nelint.com
Wed Apr 20 03:27:53 CEST 2016
Hi Fabio,
On 04/19/2016 05:45 PM, Fabio Estevam wrote:
> Hi Eric,
>
> On Tue, Apr 19, 2016 at 9:21 PM, Eric Nelson <eric at nelint.com> wrote:
>
>> Do you have details of which cards are failing and how?
>
> The brand that fails is SanDisk 8GB microSD HC I (4).
>
> If I change to a Kingston card, then it boots fine.
>
Interesting.
Does the SanDisk card load using the full U-Boot?
>> Do they also fail on other platforms?
>
> Yes, they also fail in the other SPL platforms I have access to like
> mx6q-sabresd, for example.
>
> They failure pattern is like this:
>
> U-Boot SPL 2016.05-rc1-00110-g0973972-dirty (Apr 19 2016 - 20:36:43)
> Trying to boot from MMC1
> hdr read sector 8a, count=0
> spl: mmc block read error from mmc_load_image_raw_sector
> SPL: failed to boot from all boot devices
>
> Inside mmc_load_image_raw_sector() we have:
>
> /* read image header to find the image size & load address */
> count = mmc->block_dev.block_read(&mmc->block_dev, sector, 1, header);
>
> and 'coun't always return 0 for these cards.
>
I'd suggest reviewing the pad settings and clock setup between
the SPL and full U-Boot, but I suspect you've already done that.
More information about the U-Boot
mailing list