All of lore.kernel.org
 help / color / mirror / Atom feed
* boot fail imx6q-apalis-ixora-v1.1 with imx_v6_v7_defconfig
@ 2021-05-18  6:25 Nobuhiro Iwamatsu
  2021-05-18 20:43 ` Marcel Ziswiler
  0 siblings, 1 reply; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-05-18  6:25 UTC (permalink / raw)
  To: shawnguo, marcel.ziswiler; +Cc: linux-arm-kernel

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

Do you have a information about 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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: boot fail imx6q-apalis-ixora-v1.1 with imx_v6_v7_defconfig
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Marcel Ziswiler @ 2021-05-18 20:43 UTC (permalink / raw)
  To: nobuhiro1.iwamatsu, shawnguo; +Cc: linux-arm-kernel

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].

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

> 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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: boot fail imx6q-apalis-ixora-v1.1 with imx_v6_v7_defconfig
  2021-05-18 20:43 ` Marcel Ziswiler
@ 2021-05-20  1:21   ` Nobuhiro Iwamatsu
  0 siblings, 0 replies; 3+ messages in thread
From: Nobuhiro Iwamatsu @ 2021-05-20  1:21 UTC (permalink / raw)
  To: Marcel Ziswiler; +Cc: shawnguo, linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-20  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.