This module supported only non FIFO type.
Hardware manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf
Signed-off-by: Yoshinori Sato
Reviewed-by: Alex Bennée
---
include/hw/char/renesas_sci.h | 45 ++
hw/char/renesas_sci.c | 340
This part only supported RXv1 instructions.
Instruction manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01us0032ej0120_rxsm.pdf
Signed-off-by: Yoshinori Sato
Reviewed-by: Richard Henderson
Tested-by: Philippe Mathieu-Daudé
---
target/rx/translate.c | 2432
On Thu, 16 May 2019 19:44:52 +0900,
Philippe Mathieu-Daudé wrote:
>
> Hi Yoshinori,
>
> On 5/16/19 6:13 AM, Yoshinori Sato wrote:
> > On Thu, 16 May 2019 01:48:29 +0900,
> > Richard Henderson wrote:
> [...]>> Rather than having you send out a v13 with o
"earlycon"
Yoshinori Sato (12):
qemu/bitops.h: Add extract8 and extract16
hw/registerfields.h: Add 8bit and 16bit register macros.
target/rx: TCG translation
target/rx: TCG helper
target/rx: CPU definition
target/rx: RX disassembler
hw/intc: RX62N interrupt controller (ICUa)
Signed-off-by: Yoshinori Sato
---
MAINTAINERS | 21 +
1 file changed, 21 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index a6948ebc63..36c4577d6c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -272,6 +272,13 @@ F: include/hw/riscv/
F: linux-user/host/riscv32/
F
Signed-off-by: Yoshinori Sato
Reviewed-by: Richard Henderson
Reviewed-by: Philippe Mathieu-Daudé
---
include/qemu/bitops.h | 38 ++
1 file changed, 38 insertions(+)
diff --git a/include/qemu/bitops.h b/include/qemu/bitops.h
index 3f0926cf40..764f9d1ea0
Some RX peripheral using 8bit and 16bit registers.
Added 8bit and 16bit APIs.
Signed-off-by: Yoshinori Sato
---
include/hw/registerfields.h | 30 +-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/include/hw/registerfields.h b/include/hw
This module supported only non FIFO type.
Hardware manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf
Signed-off-by: Yoshinori Sato
Reviewed-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
---
include/hw/char/renesas_sci.h | 45 ++
hw
This implementation supported only ICUa.
Hardware manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf
Signed-off-by: Yoshinori Sato
---
include/hw/intc/rx_icu.h | 55 +++
hw/intc/rx_icu.c | 376
Signed-off-by: Yoshinori Sato
Tested-by: Philippe Mathieu-Daudé
Reviewed-by: Philippe Mathieu-Daudé
---
configure | 8
default-configs/rx-softmmu.mak | 3 +++
include/sysemu/arch_init.h | 1 +
arch_init.c| 2 ++
hw/Kconfig
renesas_tmr: 8bit timer modules.
renesas_cmt: 16bit compare match timer modules.
This part use many renesas's CPU.
Hardware manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf
Signed-off-by: Yoshinori Sato
---
include/hw/timer/renesas_cmt.h
Signed-off-by: Yoshinori Sato
Reviewed-by: Richard Henderson
---
target/rx/helper.h| 31
target/rx/helper.c| 148
target/rx/op_helper.c | 481 ++
3 files changed, 660 insertions(+)
create mode 100644 target/rx
rx62n - RX62N cpu.
rx-virt - RX QEMU virtual target.
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx.h| 7 ++
include/hw/rx/rx62n.h | 94
hw/rx/rx-virt.c | 105 ++
hw/rx/rx62n.c | 238
This part only supported RXv1 instructions.
Instruction manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01us0032ej0120_rxsm.pdf
Signed-off-by: Yoshinori Sato
---
target/rx/translate.c | 2420 +++
target/rx/Makefile.objs
Signed-off-by: Yoshinori Sato
---
target/rx/cpu.h | 227 +++
target/rx/cpu.c | 239 ++
target/rx/gdbstub.c | 112 +++
target/rx/monitor.c | 38
target/rx
Signed-off-by: Yoshinori Sato
Reviewed-by: Richard Henderson
Tested-by: Philippe Mathieu-Daudé
---
include/disas/dis-asm.h |5 +
target/rx/disas.c | 1480 +++
2 files changed, 1485 insertions(+)
create mode 100644 target/rx/disas.c
diff
On Wed, 22 May 2019 23:50:41 +0900,
Philippe Mathieu-Daudé wrote:
>
> Hi Yoshinori,
>
> On 5/22/19 4:29 PM, Yoshinori Sato wrote:
> > Hello.
> > This patch series is added Renesas RX target emulation.
> >
> > Fix is bellow.
> > - Reorder patches.
&
It only supported RXv1 instructions.
Signed-off-by: Yoshinori Sato
---
disas/Makefile.objs |1 +
disas/rx.c | 1277 +++
include/disas/bfd.h |5 +
3 files changed, 1283 insertions(+)
create mode 100644 disas/rx.c
diff --git a
Hello.
This patch series is added Renesas RX target emulation.
My git repository is bellow.
git://git.pf.osdn.net/gitroot/y/ys/ysato/qemu.git
Since my understanding is not enough,
I want many comments to make this a good one.
Thanks.
Yoshinori Sato (11):
TCG translation
RX CPU definition
Signed-off-by: Yoshinori Sato
---
target/rx/helper.c | 143 +
1 file changed, 143 insertions(+)
create mode 100644 target/rx/helper.c
diff --git a/target/rx/helper.c b/target/rx/helper.c
new file mode 100644
index 00..1d00732c0c
This module supported only non FIFO type.
Hardware manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf?key=086621e01bd70347c18ea7f794aa9cc3
Signed-off-by: Yoshinori Sato
---
hw/char/Makefile.objs | 2 +-
hw/char/renesas_sci.c | 279
Signed-off-by: Yoshinori Sato
---
MAINTAINERS | 20
1 file changed, 20 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index af339b86db..c2aae46ffa 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -272,6 +272,14 @@ F: include/hw/riscv/
F: linux-user/host/riscv32/
F
rx62n - RX62N cpu.
rxqemu - QEMU virtual target.
Signed-off-by: Yoshinori Sato
---
hw/rx/Makefile.objs | 1 +
hw/rx/rx62n.c | 233 ++
hw/rx/rxqemu.c| 106 +++
include/hw/rx/rx.h| 7 ++
include/hw/rx
Signed-off-by: Yoshinori Sato
---
arch_init.c| 2 ++
configure | 8
default-configs/rx-softmmu.mak | 7 +++
include/sysemu/arch_init.h | 1 +
target/rx/Makefile.objs| 2 ++
5 files changed, 20 insertions(+)
create mode 100644
Signed-off-by: Yoshinori Sato
---
target/rx/gdbstub.c | 114
target/rx/monitor.c | 38 ++
2 files changed, 152 insertions(+)
create mode 100644 target/rx/gdbstub.c
create mode 100644 target/rx/monitor.c
diff --git a/target
Signed-off-by: Yoshinori Sato
---
target/rx/cpu-qom.h | 54 +
target/rx/cpu.c | 226
target/rx/cpu.h | 212
3 files changed, 492 insertions(+)
create mode 100644 target/rx
This implementation supported only ICUa.
Hardware manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf?key=086621e01bd70347c18ea7f794aa9cc3
Signed-off-by: Yoshinori Sato
---
hw/intc/Makefile.objs| 1 +
hw/intc/rx_icu.c | 313
This part only supported RXv1 instructions.
Instruction manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01us0032ej0120_rxsm.pdf
Signed-off-by: Yoshinori Sato
---
target/rx/helper.h| 22 +
target/rx/op_helper.c | 548 +
target/rx/translate.c | 3003
renesas_tmr: 8bit timer modules.
renesas_cmt: 16bit compare match timer modules.
This part use many renesas's CPU.
Hardware manual.
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf?key=086621e01bd70347c18ea7f794aa9cc3
Signed-off-by: Yoshinori Sato
--
On Mon, 21 Jan 2019 22:35:43 +0900,
Thomas Huth wrote:
>
> On 2019-01-21 14:15, Yoshinori Sato wrote:
> > This part only supported RXv1 instructions.
> > Instruction manual.
> > https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01us0032ej0120_rxsm.pd
On Wed, 23 Jan 2019 12:17:46 +0900,
Richard Henderson wrote:
>
> On 1/21/19 5:15 AM, Yoshinori Sato wrote:
> > +/* PSW condition operation */
> > +typedef struct {
> > +TCGv op_mode;
> > +TCGv op_a1[13];
> > +TCGv op_a2[13];
> > +
On Tue, 01 Sep 2020 05:38:37 +0900,
Philippe Mathieu-Daudé wrote:
>
> [1 ]
> [2 ]
> Hello Yoshinori,
>
> Le jeu. 27 août 2020 14:43, Yoshinori Sato a
> écrit :
>
> Hello.
> This series Renesas RX updates.
>
> It consists of the followi
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx62n.h | 4 ++--
hw/rx/rx62n.c | 2 +-
hw/rx/Kconfig | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/include/hw/rx/rx62n.h b/include/hw/rx/rx62n.h
index e0ca1cfc33..75945bae50 100644
--- a/include/hw/rx
Signed-off-by: Yoshinori Sato
---
include/elf.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/elf.h b/include/elf.h
index c117a4d1ab..d9bf4a95d8 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -172,6 +172,8 @@ typedef struct mips_elf_abiflags_v0 {
#define EM_UNICORE32110
Suppoerted format.
ELF, HEX, SREC and Raw firmware.
fit and Raw kernel image.
Signed-off-by: Yoshinori Sato
---
include/hw/rx/loader.h | 35
hw/rx/loader.c | 182 +
hw/rx/Kconfig | 1 +
hw/rx/meson.build | 1 +
4 files
Signed-off-by: Yoshinori Sato
---
include/hw/loader.h | 14 +++
hw/core/loader.c| 208
2 files changed, 222 insertions(+)
diff --git a/include/hw/loader.h b/include/hw/loader.h
index a9eeea3952..6f1fb62ded 100644
--- a/include/hw/loader.h
+++ b
This module replaced to unified renesas_timer.
Signed-off-by: Yoshinori Sato
---
include/hw/timer/renesas_cmt.h | 40 -
hw/timer/renesas_cmt.c | 283 -
2 files changed, 323 deletions(-)
delete mode 100644 include/hw/timer/renesas_cmt.h
delete mode
TMU - SH4 Timer module.
CMT - Compare and match timer used by some Renesas MCUs.
The two modules have similar interfaces and have been merged.
Signed-off-by: Yoshinori Sato
---
include/hw/timer/renesas_timer.h | 103 +
hw/timer/renesas_timer.c | 639
Separate the loading of the firmware from the target definition
as it is an obstacle to adding more targets.
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx62n.h | 15 +++
hw/rx/rx-gdbsim.c | 98 +--
hw/rx/rx62n.c | 25 ---
3
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx62n.h | 3 +++
hw/rx/rx62n.c | 26 ++
hw/rx/Kconfig | 3 ++-
3 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/include/hw/rx/rx62n.h b/include/hw/rx/rx62n.h
index 170c8cb6fc..4f11ca3fd9
It most popular RX target board in Japan.
Signed-off-by: Yoshinori Sato
---
default-configs/rx-softmmu.mak | 1 +
hw/rx/cq-frk-rx62n.c | 94 ++
hw/rx/Kconfig | 3 ++
hw/rx/meson.build | 1 +
4 files changed, 99
real hardware target.
- TokushudenshiKairo TKDN-RX62N-BRD.
- CQ publishing CQ-FRK-RX62N
Yoshinori Sato (20):
loader.c: Add support Motrola S-record format.
include/elf.h: Add EM_RX.
hw/rx: Firmware and kernel loader.
hw/rx: New firmware loader.
hw/rx: Add RX62N Clock generator
hw
This module supported SCI / SCIa / SCIF.
Hardware manual.
SCI / SCIF
https://www.renesas.com/us/en/doc/products/mpumcu/001/r01uh0457ej0401_sh7751.pdf
SCIa
https://www.renesas.com/us/en/doc/products/mpumcu/doc/rx_family/r01uh0033ej0140_rx62n.pdf
Signed-off-by: Yoshinori Sato
---
include/hw/char
This module generated core and peripheral clock.
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx62n-cpg.h | 72
include/hw/rx/rx62n.h | 5 +-
hw/rx/rx62n-cpg.c | 344 ++
hw/rx/rx62n.c | 52 +++---
hw/rx/meson.build
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx62n.h | 2 +-
hw/rx/rx62n.c | 7 ++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/include/hw/rx/rx62n.h b/include/hw/rx/rx62n.h
index 1182ca24de..f463148799 100644
--- a/include/hw/rx/rx62n.h
+++ b/include/hw/rx
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx62n.h | 4 ++--
hw/rx/Kconfig | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/hw/rx/rx62n.h b/include/hw/rx/rx62n.h
index 75945bae50..1182ca24de 100644
--- a/include/hw/rx/rx62n.h
+++ b/include/hw/rx/rx62n.h
Hardware information.
http://www.tokudenkairo.co.jp/rx62n/
(Japanese)
Signed-off-by: Yoshinori Sato
---
default-configs/rx-softmmu.mak | 1 +
hw/rx/tkdn-rx62n.c | 192 +
hw/rx/Kconfig | 6 ++
hw/rx/meson.build | 1
Signed-off-by: Yoshinori Sato
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 5a22c8be42..cee8448a73 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2054,9 +2054,11 @@ F: hw/char/renesas_sci.c
F: hw/char/sh_serial.c
F: hw/timer/renesas_*.c
Rewrite for clock API.
Signed-off-by: Yoshinori Sato
---
include/hw/timer/renesas_tmr.h | 55
include/hw/timer/renesas_tmr8.h | 67
hw/timer/renesas_tmr.c | 477
hw/timer/renesas_tmr8.c | 540
hw/timer
Signed-off-by: Yoshinori Sato
---
include/hw/rx/rx62n.h | 3 +++
hw/rx/rx62n.c | 28
hw/rx/Kconfig | 1 +
3 files changed, 32 insertions(+)
diff --git a/include/hw/rx/rx62n.h b/include/hw/rx/rx62n.h
index f463148799..170c8cb6fc 100644
--- a/include
Signed-off-by: Yoshinori Sato
---
include/hw/net/renesas_eth.h | 57 +++
hw/net/renesas_eth.c | 875 +++
hw/net/Kconfig | 5 +
hw/net/meson.build | 1 +
4 files changed, 938 insertions(+)
create mode 100644 include/hw/net
Only supported link status.
Signed-off-by: Yoshinori Sato
---
include/hw/net/mdio.h | 126
hw/net/mdio.c | 264 ++
hw/net/Kconfig| 3 +
hw/net/meson.build| 2 +
4 files changed, 395 insertions(+)
create mode
Signed-off-by: Yoshinori Sato
---
include/hw/timer/renesas_mtu.h | 90 +++
hw/timer/renesas_mtu.c | 1312
hw/timer/Kconfig |2 +
hw/timer/meson.build |1 +
4 files changed, 1405 insertions(+)
create mode 100644 include
On Mon, 29 Jun 2020 18:58:56 +0900,
Philippe Mathieu-Daudé wrote:
>
> Hi Yoshinori,
>
> On 6/25/20 11:25 AM, Peter Maydell wrote:
> > On Sun, 21 Jun 2020 at 13:54, Philippe Mathieu-Daudé
> > wrote:
> >>
> >> From: Yoshinori Sato
> >>
>
,4 +1,4 @@
> -# Default configuration for sh4eb-softmmu
> +# Default configuration for sh4-softmmu
>
> # Uncomment the following lines to disable these optional devices:
> #
> --
> 2.46.0
>
Reviewed-by: Yoshinori Sato
--
Yosinori Sato
On Fri, 20 Sep 2024 17:12:47 +0900,
Thomas Huth wrote:
>
> On 20/09/2024 10.06, Yoshinori Sato wrote:
> > On Wed, 18 Sep 2024 04:43:50 +0900,
> > Thomas Huth wrote:
> >>
> >> Commit 0ea0538fae516f9b4 removed the default machine of the sh4
> >>
On Wed, 18 Sep 2024 04:43:50 +0900,
Thomas Huth wrote:
>
> Commit 0ea0538fae516f9b4 removed the default machine of the sh4
> binaries, so a lot of iotests are failing now without such a default
> machine. Teach the iotest harness to use the "r2d" machine instead
> to fix this problem.
>
> Signed-
vice seems to have been unstable for a while now.
I can't provide a replacement right away. Please use a mirror.
> [*] https://www.mail-archive.com/qemu-devel@nongnu.org/msg686487.html
>
> Cc: Yoshinori Sato
> Reported-by: Alex Bennée
> Signed-off-by: Philippe Mathieu-Dau
d, 2 insertions(+), 7 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index eb2b338fb11..d6d5f47c9a5 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -367,7 +367,6 @@ F: tests/tcg/s390x/
> L: qemu-s3...@nongnu.org
>
> SH4 TCG CPUs
> -R: Yoshinori Sato
>
The email address has been suspended.
I have prepared a new email address.
Signed-off-by: Yoshinori Sato
---
MAINTAINERS | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index aa6763077e..f28b908e62 100644
--- a/MAINTAINERS
+++ b
701 - 760 of 760 matches
Mail list logo