From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH 13/15] v7a: image-vexpress: slim down image
Date: Tue, 15 Sep 2020 20:59:18 +0200 [thread overview]
Message-ID: <20200915185920.3353-13-rhi@pengutronix.de> (raw)
In-Reply-To: <20200915185920.3353-1-rhi@pengutronix.de>
We don't need the whole 1 GiB image, the rootfs is only about 50 MiB in
size. Slim the image down to 64 MiB rootfs + 63 MiB data and 1 MiB of
padding at the end to keep the kernel happy.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
configs/platform-v7a/config/images/vexpress.config | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/configs/platform-v7a/config/images/vexpress.config b/configs/platform-v7a/config/images/vexpress.config
index 07125bea4c88..17fcf5ec414c 100644
--- a/configs/platform-v7a/config/images/vexpress.config
+++ b/configs/platform-v7a/config/images/vexpress.config
@@ -6,21 +6,22 @@ image @IMAGE@ {
partition root-A {
image = root.ext2
partition-type = 0x83
- size = 512M
+ size = 64M
}
partition data {
partition-type = 0x83
- size = 512M
+ size = 63M
}
/* genimage does not write zeros at the end of an image to save space,
* but the kernel in qemu will complain if the image file is smaller
- * than the partition sizes. work around this by adding an empty
+ * than the partition sizes, and qemu will complain if the SD card size
+ * is not a power of 2. work around this issues by adding an empty
* partition at the end.
*/
partition end {
image = /dev/null
size = 1M
- offset = 1025M
+ offset = 128M
in-partition-table = false
}
}
--
2.28.0
_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de
next prev parent reply other threads:[~2020-09-15 18:59 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-15 18:59 [DistroKit] [PATCH 01/15] PTXdist: migrate 2020.08.0 -> 2020.09.0 Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 02/15] strace: remove local version bump Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 03/15] iproute2: document upstream fix for our local fork Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 04/15] mips: kernel: version bump 5.6.2 -> 5.8.9 Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 05/15] rpi: " Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 06/15] rpi: install kernel into /boot so that barebox can find it Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 07/15] rpi: barebox: version bump 2018.03.0 -> 2020.08.1 Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 08/15] rpi: barebox: migrate defaultenv from /env/config to nv variables Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 09/15] doc: rpi: mention that Raspberry Pi Zero W is also supported Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 10/15] v7a: kernel: version bump 5.8 -> 5.8.9 Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 11/15] v7a: images: add more helpful kconfig help texts Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 12/15] v7a: barebox: version bump 2020.06.0 -> 2020.08.1 Roland Hieber
2020-09-15 18:59 ` Roland Hieber [this message]
2020-09-15 18:59 ` [DistroKit] [PATCH 14/15] v8a: kernel: version bump 5.8 -> 5.8.9 Roland Hieber
2020-09-15 18:59 ` [DistroKit] [PATCH 15/15] x86_64: kernel: version bump 5.6.2 " Roland Hieber
2020-09-17 18:44 ` [DistroKit] [PATCH 01/15] PTXdist: migrate 2020.08.0 -> 2020.09.0 Robert Schwebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200915185920.3353-13-rhi@pengutronix.de \
--to=rhi@pengutronix.de \
--cc=distrokit@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox