* [DistroKit] [PATCH] v7a: kernel: enable CONFIG_OF_PARTITION
@ 2025-04-14 12:03 Ahmad Fatoum
0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2025-04-14 12:03 UTC (permalink / raw)
To: distrokit; +Cc: Ahmad Fatoum
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 <a.fatoum@pengutronix.de>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-04-14 12:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-14 12:03 [DistroKit] [PATCH] v7a: kernel: enable CONFIG_OF_PARTITION Ahmad Fatoum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox