All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: i.MX8MM-EVK Boot failure
Date: Mon, 16 Dec 2019 16:20:28 -0300	[thread overview]
Message-ID: <CAOMZO5BDeLfmmGE7RyQhT4dB55ZP060DiEPkqX7rZ9-p6dCDuQ@mail.gmail.com> (raw)
In-Reply-To: <CAHYQr0oZVmvNSWq5ojtXLWqf=OvZVMVvZ0VEhwFCobfAtxa=wg@mail.gmail.com>

Hi Ricardo,

On Thu, Dec 12, 2019 at 6:20 PM Ricardo Salveti <rsalveti@rsalveti.net> wrote:

> Can you also confirm if mmc is working correctly on imx8mm evk?
>
> I currently building with atf imx_4.19.35_1.1.0 and firmware-imx 8.5
> (tried multiple versions, no difference) and I'm unable to get u-boot
> to find the mmc device. The funny thing is that SPL itself seems to be
> fine, the problem is really just u-boot:
>
> U-Boot SPL 2020.01-rc4-00245-g7ab49b8c8a (Dec 12 2019 - 18:15:31 -0300)
> DDRINFO: start DRAM init
> DDRINFO:ddrphy calibration done
> DDRINFO: ddrmix config done
> Normal Boot
> Trying to boot from MMC1
> NOTICE:  Configuring TZASC380
> NOTICE:  RDC off
> NOTICE:  BL31: v2.0(release):rel_imx_4.19.35_1.1.0-0-g70fa7bcc1-dirty
> NOTICE:  BL31: Built : 18:09:39, Dec 12 2019
> NOTICE:  sip svc init
>
> U-Boot 2020.01-rc4-00245-g7ab49b8c8a (Dec 12 2019 - 18:15:31 -0300)
>
> CPU:   Freescale i.MX8MMQ rev1.0 at 1200 MHz
> Reset cause: POR
> Model: FSL i.MX8MM EVK board
> DRAM:  2 GiB
> MMC:   FSL_SDHC: 1, FSL_SDHC: 2
> Loading Environment from MMC... *** Warning - bad CRC, using default environment
>
> In:    serial
> Out:   serial
> Err:   serial
> Net:
> Warning: ethernet at 30be0000 using MAC address from ROM
> eth0: ethernet at 30be0000
> Hit any key to stop autoboot:  0
> MMC Device 0 not found
> no mmc device at slot 0
> MMC Device 0 not found
> no mmc device at slot 0

Yes, I noticed that as well. We need to use mmcdev=1

I have sent a patch that fixes it.

Regards,

Fabio Estevam

      parent reply	other threads:[~2019-12-16 19:20 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-07 14:42 i.MX8MM-EVK Boot failure Adam Ford
2019-12-07 18:25 ` Tom Rini
2019-12-08 12:50   ` Adam Ford
2019-12-08 15:34     ` Adam Ford
2019-12-08 16:26       ` Michael Nazzareno Trimarchi
2019-12-10  1:17 ` Fabio Estevam
2019-12-11  1:48 ` Peng Fan
2019-12-11  1:58   ` Fabio Estevam
2019-12-11  3:05     ` Peng Fan
2019-12-11  3:13       ` Fabio Estevam
2019-12-11 12:58         ` Adam Ford
2019-12-11 13:46           ` Fabio Estevam
2019-12-12 21:19       ` Ricardo Salveti
2019-12-13  9:44         ` Fabio Estevam
2019-12-13 11:22           ` Ricardo Salveti
2019-12-16 19:20         ` Fabio Estevam [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOMZO5BDeLfmmGE7RyQhT4dB55ZP060DiEPkqX7rZ9-p6dCDuQ@mail.gmail.com \
    --to=festevam@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.