On Wed, 2026-10-28 at 14:30 +1000, Portia Stephens wrote: > This updates the Atlantis documentation to include new machine > properties for running the RCPU. > > Signed-off-by: Portia Stephens <[email protected]>
- [LOW] docs/system/riscv/tt_atlantis.rst: the new Boot options text says UART0 is mapped to the second -serial when rcpu=on (the default), but the Known limitations bullet still claims only UART1 is exposed on the command line serial interface; tt_atlantis_soc_realize in hw/riscv/tt_atlantis.c wires UART0 to serial_hd(1) whenever the RCPU is present. Update the limitations bullet so the page does not contradict itself. - [LOW] docs/system/riscv/tt_atlantis.rst (Boot options, smp bullet): the option name is transposed as smp -cpus (should be -smp cpus=) and the bullet ends with the fragment "To run with only one Ascalon hart and no RCPU." followed immediately by the example block; end it with a colon like the parallel bullet above. - [LOW] docs/system/riscv/tt_atlantis.rst (Debugging): typo gbd for gdb in the lead-in sentence telling users how to debug the machine. s/gbd/gdb/ Alistair > --- > docs/system/gdb.rst | 2 ++ > docs/system/riscv/tt_atlantis.rst | 40 > +++++++++++++++++++++++++++++++ > 2 files changed, 42 insertions(+) > > diff --git a/docs/system/gdb.rst b/docs/system/gdb.rst > index b6d8f8e77d..3777630337 100644 > --- a/docs/system/gdb.rst > +++ b/docs/system/gdb.rst > @@ -79,6 +79,8 @@ debug some interaction between kernel and user- > space you are better > off running your guest program with gdb either in the guest or using > a gdbserver exposed via a port to the outside world. > > +.. _GDB multicore: > + > Debugging multicore machines > ============================ > > diff --git a/docs/system/riscv/tt_atlantis.rst > b/docs/system/riscv/tt_atlantis.rst > index d94d064f4f..77dfacff3c 100644 > --- a/docs/system/riscv/tt_atlantis.rst > +++ b/docs/system/riscv/tt_atlantis.rst > @@ -12,10 +12,37 @@ tt-atlantis QEMU model features > ------------------------------- > > * 8-core Ascalon-X CPU Cluster > +* RV32 Real-time CPU (RCPU) > * RISC-V compliant Advanced Interrupt Architecture > * DW8250 compatible UART x5 > * 4 PRCMs (Clock and Reset Controllers) > > +Boot options > +------------ > + > + * ``rcpu`` enables the RCPU model to run alongside the Ascalon > cluster and is > + enabled by default. When the RCPU is enabled, ``UART0``, the > RCPU's console, > + will be mapped to the second -serial on the command line. > + * ``bootrom`` binary to be loaded into mask ROM and run by the RCPU > (no effect if the > + rcpu is not enabled) > + > +To enable the RCPU model with a custom binary and the RCPU console > on stdio: > + > +.. code-block:: bash > + > + -M tt-atlantis,rcpu=on,bootrom=../path/to/binary.bin -serial null > -serial stdio > + > + * ``smp -cpus`` The smp cpu field includes the RCPU count. When > rcpu=on, the > + number of Ascalon harts created is smp.cpus - 1. When rcpu=off, > the number > + of Ascalon harts created is smp.cpus. To run with only one > Ascalon hart and > + no RCPU. > + > +.. code-block:: bash > + > + -M tt-atlantis,rcpu=off -smp cpus=1 > + > + > + > Known limitations > ----------------- > > @@ -39,3 +66,16 @@ and Linux with default configurations. > The development board hardware will require some implementation > specific setup in firmware which is being developed and may > become a requirement or option for the tt-atlantis machine. > + > +Debugging > +---------- > + > +Ascalon and RCPU are on separate CPUClusters which allows gdb to put > Ascalon > +and RCPU on separate inferiors. This prevents issues with switching > between > +RV32 (RCPU) and RV64 (Ascalon) targets. > + > +By default, gdb will connect to inferior 1, the Ascalon cluster and > the RCPU > +will be on inferior 2. > + > +gbd does not handle multiple inferiors by default, see :ref:`gdb > multicore` > +for how to connect to inferior 2.
