All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imx8mq_evk: Update the required ATF branch
@ 2019-12-11 13:49 Fabio Estevam
  2019-12-11 13:56 ` Adam Ford
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Fabio Estevam @ 2019-12-11 13:49 UTC (permalink / raw)
  To: u-boot

Following the README instructions leads to a non-booting
U-Boot:

U-Boot SPL 2020.01-rc3-00070-g9a0cbae22a (Nov 25 2019 - 13:08:24 -0300)
PMIC:  PFUZE100 ID=0x10
DDRINFO: start DRAM init
DDRINFO:ddrphy calibration done
DDRINFO: ddrmix config done
Normal Boot
Trying to boot from MMC2

(It hangs here)

Use the "imx_4.19.35_1.0.0" ATF branch instead, which
fixes such problem and allow the boot to complete again.

Suggested-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
---
 board/freescale/imx8mq_evk/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README
index c1d400bcf9..4f671b069c 100644
--- a/board/freescale/imx8mq_evk/README
+++ b/board/freescale/imx8mq_evk/README
@@ -11,7 +11,7 @@ Get and Build the ARM Trusted firmware
 ======================================
 Note: srctree is U-Boot source directory
 Get ATF from: https://source.codeaurora.org/external/imx/imx-atf
-branch: imx_4.14.62_1.0.0_beta
+branch: imx_4.19.35_1.0.0
 $ make PLAT=imx8mq bl31
 $ cp build/imx8mq/release/bl31.bin $(srctree)
 
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 13:49 [PATCH] imx8mq_evk: Update the required ATF branch Fabio Estevam
@ 2019-12-11 13:56 ` Adam Ford
  2019-12-11 14:00   ` Peng Fan
  2019-12-11 14:01   ` Fabio Estevam
  2019-12-12  1:13 ` Peng Fan
  2019-12-28 10:48 ` sbabic at denx.de
  2 siblings, 2 replies; 17+ messages in thread
From: Adam Ford @ 2019-12-11 13:56 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 11, 2019 at 7:49 AM Fabio Estevam <festevam@gmail.com> wrote:
>
> Following the README instructions leads to a non-booting
> U-Boot:
>
> U-Boot SPL 2020.01-rc3-00070-g9a0cbae22a (Nov 25 2019 - 13:08:24 -0300)
> PMIC:  PFUZE100 ID=0x10
> DDRINFO: start DRAM init
> DDRINFO:ddrphy calibration done
> DDRINFO: ddrmix config done
> Normal Boot
> Trying to boot from MMC2
>
> (It hangs here)
>
> Use the "imx_4.19.35_1.0.0" ATF branch instead, which
> fixes such problem and allow the boot to complete again.

Shouldn't we address the mix-match of the firmware-imx  versions as well?

I just increasing numbers over and over, and I was able to use
firmware 8.5 which.

The readme lists both 7.9 and 8.0.  There is also a typo on the line
that reads "./firmware-imx-8.0" which should have a .bin appended to
it.

It would nice to know what the differences are between the versions.

adam
>
> Suggested-by: Adam Ford <aford173@gmail.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  board/freescale/imx8mq_evk/README | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/board/freescale/imx8mq_evk/README b/board/freescale/imx8mq_evk/README
> index c1d400bcf9..4f671b069c 100644
> --- a/board/freescale/imx8mq_evk/README
> +++ b/board/freescale/imx8mq_evk/README
> @@ -11,7 +11,7 @@ Get and Build the ARM Trusted firmware
>  ======================================
>  Note: srctree is U-Boot source directory
>  Get ATF from: https://source.codeaurora.org/external/imx/imx-atf
> -branch: imx_4.14.62_1.0.0_beta
> +branch: imx_4.19.35_1.0.0
>  $ make PLAT=imx8mq bl31
>  $ cp build/imx8mq/release/bl31.bin $(srctree)
>
> --
> 2.17.1
>

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 13:56 ` Adam Ford
@ 2019-12-11 14:00   ` Peng Fan
  2019-12-11 14:04     ` Adam Ford
  2019-12-11 14:05     ` Fabio Estevam
  2019-12-11 14:01   ` Fabio Estevam
  1 sibling, 2 replies; 17+ messages in thread
From: Peng Fan @ 2019-12-11 14:00 UTC (permalink / raw)
  To: u-boot

> Subject: Re: [PATCH] imx8mq_evk: Update the required ATF branch
> 
> On Wed, Dec 11, 2019 at 7:49 AM Fabio Estevam <festevam@gmail.com>
> wrote:
> >
> > Following the README instructions leads to a non-booting
> > U-Boot:
> >
> > U-Boot SPL 2020.01-rc3-00070-g9a0cbae22a (Nov 25 2019 - 13:08:24
> > -0300)
> > PMIC:  PFUZE100 ID=0x10
> > DDRINFO: start DRAM init
> > DDRINFO:ddrphy calibration done
> > DDRINFO: ddrmix config done
> > Normal Boot
> > Trying to boot from MMC2
> >
> > (It hangs here)
> >
> > Use the "imx_4.19.35_1.0.0" ATF branch instead, which fixes such
> > problem and allow the boot to complete again.

We might need to switch upstream ATF, or stick to NXP vendor release one?
> 
> Shouldn't we address the mix-match of the firmware-imx  versions as well?
> 
> I just increasing numbers over and over, and I was able to use firmware 8.5
> which.
> 
> The readme lists both 7.9 and 8.0.  There is also a typo on the line that reads
> "./firmware-imx-8.0" which should have a .bin appended to it.
> 
> It would nice to know what the differences are between the versions.

The version should already be in yocto release. I just use the new one when I
upstream code.

Thanks,
Peng.

> 
> adam
> >
> > Suggested-by: Adam Ford <aford173@gmail.com>
> > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > ---
> >  board/freescale/imx8mq_evk/README | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/board/freescale/imx8mq_evk/README
> > b/board/freescale/imx8mq_evk/README
> > index c1d400bcf9..4f671b069c 100644
> > --- a/board/freescale/imx8mq_evk/README
> > +++ b/board/freescale/imx8mq_evk/README
> > @@ -11,7 +11,7 @@ Get and Build the ARM Trusted firmware
> > ======================================
> >  Note: srctree is U-Boot source directory  Get ATF from:
> > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsour
> >
> ce.codeaurora.org%2Fexternal%2Fimx%2Fimx-atf&amp;data=02%7C01%7Cp
> eng.f
> >
> an%40nxp.com%7C56fbd5d0b17c4949cc1708d77e41f5c5%7C686ea1d3bc2b
> 4c6fa92c
> >
> d99c5c301635%7C0%7C0%7C637116694069333717&amp;sdata=PxZh7ldsxb
> %2FxZK7c
> > J5OpJxblskZJkHZHuXvMqGQC5H4%3D&amp;reserved=0
> > -branch: imx_4.14.62_1.0.0_beta
> > +branch: imx_4.19.35_1.0.0
> >  $ make PLAT=imx8mq bl31
> >  $ cp build/imx8mq/release/bl31.bin $(srctree)
> >
> > --
> > 2.17.1
> >

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 13:56 ` Adam Ford
  2019-12-11 14:00   ` Peng Fan
@ 2019-12-11 14:01   ` Fabio Estevam
  1 sibling, 0 replies; 17+ messages in thread
From: Fabio Estevam @ 2019-12-11 14:01 UTC (permalink / raw)
  To: u-boot

Hi Adam,

On Wed, Dec 11, 2019 at 10:56 AM Adam Ford <aford173@gmail.com> wrote:

> Shouldn't we address the mix-match of the firmware-imx  versions as well?
>
> I just increasing numbers over and over, and I was able to use
> firmware 8.5 which.
>
> The readme lists both 7.9 and 8.0.  There is also a typo on the line
> that reads "./firmware-imx-8.0" which should have a .bin appended to
> it.

This error comes from the imx8mm-evk README. I am patching imx8mq-evk
README instead.

> It would nice to know what the differences are between the versions.

Yes, it is becoming painful to find the exact combination that works.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 14:00   ` Peng Fan
@ 2019-12-11 14:04     ` Adam Ford
  2019-12-11 14:05     ` Fabio Estevam
  1 sibling, 0 replies; 17+ messages in thread
From: Adam Ford @ 2019-12-11 14:04 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 11, 2019 at 8:00 AM Peng Fan <peng.fan@nxp.com> wrote:
>
> > Subject: Re: [PATCH] imx8mq_evk: Update the required ATF branch
> >
> > On Wed, Dec 11, 2019 at 7:49 AM Fabio Estevam <festevam@gmail.com>
> > wrote:
> > >
> > > Following the README instructions leads to a non-booting
> > > U-Boot:
> > >
> > > U-Boot SPL 2020.01-rc3-00070-g9a0cbae22a (Nov 25 2019 - 13:08:24
> > > -0300)
> > > PMIC:  PFUZE100 ID=0x10
> > > DDRINFO: start DRAM init
> > > DDRINFO:ddrphy calibration done
> > > DDRINFO: ddrmix config done
> > > Normal Boot
> > > Trying to boot from MMC2
> > >
> > > (It hangs here)
> > >
> > > Use the "imx_4.19.35_1.0.0" ATF branch instead, which fixes such
> > > problem and allow the boot to complete again.
>
> We might need to switch upstream ATF, or stick to NXP vendor release one?
> >
> > Shouldn't we address the mix-match of the firmware-imx  versions as well?
> >
> > I just increasing numbers over and over, and I was able to use firmware 8.5
> > which.
> >
> > The readme lists both 7.9 and 8.0.  There is also a typo on the line that reads
> > "./firmware-imx-8.0" which should have a .bin appended to it.
> >
> > It would nice to know what the differences are between the versions.
>
> The version should already be in yocto release. I just use the new one when I
> upstream code.

Either way, the README file is currently wrong as it sits because it's
pulling one version of firmware and using a different version.

Is there a way to point to the release notes in a static location that
doesn't change with each release?  I don't use Yocto, so I don't
always notice when newer versions are available.

adam
>
> Thanks,
> Peng.
>
> >
> > adam
> > >
> > > Suggested-by: Adam Ford <aford173@gmail.com>
> > > Signed-off-by: Fabio Estevam <festevam@gmail.com>
> > > ---
> > >  board/freescale/imx8mq_evk/README | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/board/freescale/imx8mq_evk/README
> > > b/board/freescale/imx8mq_evk/README
> > > index c1d400bcf9..4f671b069c 100644
> > > --- a/board/freescale/imx8mq_evk/README
> > > +++ b/board/freescale/imx8mq_evk/README
> > > @@ -11,7 +11,7 @@ Get and Build the ARM Trusted firmware
> > > ======================================
> > >  Note: srctree is U-Boot source directory  Get ATF from:
> > > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsour
> > >
> > ce.codeaurora.org%2Fexternal%2Fimx%2Fimx-atf&amp;data=02%7C01%7Cp
> > eng.f
> > >
> > an%40nxp.com%7C56fbd5d0b17c4949cc1708d77e41f5c5%7C686ea1d3bc2b
> > 4c6fa92c
> > >
> > d99c5c301635%7C0%7C0%7C637116694069333717&amp;sdata=PxZh7ldsxb
> > %2FxZK7c
> > > J5OpJxblskZJkHZHuXvMqGQC5H4%3D&amp;reserved=0
> > > -branch: imx_4.14.62_1.0.0_beta
> > > +branch: imx_4.19.35_1.0.0
> > >  $ make PLAT=imx8mq bl31
> > >  $ cp build/imx8mq/release/bl31.bin $(srctree)
> > >
> > > --
> > > 2.17.1
> > >

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 14:00   ` Peng Fan
  2019-12-11 14:04     ` Adam Ford
@ 2019-12-11 14:05     ` Fabio Estevam
  2019-12-11 14:09       ` Peng Fan
  2019-12-11 14:13       ` Schrempf Frieder
  1 sibling, 2 replies; 17+ messages in thread
From: Fabio Estevam @ 2019-12-11 14:05 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Wed, Dec 11, 2019 at 11:00 AM Peng Fan <peng.fan@nxp.com> wrote:

> We might need to switch upstream ATF, or stick to NXP vendor release one?

I don't have much background about the ATF upstream status on i.MX8 to
provide an opinion.

Does upstream ATF allow booting a U-Boot and mainline kernel?

This patch is the minimum change needed for booting mainline U-Boot.
If someone thinks that ATF upstream is a good choice, then feel free
to send a patch updating the README.

> The version should already be in yocto release. I just use the new one when I
> upstream code.

Please keep in mind that not everyone uses Yocto.

How do we know what is the correct firmware version we need to use?

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 14:05     ` Fabio Estevam
@ 2019-12-11 14:09       ` Peng Fan
  2019-12-11 14:11         ` Fabio Estevam
  2019-12-11 14:13       ` Schrempf Frieder
  1 sibling, 1 reply; 17+ messages in thread
From: Peng Fan @ 2019-12-11 14:09 UTC (permalink / raw)
  To: u-boot

> Subject: Re: [PATCH] imx8mq_evk: Update the required ATF branch
> 
> Hi Peng,
> 
> On Wed, Dec 11, 2019 at 11:00 AM Peng Fan <peng.fan@nxp.com> wrote:
> 
> > We might need to switch upstream ATF, or stick to NXP vendor release one?
> 
> I don't have much background about the ATF upstream status on i.MX8 to
> provide an opinion.
> 
> Does upstream ATF allow booting a U-Boot and mainline kernel?

Not tried. Keep vendor version is fine for now.

> 
> This patch is the minimum change needed for booting mainline U-Boot.
> If someone thinks that ATF upstream is a good choice, then feel free to send a
> patch updating the README.
> 
> > The version should already be in yocto release. I just use the new one
> > when I upstream code.
> 
> Please keep in mind that not everyone uses Yocto.
> 
> How do we know what is the correct firmware version we need to use?

I need to check with Yocto team, then back.

Thanks,
Peng.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 14:09       ` Peng Fan
@ 2019-12-11 14:11         ` Fabio Estevam
  0 siblings, 0 replies; 17+ messages in thread
From: Fabio Estevam @ 2019-12-11 14:11 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Wed, Dec 11, 2019 at 11:09 AM Peng Fan <peng.fan@nxp.com> wrote:

> Not tried. Keep vendor version is fine for now.

If you are happy with this patch, could you please provide your Acked-by?

I would like to keep the README accurate for the upcoming 2020.01 release.

Thanks

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 14:05     ` Fabio Estevam
  2019-12-11 14:09       ` Peng Fan
@ 2019-12-11 14:13       ` Schrempf Frieder
  2019-12-11 16:02         ` Fabio Estevam
  1 sibling, 1 reply; 17+ messages in thread
From: Schrempf Frieder @ 2019-12-11 14:13 UTC (permalink / raw)
  To: u-boot

On 11.12.19 15:05, Fabio Estevam wrote:
> Hi Peng,
> 
> On Wed, Dec 11, 2019 at 11:00 AM Peng Fan <peng.fan@nxp.com> wrote:
> 
>> We might need to switch upstream ATF, or stick to NXP vendor release one?
> 
> I don't have much background about the ATF upstream status on i.MX8 to
> provide an opinion.
> 
> Does upstream ATF allow booting a U-Boot and mainline kernel?
> 
> This patch is the minimum change needed for booting mainline U-Boot.
> If someone thinks that ATF upstream is a good choice, then feel free
> to send a patch updating the README.

Just for the record: I am using upstream ATF for my custom i.MX8MM board 
with mainline U-Boot and it just works fine. I didn't run into any 
issues so far and I'm still on ATF revision 3441952f61a6 and haven't 
updated for quite a while.

> 
>> The version should already be in yocto release. I just use the new one when I
>> upstream code.
> 
> Please keep in mind that not everyone uses Yocto.
> 
> How do we know what is the correct firmware version we need to use?
> 

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 14:13       ` Schrempf Frieder
@ 2019-12-11 16:02         ` Fabio Estevam
  2019-12-12  1:09           ` Peter Robinson
  0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2019-12-11 16:02 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 11, 2019 at 11:14 AM Schrempf Frieder
<frieder.schrempf@kontron.de> wrote:

> Just for the record: I am using upstream ATF for my custom i.MX8MM board
> with mainline U-Boot and it just works fine. I didn't run into any
> issues so far and I'm still on ATF revision 3441952f61a6 and haven't
> updated for quite a while.

Thanks for the feedback.

Perhaps we can consider moving to mainline ATF after 2020.01 is released.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 16:02         ` Fabio Estevam
@ 2019-12-12  1:09           ` Peter Robinson
  2019-12-12  1:20             ` Fabio Estevam
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Robinson @ 2019-12-12  1:09 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 11, 2019 at 4:02 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> On Wed, Dec 11, 2019 at 11:14 AM Schrempf Frieder
> <frieder.schrempf@kontron.de> wrote:
>
> > Just for the record: I am using upstream ATF for my custom i.MX8MM board
> > with mainline U-Boot and it just works fine. I didn't run into any
> > issues so far and I'm still on ATF revision 3441952f61a6 and haven't
> > updated for quite a while.
>
> Thanks for the feedback.
>
> Perhaps we can consider moving to mainline ATF after 2020.01 is released.

It would be useful to test against the upstream releases and document
against those rather than random vendor forks, upstream has fairly
consistent 6 monthly releases around March/October with the last one
being 2.2.

Peter

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 13:49 [PATCH] imx8mq_evk: Update the required ATF branch Fabio Estevam
  2019-12-11 13:56 ` Adam Ford
@ 2019-12-12  1:13 ` Peng Fan
  2019-12-28 10:48 ` sbabic at denx.de
  2 siblings, 0 replies; 17+ messages in thread
From: Peng Fan @ 2019-12-12  1:13 UTC (permalink / raw)
  To: u-boot

> Subject: [PATCH] imx8mq_evk: Update the required ATF branch
> 
> Following the README instructions leads to a non-booting
> U-Boot:
> 
> U-Boot SPL 2020.01-rc3-00070-g9a0cbae22a (Nov 25 2019 - 13:08:24 -0300)
> PMIC:  PFUZE100 ID=0x10
> DDRINFO: start DRAM init
> DDRINFO:ddrphy calibration done
> DDRINFO: ddrmix config done
> Normal Boot
> Trying to boot from MMC2
> 
> (It hangs here)
> 
> Use the "imx_4.19.35_1.0.0" ATF branch instead, which fixes such problem
> and allow the boot to complete again.
> 
> Suggested-by: Adam Ford <aford173@gmail.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>

Acked-by: Peng Fan <peng.fan@nxp.com>

> ---
>  board/freescale/imx8mq_evk/README | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/freescale/imx8mq_evk/README
> b/board/freescale/imx8mq_evk/README
> index c1d400bcf9..4f671b069c 100644
> --- a/board/freescale/imx8mq_evk/README
> +++ b/board/freescale/imx8mq_evk/README
> @@ -11,7 +11,7 @@ Get and Build the ARM Trusted firmware
> ======================================
>  Note: srctree is U-Boot source directory  Get ATF from:
> https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsource
> .codeaurora.org%2Fexternal%2Fimx%2Fimx-atf&amp;data=02%7C01%7Cpen
> g.fan%40nxp.com%7C15caa498b49343fabede08d77e40facf%7C686ea1d3bc
> 2b4c6fa92cd99c5c301635%7C0%7C0%7C637116689861712196&amp;sdata
> =GNw4g1oDo9ceM1VIEB9A11716fQQF1GNzpJ4L3n8FTM%3D&amp;reserved
> =0
> -branch: imx_4.14.62_1.0.0_beta
> +branch: imx_4.19.35_1.0.0
>  $ make PLAT=imx8mq bl31
>  $ cp build/imx8mq/release/bl31.bin $(srctree)
> 
> --
> 2.17.1

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-12  1:09           ` Peter Robinson
@ 2019-12-12  1:20             ` Fabio Estevam
  2019-12-12  1:57               ` Fabio Estevam
  0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2019-12-12  1:20 UTC (permalink / raw)
  To: u-boot

Hi Peter,

On Wed, Dec 11, 2019 at 10:09 PM Peter Robinson <pbrobinson@gmail.com> wrote:

> It would be useful to test against the upstream releases and document
> against those rather than random vendor forks, upstream has fairly
> consistent 6 monthly releases around March/October with the last one
> being 2.2.

I agree.

I plan to test the NXP i.MX8 boards with upstream ATF.

As we are at rc4 at the moment, I prefer we go with the updated vendor
ATF version as proposed in this patch and then after 2020.01 I plan to
test and switch to mainline ATF, so that we can have more time for
testing.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-12  1:20             ` Fabio Estevam
@ 2019-12-12  1:57               ` Fabio Estevam
  2019-12-12  2:14                 ` Fabio Estevam
  0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2019-12-12  1:57 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 11, 2019 at 10:20 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Hi Peter,
>
> On Wed, Dec 11, 2019 at 10:09 PM Peter Robinson <pbrobinson@gmail.com> wrote:
>
> > It would be useful to test against the upstream releases and document
> > against those rather than random vendor forks, upstream has fairly
> > consistent 6 monthly releases around March/October with the last one
> > being 2.2.
>
> I agree.
>
> I plan to test the NXP i.MX8 boards with upstream ATF.
>
> As we are at rc4 at the moment, I prefer we go with the updated vendor
> ATF version as proposed in this patch and then after 2020.01 I plan to
> test and switch to mainline ATF, so that we can have more time for
> testing.

Just did a quick boot test on a imx8mq-evk with v2.2 upstream ATF and
it booted fine.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-12  1:57               ` Fabio Estevam
@ 2019-12-12  2:14                 ` Fabio Estevam
  2020-04-21 16:05                   ` Angus Ainslie
  0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2019-12-12  2:14 UTC (permalink / raw)
  To: u-boot

On Wed, Dec 11, 2019 at 10:57 PM Fabio Estevam <festevam@gmail.com> wrote:

> Just did a quick boot test on a imx8mq-evk with v2.2 upstream ATF and
> it booted fine.

Actually I do see some power domain issues when using upstream ATF and
booting mainline kernel:

[    1.573227] imx-pgc imx-pgc-domain.3: failed to command PGC

[    1.813816] imx-pgc imx-pgc-domain.3: failed to command PGC

[    1.931568] imx-pgc imx-pgc-domain.3: failed to command PGC

So it seems there are some more work to do on the i.MX8M ATF upstream front.

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-11 13:49 [PATCH] imx8mq_evk: Update the required ATF branch Fabio Estevam
  2019-12-11 13:56 ` Adam Ford
  2019-12-12  1:13 ` Peng Fan
@ 2019-12-28 10:48 ` sbabic at denx.de
  2 siblings, 0 replies; 17+ messages in thread
From: sbabic at denx.de @ 2019-12-28 10:48 UTC (permalink / raw)
  To: u-boot

> Following the README instructions leads to a non-booting
> U-Boot:
> U-Boot SPL 2020.01-rc3-00070-g9a0cbae22a (Nov 25 2019 - 13:08:24 -0300)
> PMIC:  PFUZE100 ID=0x10
> DDRINFO: start DRAM init
> DDRINFO:ddrphy calibration done
> DDRINFO: ddrmix config done
> Normal Boot
> Trying to boot from MMC2
> (It hangs here)
> Use the "imx_4.19.35_1.0.0" ATF branch instead, which
> fixes such problem and allow the boot to complete again.
> Suggested-by: Adam Ford <aford173@gmail.com>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> Acked-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

^ permalink raw reply	[flat|nested] 17+ messages in thread

* [PATCH] imx8mq_evk: Update the required ATF branch
  2019-12-12  2:14                 ` Fabio Estevam
@ 2020-04-21 16:05                   ` Angus Ainslie
  0 siblings, 0 replies; 17+ messages in thread
From: Angus Ainslie @ 2020-04-21 16:05 UTC (permalink / raw)
  To: u-boot

On 2019-12-11 18:14, Fabio Estevam wrote:
> On Wed, Dec 11, 2019 at 10:57 PM Fabio Estevam <festevam@gmail.com> 
> wrote:
> 
>> Just did a quick boot test on a imx8mq-evk with v2.2 upstream ATF and
>> it booted fine.
> 
> Actually I do see some power domain issues when using upstream ATF and
> booting mainline kernel:
> 
> [    1.573227] imx-pgc imx-pgc-domain.3: failed to command PGC
> 
> [    1.813816] imx-pgc imx-pgc-domain.3: failed to command PGC
> 
> [    1.931568] imx-pgc imx-pgc-domain.3: failed to command PGC
> 
> So it seems there are some more work to do on the i.MX8M ATF upstream 
> front.

I think mainline ATF is also still missing DDR frequency scaling

https://lore.kernel.org/linux-arm-kernel/cover.1573761527.git.leonard.crestez at nxp.com/T/#m2b7ce4204632cad49888745a89f833cc95a2ff32

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-04-21 16:05 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-11 13:49 [PATCH] imx8mq_evk: Update the required ATF branch Fabio Estevam
2019-12-11 13:56 ` Adam Ford
2019-12-11 14:00   ` Peng Fan
2019-12-11 14:04     ` Adam Ford
2019-12-11 14:05     ` Fabio Estevam
2019-12-11 14:09       ` Peng Fan
2019-12-11 14:11         ` Fabio Estevam
2019-12-11 14:13       ` Schrempf Frieder
2019-12-11 16:02         ` Fabio Estevam
2019-12-12  1:09           ` Peter Robinson
2019-12-12  1:20             ` Fabio Estevam
2019-12-12  1:57               ` Fabio Estevam
2019-12-12  2:14                 ` Fabio Estevam
2020-04-21 16:05                   ` Angus Ainslie
2019-12-11 14:01   ` Fabio Estevam
2019-12-12  1:13 ` Peng Fan
2019-12-28 10:48 ` sbabic at denx.de

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.