From: Portia Stephens <[email protected]>

Add documentation describing how to use the console machine property to
control the console.

Signed-off-by: Portia Stephens <[email protected]>
---
 docs/system/riscv/tt_atlantis.rst | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/docs/system/riscv/tt_atlantis.rst 
b/docs/system/riscv/tt_atlantis.rst
index 1f2880d617..167cd57c27 100644
--- a/docs/system/riscv/tt_atlantis.rst
+++ b/docs/system/riscv/tt_atlantis.rst
@@ -15,6 +15,20 @@ tt-atlantis QEMU model features
 * RISC-V compliant Advanced Interrupt Architecture
 * 16550A compatible UART
 
+Boot options
+----------------
+
+ * ``console`` to change the default console device. Most of the
+   machines use the ``UART1`` device for a boot console, which is
+   mapped on ``/dev/ttyS0`` under Linux, but it is not always the
+   case.
+
+To change the boot console and use device ``UART3``
+
+.. code-block:: bash
+
+  -M tt-atlantis,console=uart3
+
 Known limitations
 -----------------
 
@@ -24,9 +38,6 @@ real platform. Notably:
 * There is no PCI host bridge, so virtio-pci devices cannot be
   attached. Boots that need block storage must use ``-initrd`` with
   an initramfs.
-* The DesignWare UART is modelled with QEMU's ns16550-compatible
-  ``serial_mm`` device; DesignWare-specific registers beyond that
-  set return 0.
 
 Supported software
 ------------------
-- 
2.43.0


Reply via email to