[U-Boot] [PATCH 1/2] imx: add imx8x capricorn giedi board
Anatolij Gustschin
agust at denx.de
Tue Jan 7 20:32:30 CET 2020
Hi Fabio,
On Tue, 7 Jan 2020 14:54:55 -0300
Fabio Estevam festevam at gmail.com wrote:
> Hi Anatolij,
>
> On Tue, Oct 22, 2019 at 5:35 AM Anatolij Gustschin <agust at denx.de> wrote:
> >
> > Add support for i.MX8X based Capricorn Giedi SoM.
> >
> > Supported interfaces: GPIO, ENET, eMMC, I2C, UART.
> >
> > Console output:
> >
> > U-Boot SPL 2019.10-00178-g6e34009eee (Oct 21 2019 - 18:16:42 +0200)
> > Trying to boot from MMC1
> > Load image from MMC/SD 0x3e000
> >
> > U-Boot 2019.10-00178-g6e34009eee (Oct 21 2019 - 18:16:42 +0200) ##v01.07
> >
> > CPU: NXP i.MX8QXP RevB A35 at 1200 MHz at 24C
> >
> > Model: Siemens Giedi
> > Board: Capricorn
> > Build: SCFW 65afe5f6, SECO-FW 9d71fd5b, ATF d6451cc
> > Boot: MMC0
> > DRAM: 1022 MiB
> > MMC: FSL_SDHC: 0
> > Loading Environment from MMC... OK
> > In: serial at 5a080000
> > Out: serial at 5a080000
> > Err: serial at 5a080000
> > Net: eth1: ethernet at 5b050000 [PRIME]
> > Autobooting in 1 seconds, press "<Esc><Esc>" to stop
> >
> > Signed-off-by: Anatolij Gustschin <agust at denx.de>
>
> I am getting a hang on my i.MX8QXP MEK with mainline even if applying
> your I2C ipg clock patches:
>
> U-Boot SPL 2020.01-00169-g7f2ff3059d-dirty (Jan 07 2020 - 14:50:41 -0300)
> Normal Boot
> WDT: Not found!
> Trying to boot from MMC2_2
> Load image from MMC/SD 0x46c00
>
>
> U-Boot 2020.01-00169-g7f2ff3059d-dirty (Jan 07 2020 - 14:50:41 -0300)
>
> CPU: NXP i.MX8QXP RevB A35 at 1200 MHz at 31C
>
> Model: Freescale i.MX8QXP MEK
> Board: iMX8QXP MEK
> Boot: SD1
> DRAM: 3 GiB
> 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:
> Error: ethernet at 5b040000 address not set.
>
> (It hangs here)
>
> Where did you get the AT-F, imx-sc-firmware, imx-seco from?
I got them from i.MX8QXP Capricorn SoM vendor, here the SCFW blob
is very old. I don't have more details about ATF and imx-seco
currently. While my tests with v2020.01 release I've commented
out the build_info() call in checkboard(), because otherwise
the board hangs in build_info() with my current SCFW blob.
> I used these components from 4.19.35 NXP BSP release.
Did you disable the build_info(), too? It seems so, I don't see
build hashes in your boot log.
Maybe it hangs while getting MAC address from fuses? Could you
comment out the for loop in imx_get_mac_from_fuse() with
sc_misc_otp_fuse_read() calls in arch/arm/mach-imx/imx8/cpu.c
and return some random MAC address there for a quick test?
Thanks,
Anatolij
More information about the U-Boot
mailing list