From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 11 Oct 2023 12:50:44 +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.94.2) (envelope-from ) id 1qqWnd-004NQg-5Z for lore@lore.pengutronix.de; Wed, 11 Oct 2023 12:50:44 +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 1qqWnb-00076L-Jb; Wed, 11 Oct 2023 12:50:43 +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 1qqWnX-00071b-Pf; Wed, 11 Oct 2023 12:50:39 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qqWnX-000sok-CI; Wed, 11 Oct 2023 12:50:39 +0200 Received: from rhi by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1qqWnX-005nC3-12; Wed, 11 Oct 2023 12:50:39 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Wed, 11 Oct 2023 12:50:36 +0200 Message-Id: <20231011105038.1380620-4-rhi@pengutronix.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231011105038.1380620-1-rhi@pengutronix.de> References: <20231011105038.1380620-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 4/6] v7a: barebox: enable GUID Partition Table support 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: Roland Hieber 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 We want to be able to boot from devices formatted with GPT, enable this on the platforms that don't have it yet. Signed-off-by: Roland Hieber --- PATCH v2: no change PATCH v1: https://lore.distrokit.org/distrokit/20231010191631.31141-4-rhi@pengutronix.de --- configs/platform-v7a/barebox-am335x.config | 5 ++++- configs/platform-v7a/barebox-am335x.config.diff | 2 +- configs/platform-v7a/barebox-at91.config | 5 ++++- configs/platform-v7a/barebox-at91.config.diff | 2 +- configs/platform-v7a/barebox-mx6.config.diff | 6 +----- configs/platform-v7a/barebox-rpi2.config | 5 ++++- configs/platform-v7a/barebox-rpi2.config.diff | 2 +- configs/platform-v7a/barebox-stm32mp.config.diff | 4 +--- configs/platform-v7a/barebox-vexpress.config | 5 ++++- configs/platform-v7a/barebox-vexpress.config.diff | 2 +- configs/platform-v7a/barebox.config | 5 ++++- configs/platform-v7a_noneon/barebox-at91.config | 5 ++++- configs/platform-v7a_noneon/barebox-at91.config.diff | 2 +- configs/platform-v7a_noneon/barebox-vexpress.config | 5 ++++- configs/platform-v7a_noneon/barebox-vexpress.config.diff | 2 +- configs/platform-v7a_noneon/barebox.config | 5 ++++- 16 files changed, 40 insertions(+), 22 deletions(-) diff --git a/configs/platform-v7a/barebox-am335x.config b/configs/platform-v7a/barebox-am335x.config index 90e7756dabae..875d935b1755 100644 --- a/configs/platform-v7a/barebox-am335x.config +++ b/configs/platform-v7a/barebox-am335x.config @@ -197,7 +197,9 @@ CONFIG_CONSOLE_ALLOW_COLOR=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -928,6 +930,7 @@ CONFIG_LIBFDT=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y # CONFIG_NLS is not set # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y diff --git a/configs/platform-v7a/barebox-am335x.config.diff b/configs/platform-v7a/barebox-am335x.config.diff index eeb39d3ffc0f..aa31220c8dab 100644 --- a/configs/platform-v7a/barebox-am335x.config.diff +++ b/configs/platform-v7a/barebox-am335x.config.diff @@ -1,4 +1,4 @@ -767c9d2f029195d89d541b1de6347271 +a8029702e337f16bb6355beda6d149d7 # CONFIG_32BIT is undefined # CONFIG_64BIT is undefined # CONFIG_AM33XX_NET_BOOT is not set diff --git a/configs/platform-v7a/barebox-at91.config b/configs/platform-v7a/barebox-at91.config index a9758bee288f..36925a447cfa 100644 --- a/configs/platform-v7a/barebox-at91.config +++ b/configs/platform-v7a/barebox-at91.config @@ -208,7 +208,9 @@ CONFIG_PBL_CONSOLE=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -937,6 +939,7 @@ CONFIG_IMAGE_SPARSE=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y # CONFIG_NLS is not set # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y diff --git a/configs/platform-v7a/barebox-at91.config.diff b/configs/platform-v7a/barebox-at91.config.diff index e90f18cb58e0..913695684ecb 100644 --- a/configs/platform-v7a/barebox-at91.config.diff +++ b/configs/platform-v7a/barebox-at91.config.diff @@ -1,4 +1,4 @@ -767c9d2f029195d89d541b1de6347271 +a8029702e337f16bb6355beda6d149d7 # CONFIG_32BIT is undefined # CONFIG_64BIT is undefined CONFIG_ARCH_AT91=y diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff index f1308c66847c..b15528a71ae4 100644 --- a/configs/platform-v7a/barebox-mx6.config.diff +++ b/configs/platform-v7a/barebox-mx6.config.diff @@ -1,4 +1,4 @@ -767c9d2f029195d89d541b1de6347271 +a8029702e337f16bb6355beda6d149d7 # CONFIG_32BIT is undefined # CONFIG_64BIT is undefined # CONFIG_ARCH_BCM283X is not set @@ -210,9 +210,6 @@ CONFIG_NVMEM=y # CONFIG_NVMEM_REBOOT_MODE is not set # CONFIG_NVMEM_RMEM is not set # CONFIG_NVMEM_SNVS_LPGPR is not set -CONFIG_PARTITION_DISK_EFI=y -CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y -CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y # CONFIG_PBL_OPTEE is undefined # CONFIG_PCI is not set # CONFIG_PCI_ECAM_GENERIC is not set @@ -222,7 +219,6 @@ CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y # CONFIG_PINCTRL_BCM283X is undefined CONFIG_PINCTRL_IMX_IOMUX_V3=y CONFIG_PNG=y -CONFIG_PRINTF_UUID=y CONFIG_PROMPT="barebox:" CONFIG_PWM=y CONFIG_PWM_IMX=y diff --git a/configs/platform-v7a/barebox-rpi2.config b/configs/platform-v7a/barebox-rpi2.config index 57250e40b6b6..1789d9c8faa1 100644 --- a/configs/platform-v7a/barebox-rpi2.config +++ b/configs/platform-v7a/barebox-rpi2.config @@ -196,7 +196,9 @@ CONFIG_CONSOLE_ALLOW_COLOR=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -917,6 +919,7 @@ CONFIG_LIBFDT=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y # CONFIG_NLS is not set # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y diff --git a/configs/platform-v7a/barebox-rpi2.config.diff b/configs/platform-v7a/barebox-rpi2.config.diff index 6f8705a94859..7dceb530ed66 100644 --- a/configs/platform-v7a/barebox-rpi2.config.diff +++ b/configs/platform-v7a/barebox-rpi2.config.diff @@ -1,4 +1,4 @@ -767c9d2f029195d89d541b1de6347271 +a8029702e337f16bb6355beda6d149d7 CONFIG_ARM_ASM_UNIFIED=y CONFIG_BOOTCHOOSER=y CONFIG_CMD_BOOTCHOOSER=y diff --git a/configs/platform-v7a/barebox-stm32mp.config.diff b/configs/platform-v7a/barebox-stm32mp.config.diff index 034c89223848..f0c4045194df 100644 --- a/configs/platform-v7a/barebox-stm32mp.config.diff +++ b/configs/platform-v7a/barebox-stm32mp.config.diff @@ -1,4 +1,4 @@ -767c9d2f029195d89d541b1de6347271 +a8029702e337f16bb6355beda6d149d7 # CONFIG_32BIT is undefined # CONFIG_64BIT is undefined # CONFIG_ARCH_BCM283X is not set @@ -109,7 +109,6 @@ CONFIG_NVMEM=y # CONFIG_NVMEM_REBOOT_MODE is not set # CONFIG_NVMEM_RMEM is not set # CONFIG_NVMEM_SNVS_LPGPR is not set -CONFIG_PARTITION_DISK_EFI=y # CONFIG_PARTITION_DISK_EFI_GPT_COMPARE is not set # CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE is not set CONFIG_PBL_CONSOLE=y @@ -118,7 +117,6 @@ CONFIG_PBL_CONSOLE=y CONFIG_PHY_STM32_USBPHYC=y # CONFIG_PINCTRL_BCM283X is undefined CONFIG_PINCTRL_STM32=y -CONFIG_PRINTF_UUID=y CONFIG_PROMPT="barebox:" CONFIG_PWM=y CONFIG_PWM_STM32=y diff --git a/configs/platform-v7a/barebox-vexpress.config b/configs/platform-v7a/barebox-vexpress.config index 1024c9d5f2bf..0d3ab3bde546 100644 --- a/configs/platform-v7a/barebox-vexpress.config +++ b/configs/platform-v7a/barebox-vexpress.config @@ -174,7 +174,9 @@ CONFIG_PBL_CONSOLE=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -850,6 +852,7 @@ CONFIG_LIBFDT=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y # CONFIG_NLS is not set # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y diff --git a/configs/platform-v7a/barebox-vexpress.config.diff b/configs/platform-v7a/barebox-vexpress.config.diff index 1fce564357f0..f47f7b66f9e2 100644 --- a/configs/platform-v7a/barebox-vexpress.config.diff +++ b/configs/platform-v7a/barebox-vexpress.config.diff @@ -1,4 +1,4 @@ -767c9d2f029195d89d541b1de6347271 +a8029702e337f16bb6355beda6d149d7 # CONFIG_32BIT is undefined # CONFIG_64BIT is undefined CONFIG_AMBA_SP804=y diff --git a/configs/platform-v7a/barebox.config b/configs/platform-v7a/barebox.config index f4d9cd21b11c..b0b3d64c5a0e 100644 --- a/configs/platform-v7a/barebox.config +++ b/configs/platform-v7a/barebox.config @@ -195,7 +195,9 @@ CONFIG_CONSOLE_ALLOW_COLOR=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -907,6 +909,7 @@ CONFIG_LIBFDT=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y # CONFIG_NLS is not set # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config index 600417a314df..c24b5d36b79d 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config +++ b/configs/platform-v7a_noneon/barebox-at91.config @@ -197,7 +197,9 @@ CONFIG_PBL_CONSOLE=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -966,6 +968,7 @@ CONFIG_IMAGE_SPARSE=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y CONFIG_NLS=y # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff index 9a5ff84cf648..e2cdc16d00ff 100644 --- a/configs/platform-v7a_noneon/barebox-at91.config.diff +++ b/configs/platform-v7a_noneon/barebox-at91.config.diff @@ -1,4 +1,4 @@ -4843d0dbea5da5cc603015348ad891de +71b0583d9737e188a32240ae7d29a558 CONFIG_ARCH_AT91=y # CONFIG_ARCH_BCM283X is not set # CONFIG_ARCH_IMX is undefined diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config index cf504a6c606c..09f112d397e1 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config +++ b/configs/platform-v7a_noneon/barebox-vexpress.config @@ -175,7 +175,9 @@ CONFIG_PBL_CONSOLE=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -864,6 +866,7 @@ CONFIG_LIBFDT=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y CONFIG_NLS=y # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config.diff b/configs/platform-v7a_noneon/barebox-vexpress.config.diff index 2215ceb876cc..36ab78e8ebc3 100644 --- a/configs/platform-v7a_noneon/barebox-vexpress.config.diff +++ b/configs/platform-v7a_noneon/barebox-vexpress.config.diff @@ -1,4 +1,4 @@ -4843d0dbea5da5cc603015348ad891de +71b0583d9737e188a32240ae7d29a558 CONFIG_AMBA_SP804=y # CONFIG_ARCH_BCM283X is not set CONFIG_ARCH_VEXPRESS=y diff --git a/configs/platform-v7a_noneon/barebox.config b/configs/platform-v7a_noneon/barebox.config index 908bf1fe8d3f..9bbc3745d184 100644 --- a/configs/platform-v7a_noneon/barebox.config +++ b/configs/platform-v7a_noneon/barebox.config @@ -191,7 +191,9 @@ CONFIG_CONSOLE_ALLOW_COLOR=y CONFIG_PARTITION=y CONFIG_PARTITION_DISK=y CONFIG_PARTITION_DISK_DOS=y -# CONFIG_PARTITION_DISK_EFI is not set +CONFIG_PARTITION_DISK_EFI=y +CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y +CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_ENV_HANDLING=y CONFIG_DEFAULT_ENVIRONMENT=y CONFIG_DEFAULT_COMPRESSION_NONE=y @@ -916,6 +918,7 @@ CONFIG_LIBFDT=y # # end of Library gui routines +CONFIG_PRINTF_UUID=y CONFIG_NLS=y # CONFIG_BLOBGEN is not set CONFIG_ARCH_HAS_STACK_DUMP=y -- 2.39.2