From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 22 Apr 2025 11:25:33 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u79sj-003zf4-0J for lore@lore.pengutronix.de; Tue, 22 Apr 2025 11:25:33 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1u79si-0005UD-Lk; Tue, 22 Apr 2025 11:25:32 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1u79sh-0005Tc-9d; Tue, 22 Apr 2025 11:25:31 +0200 Received: from pty.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::c5]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u79sh-001Wnu-0K; Tue, 22 Apr 2025 11:25:31 +0200 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1u79sh-00F64D-02; Tue, 22 Apr 2025 11:25:31 +0200 Date: Tue, 22 Apr 2025 11:25:30 +0200 From: Robert Schwebel To: Ahmad Fatoum Message-ID: References: <20250414120327.3482037-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250414120327.3482037-1-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [DistroKit] [PATCH] v7a: kernel: enable CONFIG_OF_PARTITION X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: distrokit@pengutronix.de Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Applied to next. On Mon, Apr 14, 2025 at 02:03:27PM +0200, Ahmad Fatoum wrote: > CONFIG_OF_PARTITION controls a new binding since v6.13-rc1 that ignores > GPT and MBR partition tables if a fixed-partitions node is specified in > an SD/eMMC. > > This collided with barebox, which allows peaceful co-existence of > fixed-partitions with on-disk partitions as long they don't overlap > or are fully identical. > > barebox v2025.03.0 now fixes up barebox SD/eMMC partitions with a > barebox,fixed-partitions compatible to avoid conflicts. > Give this some extra testing by enabling CONFIG_OF_PARTITION here in > platform-v7a, but keeping it disabled in platform-v8a. > > Signed-off-by: Ahmad Fatoum > --- > configs/platform-v7a/kernelconfig | 20 +++++++++++++++++++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > diff --git a/configs/platform-v7a/kernelconfig b/configs/platform-v7a/kernelconfig > index 9265e3b1c0ed..8e5888dfdeb1 100644 > --- a/configs/platform-v7a/kernelconfig > +++ b/configs/platform-v7a/kernelconfig > @@ -823,9 +823,27 @@ CONFIG_BLOCK=y > # > # Partition Types > # > -# CONFIG_PARTITION_ADVANCED is not set > +CONFIG_PARTITION_ADVANCED=y > +# CONFIG_ACORN_PARTITION is not set > +# CONFIG_AIX_PARTITION is not set > +# CONFIG_OSF_PARTITION is not set > +# CONFIG_AMIGA_PARTITION is not set > +# CONFIG_ATARI_PARTITION is not set > +# CONFIG_MAC_PARTITION is not set > CONFIG_MSDOS_PARTITION=y > +# CONFIG_BSD_DISKLABEL is not set > +# CONFIG_MINIX_SUBPARTITION is not set > +# CONFIG_SOLARIS_X86_PARTITION is not set > +# CONFIG_UNIXWARE_DISKLABEL is not set > +# CONFIG_LDM_PARTITION is not set > +# CONFIG_SGI_PARTITION is not set > +# CONFIG_ULTRIX_PARTITION is not set > +# CONFIG_SUN_PARTITION is not set > +# CONFIG_KARMA_PARTITION is not set > CONFIG_EFI_PARTITION=y > +# CONFIG_SYSV68_PARTITION is not set > +# CONFIG_CMDLINE_PARTITION is not set > +CONFIG_OF_PARTITION=y > # end of Partition Types > > CONFIG_BLK_MQ_VIRTIO=y > -- > 2.39.5 > > > -- Pengutronix e.K. | Dipl.-Ing. Robert Schwebel | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |