From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E7C0C433ED for ; Thu, 20 May 2021 01:23:44 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 09E5561028 for ; Thu, 20 May 2021 01:23:44 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 09E5561028 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7Ss2foC5iB4aTCle9NlY7mDaF9ygFsDaQXj2jcFzM24=; b=ZiDOtZ5vDafoquZb2EPFE3J4c vBavJGy9XZuJnuf6yrQ6UIkA629Lztl9vFfPMULDa8NtSIy2stSotw9BqIH+rDXxZ9Dfc471xs2Vx qWbtaq45PC3qTwB5m8n8H9An3Oip87jXjEsaM/CxdHRwdrFg40nmbTemOxxmNRKEofWouXQVod/T8 hkXuqAnHe1yRw22N7+RAgPpw1ZExjYufpQGOv+/g6fOsgWU/USYLy9iNEdJzFmnozP23KwbA1g8BM 7asxYHrLS/Wf39Ps02lUJ2A8VJfvBlNXyEPj0rhXAVtyp9TaFXZwcg8jekGubL5kxeDrj77B/WH+0 h8y0qEIMg==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1ljXNU-005Xnf-TU; Thu, 20 May 2021 01:21:33 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljXNS-005XnI-CT for linux-arm-kernel@desiato.infradead.org; Thu, 20 May 2021 01:21:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=Gy/9GhCajIk0Auy3vTDIBnd9GDobU8PGLtWi4sk3wvw=; b=0/rLJ4y7zjdVhUWPaZHlv7OpSV lNMtjXQ4MiIBRB5x873JiE04+svXoyQzYUF4cw7HclZYBSIBcSEEHoyX8y4DFzBcBJ5+Ixc6zTUkk Scr9ImbumrDZWwtdd5U/Q3WZHkaec48DrY6SuePNWj7TDO7iy37zVwjB4MDVrymxJhzmc64b4ARYq SZyCThGPVEPmuPiXivyrbd158ILP+M6Ue5Tq9Nooxl1kKcY1Q3gW6H4pIgrji/6HKu/RsSuNo/TXy tRcecv7xds8tjdxBmhGYOX9811f8ADAbIAC9aZnJMkH8kPob4ZDfOTV9mbcwctGh+9EgGziMCOkWI d58/NbiA==; Received: from mo-csw1115.securemx.jp ([210.130.202.157] helo=mo-csw.securemx.jp) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ljXNO-00FsdR-Si for linux-arm-kernel@lists.infradead.org; Thu, 20 May 2021 01:21:29 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1115) id 14K1LGma014999; Thu, 20 May 2021 10:21:17 +0900 X-Iguazu-Qid: 2wGqmO4sz9qY6sF5YD X-Iguazu-QSIG: v=2; s=0; t=1621473676; q=2wGqmO4sz9qY6sF5YD; m=qPJJBWibXpj6jnNGkN4HGVR7aOkq7W+Vw2Cg6ABu0PI= Received: from imx12-a.toshiba.co.jp (imx12-a.toshiba.co.jp [61.202.160.135]) by relay.securemx.jp (mx-mr1110) id 14K1LFne023508 (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128 verify=NOT); Thu, 20 May 2021 10:21:15 +0900 Received: from enc02.toshiba.co.jp (enc02.toshiba.co.jp [61.202.160.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by imx12-a.toshiba.co.jp (Postfix) with ESMTPS id A513F1000F5; Thu, 20 May 2021 10:21:14 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 14K1LEBo006640; Thu, 20 May 2021 10:21:14 +0900 Date: Thu, 20 May 2021 10:21:13 +0900 From: Nobuhiro Iwamatsu To: Marcel Ziswiler Cc: "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: boot fail imx6q-apalis-ixora-v1.1 with imx_v6_v7_defconfig X-TSB-HOP: ON Message-ID: <20210520012113.jl5clsotbhiuzru2@toshiba.co.jp> References: <20210518062528.my6dxzy6clvchsbw@toshiba.co.jp> <2f303073de33f8dd1c7792f9aa2a02644e88da32.camel@toradex.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2f303073de33f8dd1c7792f9aa2a02644e88da32.camel@toradex.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210519_182127_221674_0669C61D X-CRM114-Status: GOOD ( 29.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 w= ith imx_v6_v7_defconfig[2] > > does not boot. Nothing is displayed after "Starting kernel" when bootin= g 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 conf= iguration 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 fol= lows. > > = > > [c8fa942bd3fbd5b05351aff04649064f5d59f0d2] arm64: defconfig: Build in C= ONFIG_GPIO_MXC by default > > = > > It boots by removing CONFIG_GPIO_MXC, but this setting seems to be anot= her 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=3Dttymxc0,115200n8 root=3D/dev/nfs rw nfsroot=3D192.254.0.1:/var/= lib/lava/dispatcher/tmp/8747/extract-nfsrootfs-xxvh200s,tcp,hard,vers=3D3 i= p=3Ddhcp ``` 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, > > =A0 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