aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-12-16 20:59:08 -0700
committerTom Rini <trini@konsulko.com>2021-12-23 10:24:39 -0500
commit6d7636c946b85390a984402c0422f6270a45befd (patch)
tree5cd6a177714ab75adaff2abcfe7e1414f8fb38c0 /doc
parent00a4280d776cd5b26bcdb3a9e0b600b5df0be4cd (diff)
downloadu-boot-6d7636c946b85390a984402c0422f6270a45befd.zip
u-boot-6d7636c946b85390a984402c0422f6270a45befd.tar.gz
u-boot-6d7636c946b85390a984402c0422f6270a45befd.tar.bz2
arm: qemu: Mention -nographic in the docs
Without this option QEMU appears to hang. Add it to avoid confusion. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/board/emulation/qemu-arm.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst
index 7c24e29..23abe09 100644
--- a/doc/board/emulation/qemu-arm.rst
+++ b/doc/board/emulation/qemu-arm.rst
@@ -41,14 +41,15 @@ The minimal QEMU command line to get U-Boot up and running is:
- For ARM::
- qemu-system-arm -machine virt -bios u-boot.bin
+ qemu-system-arm -machine virt -nographic -bios u-boot.bin
- For AArch64::
- qemu-system-aarch64 -machine virt -cpu cortex-a57 -bios u-boot.bin
+ qemu-system-aarch64 -machine virt -nographic -cpu cortex-a57 -bios u-boot.bin
Note that for some odd reason qemu-system-aarch64 needs to be explicitly
-told to use a 64-bit CPU or it will boot in 32-bit mode.
+told to use a 64-bit CPU or it will boot in 32-bit mode. The -nographic argument
+ensures that output appears on the terminal. Use Ctrl-A X to quit.
Additional persistent U-boot environment support can be added as follows: