aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-29 11:57:50 -0700
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2021-12-31 07:18:56 +0100
commit13bfaab3dab42d181327623208c0c299652632eb (patch)
tree0b711a39eb3b309642420a0cd786c29a7b7aa27e /include
parent62725e661a17d1c3f3784f115917560c1126aeaa (diff)
downloadu-boot-13bfaab3dab42d181327623208c0c299652632eb.zip
u-boot-13bfaab3dab42d181327623208c0c299652632eb.tar.gz
u-boot-13bfaab3dab42d181327623208c0c299652632eb.tar.bz2
efi: Allow easy selection of serial-only operation
Add info about how to select vidconsole or serial. Also set up a demo boot command. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/configs/efi-x86_app.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/include/configs/efi-x86_app.h b/include/configs/efi-x86_app.h
index 6061a6d..33afb7c 100644
--- a/include/configs/efi-x86_app.h
+++ b/include/configs/efi-x86_app.h
@@ -10,8 +10,33 @@
#undef CONFIG_TPM_TIS_BASE_ADDRESS
+/*
+ * Select the output device: Put an 'x' prefix before one of these to disable it
+ */
+
+/*
+ * Video output - can normally continue after exit_boot_services has been
+ * called, since output to the display does not require EFI services at that
+ * point. U-Boot sets up the console memory and does its own drawing.
+ */
#define CONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
"stdout=vidconsole\0" \
"stderr=vidconsole\0"
+/*
+ * Serial output with no console. Run qemu with:
+ *
+ * -display none -serial mon:stdio
+ *
+ * This will hang or fail to output on the console after exit_boot_services is
+ * called.
+ */
+#define xCONFIG_STD_DEVICES_SETTINGS "stdin=serial\0" \
+ "stdout=serial\0" \
+ "stderr=serial\0"
+
+#undef CONFIG_BOOTCOMMAND
+
+#define CONFIG_BOOTCOMMAND "part list efi 0; fatls efi 0:1"
+
#endif