Boot problems imx8mp_evk

ZHIZHIKIN Andrey andrey.zhizhikin at leica-geosystems.com
Tue Dec 8 15:15:52 CET 2020


Hello Adam/Peter,

> -----Original Message-----
> From: U-Boot <u-boot-bounces at lists.denx.de> On Behalf Of Adam Ford
> Sent: Tuesday, December 8, 2020 2:48 PM
> To: Peter Bergin <peter at berginkonsult.se>
> Cc: U-Boot Mailing List <u-boot at lists.denx.de>; NXP Linux Team <linux-
> imx at nxp.com>
> Subject: Re: Boot problems imx8mp_evk
> 
> This email is not from Hexagon’s Office 365 instance. Please be careful while
> clicking links, opening attachments, or replying to this email.
> 
> 
> On Wed, Sep 30, 2020 at 6:06 AM Peter Bergin <peter at berginkonsult.se> wrote:
> >
> > Hi,
> >
> > I'm following the README
> > to bring up u-boot on a imx8mp EVK board. My
> > boot ends up in this on the
> > console:
> >
> >      U-Boot SPL 2020.10-rc5-00049-gd44d46e9fa (Sep 30 2020 - 11:46:20 +0200)
> >      Normal Boot
> >      WDT:   Started with servicing (60s timeout)
> >      Trying to boot from BOOTROM
> >      image offset 0x8000, pagesize 0x200, ivt offset 0x0
> >      Can't support legacy image
> >      SPL: failed to boot from all boot devices
> >      ### ERROR ### Please RESET the board ###
> >
> > Any ideas what is going wrong? How to debug further?
> >
> 
> I am trying to port U-Boot to an i.MX8M Nano and I am getting the same result.

This might not be related, but looking at the ATF branch [imx_5.4.3_2.0.0] - it appears to be too old, at least for i.MX8M Plus. I was able to run the U-Boot 2020.10 with ATF built from [imx_5.4.47_2.2.0] on the i.MX8M Plus and it does boot successful.

Boot log show the following banner when BOOTROM finishes up the copy:
NOTICE:  BL31: v2.2(release):rel_imx_5.4.47_2.2.0-0-gc949a888e-dirty
NOTICE:  BL31: Built : 05:51:50, Sep  9 2020

Peter,
i.MX8M Plus support in NXP ATF fork appears to be added by commit https://source.codeaurora.org/external/imx/imx-atf/commit/?id=6b8249ff58cc8853396498a074535dcd7f81beaf, and that came in ATF revision far newer than indicated in doc/board/freescale/imx8mp_evk.rst

Try to rebase your ATF to [c949a888e909811db191500c51456391dff61284] and build according to the board doc file.

> 
> > Thanks,
> > /Peter
> >

-- Andrey


More information about the U-Boot mailing list