[elbe-devel] [PATCH v2 08/10] tests: simple-armhf.xml: set <check> drive interface and kernel cmdline

Torben Hohn torben.hohn at linutronix.de
Fri May 7 08:51:24 CEST 2021


The img check fails, because no proper parameters are specified.

Specify the interface "sd". And use a proper kernel cmdline for
2 reasons:

- Specify console, so that we actually see some output.
- Specify root

Signed-off-by: Torben Hohn <torben.hohn 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 2894bc83d..1f30229c8 100644
--- a/tests/simple-armhf.xml
+++ b/tests/simple-armhf.xml
@@ -79,7 +79,7 @@
 		<check>
 			<img>sda.img.tar.gz</img>
 			<interpreter>qemu-system-arm</interpreter>
-			<interpreter-opts>-m 2G -M vexpress-a15 -drive format=raw,file=$ELBE_IMG -nographic -kernel vmlinuz -initrd initrd.img -dtb dtb</interpreter-opts>
+			<interpreter-opts>-m 2G -M vexpress-a15 -drive format=raw,file=$ELBE_IMG,if=sd -nographic -kernel vmlinuz -initrd initrd.img -dtb dtb -append "console=ttyAMA0,115200 root=/dev/mmcblk0p1"</interpreter-opts>
 			<action> <login /> </action>
 		</check>
 	</check-image-list>
-- 
2.20.1



More information about the elbe-devel mailing list