i.MX8MM-EVK Boot failure

Ricardo Salveti rsalveti at rsalveti.net
Thu Dec 12 22:19:53 CET 2019


Hi,

On Wed, Dec 11, 2019 at 12:05 AM Peng Fan <peng.fan at nxp.com> wrote:
>
> > Subject: Re: i.MX8MM-EVK Boot failure
> >
> > Hi Peng,
> >
> > On Tue, Dec 10, 2019 at 10:48 PM Peng Fan <peng.fan at nxp.com> wrote:
> >
> > > What you modified? It boots well with Tom's tree.
> >
> > Does imx8mq-evk also boot for you?
> >
> > I followed the imx8mq-evk README instructions and it does not boot here.
> >
> > Maybe you are using different ATF/DDR firmware versions?
> >
> > Does it work if you follow the README steps?
>
> I not download that, just use my local ATF/DDR,
> U-Boot SPL 2020.01-rc4-00208-g520f955902 (Dec 11 2019 - 11:22:53 +0800)
> PMIC:  PFUZE100 ID=0x10
> DDRINFO: start DRAM init
> DDRINFO:ddrphy calibration done
> DDRINFO: ddrmix config done
> Normal Boot
> Trying to boot from MMC2
> NOTICE:  Configuring TZASC380
> NOTICE:  RDC off
> NOTICE:  BL31: v2.0(release):rel_imx_4.14.98_2.3.0_rc1-1-g8138ffe5c-dirty
> NOTICE:  BL31: Built : 03:17:34, Dec 11 2019
> NOTICE:  sip svc init
>
>
> U-Boot 2020.01-rc4-00208-g520f955902 (Dec 11 2019 - 11:22:53 +0800)
>
> CPU:   Freescale i.MX8MQ rev2.1 at 1000 MHz
> Reset cause: POR
> Model: NXP i.MX8MQ EVK
> DRAM:  3 GiB
> MMC:   FSL_SDHC: 0, FSL_SDHC: 1
> Loading Environment from MMC... unable to select a mode
> *** Warning - No block device, 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
>
> But there is true a mmc env issue here, I am checking.

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

Will investigate more tomorrow, but reporting as you might know where
the problem is.

Thanks,
-- 
Ricardo Salveti de Araujo


More information about the U-Boot mailing list