imx: imx8qxp_mek: update README
PATCH 1/1 imx: imx8qxp_mek: update README
Update README to use 4.19.35_1.1.0 released firmware images.
--- board/freescale/imx8qxp_mek/README | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-)
board/freescale/imx8qxp_mek/README +11 -15
@@ -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 ============
Signature · 1 line
2.16.4
Fabio Estevam
reviewerPATCH 1/1 imx: imx8qxp_mek: update README
Hi Peng
Quoted 2 lines · Peng Fan
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
PATCH 1/1 imx: imx8qxp_mek: update README
Quoted 6 lines
Subject: Re: [PATCH] imx:
imx8qxp_mek: update READMEHi Peng
Quoted 1 line · Peng Fan
Quoted 7 lines
Quoted 1 line
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.
Quoted 4 lines
I use a i.MX8QXP mek with B0 silicon and revC1.
Thanks
PATCH 1/1 imx: imx8qxp_mek: update README
Quoted 10 lines
Subject: RE: [PATCH] imx:
imx8qxp_mek: update READMEQuoted 8 lines
Subject: Re: [PATCH] imx:
imx8qxp_mek: update READMEHi Peng
Quoted 2 lines · Peng Fan
Update README to use 4.19.35_1.1.0 released firmware images.
Quoted 7 lines
Quoted 5 lines
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.
Quoted 8 lines
Thanks,
Peng.Quoted 4 lines
I use a i.MX8QXP mek with B0 silicon and revC1.
Thanks
Fabio Estevam
reviewerPATCH 1/1 imx: imx8qxp_mek: update README
Hi Peng,
Quoted 1 line · Peng Fan
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?
Quoted 8 lines
U-Boot SPL 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800) Normal Boot
WDT: Not found!
Trying to boot fromMMC2_2
Load image from MMC/SD0x46800U-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
PATCH 1/1 imx: imx8qxp_mek: update README
Quoted 18 lines
Subject: Re: [PATCH] imx:
imx8qxp_mek: update READMEHi Peng,
Quoted 1 line · Peng Fan
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?
Quoted 7 lines
U-Boot SPL 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800) Normal Boot
WDT: Not found!
Trying to boot fromMMC2_2
Load image from MMC/SD0x46800
Quoted 5 lines
Quoted 1 line
U-Boot 2020.01-00025-gedb89b239c-dirty (Jan 08 2020 - 09:50:22 +0800)
I don't see
edb89b239cin 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.
Quoted 2 lines
Thanks
Fabio Estevam
reviewerPATCH 1/1 imx: imx8qxp_mek: update README
Hi Peng,
Quoted 7 lines · Peng Fan
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: SCFW550f3079, SECO-FWd7523fe8, 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
PATCH 1/1 imx: imx8qxp_mek: update README
Quoted 14 lines
Subject: Re: [PATCH] imx:
imx8qxp_mek: update READMEHi Peng,
Quoted 7 lines · Peng Fan
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: SCFW550f3079, SECO-FWd7523fe8, ATF f900faa
Quoted 5 lines
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 <[email protected]> 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.
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 <[email protected]> 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.
Regards,
Peng.
Quoted 2 lines
Thanks
Fabio Estevam
reviewerPATCH 1/1 imx: imx8qxp_mek: update README
Hi Peng,
Quoted 1 line · Peng Fan
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?
Fabio Estevam
reviewerPATCH 1/1 imx: imx8qxp_mek: update README
Hi Peng,
Quoted 1 line · Fabio Estevam
Does it work if you use the ATF 70fa7bc version?
It works for me with ATF 70fa7bc version if I do the following change:
configs/imx8qxp_mek_defconfig +1 -0
@@ -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.