Skip to content

Commit 4adbfa4

Browse files
Yoshinori Satophilmd
authored andcommitted
docs: Document the RX target
Add rx-virt target specification document. Signed-off-by: Yoshinori Sato <[email protected]> Message-Id: <[email protected]> [PMD: Cover in MAINTAINERS, rename as gdbsim, use machine argument] Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Richard Henderson <[email protected]>
1 parent cf66562 commit 4adbfa4

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,6 +1261,7 @@ RX Machines
12611261
rx-gdbsim
12621262
M: Yoshinori Sato <[email protected]>
12631263
S: Maintained
1264+
F: docs/system/target-rx.rst
12641265
F: hw/rx/rx-gdbsim.c
12651266
F: tests/acceptance/machine_rx_gdbsim.py
12661267

docs/system/target-rx.rst

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.. _RX-System-emulator:
2+
3+
RX System emulator
4+
--------------------
5+
6+
Use the executable ``qemu-system-rx`` to simulate RX target (GDB simulator).
7+
This target emulated following devices.
8+
9+
- R5F562N8 MCU
10+
11+
- On-chip memory (ROM 512KB, RAM 96KB)
12+
- Interrupt Control Unit (ICUa)
13+
- 8Bit Timer x 1CH (TMR0,1)
14+
- Compare Match Timer x 2CH (CMT0,1)
15+
- Serial Communication Interface x 1CH (SCI0)
16+
17+
- External memory 16MByte
18+
19+
Example of ``qemu-system-rx`` usage for RX is shown below:
20+
21+
Download ``<u-boot_image_file>`` from
22+
https://osdn.net/users/ysato/pf/qemu/dl/u-boot.bin.gz
23+
24+
Start emulation of rx-virt::
25+
qemu-system-rx -M gdbsim-r5f562n8 -bios <u-boot_image_file>
26+
27+
Download ``kernel_image_file`` from
28+
https://osdn.net/users/ysato/pf/qemu/dl/zImage
29+
30+
Download ``device_tree_blob`` from
31+
https://osdn.net/users/ysato/pf/qemu/dl/rx-virt.dtb
32+
33+
Start emulation of rx-virt::
34+
qemu-system-rx -M gdbsim-r5f562n8 \
35+
-kernel <kernel_image_file> -dtb <device_tree_blob> \
36+
-append "earlycon"

docs/system/targets.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ Contents:
1818
target-m68k
1919
target-xtensa
2020
target-s390x
21+
target-rx

0 commit comments

Comments
 (0)