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

Bastian Germann bage at linutronix.de
Fri May 7 10:37:50 CEST 2021


Am 06.05.21 um 14:55 schrieb Torben Hohn:
> 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>

Reviewed-by: Bastian Germann <bage 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>
> 


More information about the elbe-devel mailing list