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 B155CC433EF for ; Tue, 7 Jun 2022 16:14:17 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10AB483F41; Tue, 7 Jun 2022 18:14:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="duDQVpSa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B78F384288; Tue, 7 Jun 2022 18:14:07 +0200 (CEST) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id E9B1383EDA for ; Tue, 7 Jun 2022 18:14:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qv1-xf2c.google.com with SMTP id ca19so5606275qvb.10 for ; Tue, 07 Jun 2022 09:14:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=hF4yV/EiI8Vqg625dxBLmy5k9UzPAwB3dCpEV7OnOaA=; b=duDQVpSatog+AfvhMsC+0Q3LpcWyAh5TerLf84ILyY0vAndL7yMFKugqtR63sEyQQc PvYvobxYlQNKwHCMAFyJ/fefngjt2mw0DZi0F+BVVec/XjBdJDL3MkC8Uxw+fdz96LQf hQYTpczkWZvFB5bRc2Z8ROfNt/j09CEmyXORM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=hF4yV/EiI8Vqg625dxBLmy5k9UzPAwB3dCpEV7OnOaA=; b=lF9CmFwwHocTdN+Y0XUfS9MmenffEcFAQqxyEMUOst5buYBqgX44fMoyXqcStJd925 KmhHuKMnREQTqfO3BTaRlPCfWrabmaXZYQj6DGNsHAHJ62a04craWWDgfAoAHI8ZDSUu M0lKc6Yw4XesL0hskUdxjhPz0+D0HbTI/0yE4z5ncE8KtNdlZ4am8zU2b21bS000+KsP xdsPBTS6BcuACh1BbsRMGAUwE0c9CqG6X38pmmuvMEBDR2q+5K3QeKc/GvHqZW9OTvkO FSEabC0e1B+l/YKhCqV4vIqY0sJvuNMR+c7t155a9XWiTzDz5F53sCOaQe2sSAS//n2r +DJA== X-Gm-Message-State: AOAM531UlfwLmyby1JnQ4UCgi+ruZhzo99QCTq5uNmwrQQmojZLys6V/ GSyMZTkjxVAXqZYySnmQ85BZd7ILXlyWnA== X-Google-Smtp-Source: ABdhPJwDkhID2Brr4VuVGCyl2tgUjFExXXFmFPMJ4JHjDgJYTDkT2OOMAlQOH729zrJDDXJboXE/mA== X-Received: by 2002:a05:6214:234b:b0:467:d7b4:1144 with SMTP id hu11-20020a056214234b00b00467d7b41144mr18920461qvb.85.1654618443529; Tue, 07 Jun 2022 09:14:03 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id t25-20020a05622a181900b00304c2c3d598sm12671424qtc.19.2022.06.07.09.14.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 09:14:02 -0700 (PDT) Date: Tue, 7 Jun 2022 12:14:00 -0400 From: Tom Rini To: Gabriel Hojda Cc: u-boot@lists.denx.de Subject: Re: BUG in u-boot for ODROID-XU3/XU4/HC1/HC2 Message-ID: <20220607161400.GA2411890@bill-the-cat> References: <9f0e091322de234ea331e498ecea1f1f@yo2urs.ro> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <9f0e091322de234ea331e498ecea1f1f@yo2urs.ro> X-Clacks-Overhead: GNU Terry Pratchett 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.5 at phobos.denx.de X-Virus-Status: Clean --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 28, 2022 at 03:10:51AM +0300, Gabriel Hojda wrote: > hi, >=20 > i've recently tried u-boot 2022.04 (u-boot-v2022.04.tar.bz2) and my > odroid-hc2 didn't boot with uefi (default since Fedora 35) but worked whe= n i > used exlinux.conf >=20 > trying to track down the problem, i've found that in the default u-boot > environment the "board" and "boardname" variables were "smdk5420" and not > "odroid" (like before) ... and thus the "fdtfile" variable was > "exynos5422-smdk5420hc1.dtb" and not "exynos5422-odroidhc1.dtb". >=20 > continuing i've made a diff between the u-boot-v2021.10.tar.bz2 and > u-boot-v2022.04.tar.bz2 ... and long story short, i've found the culprit = in > commit f76750d1 "Convert CONFIG_CONS_INDEX et al to Kconfig" : Thanks for the report. Can you please try updating include/configs/odroid_xu3.h to override "board" in CONFIG_EXTRA_ENV_SETTINGS and see if the auto-detection works as expected? We can't change CONFIG_SYS_BOARD as that would then change wht we look for in board/samsung/ to build. --=20 Tom --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmKfeUUACgkQFHw5/5Y0 tyzDhgwAhpLx+fPhnfOH/+xGK2E4TqrI+EFSvhHjA4LF86SWB/JKvKSS6ivi8JHz bRPNN8u09HiFLBtS1cRCYpNfEFaN2lUdxEIRT+ohEyPFXc/1YflmaPavfTHPBhG5 AaKaunU3pFxZNED8nCqdVMYEaj3UUh/zXBSKr2+1bObivyZH/eoqF5rmNZE9s9aU rapTZg1hbGoQW7GNHeuJ3vZfOUyzETtSZ3Ma4CXnDwC41lks7hByF6it1hvgziZu JGg+KlM0YO59irNjTYCKIniOE8lFI4CF0SzfWcWYtq6Oa+pVmOgJMb7hrvewc3CL Q/TYsYGbe5jv2Kd3fR2rLK2dzwLaSPrkfPcEkYmt3umhRKNEoiuFbutCrjVFNA8U nMTFdoq2nAPaz/c6Z5K/RleW6fnsWvVtVehG2vCweAKWwEsGcd1uJ8c4IMty5YDv v5ZyRcTpViGyLaTwHaAJ2a856ufYtySYNIXnAZqp6A/JoSwru6tp6z+6kLgD46DW QKQZO4Va =++z0 -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--