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


Kanagarajan, Vijaikumar
 

-----Original Message-----
From: cip-dev@... <cip-dev@...> On
Behalf Of Jan Kiszka
Sent: 27 June 2022 13:44
To: P T, Sarath <Sarath_PT@...>; cip-dev@...
Subject: Re: [cip-dev] [isar-cip-core] [PATCH] scripts/start-efishell.sh: Add -
nographic option

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).
Nope. Not related to OVMF crashes. This is just to make the script work on headless systems/over ssh.

Sarath,
Can you send a V2 with a modified commit message. The latter half is a bit misleading. Probably you meant
"open QEMU" and not OVMF.

Thanks,
Vijai Kumar K



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.