diff mbox series

[v3,09/13] efi: Adjust script to show pre-relocation output on terminal

Message ID 20230225222303.2232331-10-sjg@chromium.org
State Superseded, archived
Delegated to: Heinrich Schuchardt
Headers show
Series video: efi: Improve the EFI-app video console | expand

Commit Message

Simon Glass Feb. 25, 2023, 10:22 p.m. UTC
When running with video enabled, the pre-relocation output of U-Boot is
currently lost. Add a -serial flag to show it on the terminal.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

(no changes since v1)

 scripts/build-efi.sh | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/scripts/build-efi.sh b/scripts/build-efi.sh
index bc9aeebbf4f..46c28807ef1 100755
--- a/scripts/build-efi.sh
+++ b/scripts/build-efi.sh
@@ -96,6 +96,8 @@  run_qemu() {
 	fi
 	if [[ -n "${serial}" ]]; then
 		extra="-display none -serial mon:stdio"
+	else
+		extra="-serial mon:stdio"
 	fi
 	echo "Running ${qemu}"
 	# Use 512MB since U-Boot EFI likes to have 256MB to play with