All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] MX6ULEVK does not boot
@ 2015-11-19 15:58 Fabio Estevam
  2015-11-19 16:13 ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2015-11-19 15:58 UTC (permalink / raw)
  To: u-boot

Hi Peng,

Just noticed that mx6ulevk is not booting with latest U-boot:

U-Boot SPL 2016.01-rc1-00078-g736d174 (Nov 19 2015 - 13:45:19)
Trying to boot from MMC
spl: mmc block read error
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###

I haven't had a chance to investigate/debug this yet.

Could you please take a look?

Regards,

Fabio Estevam

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-19 15:58 [U-Boot] MX6ULEVK does not boot Fabio Estevam
@ 2015-11-19 16:13 ` Fabio Estevam
  2015-11-19 17:09   ` Stefano Babic
  2015-11-30  7:39   ` Peng Fan
  0 siblings, 2 replies; 10+ messages in thread
From: Fabio Estevam @ 2015-11-19 16:13 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 19, 2015 at 1:58 PM, Fabio Estevam <festevam@gmail.com> wrote:
> Hi Peng,
>
> Just noticed that mx6ulevk is not booting with latest U-boot:
>
> U-Boot SPL 2016.01-rc1-00078-g736d174 (Nov 19 2015 - 13:45:19)
> Trying to boot from MMC
> spl: mmc block read error
> SPL: failed to boot from all boot devices
> ### ERROR ### Please RESET the board ###
>
> I haven't had a chance to investigate/debug this yet.

Looks like I cannot boot using my SanDisk micro SD card. I changed the
SD card and now it boots.

Regards,

Fabio Estevam

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-19 16:13 ` Fabio Estevam
@ 2015-11-19 17:09   ` Stefano Babic
  2015-11-19 17:15     ` Fabio Estevam
  2015-11-30  7:39   ` Peng Fan
  1 sibling, 1 reply; 10+ messages in thread
From: Stefano Babic @ 2015-11-19 17:09 UTC (permalink / raw)
  To: u-boot

Hi Fabio,

On 19/11/2015 17:13, Fabio Estevam wrote:
> On Thu, Nov 19, 2015 at 1:58 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> Hi Peng,
>>
>> Just noticed that mx6ulevk is not booting with latest U-boot:
>>
>> U-Boot SPL 2016.01-rc1-00078-g736d174 (Nov 19 2015 - 13:45:19)
>> Trying to boot from MMC
>> spl: mmc block read error
>> SPL: failed to boot from all boot devices
>> ### ERROR ### Please RESET the board ###
>>
>> I haven't had a chance to investigate/debug this yet.
> 
> Looks like I cannot boot using my SanDisk micro SD card. I changed the
> SD card and now it boots.

I can confirm you this weirdness. It depends on the SD Card, I have seen
the same on a iMX6 Dual. It does not boot with industrial card (Pretec,
1Gb), no problems with "HC" cards of any size (Toshiba, Sandisk, Hama,..).

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-19 17:09   ` Stefano Babic
@ 2015-11-19 17:15     ` Fabio Estevam
  2015-11-19 17:28       ` Tom Rini
  2015-11-19 17:29       ` Stefano Babic
  0 siblings, 2 replies; 10+ messages in thread
From: Fabio Estevam @ 2015-11-19 17:15 UTC (permalink / raw)
  To: u-boot

Hi Stefano,

On Thu, Nov 19, 2015 at 3:09 PM, Stefano Babic <sbabic@denx.de> wrote:
> Hi Fabio,
>
> On 19/11/2015 17:13, Fabio Estevam wrote:
>> On Thu, Nov 19, 2015 at 1:58 PM, Fabio Estevam <festevam@gmail.com> wrote:
>>> Hi Peng,
>>>
>>> Just noticed that mx6ulevk is not booting with latest U-boot:
>>>
>>> U-Boot SPL 2016.01-rc1-00078-g736d174 (Nov 19 2015 - 13:45:19)
>>> Trying to boot from MMC
>>> spl: mmc block read error
>>> SPL: failed to boot from all boot devices
>>> ### ERROR ### Please RESET the board ###
>>>
>>> I haven't had a chance to investigate/debug this yet.
>>
>> Looks like I cannot boot using my SanDisk micro SD card. I changed the
>> SD card and now it boots.
>
> I can confirm you this weirdness. It depends on the SD Card, I have seen
> the same on a iMX6 Dual. It does not boot with industrial card (Pretec,
> 1Gb), no problems with "HC" cards of any size (Toshiba, Sandisk, Hama,..).

It is interesting that I do not see the problem if I don't use SPL.

For example: on a mx6qsabresd I can boot the SanDisk card without
issues if I boot the mx6qbsabresd_deconfig target (u-boot.imx binary).

However, if I try booting the mx6sabresd_spl_defconfig (SPL +
u-boot.img) the boot fails with the same error as I noticed on the
mx6ul board.

So it seems this is is SPL MMC related problem.

Thanks,

Fabio Estevam

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-19 17:15     ` Fabio Estevam
@ 2015-11-19 17:28       ` Tom Rini
  2015-11-19 17:29       ` Stefano Babic
  1 sibling, 0 replies; 10+ messages in thread
From: Tom Rini @ 2015-11-19 17:28 UTC (permalink / raw)
  To: u-boot

On Thu, Nov 19, 2015 at 03:15:31PM -0200, Fabio Estevam wrote:
> Hi Stefano,
> 
> On Thu, Nov 19, 2015 at 3:09 PM, Stefano Babic <sbabic@denx.de> wrote:
> > Hi Fabio,
> >
> > On 19/11/2015 17:13, Fabio Estevam wrote:
> >> On Thu, Nov 19, 2015 at 1:58 PM, Fabio Estevam <festevam@gmail.com> wrote:
> >>> Hi Peng,
> >>>
> >>> Just noticed that mx6ulevk is not booting with latest U-boot:
> >>>
> >>> U-Boot SPL 2016.01-rc1-00078-g736d174 (Nov 19 2015 - 13:45:19)
> >>> Trying to boot from MMC
> >>> spl: mmc block read error
> >>> SPL: failed to boot from all boot devices
> >>> ### ERROR ### Please RESET the board ###
> >>>
> >>> I haven't had a chance to investigate/debug this yet.
> >>
> >> Looks like I cannot boot using my SanDisk micro SD card. I changed the
> >> SD card and now it boots.
> >
> > I can confirm you this weirdness. It depends on the SD Card, I have seen
> > the same on a iMX6 Dual. It does not boot with industrial card (Pretec,
> > 1Gb), no problems with "HC" cards of any size (Toshiba, Sandisk, Hama,..).
> 
> It is interesting that I do not see the problem if I don't use SPL.
> 
> For example: on a mx6qsabresd I can boot the SanDisk card without
> issues if I boot the mx6qbsabresd_deconfig target (u-boot.imx binary).
> 
> However, if I try booting the mx6sabresd_spl_defconfig (SPL +
> u-boot.img) the boot fails with the same error as I noticed on the
> mx6ul board.
> 
> So it seems this is is SPL MMC related problem.

Or the header stuff on the .imx file making things be set that aren't in
the SPL case?  Can you for example use the bad SD card to read from in
U-Boot if you boot off a good card?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151119/b8fbd3e0/attachment.sig>

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-19 17:15     ` Fabio Estevam
  2015-11-19 17:28       ` Tom Rini
@ 2015-11-19 17:29       ` Stefano Babic
  1 sibling, 0 replies; 10+ messages in thread
From: Stefano Babic @ 2015-11-19 17:29 UTC (permalink / raw)
  To: u-boot

Hi Fabio,

On 19/11/2015 18:15, Fabio Estevam wrote:
> 
> It is interesting that I do not see the problem if I don't use SPL.

Confirmed, I see the same. It looks like that the BootROM can, but SPL
no. I supposed an isseu with the frequency, and I set it in SPL to
25Mhz, but it does not help.

> 
> For example: on a mx6qsabresd I can boot the SanDisk card without
> issues if I boot the mx6qbsabresd_deconfig target (u-boot.imx binary).
> 
> However, if I try booting the mx6sabresd_spl_defconfig (SPL +
> u-boot.img) the boot fails with the same error as I noticed on the
> mx6ul board.
> 
> So it seems this is is SPL MMC related problem.

Right, I see the same.

Bet regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-19 16:13 ` Fabio Estevam
  2015-11-19 17:09   ` Stefano Babic
@ 2015-11-30  7:39   ` Peng Fan
  2015-11-30 14:54     ` Fabio Estevam
  1 sibling, 1 reply; 10+ messages in thread
From: Peng Fan @ 2015-11-30  7:39 UTC (permalink / raw)
  To: u-boot

Hi Fabio,
On Thu, Nov 19, 2015 at 02:13:31PM -0200, Fabio Estevam wrote:
>On Thu, Nov 19, 2015 at 1:58 PM, Fabio Estevam <festevam@gmail.com> wrote:
>> Hi Peng,
>>
>> Just noticed that mx6ulevk is not booting with latest U-boot:
>>
>> U-Boot SPL 2016.01-rc1-00078-g736d174 (Nov 19 2015 - 13:45:19)
>> Trying to boot from MMC
>> spl: mmc block read error
>> SPL: failed to boot from all boot devices
>> ### ERROR ### Please RESET the board ###
>>
>> I haven't had a chance to investigate/debug this yet.
>
>Looks like I cannot boot using my SanDisk micro SD card. I changed the
>SD card and now it boots.

Sorry for this late reply. I missed you mail. I tried in my side
with one sandisk 2GB macro sd card and one sandisk SDHC I 8GB card.

Both boots fine. What card are you using? Also which revision board, RevA B or C?

Regards,
Peng.
>
>Regards,
>
>Fabio Estevam

-- 

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-30  7:39   ` Peng Fan
@ 2015-11-30 14:54     ` Fabio Estevam
  2015-12-01  1:34       ` Peng Fan
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2015-11-30 14:54 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Mon, Nov 30, 2015 at 5:39 AM, Peng Fan <b51431@freescale.com> wrote:

> Sorry for this late reply. I missed you mail. I tried in my side
> with one sandisk 2GB macro sd card and one sandisk SDHC I 8GB card.
>
> Both boots fine. What card are you using? Also which revision board, RevA B or C?

The card I have here that fails to boot is a SanDisk microSD HC I 8GB.

My mx6ulevk is revB. What about yours?

Thanks

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

* [U-Boot] MX6ULEVK does not boot
  2015-11-30 14:54     ` Fabio Estevam
@ 2015-12-01  1:34       ` Peng Fan
  2015-12-01  1:40         ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Peng Fan @ 2015-12-01  1:34 UTC (permalink / raw)
  To: u-boot

Hi Fabio,
On Mon, Nov 30, 2015 at 12:54:37PM -0200, Fabio Estevam wrote:
>Hi Peng,
>
>On Mon, Nov 30, 2015 at 5:39 AM, Peng Fan <b51431@freescale.com> wrote:
>
>> Sorry for this late reply. I missed you mail. I tried in my side
>> with one sandisk 2GB macro sd card and one sandisk SDHC I 8GB card.
>>
>> Both boots fine. What card are you using? Also which revision board, RevA B or C?
>
>The card I have here that fails to boot is a SanDisk microSD HC I 8GB.
>
>My mx6ulevk is revB. What about yours?

My is revA. I just tried on revB board using one Sandisk 8GB micro SDHC I card,
it boots ok.

"
U-Boot SPL 2016.01-rc1-00190-g90447ef (Dec 01 2015 - 09:29:18)
Trying to boot from MMC


U-Boot 2016.01-rc1-00190-g90447ef (Dec 01 2015 - 09:29:18 +0800)
........
"

Regards,
Peng.

>
>Thanks

-- 

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

* [U-Boot] MX6ULEVK does not boot
  2015-12-01  1:34       ` Peng Fan
@ 2015-12-01  1:40         ` Fabio Estevam
  0 siblings, 0 replies; 10+ messages in thread
From: Fabio Estevam @ 2015-12-01  1:40 UTC (permalink / raw)
  To: u-boot

On Mon, Nov 30, 2015 at 11:34 PM, Peng Fan <b51431@freescale.com> wrote:

> My is revA. I just tried on revB board using one Sandisk 8GB micro SDHC I card,
> it boots ok.
>
> "
> U-Boot SPL 2016.01-rc1-00190-g90447ef (Dec 01 2015 - 09:29:18)
> Trying to boot from MMC
>
>
> U-Boot 2016.01-rc1-00190-g90447ef (Dec 01 2015 - 09:29:18 +0800)

In my case even mx6qsabresd fails to boot when I use the Sandisk 8GB
micro SDHC I card and SPL image.

The non-SPL image (u-boot.imx) boots fine though. I haven't had a
chance to investigate this yet.

Regards,

Fabio Estevam

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

end of thread, other threads:[~2015-12-01  1:40 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-19 15:58 [U-Boot] MX6ULEVK does not boot Fabio Estevam
2015-11-19 16:13 ` Fabio Estevam
2015-11-19 17:09   ` Stefano Babic
2015-11-19 17:15     ` Fabio Estevam
2015-11-19 17:28       ` Tom Rini
2015-11-19 17:29       ` Stefano Babic
2015-11-30  7:39   ` Peng Fan
2015-11-30 14:54     ` Fabio Estevam
2015-12-01  1:34       ` Peng Fan
2015-12-01  1:40         ` Fabio Estevam

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.