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 Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4EA04C4332F for ; Thu, 29 Dec 2022 02:01:05 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 79B008545E; Thu, 29 Dec 2022 03:01:02 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=debian.org header.i=@debian.org header.b="bPlIEePe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1737C85461; Thu, 29 Dec 2022 03:01:01 +0100 (CET) Received: from cascadia.aikidev.net (cascadia.aikidev.net [IPv6:2600:3c01:e000:267:0:a171:de7:c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 0F51985445 for ; Thu, 29 Dec 2022 03:00:58 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=vagrant@debian.org Received: from localhost (unknown [IPv6:2600:3c01:e000:21:7:77:0:40]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 64ADF1AC6E; Wed, 28 Dec 2022 18:00:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=debian.org; s=1.vagrant.user; t=1672279255; bh=w17CKHOPJrDeS+uf2F7ncFtPezphVzwx8M54NvpgpDQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=bPlIEePeG6YcMudrn/nSTHEWLxbuLxXGcRkB5kQuWFQcs9UgVbx2Fr8k7krt/TI9I SiH3YW1s6U5clGkDB3vUb79r84PIY6EgiVy50Nua19kM6drMaKzkjtb+KfcPl0ifdP VW1YCyzj9SEO2nfQHGYSdMTbpVSCos8t6KkVia163UwQecV/Zf+GvrTIrA1zntgxnf TSuHW6Kmi3GlJmFCXmqhntrYG8YeXmiI1FmGBsaUpPCmLFSn4vOrYrQr6zxt+fzzaR Xcx2zTNisg6pZ6BM8YItcgUsCXl7TSIPMWGCUrmi6/GFaycQC84nCrDDwCFL06PqV/ nVxqAeHXZ/sGg== From: Vagrant Cascadian To: Jochen Sprickerhof Cc: 1012269@bugs.debian.org, u-boot@lists.denx.de Subject: Re: Bug#1012269: u-boot-exynos on Odroid XU4 searches for exynos5422-smdk5420xu4.dtb instead of exynos5422-odroidxu4.dtb In-Reply-To: References: <165418392817.1809.3917910993952958001.reportbug@vis.fritz.box> <87o7tmct4t.fsf@contorta> Date: Wed, 28 Dec 2022 18:00:51 -0800 Message-ID: <87h6xfhsto.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 2022-12-25, Jochen Sprickerhof wrote: > * Vagrant Cascadian [2022-11-04 14:22]: >>On 2022-06-02, Jochen Sprickerhof wrote: >>> with the latest u-boot-exynos in unstable it tries to load >>> exynos5422-smdk5420xu4.dtb whereas linux-image-5.17.0-3-armmp only >>> contains exynos5422-odroidxu4.dtb. This was not the case with 2022.01+d= fsg-2: >>> >>> U-Boot 2022.04+dfsg-2+b1 (May 14 2022 - 21:25:25 +0000) for ODROID-XU3/= XU4/HC1/HC2 >>> [..] >>> Retrieving file: /usr/lib/linux-image-5.17.0-3-armmp/exynos5422-smdk542= 0xu4.dtb >>> ** File not found /usr/lib/linux-image-5.17.0-3-armmp/exynos5422-smdk54= 20xu4.dtb ** >>> >>> U-Boot 2022.01+dfsg-2 (Jan 26 2022 - 19:58:27 +0000) for ODROID-XU3/XU4= /HC1/HC2 >>> [..] >>> Retrieving file: /usr/lib/linux-image-5.17.0-3-armmp/exynos5422-odroidx= u4.dtb ... >>My guess is this was broken in 2022.04, and fixed in 2022.07-rc5 with >>this commit: ... >>Could you test 2022.10 from unstable and/or pull 2022.07 from >>snapshots.debian.org and test it? > > I finally found time to test, sorry for the delay. Still the same=20 > problem: > > U-Boot 2022.10+dfsg-2 (Dec 23 2022 - 23:18:44 +0000) for ODROID-XU3/XU4/H= C1/HC2 > > CPU: Exynos5422 @ 800 MHz > DRAM: 2 GiB > Core: 73 devices, 12 uclasses, devicetree: separate > MMC: EXYNOS DWMMC: 0, EXYNOS DWMMC: 2 > Loading Environment from MMC... *** Warning - bad CRC, using default envi= ronment > > In: serial > Out: serial > Err: serial > Model: Odroid XU3/XU4/HC1/HC2 based on Exynos5422 > Type: xu4 > Boot device: MMC(0) ... > Retrieving file: /usr/lib/linux-image-6.0.0-6-armmp/exynos5422-smdk5420xu= 4.dtb > ** File not found /usr/lib/linux-image-6.0.0-6-armmp/exynos5422-smdk5420x= u4.dtb ** ... > The workaround with: > > ln -s exynos5422-odroidxu4.dtb exynos5422-smdk5420xu4.dtb Hrm. This suggests the fix might not have been effective, which should have been included in 2022.07... CCing upstream... commit e744bf3a4ba442a0e9ee1c509c70e1452e3a15d0 Author: Tom Rini Date: Wed Jun 8 14:30:14 2022 -0400 odroid_xu3: Fix board environment variable When migrating CONFIG_CONS_INDEX to Kconfig, on this platform we changed what "board" evaluated to in the environment. This in turn meant that we would no longer try and find the correct fdtfile via the normal distro boot logic. Fix this by overriding board in the default environment, as done on other platforms where CONFIG_SYS_BOARD is not what we want to be in the board environment variable. Fixes: f76750d11133 ("Convert CONFIG_CONS_INDEX et al to Kconfig") Reported-by: Gabriel Hojda Tested-by: Gabriel Hojda Signed-off-by: Tom Rini Alternately... did you at any point run saveenv? This might have stored the incorrect value... and then it might not probe for the correct value. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCY6z00wAKCRDcUY/If5cW qj0qAP96xcDMX0ajfIHuWq8x0/9UGVbcmIqAUYLqUgdhjRmcNQEA3Yf+51r8TTyS k6L5BfVs9VwcS7XnZVNdtVBaaqNIqwo= =etyA -----END PGP SIGNATURE----- --=-=-=--