scripts/runqemu: add support to pass bootparams to kernel
(From OE-Core rev: 4a2d3cfeeef4de6da1301c65033fa251538cddc9) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
628d09cdff
commit
6f5066a3a0
|
@ -135,6 +135,9 @@ while [ $i -le $# ]; do
|
|||
SCRIPT_QEMU_OPT="$SCRIPT_QEMU_OPT -serial stdio"
|
||||
SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT console=ttyS0"
|
||||
;;
|
||||
"bootparams="*)
|
||||
SCRIPT_KERNEL_OPT="$SCRIPT_KERNEL_OPT ${arg##bootparams=}"
|
||||
;;
|
||||
"audio")
|
||||
if [[ "x$MACHINE" == "xqemux86" || "x$MACHINE" == "xqemux86-64" ]]; then
|
||||
echo "Enable audio on qemu. Pls. install snd_intel8x0 or snd_ens1370 driver in linux guest.";
|
||||
|
|
Loading…
Reference in New Issue