
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

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

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

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

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?

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

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
--

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

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
--

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
participants (4)
-
Fabio Estevam
-
Peng Fan
-
Stefano Babic
-
Tom Rini