boot fail imx6q-apalis-ixora-v1.1 with imx_v6_v7_defconfig

Nobuhiro Iwamatsu nobuhiro1.iwamatsu at toshiba.co.jp
Wed May 19 18:21:13 PDT 2021


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



More information about the linux-arm-kernel mailing list