i.MX8MM-EVK Boot failure

Fabio Estevam festevam at gmail.com
Mon Dec 16 20:20:28 CET 2019


Hi Ricardo,

On Thu, Dec 12, 2019 at 6:20 PM Ricardo Salveti <rsalveti at 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


More information about the U-Boot mailing list