All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Thiery <heiko.thiery@gmail.com>
To: Adam Ford <aford173@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>,
	Michael Walle <michael@walle.cc>, Stefano Babic <sbabic@denx.de>,
	 Simon Glass <sjg@chromium.org>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	 Frieder Schrempf <frieder.schrempf@kontron.de>
Subject: Re: imx: imx8mm: imx8mm-kontron-n801x-s: does not start work
Date: Wed, 12 Jan 2022 08:16:42 +0100	[thread overview]
Message-ID: <CAEyMn7a0AxvSr44VbOqx5_u5UJhn-vBCKGK4BG5r-wQo-pzhKQ@mail.gmail.com> (raw)
In-Reply-To: <CAHCN7xJqMDV4p_Sdp8Cq3SjNgaSMS+ZQuMLX2R+4bWA+WuJ79w@mail.gmail.com>

Hi Adam, Hi Frieder,

Am Di., 11. Jan. 2022 um 20:33 Uhr schrieb Adam Ford <aford173@gmail.com>:
>
> On Tue, Jan 11, 2022 at 1:18 AM Heiko Thiery <heiko.thiery@gmail.com> wrote:
> >
> > Hi all,
> >
> > I wanted to test the newly introduced kontron-sl-mx8mm_defconfig but
> > it does not work.
> >
> > I already found two converted config options that are missing in that defconfig:
> >
> > +CONFIG_SPL_MMC=y
> > +CONFIG_SPL_SERIAL=y
> >
> > With that the output appears but the u-boot hangs when trying to find
> > the binman node in the dtb.
> >
> > --- >8 ----
> > U-Boot SPL 2022.01-00323-g56915a34d1 (Jan 11 2022 - 08:11:03 +0100)
> > Kontron SL i.MX8MM (N801X) module, 1 GB RAM detected
> > Touch controller detected, assuming LVDS panel...
> > Normal Boot
> > WDT:   Not starting watchdog@30280000
> > Trying to boot from MMC2
> > NOTICE:  BL31: v2.4(release):v2.4
> > NOTICE:  BL31: Built : 09:46:16, Jan 10 2022
> >
> >
> > U-Boot 2022.01-00323-g56915a34d1 (Jan 11 2022 - 08:11:03 +0100)
> >
> > CPU:   Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
> > CPU:   Industrial temperature grade (-40C to 105C) at 47C
> > Reset cause: POR
> > Model: Kontron i.MX8MM N801X S LVDS
> > DRAM:  1 GiB
> > binman_init failed:-2
> > initcall sequence 000000007ffcef80 failed at call 000000004021f200 (err=-2)
> > ### ERROR ### Please RESET the board ###
> > --- >8 ----
> >
> > Does anyone have an idea what goes wrong?
>
> I did a diff on your defconfig and compared it to the imx8mm_beacon
> board, and there are few items that are different, but nothing
> obvious.  I confirmed the Beacon board does boot.  You might want to
> compare your defconfig files with other boards to see if you see
> something.
>
> One main difference is that I have only one DTB file integrated into
> the FIT file, but you have several.  I wonder if that is causing
> issues.

Thank you for the hint with the second dtb. It looks like a problem
with the imx8mm-kontron-n801x-s-u-boot.dtsi file. Since there is an
automatic detection in the board code what dtb to select in my case
the second one is selected. This is the
imx8mm-kontron-n801x-s-lvds.dtb. But for this one *-u-boot.dtsi is not
included. When doing a copy of the "base" -u-boot.dtsi file that
matches to the imx8mm-kontron-n801x-s-lvds.dtb name it works. Still
the question why this worked before. We have to figure out what the
difference is here compared to the version that was developed and
worked on 2021.10.

-- 
Heiko

  reply	other threads:[~2022-01-12  7:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-11  7:18 imx: imx8mm: imx8mm-kontron-n801x-s: does not start work Heiko Thiery
2022-01-11 19:33 ` Adam Ford
2022-01-12  7:16   ` Heiko Thiery [this message]
2022-01-12  7:51     ` Frieder Schrempf

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=CAEyMn7a0AxvSr44VbOqx5_u5UJhn-vBCKGK4BG5r-wQo-pzhKQ@mail.gmail.com \
    --to=heiko.thiery@gmail.com \
    --cc=aford173@gmail.com \
    --cc=festevam@gmail.com \
    --cc=frieder.schrempf@kontron.de \
    --cc=michael@walle.cc \
    --cc=sbabic@denx.de \
    --cc=sjg@chromium.org \
    --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 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.