summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/config
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2020-09-15 20:59:18 +0200
committerRoland Hieber <rhi@pengutronix.de>2020-09-15 21:00:36 +0200
commitf9437ed4c512f6aa53a9312b16b5329d94cf3207 (patch)
treec25baeaf4fb8ac816e69b0f666281532623fdfe0 /configs/platform-v7a/config
parent727c0fd152151c17c1905baeff1466334093976c (diff)
downloadDistroKit-f9437ed4c512f6aa53a9312b16b5329d94cf3207.tar.gz
DistroKit-f9437ed4c512f6aa53a9312b16b5329d94cf3207.tar.xz
v7a: image-vexpress: slim down image
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>
Diffstat (limited to 'configs/platform-v7a/config')
-rw-r--r--configs/platform-v7a/config/images/vexpress.config9
1 files changed, 5 insertions, 4 deletions
diff --git a/configs/platform-v7a/config/images/vexpress.config b/configs/platform-v7a/config/images/vexpress.config
index 07125be..17fcf5e 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
}
}