All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] imx: imx8qxp_mek: update README
@ 2020-01-15 12:46 sbabic at denx.de
  0 siblings, 0 replies; 11+ messages in thread
From: sbabic at denx.de @ 2020-01-15 12:46 UTC (permalink / raw)
  To: u-boot

> Update README to use 4.19.35_1.1.0 released firmware images.
> Signed-off-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] 11+ messages in thread

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-09 13:13               ` Fabio Estevam
@ 2020-01-09 13:56                 ` Fabio Estevam
  0 siblings, 0 replies; 11+ messages in thread
From: Fabio Estevam @ 2020-01-09 13:56 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Thu, Jan 9, 2020 at 10:13 AM Fabio Estevam <festevam@gmail.com> wrote:

> Does it work if you use the ATF 70fa7bc version?

It works for me with ATF 70fa7bc version if I do the following change:

--- a/configs/imx8qxp_mek_defconfig
+++ b/configs/imx8qxp_mek_defconfig
@@ -86,4 +86,5 @@ CONFIG_FSL_LPUART=y
 CONFIG_DM_THERMAL=y
 CONFIG_IMX_SCU_THERMAL=y
 CONFIG_SPL_TINY_MEMSET=y
+CONFIG_NET_RANDOM_ETHADDR=y
 # CONFIG_EFI_LOADER is not se

U-Boot 2020.01-00368-g21aede21b0-dirty (Jan 09 2020 - 10:50:25 -0300)

CPU:   NXP i.MX8QXP RevB A35 at 1200 MHz at 29C

Model: Freescale i.MX8QXP MEK
Board: iMX8QXP MEK
Build: SCFW 550f3079, SECO-FW d7523fe8, ATF 70fa7bc
Boot:  SD1
DRAM:  3 GiB
Failed to enable ipg clk
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000
Net:   Failed to enable ipg clk

Warning: ethernet at 5b040000 (eth0) using random MAC address - ba:ea:d8:14:38:d1
eth0: ethernet at 5b040000
Hit any key to stop autoboot:  0

Looks like some boards do not come with MAC address (I tested on two
boards here) and the hang happens.

Using a random MAC allows the boot to happen.

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-09  1:50             ` Peng Fan
@ 2020-01-09 13:13               ` Fabio Estevam
  2020-01-09 13:56                 ` Fabio Estevam
  0 siblings, 1 reply; 11+ messages in thread
From: Fabio Estevam @ 2020-01-09 13:13 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Wed, Jan 8, 2020 at 10:50 PM Peng Fan <peng.fan@nxp.com> wrote:

> I use internal repo which has this commit.

Could you please test using the external repo as written in your patch?

With these versions I am getting:

U-Boot 2020.01-00369-g81132f1c96 (Jan 09 2020 - 10:02:47 -0300)

CPU:   NXP i.MX8QXP RevB A35 at 1200 MHz at 31C

Model: Freescale i.MX8QXP MEK
Board: iMX8QXP MEK
Build: SCFW 550f3079, SECO-FW d7523fe8, ATF 70fa7bc
Boot:  SD1
DRAM:  3 GiB
Failed to enable ipg clk
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000
Net:   Failed to enable ipg clk

Error: ethernet at 5b040000 address not set.

(It hangs here).

Does it work if you use the ATF 70fa7bc version?

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-09  1:48           ` Fabio Estevam
@ 2020-01-09  1:50             ` Peng Fan
  2020-01-09 13:13               ` Fabio Estevam
  0 siblings, 1 reply; 11+ messages in thread
From: Peng Fan @ 2020-01-09  1:50 UTC (permalink / raw)
  To: u-boot

> Subject: Re: [PATCH] imx: imx8qxp_mek: update README
> 
> Hi Peng,
> 
> On Wed, Jan 8, 2020 at 10:44 PM Peng Fan <peng.fan@nxp.com> wrote:
> 
> > U-Boot 2020.01-00243-g21aede21b0 (Jan 09 2020 - 10:01:31 +0800)
> >
> > CPU:   NXP i.MX8QXP RevB A35 at 1200 MHz at 20C
> >
> > Model: Freescale i.MX8QXP MEK
> > Board: iMX8QXP MEK
> > Build: SCFW 550f3079, SECO-FW d7523fe8, ATF f900faa
> 
> I see a mismatch in the ATF version.
> 
> I don't see commit f900faa inside imx_4.19.35_1.1.0 ATF version from NXP.
> 
> Could you please confirm?

I use internal repo which has this commit.

commit f900faa9b1f3af69e748f2c4a9ddfd2b589e416f (HEAD -> imx_4.19.35_1.1.0, origin/imx_4.19.35_1.1.0)
Author: Anson Huang <Anson.Huang@nxp.com>
Date:   Mon Sep 16 13:21:22 2019 +0800

    plat: imx: Enable L2 ECC & parity for A72 cluster

    As per design team's suggestion, L2 cache's ECC & parity
    should be enabled for A72 cluster.

    Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
    (cherry picked from commit 513348b385829ed7be346c5360b3c85341aa7ea7)

commit 70fa7bcc1a2035ab8402550911b3ae29eff55371 (tag: rel_imx_4.19.35_1.1.0_rc4, tag: rel_imx_4.19.35_1.1.0, tag: lf-5.4.y-1.0.0-rc1)
Author: Ji Luo <ji.luo@nxp.com>
Date:   Fri Oct 11 15:34:19 2019 +0800

    MA-15614 imx8m: Enable wdog if WDOG_B_RESET not enabled

    Set the WDE bit when IMX_WDOG_B_RESET is not enabled, or
    reboot will fail.

    Change-Id: Icd4f0b1271ac3ff99b7243a85ce63479348a42f6
    Signed-off-by: Ji Luo <ji.luo@nxp.com>

Regards,
Peng.

> 
> Thanks

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-09  1:44         ` Peng Fan
@ 2020-01-09  1:48           ` Fabio Estevam
  2020-01-09  1:50             ` Peng Fan
  0 siblings, 1 reply; 11+ messages in thread
From: Fabio Estevam @ 2020-01-09  1:48 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Wed, Jan 8, 2020 at 10:44 PM Peng Fan <peng.fan@nxp.com> wrote:

> U-Boot 2020.01-00243-g21aede21b0 (Jan 09 2020 - 10:01:31 +0800)
>
> CPU:   NXP i.MX8QXP RevB A35 at 1200 MHz at 20C
>
> Model: Freescale i.MX8QXP MEK
> Board: iMX8QXP MEK
> Build: SCFW 550f3079, SECO-FW d7523fe8, ATF f900faa

I see a mismatch in the ATF version.

I don't see commit f900faa inside imx_4.19.35_1.1.0 ATF version from NXP.

Could you please confirm?

Thanks

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-09  1:38       ` Fabio Estevam
@ 2020-01-09  1:44         ` Peng Fan
  2020-01-09  1:48           ` Fabio Estevam
  0 siblings, 1 reply; 11+ messages in thread
From: Peng Fan @ 2020-01-09  1:44 UTC (permalink / raw)
  To: u-boot

> Subject: Re: [PATCH] imx: imx8qxp_mek: update README
> 
> Hi Peng,
> 
> On Wed, Jan 8, 2020 at 10:33 PM Peng Fan <peng.fan@nxp.com> wrote:
> 
> > The ipg clk patch needs to be reverted for now. Anyway the log as below:
> 
> Which commit are you referring to? Can you send a revert? Is this revert
> needed for booting this board?
> 
> > U-Boot SPL 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22
> > +0800) Normal Boot
> > WDT:   Not found!
> > Trying to boot from MMC2_2
> > Load image from MMC/SD 0x46800
> >
> >
> > U-Boot 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800)
> 
> I don't see edb89b239c in U-Boot mainline.
> 
> Could you please make sure you use the latest U-Boot mainline in your test?

U-Boot SPL 2020.01-00243-g21aede21b0 (Jan 09 2020 - 10:01:31 +0800)
Normal Boot
WDT:   Not found!
Trying to boot from MMC2_2
Load image from MMC/SD 0x46800


U-Boot 2020.01-00243-g21aede21b0 (Jan 09 2020 - 10:01:31 +0800)

CPU:   NXP i.MX8QXP RevB A35 at 1200 MHz at 20C

Model: Freescale i.MX8QXP MEK
Board: iMX8QXP MEK
Build: SCFW 550f3079, SECO-FW d7523fe8, ATF f900faa
Boot:  SD1
DRAM:  3 GiB
Failed to enable ipg clk
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000
Net:   Failed to enable ipg clk

Warning: ethernet at 5b040000 using MAC address from ROM
eth0: ethernet at 5b040000
Hit any key to stop autoboot:  0

Rebased to tom's master branch.

Regards,
Peng.

> 
> Thanks

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-09  1:33     ` Peng Fan
@ 2020-01-09  1:38       ` Fabio Estevam
  2020-01-09  1:44         ` Peng Fan
  0 siblings, 1 reply; 11+ messages in thread
From: Fabio Estevam @ 2020-01-09  1:38 UTC (permalink / raw)
  To: u-boot

Hi Peng,

On Wed, Jan 8, 2020 at 10:33 PM Peng Fan <peng.fan@nxp.com> wrote:

> The ipg clk patch needs to be reverted for now. Anyway the log as below:

Which commit are you referring to? Can you send a revert? Is this
revert needed for booting this board?

> U-Boot SPL 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800)
> Normal Boot
> WDT:   Not found!
> Trying to boot from MMC2_2
> Load image from MMC/SD 0x46800
>
>
> U-Boot 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800)

I don't see edb89b239c in U-Boot mainline.

Could you please make sure you use the latest U-Boot mainline in your test?

Thanks

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-08 12:31   ` Peng Fan
@ 2020-01-09  1:33     ` Peng Fan
  2020-01-09  1:38       ` Fabio Estevam
  0 siblings, 1 reply; 11+ messages in thread
From: Peng Fan @ 2020-01-09  1:33 UTC (permalink / raw)
  To: u-boot

> Subject: RE: [PATCH] imx: imx8qxp_mek: update README
> 
> > Subject: Re: [PATCH] imx: imx8qxp_mek: update README
> >
> > Hi Peng
> >
> > On Tue, Jan 7, 2020 at 10:33 PM Peng Fan <peng.fan@nxp.com> wrote:
> > >
> > > Update README to use 4.19.35_1.1.0 released firmware images.
> >
> > I have tried the same here and I still get a hang with Ethernet. If I
> > manually remove Ethernet support from the defconfig then I am able to
> > get into the U-Boot prompt.
> >
> > Could you please share your U-Boot logs?
> 
> I not have a board at hand. Will paste the log tomorrow.

The ipg clk patch needs to be reverted for now. Anyway the log as below:

U-Boot SPL 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800)
Normal Boot
WDT:   Not found!
Trying to boot from MMC2_2
Load image from MMC/SD 0x46800


U-Boot 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800)

CPU:   NXP i.MX8QXP RevB A35 at 1200 MHz at 19C

Model: Freescale i.MX8QXP MEK
Board: iMX8QXP MEK
Build: SCFW 550f3079, SECO-FW d7523fe8, ATF f900faa
Boot:  SD1
DRAM:  3 GiB
Failed to enable ipg clk
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial at 5a060000
Out:   serial at 5a060000
Err:   serial at 5a060000
Net:   Failed to enable ipg clk

Warning: ethernet at 5b040000 using MAC address from ROM
eth0: ethernet at 5b040000
Hit any key to stop autoboot:  0
=>

Regards,
Peng.

> 
> Thanks,
> Peng.
> 
> >
> > I use a i.MX8QXP mek with B0 silicon and revC1.
> >
> > Thanks

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-08  9:52 ` Fabio Estevam
@ 2020-01-08 12:31   ` Peng Fan
  2020-01-09  1:33     ` Peng Fan
  0 siblings, 1 reply; 11+ messages in thread
From: Peng Fan @ 2020-01-08 12:31 UTC (permalink / raw)
  To: u-boot

> Subject: Re: [PATCH] imx: imx8qxp_mek: update README
> 
> Hi Peng
> 
> On Tue, Jan 7, 2020 at 10:33 PM Peng Fan <peng.fan@nxp.com> wrote:
> >
> > Update README to use 4.19.35_1.1.0 released firmware images.
> 
> I have tried the same here and I still get a hang with Ethernet. If I manually
> remove Ethernet support from the defconfig then I am able to get into the
> U-Boot prompt.
> 
> Could you please share your U-Boot logs?

I not have a board at hand. Will paste the log tomorrow.

Thanks,
Peng.

> 
> I use a i.MX8QXP mek with B0 silicon and revC1.
> 
> Thanks

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

* [PATCH] imx: imx8qxp_mek: update README
  2020-01-08  1:33 Peng Fan
@ 2020-01-08  9:52 ` Fabio Estevam
  2020-01-08 12:31   ` Peng Fan
  0 siblings, 1 reply; 11+ messages in thread
From: Fabio Estevam @ 2020-01-08  9:52 UTC (permalink / raw)
  To: u-boot

Hi Peng

On Tue, Jan 7, 2020 at 10:33 PM Peng Fan <peng.fan@nxp.com> wrote:
>
> Update README to use 4.19.35_1.1.0 released firmware images.

I have tried the same here and I still get a hang with Ethernet. If I
manually remove Ethernet support from the defconfig then I am able to
get into the U-Boot prompt.

Could you please share your U-Boot logs?

I use a i.MX8QXP mek with B0 silicon and revC1.

Thanks

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

* [PATCH] imx: imx8qxp_mek: update README
@ 2020-01-08  1:33 Peng Fan
  2020-01-08  9:52 ` Fabio Estevam
  0 siblings, 1 reply; 11+ messages in thread
From: Peng Fan @ 2020-01-08  1:33 UTC (permalink / raw)
  To: u-boot

Update README to use 4.19.35_1.1.0 released firmware images.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 board/freescale/imx8qxp_mek/README | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

diff --git a/board/freescale/imx8qxp_mek/README b/board/freescale/imx8qxp_mek/README
index e676e88664..6e4eb5996b 100644
--- a/board/freescale/imx8qxp_mek/README
+++ b/board/freescale/imx8qxp_mek/README
@@ -14,28 +14,24 @@ Get and Build the ARM Trusted firmware
 
 $ git clone https://source.codeaurora.org/external/imx/imx-atf
 $ cd imx-atf/
-$ git checkout origin/imx_4.9.88_imx8qxp_beta2 -b imx_4.9.88_imx8qxp_beta2
-$ make PLAT=imx8qxp bl31
+$ git checkout origin/imx_4.19.35_1.1.0 -b imx_4.19.35_1.1.0
+$ make PLAT=imx8qx bl31
 
 Get scfw_tcm.bin and ahab-container.img
 ==============================
 
-$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-0.7.bin
-$ chmod +x imx-sc-firmware-0.7.bin
-$ ./imx-sc-firmware-0.7.bin
-$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.6.bin
-$ chmod +x firmware-imx-7.6.bin
-$ ./firmware-imx-7.6.bin
+$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-1.2.7.1.bin
+$ chmod +x imx-sc-firmware-1.2.7.1.bin
+$ ./imx-sc-firmware-1.2.7.1.bin
+$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-2.3.1.bin
+$ chmod +x imx-seco-2.3.1.bin
+$ ./imx-seco-2.3.1.bin
 
 Copy the following binaries to U-Boot folder:
 
-$ cp imx-atf/build/imx8qxp/release/bl31.bin .
-$ cp u-boot/u-boot.bin .
-
-Copy the following firmwares U-Boot folder :
-
-$ cp firmware-imx-7.6/firmware/seco/ahab-container.img .
-$ cp imx-sc-firmware-0.7/mx8qx-mek-scfw-tcm.bin	.
+$ cp imx-atf/build/imx8qx/release/bl31.bin .
+$ cp imx-seco-2.3.1/firmware/seco/mx8qx-ahab-container.img ./ahab-container.img
+$ cp imx-sc-firmware-1.2.7.1/mx8qx-mek-scfw-tcm.bin	.
 
 Build U-Boot
 ============
-- 
2.16.4

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

end of thread, other threads:[~2020-01-15 12:46 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-15 12:46 [PATCH] imx: imx8qxp_mek: update README sbabic at denx.de
  -- strict thread matches above, loose matches on Subject: below --
2020-01-08  1:33 Peng Fan
2020-01-08  9:52 ` Fabio Estevam
2020-01-08 12:31   ` Peng Fan
2020-01-09  1:33     ` Peng Fan
2020-01-09  1:38       ` Fabio Estevam
2020-01-09  1:44         ` Peng Fan
2020-01-09  1:48           ` Fabio Estevam
2020-01-09  1:50             ` Peng Fan
2020-01-09 13:13               ` Fabio Estevam
2020-01-09 13:56                 ` Fabio Estevam

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.