[U-Boot] Problems to boot i.MX8QXP EVK board

Hi Peng,
I'm not being able to boot U-Boot v2019.01 on my i.MX8QXP B0 MEK board by following README file (board/freescale/imx8qxp_mek/README).
After reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true") everything seems to be working fine.
Do you happen to know if the procedure in README file should be enough for v2019.01?
Thanks, Breno Lima

Hi Breno,
-----Original Message----- From: Breno Matheus Lima [mailto:brenomatheus@gmail.com] Sent: 2019年1月17日 9:04 To: Peng Fan peng.fan@nxp.com; Breno Matheus Lima breno.lima@nxp.com Cc: Fabio Estevam festevam@gmail.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de Subject: Problems to boot i.MX8QXP EVK board
Hi Peng,
I'm not being able to boot U-Boot v2019.01 on my i.MX8QXP B0 MEK board by following README file (board/freescale/imx8qxp_mek/README).
After reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true") everything seems to be working fine.
Are you using A0 or B0 chip? A0 chip is no being supported anymore.
Regards, Peng.
Do you happen to know if the procedure in README file should be enough for v2019.01?
Thanks, Breno Lima

Hi Peng,
Em qua, 16 de jan de 2019 às 23:33, Peng Fan peng.fan@nxp.com escreveu:
Hi Breno,
-----Original Message----- From: Breno Matheus Lima [mailto:brenomatheus@gmail.com] Sent: 2019年1月17日 9:04 To: Peng Fan peng.fan@nxp.com; Breno Matheus Lima breno.lima@nxp.com Cc: Fabio Estevam festevam@gmail.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de Subject: Problems to boot i.MX8QXP EVK board
Hi Peng,
I'm not being able to boot U-Boot v2019.01 on my i.MX8QXP B0 MEK board by following README file (board/freescale/imx8qxp_mek/README).
After reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true") everything seems to be working fine.
Are you using A0 or B0 chip? A0 chip is no being supported anymore.
I'm using i.MX8QXP B0:
U-Boot 2019.01-00001-gc94b5e99a6 (Jan 16 2019 - 22:52:33 -0200)
CPU: NXP i.MX8QXP RevB A35 at 147228 MHz
Model: Freescale i.MX8QXP MEK Board: iMX8QXP MEK Build: SCFW 3301c1a9 Boot: SD1 DRAM: 3 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 Net: eth-1: ethernet@5b040000 Hit any key to stop autoboot: 0 =>
Thanks, Breno Lima

-----Original Message----- From: Breno Matheus Lima [mailto:brenomatheus@gmail.com] Sent: 2019年1月17日 9:42 To: Peng Fan peng.fan@nxp.com Cc: Breno Matheus Lima breno.lima@nxp.com; Fabio Estevam festevam@gmail.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de Subject: Re: Problems to boot i.MX8QXP EVK board
Hi Peng,
Em qua, 16 de jan de 2019 às 23:33, Peng Fan peng.fan@nxp.com escreveu:
Hi Breno,
-----Original Message----- From: Breno Matheus Lima [mailto:brenomatheus@gmail.com] Sent: 2019年1月17日 9:04 To: Peng Fan peng.fan@nxp.com; Breno Matheus Lima breno.lima@nxp.com Cc: Fabio Estevam festevam@gmail.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de Subject: Problems to boot i.MX8QXP EVK board
Hi Peng,
I'm not being able to boot U-Boot v2019.01 on my i.MX8QXP B0 MEK board by following README file
(board/freescale/imx8qxp_mek/README).
After reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true") everything seems to be working fine.
Are you using A0 or B0 chip? A0 chip is no being supported anymore.
I'm using i.MX8QXP B0:
Could you give a try using 4.14.78 GA release scfw/seco/atf + upstream uboot?
There might be some change in scfw.
Thanks, Peng.
U-Boot 2019.01-00001-gc94b5e99a6 (Jan 16 2019 - 22:52:33 -0200)
CPU: NXP i.MX8QXP RevB A35 at 147228 MHz
Model: Freescale i.MX8QXP MEK Board: iMX8QXP MEK Build: SCFW 3301c1a9 Boot: SD1 DRAM: 3 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 Net: eth-1: ethernet@5b040000 Hit any key to stop autoboot: 0 =>
Thanks, Breno Lima

Hi Peng, Em qua, 16 de jan de 2019 às 23:48, Peng Fan peng.fan@nxp.com escreveu:
-----Original Message----- From: Breno Matheus Lima [mailto:brenomatheus@gmail.com] Sent: 2019年1月17日 9:42 To: Peng Fan peng.fan@nxp.com Cc: Breno Matheus Lima breno.lima@nxp.com; Fabio Estevam festevam@gmail.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de Subject: Re: Problems to boot i.MX8QXP EVK board
Hi Peng,
Em qua, 16 de jan de 2019 às 23:33, Peng Fan peng.fan@nxp.com escreveu:
Hi Breno,
-----Original Message----- From: Breno Matheus Lima [mailto:brenomatheus@gmail.com] Sent: 2019年1月17日 9:04 To: Peng Fan peng.fan@nxp.com; Breno Matheus Lima breno.lima@nxp.com Cc: Fabio Estevam festevam@gmail.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de Subject: Problems to boot i.MX8QXP EVK board
Hi Peng,
I'm not being able to boot U-Boot v2019.01 on my i.MX8QXP B0 MEK board by following README file
(board/freescale/imx8qxp_mek/README).
After reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true") everything seems to be working fine.
Are you using A0 or B0 chip? A0 chip is no being supported anymore.
I'm using i.MX8QXP B0:
Could you give a try using 4.14.78 GA release scfw/seco/atf + upstream uboot?
There might be some change in scfw.
Hi Peng,
I'm using the following versions:
- U-Boot upstream v2019.01 - ATF from NXP codeaurora (rel_imx_4.14.78_1.0.0_ga) - SCFW binary from imx-sc-firmware-1.1 package - SECO FW from firmware-imx-8.0 package
The same issue still happening, I can only boot my board after reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true").
As you can see in log below, SCFW top is 65afe5f6:
U-Boot 2019.01-00001-g2df3ad4767 (Jan 17 2019 - 08:15:39 -0200)
CPU: NXP i.MX8QXP RevB A35 at 147228 MHz
Model: Freescale i.MX8QXP MEK Board: iMX8QXP MEK Build: SCFW 65afe5f6 Boot: SD1 DRAM: 3 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 Net: eth-1: ethernet@5b040000 Hit any key to stop autoboot: 0 =>
Thanks, Breno Lima

Hi Peng,
On Thu, Jan 17, 2019 at 8:27 AM Breno Matheus Lima brenomatheus@gmail.com wrote:
Hi Peng,
I'm using the following versions:
- U-Boot upstream v2019.01
- ATF from NXP codeaurora (rel_imx_4.14.78_1.0.0_ga)
- SCFW binary from imx-sc-firmware-1.1 package
- SECO FW from firmware-imx-8.0 package
The same issue still happening, I can only boot my board after reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true").
As you can see in log below, SCFW top is 65afe5f6:
U-Boot 2019.01-00001-g2df3ad4767 (Jan 17 2019 - 08:15:39 -0200)
CPU: NXP i.MX8QXP RevB A35 at 147228 MHz
The reported frequency is 147.2 GHz. Do you have a fix for this?
Model: Freescale i.MX8QXP MEK Board: iMX8QXP MEK Build: SCFW 65afe5f6 Boot: SD1 DRAM: 3 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment
Should we revert f7e475db4011 ("tools: imx8image: set dcd_skip to true")?

Hi Fabio, Breno
-----Original Message----- From: Fabio Estevam [mailto:festevam@gmail.com] Sent: 2019年1月17日 19:30 To: Breno Matheus Lima brenomatheus@gmail.com; Peng Fan peng.fan@nxp.com Cc: Breno Matheus Lima breno.lima@nxp.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de; dl-uboot-imx uboot-imx@nxp.com Subject: Re: Problems to boot i.MX8QXP EVK board
Hi Peng,
On Thu, Jan 17, 2019 at 8:27 AM Breno Matheus Lima brenomatheus@gmail.com wrote:
Hi Peng,
I'm using the following versions:
- U-Boot upstream v2019.01
- ATF from NXP codeaurora (rel_imx_4.14.78_1.0.0_ga)
- SCFW binary from imx-sc-firmware-1.1 package
- SECO FW from firmware-imx-8.0 package
The same issue still happening, I can only boot my board after reverting commit f7e475db4011("tools: imx8image: set dcd_skip to true").
The commit log for the patch is not that correct. I miss understanding dcd skip previously. After set dcd_skip to true, non-spl version uboot could not be started.
I do not see log from SPL part,
My log: U-Boot SPL 2019.01-rc3-00052-gc74bdbad65-dirty (Jan 18 2019 - 16:05:58 +0800) Normal Boot Trying to boot from MMC2_2
U-Boot 2019.01-rc3-00052-gc74bdbad65-dirty (Jan 18 2019 - 16:05:58 +0800)
CPU: NXP i.MX8QXP RevB A35 at 147228 MHz
Model: Freescale i.MX8QXP MEK Board: iMX8QXP MEK Build: SCFW e1f0ae76 Boot: SD1 DRAM: 3 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial@5a060000 Out: serial@5a060000 Err: serial@5a060000 Net: eth-1: ethernet@5b040000 Hit any key to stop autoboot: 0
As you can see in log below, SCFW top is 65afe5f6:
U-Boot 2019.01-00001-g2df3ad4767 (Jan 17 2019 - 08:15:39 -0200)
CPU: NXP i.MX8QXP RevB A35 at 147228 MHz
The reported frequency is 147.2 GHz. Do you have a fix for this?
I do not have patch currently. You could fix it if you would like to do.
Model: Freescale i.MX8QXP MEK Board: iMX8QXP MEK Build: SCFW 65afe5f6 Boot: SD1 DRAM: 3 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 Loading Environment from MMC... *** Warning - bad CRC, using default environment
Should we revert f7e475db4011 ("tools: imx8image: set dcd_skip to true")?
The code default switch to SPL, the non-spl uboot not supported based on this patch. The commit log is wrong, but I do not prefer to revert it. A new option could be provided to let people choose dcd_skip to true or false.
Thanks, Peng.

Hi Peng,
On Fri, Jan 18, 2019 at 6:02 AM Peng Fan peng.fan@nxp.com wrote:
My log: U-Boot SPL 2019.01-rc3-00052-gc74bdbad65-dirty (Jan 18 2019 - 16:05:58 +0800) Normal Boot Trying to boot from MMC2_2
Could you try a clean 2019.01 instead?
There is no SPL support in 2019.01, so I guess you are testing on a different tree.

-----Original Message----- From: Fabio Estevam [mailto:festevam@gmail.com] Sent: 2019年1月18日 20:27 To: Peng Fan peng.fan@nxp.com Cc: Breno Matheus Lima brenomatheus@gmail.com; Breno Matheus Lima breno.lima@nxp.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de; dl-uboot-imx uboot-imx@nxp.com Subject: Re: Problems to boot i.MX8QXP EVK board
Hi Peng,
On Fri, Jan 18, 2019 at 6:02 AM Peng Fan peng.fan@nxp.com wrote:
My log: U-Boot SPL 2019.01-rc3-00052-gc74bdbad65-dirty (Jan 18 2019 - 16:05:58 +0800) Normal Boot Trying to boot from MMC2_2
Could you try a clean 2019.01 instead?
There is no SPL support in 2019.01, so I guess you are testing on a different tree.
oh, I missed that https://patchwork.ozlabs.org/project/uboot/list/?submitter=67896 has not been merged. The patch will break booting without SPL.
Regards, Peng.

Hi Peng,
On Fri, Jan 18, 2019 at 10:31 AM Peng Fan peng.fan@nxp.com wrote:
oh, I missed that https://patchwork.ozlabs.org/project/uboot/list/?submitter=67896 has not been merged. The patch will break booting without SPL.
If we revert f7e475db4011("tools: imx8image: set dcd_skip to true") will it break imx8m evk boot?

Hi Fabio,
-----Original Message----- From: Fabio Estevam [mailto:festevam@gmail.com] Sent: 2019年1月18日 20:41 To: Peng Fan peng.fan@nxp.com Cc: Breno Matheus Lima brenomatheus@gmail.com; Breno Matheus Lima breno.lima@nxp.com; Fabio Estevam fabio.estevam@nxp.com; U-Boot-Denx u-boot@lists.denx.de; dl-uboot-imx uboot-imx@nxp.com Subject: Re: Problems to boot i.MX8QXP EVK board
Hi Peng,
On Fri, Jan 18, 2019 at 10:31 AM Peng Fan peng.fan@nxp.com wrote:
oh, I missed that
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatc hwork.ozlabs.org%2Fproject%2Fuboot%2Flist%2F%3Fsubmitter%3D67896&a mp;data=02%7C01%7Cpeng.fan%40nxp.com%7C23053b57ed884c33e85908d 67d4234a8%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7C0%7C636834 120631547553&sdata=%2FtWEdjahUUOmeMkHQhYa2jVBcmLna2GB7 WY25d4bvJw%3D&reserved=0 has not been merged.
The patch will break booting without SPL.
If we revert f7e475db4011("tools: imx8image: set dcd_skip to true") will it break imx8m evk boot?
No. i.MX8M use imx8mimage.c not imx8image.c.
It is ok to revert that patch. And it will not impact the coming SPL booting.
Regards, Peng.

Hi Peng,
On Fri, Jan 18, 2019 at 10:54 AM Peng Fan peng.fan@nxp.com wrote:
If we revert f7e475db4011("tools: imx8image: set dcd_skip to true") will it break imx8m evk boot?
No. i.MX8M use imx8mimage.c not imx8image.c.
It is ok to revert that patch. And it will not impact the coming SPL booting.
Ok, I will send a revert then. Thanks
participants (3)
-
Breno Matheus Lima
-
Fabio Estevam
-
Peng Fan