[elbe-devel] [PATCH 04/14] tests: simple-armhf: make sdcard exactly 2Gib large.
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Wed Feb 28 11:34:55 CET 2024
Otherwise qemu complains:
qemu-system-arm: Invalid SD card size: 1.95 GiB
SD card size has to be a power of 2, e.g. 2 GiB.
You can resize disk images with 'qemu-img resize <imagefile> <new-size>'
(note that this will lose data if you make the image smaller than it currently is).
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
tests/simple-armhf.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/simple-armhf.xml b/tests/simple-armhf.xml
index 4b8b2c351d2b..a6aa7acc9b7e 100644
--- a/tests/simple-armhf.xml
+++ b/tests/simple-armhf.xml
@@ -34,7 +34,7 @@ SPDX-FileCopyrightText: Linutronix GmbH
<images>
<msdoshd>
<name>sda.img</name>
- <size>2000MiB</size>
+ <size>2048MiB</size>
<grub-install />
<partition>
<size>1900MiB</size>
--
2.44.0
More information about the elbe-devel
mailing list