public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] imx: add imx8x capricorn giedi board
Date: Tue, 7 Jan 2020 20:32:30 +0100	[thread overview]
Message-ID: <20200107203230.7e0843c3@crub> (raw)
In-Reply-To: <CAOMZO5AWaDpJYEaJRDMFsH8U8nKpEUhtKoJaZP-gAFEnddgWqQ@mail.gmail.com>

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@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@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

  reply	other threads:[~2020-01-07 19:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-22  8:34 [U-Boot] [PATCH 1/2] imx: add imx8x capricorn giedi board Anatolij Gustschin
2019-10-22  8:34 ` [U-Boot] [PATCH 2/2] imx: add imx8x based deneb board Anatolij Gustschin
2019-12-28 21:05 ` [PATCH 1/2] imx: add imx8x capricorn giedi board Stefano Babic
2020-01-07  8:32   ` Anatolij Gustschin
2020-01-07 17:54 ` [U-Boot] " Fabio Estevam
2020-01-07 19:32   ` Anatolij Gustschin [this message]
2020-01-07 19:51     ` Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200107203230.7e0843c3@crub \
    --to=agust@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox