Re: [isar-cip-core] [PATCH] scripts/start-efishell.sh: Add -nographic option


Jan Kiszka
 

On 27.06.22 09:12, Sarath P T wrote:
From: sarath P T <Sarath_PT@...>

When we launch the start-efishell.sh script for
adding the keys into OVMF firmware we faced
gtk initialization failed error. So it seems
we need to open the OVMF in nographic mode, hence
we added the required option to the script.
Which QEMU-Version? Which OVMF version (buster/bullseye/something else)?
I'm not seeing this, but I'm facing other issues with that firmware
provided by bullseye (a crash).

Signed-off-by: sarath P T <Sarath_PT@...>
---
scripts/start-efishell.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/start-efishell.sh b/scripts/start-efishell.sh
index d451f43..0831f83 100755
--- a/scripts/start-efishell.sh
+++ b/scripts/start-efishell.sh
@@ -2,7 +2,7 @@
ovmf_code=${OVMF_CODE:-/usr/share/OVMF/OVMF_CODE.secboot.fd}
ovmf_vars=${OVMF_VARS:-./OVMF_VARS.fd}
DISK=$1
-qemu-system-x86_64 -enable-kvm -M q35 \
+qemu-system-x86_64 -enable-kvm -M q35 -nographic \
-cpu host,hv_relaxed,hv_vapic,hv-spinlocks=0xfff -smp 2 -m 2G -no-hpet \
-global ICH9-LPC.disable_s3=1 \
-global isa-fdc.driveA= \
Jan

--
Siemens AG, Technology
Competence Center Embedded Linux

Join cip-dev@lists.cip-project.org to automatically receive all group messages.