summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/config/images/vexpress.config
diff options
context:
space:
mode:
Diffstat (limited to 'configs/platform-v7a/config/images/vexpress.config')
-rw-r--r--configs/platform-v7a/config/images/vexpress.config6
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/platform-v7a/config/images/vexpress.config b/configs/platform-v7a/config/images/vexpress.config
index 7cfaaaa..07125be 100644
--- a/configs/platform-v7a/config/images/vexpress.config
+++ b/configs/platform-v7a/config/images/vexpress.config
@@ -12,7 +12,11 @@ image @IMAGE@ {
partition-type = 0x83
size = 512M
}
- /* expand image size to 64 MiB; dummy size, results in 0 bytes length */
+ /* 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
+ * partition at the end.
+ */
partition end {
image = /dev/null
size = 1M