From 3701e8fc3d7046745d41fe53d61f8037e0fbf131 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Mon, 11 Feb 2019 17:18:24 +0100 Subject: v7a: image-vexpress: fix comment in image config Signed-off-by: Roland Hieber --- configs/platform-v7a/config/images/vexpress.config | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'configs/platform-v7a/config') 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 -- cgit v1.2.3