diff mbox series

[v7,02/31] arm: qemu: Mention -nographic in the docs

Message ID 20211207001209.3467163-3-sjg@chromium.org
State Changes Requested
Delegated to: Tom Rini
Headers show
Series fdt: Make OF_BOARD a boolean option | expand

Commit Message

Simon Glass Dec. 7, 2021, 12:11 a.m. UTC
Without this option QEMU appears to hang. Add it to avoid confusion.

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

(no changes since v1)

 doc/board/emulation/qemu-arm.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Comments

Heinrich Schuchardt Dec. 7, 2021, 1 a.m. UTC | #1
On 12/6/21 16:11, Simon Glass wrote:
> Without this option QEMU appears to hang. Add it to avoid confusion.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>

I think there was some work to get a virtio framebuffer working. But
adding -nographic is ok.

Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

> ---
>
> (no changes since v1)
>
>   doc/board/emulation/qemu-arm.rst | 7 ++++---
>   1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst
> index 584ef0a7e15..8bd7b60cdb4 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:
>
>
diff mbox series

Patch

diff --git a/doc/board/emulation/qemu-arm.rst b/doc/board/emulation/qemu-arm.rst
index 584ef0a7e15..8bd7b60cdb4 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: