From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l47fi-0005EZ-O3 for distrokit@pengutronix.de; Mon, 25 Jan 2021 20:37:10 +0100 Received: from afa by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1l47fi-00072h-Ei for distrokit@pengutronix.de; Mon, 25 Jan 2021 20:37:10 +0100 From: Ahmad Fatoum Date: Mon, 25 Jan 2021 20:37:05 +0100 Message-Id: <20210125193705.27018-3-a.fatoum@pengutronix.de> In-Reply-To: <20210125193705.27018-1-a.fatoum@pengutronix.de> References: <20210125193705.27018-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 3/3] v7a: images: stm32mp: don't place backup GPT table into image List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de The images sizes don't correspond to a specific SD-Card or eMMC size, so software checking for the backup partition table at the end of the device won't find it. Dropping it will however reduce the STM32MP1 images size (618M -> 66M). Do so. --- configs/platform-v7a/config/images/stm32mp.config | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/platform-v7a/config/images/stm32mp.config b/configs/platform-v7a/config/images/stm32mp.config index 4095e9fc612b..e46f5a7f3c40 100644 --- a/configs/platform-v7a/config/images/stm32mp.config +++ b/configs/platform-v7a/config/images/stm32mp.config @@ -2,6 +2,7 @@ image @IMAGE@ { hdimage { align = 1M gpt = true + gpt-no-backup = true } partition fsbl1 { image = "tf-a-@STM32MP_BOARD@.stm32" -- 2.30.0 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de