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 B5802C00140 for ; Fri, 5 Aug 2022 15:44:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 910EF84847; Fri, 5 Aug 2022 17:44:09 +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="jPFRxK62"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 79C028484F; Fri, 5 Aug 2022 17:44:07 +0200 (CEST) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 04D1C84828 for ; Fri, 5 Aug 2022 17:44:05 +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-qt1-x82a.google.com with SMTP id ey23so2284046qtb.11 for ; Fri, 05 Aug 2022 08:44:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc; bh=FuV16h7fgJYsRyooKB7AA6xPxTduFhx6wi3tpgBVDLQ=; b=jPFRxK62NOUL0JNFeMPAAspaZq9B93QiRLU9mCQ9AmH4pcWNbWEa4DBjU5ewXnyMS6 ouNJ24Vtg6M0P88AjyV5vlYkUM6S+Nu4/0kJSiMjYLIXUfuPbBBoFoo4jg0HxHndnBPu /RMvf9+iXFf57b0fLNFwnoQU9nWBfh3kY5ST4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc; bh=FuV16h7fgJYsRyooKB7AA6xPxTduFhx6wi3tpgBVDLQ=; b=wp/5TD2Fuj7KfJWxJJqODrYk21ueSeP0KS+c1U7gYg/nbdhsvsc8Xs3tXdU0cuOoFS nHcp9Mu9C3tRn/Nklbj2qfubrfSkn/0pAnHmLuZt3zEckovdDW7h0KZgy8E9x3XE/X8M TXXq0A6ErHiQeSVBB16PQRMDxs6GmAI8YZY3ZfsCoCnXWVuU/W7Ol2T8ou7k4c+nu+Vy ZaVuU4DRYXyr87QI8WCuHK2FIdpSvkeAjV76/xr+JJ3elrYn5KY+8MRp9OcID3QwtzH+ /uD1WdnOUr2CYXkGUGU1VufTMsqrnLkV+DnX8IWxJ9iLbSRScH5s+8IZrhjAh8tr09EJ kGSw== X-Gm-Message-State: ACgBeo00YsXkvkoOMt+xCfr4HGrYIIDd/U+nK15yFM6hQ9sJvxuv4Iwu NMsUA1/bPfn75IGVUTOWUG4regCOyhBkBkf7 X-Google-Smtp-Source: AA6agR6coU5glfhtRNiTJG+LvEAx/uKZVw5QENGhT8sbqAqKoCDmvbamrGjQM5LiDaef2CCQuUKSyA== X-Received: by 2002:ac8:5953:0:b0:31f:3566:8cff with SMTP id 19-20020ac85953000000b0031f35668cffmr6513402qtz.96.1659714243703; Fri, 05 Aug 2022 08:44: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 o11-20020a05620a2a0b00b006b648d016f3sm3194578qkp.126.2022.08.05.08.44.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Aug 2022 08:44:02 -0700 (PDT) Date: Fri, 5 Aug 2022 11:44:00 -0400 From: Tom Rini To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: u-boot@lists.denx.de, kabel@kernel.org Subject: Re: Broken commit de47ff536363289f92f85ed1e4901724d238432d Message-ID: <20220805154400.GA1146598@bill-the-cat> References: <20220802091338.f4g45ldhc7qbg6hm@pali> <20220802105826.GB1146598@bill-the-cat> <20220803160013.4oh6x4glh2thtcog@pali> <20220803161318.GS1146598@bill-the-cat> <20220805142124.6swsha6aj62f33e3@pali> <20220805144731.GV1146598@bill-the-cat> <20220805145935.xumynhjbih3nekjq@pali> <20220805150340.GX1146598@bill-the-cat> <20220805151259.hdftfa3utfiq4i3w@pali> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dqe0gS1xZAykfllo" Content-Disposition: inline In-Reply-To: <20220805151259.hdftfa3utfiq4i3w@pali> 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.6 at phobos.denx.de X-Virus-Status: Clean --Dqe0gS1xZAykfllo Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 05, 2022 at 05:12:59PM +0200, Pali Roh=E1r wrote: > On Friday 05 August 2022 11:03:40 Tom Rini wrote: > > On Fri, Aug 05, 2022 at 04:59:35PM +0200, Pali Roh=E1r wrote: > > > On Friday 05 August 2022 10:47:31 Tom Rini wrote: > > > > On Fri, Aug 05, 2022 at 04:21:24PM +0200, Pali Roh=E1r wrote: > > > > > On Wednesday 03 August 2022 12:13:18 Tom Rini wrote: > > > > > > On Wed, Aug 03, 2022 at 06:00:13PM +0200, Pali Roh=E1r wrote: > > > > > > > On Tuesday 02 August 2022 06:58:26 Tom Rini wrote: > > > > > > > > On Tue, Aug 02, 2022 at 11:13:38AM +0200, Pali Roh=E1r wrot= e: > > > > > > > >=20 > > > > > > > > > Hello Tom! > > > > > > > > >=20 > > > > > > > > > Your commit de47ff536363289f92f85ed1e4901724d238432d ("Co= nvert > > > > > > > > > CONFIG_SYS_MPC85XX_NO_RESETVEC to Kconfig") seems to be b= roken. > > > > > > > >=20 > > > > > > > > I thought I had managed to mirror the TPL/SPL/full usage th= at was there > > > > > > > > prior, but apparently some got missed. > > > > > > >=20 > > > > > > > Yea, conversion to Kconfig seems that was incorrect. > > > > > >=20 > > > > > > As the config files were just unclear, but you seem to understa= nd what > > > > > > it's supposed to be, a patch to clean it up would be most appre= ciated, > > > > > > thanks. > > > > > >=20 > > > > > > --=20 > > > > > > Tom > > > > >=20 > > > > > Broken is also commit d433c74eecdce1e4952ef4e8c712a9289c0dfcc2. S= eems > > > > > that all kconfig migration changes done after that commit are bro= ken. > > > > >=20 > > > > > I really do not have energy to investigate what and how was broke= n due > > > > > to incorrect kconfig migration. > > > > >=20 > > > > >=20 > > > > > I did simple test. Applied following change: > > > > >=20 > > > > > diff --git a/include/configs/p1_p2_rdb_pc.h b/include/configs/p1_= p2_rdb_pc.h > > > > > index a6523753d5ca..489f24df0ab1 100644 > > > > > --- a/include/configs/p1_p2_rdb_pc.h > > > > > +++ b/include/configs/p1_p2_rdb_pc.h > > > > > @@ -624,3 +624,7 @@ __stringify(__PCIE_RST_CMD)"\0" > > > > > "bootm $norbootaddr - $norfdtaddr" > > > > > =20 > > > > > #endif /* __CONFIG_H */ > > > > > + > > > > > +#ifdef CONFIG_SDCARD > > > > > +#error > > > > > +#endif > > > > >=20 > > > > > And then called: > > > > >=20 > > > > > make CROSS_COMPILE=3Dpowerpc-linux-gnuspe- P2020RDB-PC_defconfig = u-boot.bin > > > > >=20 > > > > > And it failed, even when this defconfig file is not SD card build= s. > > > >=20 > > > > Where is PBL in that case even then? > > >=20 > > > P2020 (and older) are pre-PBL boards, they do not support NXP PBL > > > header. > >=20 > > Ah, OK, then it should just be removing TARGET_P2020RDB from the choice > > on "Freescale PBL load location". > >=20 > > --=20 > > Tom >=20 > I just do not understand. >=20 > P10** and P20** do not support NXP PBL. They support only pre-PBL and > for SD card pre-PBL support I added option FSL_PREPBL_ESDHC_BOOT_SECTOR. >=20 > But CONFIG_SDCARD is automatically set when SYS_EXTRA_OPTIONS contains > "SDCARD" string and CONFIG_SDCARD is used then also in P10** and P20** > SD-card version of SPL to load proper U-Boot. So CONFIG_SDCARD was over-loaded? That's very frustrating. That's what needs to be corrected then. --=20 Tom --Dqe0gS1xZAykfllo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLtOsAACgkQFHw5/5Y0 tywsQAv9EUTp1K0UAA/6Wcs8HxpZJaGBYoRr4wYpaCf1cOJWgIVVySCyHL05sTP+ ZW4sGQj33ly/RWxBGeScF4lebDmpO8cnCunZL/fLfJiqP4AV7YKd977WHBZUJSBL j4tAawD+PeCsk3hgIuaW3HY1jHo4r1R2CvGOvLuklUylgS57DaYwovcaqnMI+Mcz eOJQHo4wPl52lG9fJSCzDxeiAPT8Z38nYhyR4PqZR0JjZ/Md1eG44TkKz2AzOdAS yFb0k869vnFkwb/+HI0XV6i8tFNiEQbmu2XVsNYHLTJ7PBF5PE0dll/dyPK9YNiP s4Ha0jHStP6ayZHLn4VAfqCURWVIU1tQz2M922hH1PjgiQskQZaf7IkO8FZJRx/1 qDJSPszqlCueMxqSOAbr87P0druX5aM7ZeXZJ4JTAK1/6xwCQ4jpi0QVrdluBY+3 poe1HxI8ylN9RFqNrq4yV3XfGk2TF10tkFOoWARVDu1QyzYTiJRc6w3J5RiJMTvI RHTWwJW/ =D/wf -----END PGP SIGNATURE----- --Dqe0gS1xZAykfllo--