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 25355C00140 for ; Tue, 2 Aug 2022 09:13:49 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 47CE3844E4; Tue, 2 Aug 2022 11:13:47 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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; unprotected) header.d=kernel.org header.i=@kernel.org header.b="RXGAE/5W"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BA1DB844E8; Tue, 2 Aug 2022 11:13:45 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 965B2840E4 for ; Tue, 2 Aug 2022 11:13:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 335E2B81890; Tue, 2 Aug 2022 09:13:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ACC19C433D6; Tue, 2 Aug 2022 09:13:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659431621; bh=//xeZW3qfgU7C3iiYQ8JNQ0YF/iImHcpy1RHoWT3TUc=; h=Date:From:To:Subject:From; b=RXGAE/5WKmMPhlec62fXi7D9M/rdcHcAYMQyxw3yOUGvD1so1QeYU0tmtGwAGSMWF rynSYoR4buUsTHNYlOYpOwP2rCVelaCzYx4OPcESarmg42uK+mmLteToNE9Tl8l2l+ yGphxpdvCSgiv+l6ZjAidHW8K7itvR+VCv6jH4E20hUPmg4Y+DxwP01gYzJL0msNnd 92juMEzAj44Uxbkk1yhFCjV7QaWb9SQWfyBj9LGrPaXfsk616GbUjiIWn8KFf34meo THQc32AO2HsWd00aEmdBRjJDvhHOAhbfvq1ur/AJn6my6coFuCwrZyi4Bf9Gl+AUKY z0eLPwTxsu+JQ== Received: by pali.im (Postfix) id B7384F81; Tue, 2 Aug 2022 11:13:38 +0200 (CEST) Date: Tue, 2 Aug 2022 11:13:38 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Tom Rini , u-boot@lists.denx.de, kabel@kernel.org Subject: Broken commit de47ff536363289f92f85ed1e4901724d238432d Message-ID: <20220802091338.f4g45ldhc7qbg6hm@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20180716 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 Hello Tom! Your commit de47ff536363289f92f85ed1e4901724d238432d ("Convert CONFIG_SYS_MPC85XX_NO_RESETVEC to Kconfig") seems to be broken. If you look at P1020RDB-PD_defconfig file change in this commit there is: --- a/configs/P1020RDB-PD_defconfig +++ b/configs/P1020RDB-PD_defconfig @@ -9,6 +9,7 @@ CONFIG_MPC85xx=y # CONFIG_CMD_ERRATA is not set CONFIG_TARGET_P1020RDB_PD=y CONFIG_MPC85XX_HAVE_RESET_VECTOR=y +CONFIG_SYS_MPC85XX_NO_RESETVEC=y CONFIG_MP=y CONFIG_FIT=y CONFIG_FIT_VERBOSE=y Which does not make sense to me. First thing is that CONFIG_MPC85XX_HAVE_RESET_VECTOR and CONFIG_SYS_MPC85XX_NO_RESETVEC are exclusive options. You can either disable generating of reset vector in image or enable it. What is expected from the result when you ask Kconfig to both enable and disable it? First specified option win? Or last specified win? Or random of those two options win? It is not really clear for me. Second thing is that reset vector is required for (parallel) NOR booting and your change is adding CONFIG_SYS_MPC85XX_NO_RESETVEC=y to defconfig for NOR, which to my guess make image non-bootable and broken. And seems that other defconfig files in that change have similar issues.