linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
To: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Cc: "shawnguo@kernel.org" <shawnguo@kernel.org>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: boot fail imx6q-apalis-ixora-v1.1 with imx_v6_v7_defconfig
Date: Thu, 20 May 2021 10:21:13 +0900	[thread overview]
Message-ID: <20210520012113.jl5clsotbhiuzru2@toshiba.co.jp> (raw)
In-Reply-To: <2f303073de33f8dd1c7792f9aa2a02644e88da32.camel@toradex.com>

Hi Marcel,

Thanks for your check and comment!

On Tue, May 18, 2021 at 08:43:53PM +0000, Marcel Ziswiler wrote:
> Hi Nobuhiro
> 
> On Tue, 2021-05-18 at 15:25 +0900, Nobuhiro Iwamatsu wrote:
> > Hi,
> > 
> > I'm using imx6q-apalis-ixora [0][1] and noticed that the kernel built with imx_v6_v7_defconfig[2]
> > does not boot. Nothing is displayed after "Starting kernel" when booting from the boot loader.
> > Do you know if there is a problem in other boards?
> 
> I am not aware of any such issue.
> 
> As a matter of fact, I just tried today's linux-next with your exact configuration and it works for me without
> any issue (well, at least it boots fine). See console log [3].
> 

Thank you.

> > I used git bisect to look for problematic commits. The result is as follows.
> > 
> > [c8fa942bd3fbd5b05351aff04649064f5d59f0d2] arm64: defconfig: Build in CONFIG_GPIO_MXC by default
> > 
> > It boots by removing CONFIG_GPIO_MXC, but this setting seems to be another problem as it is required
> > not only for this hardware, but also for the i.MX series with armv6 and 7.
> 
> As mentioned above, that does not ring any bell.
> 
> > Do you have a information about this issue?
> 
> No, sorry.


I compared the logs you provided, there were three differences.
U-Boot version, boot method, kernel boot parameters.
I'm using an old U-Boot (2016.11-2.0.5+g5c2d46b325) and I'm checking
with a TFTP boot.
The kernel parameters are as follows.

kernel boot parameters:
```
  console=ttymxc0,115200n8 root=/dev/nfs rw nfsroot=192.254.0.1:/var/lib/lava/dispatcher/tmp/8747/extract-nfsrootfs-xxvh200s,tcp,hard,vers=3 ip=dhcp
```

u-boot bootlog:
```
Industrial temperature grade DDR3 timings.
Trying to boot from MMC1
U-Boot 2016.11-2.0.5+g5c2d46b325 (May 19 2020 - 23:32:51 +0000)
CPU:   Freescale i.MX6Q rev1.6 at 792 MHz
Reset cause: POR
I2C:   ready
DRAM:  2 GiB
PMIC:  device id: 0x10, revision id: 0x21, programmed
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Using default environment
In:    serial_mxc
Out:   serial_mxc
Err:   serial_mxc
Model: Toradex Apalis iMX6 Quad 2GB IT V1.1C, Serial# 10537665
Net:   using PHY at 7
FEC [PRIME]
```

I think updating U-boot will fix the problem, but I want to know the
cause. If you have any information, could you please let me know?

I update U-Boot to check this issue.


> 
> > Best regards,
> >   Nobuhiro
> > 
> > [0]: https://www.toradex.com/products/nxp-freescale-imx-6
> > [1]: 
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6q-apalis-ixora-v1.1.dts
> > [2]: 
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/configs/imx_v6_v7_defconfig
> 
> [3] https://share.toradex.com/9xubz5xmtg5tsyr
> 
> Cheers
> 
> Marcel


Best regards,
  Nobuhiro

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      reply	other threads:[~2021-05-20  1:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18  6:25 boot fail imx6q-apalis-ixora-v1.1 with imx_v6_v7_defconfig Nobuhiro Iwamatsu
2021-05-18 20:43 ` Marcel Ziswiler
2021-05-20  1:21   ` Nobuhiro Iwamatsu [this message]

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=20210520012113.jl5clsotbhiuzru2@toshiba.co.jp \
    --to=nobuhiro1.iwamatsu@toshiba.co.jp \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=marcel.ziswiler@toradex.com \
    --cc=shawnguo@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).