From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 26 Apr 2021 08:05:34 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lauNC-0002gi-R8 for lore@lore.pengutronix.de; Mon, 26 Apr 2021 08:05:34 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1lauNB-0007go-Vi; Mon, 26 Apr 2021 08:05:33 +0200 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 1lauN5-0007eL-Lp; Mon, 26 Apr 2021 08:05:27 +0200 Received: from rhi by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lauN5-0000UK-9u; Mon, 26 Apr 2021 08:05:27 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Mon, 26 Apr 2021 08:05:23 +0200 Message-Id: <20210426060526.32029-2-rhi@pengutronix.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210426060526.32029-1-rhi@pengutronix.de> References: <20210426060526.32029-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 2/5] v7a: images: remove redundant size specifications 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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.ext.pengutronix.de); SAEximRunCond expanded to false For partitions that are filled by another image, it does not make sense to make partitions larger or smaller than their containing file system. In those cases, genimage can already determine the partition sizes from the referenced images, and calculates the partition offsets accordingly, so in most cases we don't have to keep track of the sizes at all. (A special case is vexpress.hdimg, which needs to have an empty block at the end as a workaround for qemu, in which case it is clearer to have all partition sizes and offsets explicitely in the config file. So don't touch vexpress.hdimg here.) Signed-off-by: Roland Hieber --- configs/platform-v7a/config/images/at91-sd.config | 2 -- configs/platform-v7a/config/images/beaglebone.config | 2 -- configs/platform-v7a/config/images/gf.config | 2 -- configs/platform-v7a/config/images/riotboard.config | 1 - configs/platform-v7a/config/images/rpi2.config | 2 -- configs/platform-v7a/config/images/rpi3.config | 2 -- configs/platform-v7a/config/images/rpicm3.config | 2 -- configs/platform-v7a/config/images/sabrelite.config | 1 - configs/platform-v7a/config/images/stm32mp.config | 1 - configs/platform-v7a/config/images/udoo-neo.config | 1 - 10 files changed, 16 deletions(-) diff --git a/configs/platform-v7a/config/images/at91-sd.config b/configs/platform-v7a/config/images/at91-sd.config index 6108a20b601d..641db071224f 100644 --- a/configs/platform-v7a/config/images/at91-sd.config +++ b/configs/platform-v7a/config/images/at91-sd.config @@ -13,14 +13,12 @@ image @IMAGE@ { } partition boot { image = @IMAGE@-boot.vfat - size = 3M partition-type = 0xc bootable = true } partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/beaglebone.config b/configs/platform-v7a/config/images/beaglebone.config index d3e85f2064ff..7b1c41dfc320 100644 --- a/configs/platform-v7a/config/images/beaglebone.config +++ b/configs/platform-v7a/config/images/beaglebone.config @@ -13,14 +13,12 @@ image @IMAGE@ { } partition boot { image = beaglebone-boot.vfat - size = 32M partition-type = 0xc bootable = true } partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/gf.config b/configs/platform-v7a/config/images/gf.config index 0b46c215b472..fbaddf15f527 100644 --- a/configs/platform-v7a/config/images/gf.config +++ b/configs/platform-v7a/config/images/gf.config @@ -13,14 +13,12 @@ image @IMAGE@ { } partition boot { image = gf-boot.vfat - size = 32M partition-type = 0xc bootable = true } partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/riotboard.config b/configs/platform-v7a/config/images/riotboard.config index fff1f6081aba..9558af38583a 100644 --- a/configs/platform-v7a/config/images/riotboard.config +++ b/configs/platform-v7a/config/images/riotboard.config @@ -13,7 +13,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/rpi2.config b/configs/platform-v7a/config/images/rpi2.config index 3e45e1af5e54..f8da7d412e87 100644 --- a/configs/platform-v7a/config/images/rpi2.config +++ b/configs/platform-v7a/config/images/rpi2.config @@ -13,14 +13,12 @@ image @IMAGE@ { } partition boot { image = rpi2-boot.vfat - size = 32M partition-type = 0xc bootable = true } partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/rpi3.config b/configs/platform-v7a/config/images/rpi3.config index 7bd1dae8dc46..f87a72743b4d 100644 --- a/configs/platform-v7a/config/images/rpi3.config +++ b/configs/platform-v7a/config/images/rpi3.config @@ -13,14 +13,12 @@ image @IMAGE@ { } partition boot { image = rpi3-boot.vfat - size = 32M partition-type = 0xc bootable = true } partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/rpicm3.config b/configs/platform-v7a/config/images/rpicm3.config index 4c10ac4917ca..d0c4c5959e3b 100644 --- a/configs/platform-v7a/config/images/rpicm3.config +++ b/configs/platform-v7a/config/images/rpicm3.config @@ -13,14 +13,12 @@ image @IMAGE@ { } partition boot { image = rpicm3-boot.vfat - size = 32M partition-type = 0xc bootable = true } partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/sabrelite.config b/configs/platform-v7a/config/images/sabrelite.config index df979d6fa22c..6fe4da7d9113 100644 --- a/configs/platform-v7a/config/images/sabrelite.config +++ b/configs/platform-v7a/config/images/sabrelite.config @@ -13,7 +13,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 diff --git a/configs/platform-v7a/config/images/stm32mp.config b/configs/platform-v7a/config/images/stm32mp.config index cbf965812626..eb6065c64c1a 100644 --- a/configs/platform-v7a/config/images/stm32mp.config +++ b/configs/platform-v7a/config/images/stm32mp.config @@ -21,7 +21,6 @@ image @IMAGE@ { } partition root { image = root.ext2 - size = 512M } partition data { size = 100M diff --git a/configs/platform-v7a/config/images/udoo-neo.config b/configs/platform-v7a/config/images/udoo-neo.config index de5aae9be331..6a3a8eb1eb69 100644 --- a/configs/platform-v7a/config/images/udoo-neo.config +++ b/configs/platform-v7a/config/images/udoo-neo.config @@ -13,7 +13,6 @@ image @IMAGE@ { partition root-A { image = root.ext2 partition-type = 0x83 - size = 512M } partition data { partition-type = 0x83 -- 2.29.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de