Building U-Boot for Compulab's imx8mm-cl-iot-gate board

Fabio Estevam festevam at gmail.com
Wed Aug 11 15:02:09 CEST 2021


On Wed, Aug 11, 2021 at 8:31 AM Fabio Estevam <festevam at gmail.com> wrote:

> I still cannot boot:
>
>     U-Boot SPL 2021.07-00001-g54086b3f1019-dirty (Aug 10 2021 - 18:39:22 -0300)
>     DDRINFO: Cfg attempt: [ 1/6 ]
>     DDRINFO(M): mr5-8 [ 0xff000010 ]
>     DDRINFO(T): mr5-8 [ 0x5000010 ]
>     resetting ...
>
>     U-Boot SPL 2021.07-00001-g54086b3f1019-dirty (Aug 10 2021 - 18:39:22 -0300)
>     DDRINFO: Cfg attempt: [ 2/6 ]
>     DDRINFO(M): mr5-8 [ 0xff000010 ]
>     DDRINFO(T): mr5-8 [ 0x1061010 ]
>     resetting ...
>
>     U-Boot SPL 2021.07-00001-g54086b3f1019-dirty (Aug 10 2021 - 18:39:22 -0300)
>     DDRINFO: Cfg attempt: [ 3/6 ]
>     DDRINFO(M): mr5-8 [ 0xff000010 ]
>     DDRINFO(T): mr5-8 [ 0xff000010 ]
>     Normal Boot
>     WDT:   Not starting
>     Trying to boot from MMC2
>
> Could you confirm whether U-Boot 2021.07 boots for you?

Harald and I found the problem: it is related to ATF.

These extra patches were missing in our ATF build:
https://github.com/compulab-yokneam/meta-bsp-imx8mm/tree/iot-gate-imx8-dev/recipes-bsp/imx-atf/compulab/imx8mm

After applying them, the board boots fine with mainline U-Boot.

I will send a patch documenting the procedure to make it easier for other users.

Thanks,

Fabio Estevam


More information about the U-Boot mailing list