mbox series

[00/20] RX target update

Message ID 20200827123859.81793-1-ysato@users.sourceforge.jp (mailing list archive)
Headers show
Series RX target update | expand

Message

Yoshinori Sato Aug. 27, 2020, 12:38 p.m. UTC
Hello.
This series Renesas RX updates.

It consists of the following contents.
* Update firmware loader.
* Rewrite peripheal modules (Timer and SCI).
  - Unified SH4 module.
  - Using clock API
* New peripheal modules.
  - On-chip clock generator.
  - Multi-function timer.
  - Ethernet MAC.
* New 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/timer: Renesas 8bit timer emulation.
  hw/rx: RX62N convert new 8bit timer.
  hw/timer: Renesas TMU/CMT module.
  hw/timer: Remove renesas_cmt.
  hw/rx: Convert to renesas_timer
  hw/char: Renesas SCI module.
  hw/rx/rx62n: Use New SCI module.
  hw/timer: Add Renesas MTU2
  hw/rx/rx62n: RX62N Add MTU module
  hw/net: Add generic Bit-bang MDIO PHY.
  hw/net: Add Renesas On-chip Ethernet MAC
  hw/rx/rx62n: Add Ethernet support.
  hw/rx: Add Tokudenkairo TKDN-RX62N-BRD
  hw/rx: Add CQ-FRK-RX62N target
  MAINTAINERS: Update RX entry

 default-configs/rx-softmmu.mak   |    2 +
 include/elf.h                    |    2 +
 include/hw/char/renesas_sci.h    |  129 ++-
 include/hw/loader.h              |   14 +
 include/hw/net/mdio.h            |  126 +++
 include/hw/net/renesas_eth.h     |   57 ++
 include/hw/rx/loader.h           |   35 +
 include/hw/rx/rx62n-cpg.h        |   72 ++
 include/hw/rx/rx62n.h            |   36 +-
 include/hw/timer/renesas_cmt.h   |   40 -
 include/hw/timer/renesas_mtu.h   |   90 ++
 include/hw/timer/renesas_timer.h |  103 +++
 include/hw/timer/renesas_tmr.h   |   55 --
 include/hw/timer/renesas_tmr8.h  |   67 ++
 hw/char/renesas_sci.c            | 1040 ++++++++++++++++++-----
 hw/core/loader.c                 |  208 +++++
 hw/net/mdio.c                    |  264 ++++++
 hw/net/renesas_eth.c             |  875 ++++++++++++++++++++
 hw/rx/cq-frk-rx62n.c             |   94 +++
 hw/rx/loader.c                   |  182 +++++
 hw/rx/rx-gdbsim.c                |   98 +--
 hw/rx/rx62n-cpg.c                |  344 ++++++++
 hw/rx/rx62n.c                    |  140 ++--
 hw/rx/tkdn-rx62n.c               |  192 +++++
 hw/timer/renesas_cmt.c           |  283 -------
 hw/timer/renesas_mtu.c           | 1312 ++++++++++++++++++++++++++++++
 hw/timer/renesas_timer.c         |  639 +++++++++++++++
 hw/timer/renesas_tmr.c           |  477 -----------
 hw/timer/renesas_tmr8.c          |  540 ++++++++++++
 MAINTAINERS                      |    2 +
 hw/net/Kconfig                   |    8 +
 hw/net/meson.build               |    3 +
 hw/rx/Kconfig                    |   16 +-
 hw/rx/meson.build                |    5 +-
 hw/timer/Kconfig                 |    9 +-
 hw/timer/meson.build             |    5 +-
 36 files changed, 6391 insertions(+), 1173 deletions(-)
 create mode 100644 include/hw/net/mdio.h
 create mode 100644 include/hw/net/renesas_eth.h
 create mode 100644 include/hw/rx/loader.h
 create mode 100644 include/hw/rx/rx62n-cpg.h
 delete mode 100644 include/hw/timer/renesas_cmt.h
 create mode 100644 include/hw/timer/renesas_mtu.h
 create mode 100644 include/hw/timer/renesas_timer.h
 delete mode 100644 include/hw/timer/renesas_tmr.h
 create mode 100644 include/hw/timer/renesas_tmr8.h
 create mode 100644 hw/net/mdio.c
 create mode 100644 hw/net/renesas_eth.c
 create mode 100644 hw/rx/cq-frk-rx62n.c
 create mode 100644 hw/rx/loader.c
 create mode 100644 hw/rx/rx62n-cpg.c
 create mode 100644 hw/rx/tkdn-rx62n.c
 delete mode 100644 hw/timer/renesas_cmt.c
 create mode 100644 hw/timer/renesas_mtu.c
 create mode 100644 hw/timer/renesas_timer.c
 delete mode 100644 hw/timer/renesas_tmr.c
 create mode 100644 hw/timer/renesas_tmr8.c

Comments

Philippe Mathieu-Daudé Aug. 31, 2020, 8:38 p.m. UTC | #1
Hello Yoshinori,

Le jeu. 27 août 2020 14:43, Yoshinori Sato <ysato@users.sourceforge.jp> a
écrit :

> Hello.
> This series Renesas RX updates.
>
> It consists of the following contents.
> * Update firmware loader.
> * Rewrite peripheal modules (Timer and SCI).
>   - Unified SH4 module.
>   - Using clock API
> * New peripheal modules.
>   - On-chip clock generator.
>   - Multi-function timer.
>   - Ethernet MAC.
> * New real hardware target.
>   - TokushudenshiKairo TKDN-RX62N-BRD.
>   - CQ publishing CQ-FRK-RX62N
>

How can we test them?


> 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/timer: Renesas 8bit timer emulation.
>   hw/rx: RX62N convert new 8bit timer.
>   hw/timer: Renesas TMU/CMT module.
>   hw/timer: Remove renesas_cmt.
>   hw/rx: Convert to renesas_timer
>   hw/char: Renesas SCI module.
>   hw/rx/rx62n: Use New SCI module.
>   hw/timer: Add Renesas MTU2
>   hw/rx/rx62n: RX62N Add MTU module
>   hw/net: Add generic Bit-bang MDIO PHY.
>   hw/net: Add Renesas On-chip Ethernet MAC
>   hw/rx/rx62n: Add Ethernet support.
>   hw/rx: Add Tokudenkairo TKDN-RX62N-BRD
>   hw/rx: Add CQ-FRK-RX62N target
>   MAINTAINERS: Update RX entry
>
>  default-configs/rx-softmmu.mak   |    2 +
>  include/elf.h                    |    2 +
>  include/hw/char/renesas_sci.h    |  129 ++-
>  include/hw/loader.h              |   14 +
>  include/hw/net/mdio.h            |  126 +++
>  include/hw/net/renesas_eth.h     |   57 ++
>  include/hw/rx/loader.h           |   35 +
>  include/hw/rx/rx62n-cpg.h        |   72 ++
>  include/hw/rx/rx62n.h            |   36 +-
>  include/hw/timer/renesas_cmt.h   |   40 -
>  include/hw/timer/renesas_mtu.h   |   90 ++
>  include/hw/timer/renesas_timer.h |  103 +++
>  include/hw/timer/renesas_tmr.h   |   55 --
>  include/hw/timer/renesas_tmr8.h  |   67 ++
>  hw/char/renesas_sci.c            | 1040 ++++++++++++++++++-----
>  hw/core/loader.c                 |  208 +++++
>  hw/net/mdio.c                    |  264 ++++++
>  hw/net/renesas_eth.c             |  875 ++++++++++++++++++++
>  hw/rx/cq-frk-rx62n.c             |   94 +++
>  hw/rx/loader.c                   |  182 +++++
>  hw/rx/rx-gdbsim.c                |   98 +--
>  hw/rx/rx62n-cpg.c                |  344 ++++++++
>  hw/rx/rx62n.c                    |  140 ++--
>  hw/rx/tkdn-rx62n.c               |  192 +++++
>  hw/timer/renesas_cmt.c           |  283 -------
>  hw/timer/renesas_mtu.c           | 1312 ++++++++++++++++++++++++++++++
>  hw/timer/renesas_timer.c         |  639 +++++++++++++++
>  hw/timer/renesas_tmr.c           |  477 -----------
>  hw/timer/renesas_tmr8.c          |  540 ++++++++++++
>  MAINTAINERS                      |    2 +
>  hw/net/Kconfig                   |    8 +
>  hw/net/meson.build               |    3 +
>  hw/rx/Kconfig                    |   16 +-
>  hw/rx/meson.build                |    5 +-
>  hw/timer/Kconfig                 |    9 +-
>  hw/timer/meson.build             |    5 +-
>  36 files changed, 6391 insertions(+), 1173 deletions(-)
>  create mode 100644 include/hw/net/mdio.h
>  create mode 100644 include/hw/net/renesas_eth.h
>  create mode 100644 include/hw/rx/loader.h
>  create mode 100644 include/hw/rx/rx62n-cpg.h
>  delete mode 100644 include/hw/timer/renesas_cmt.h
>  create mode 100644 include/hw/timer/renesas_mtu.h
>  create mode 100644 include/hw/timer/renesas_timer.h
>  delete mode 100644 include/hw/timer/renesas_tmr.h
>  create mode 100644 include/hw/timer/renesas_tmr8.h
>  create mode 100644 hw/net/mdio.c
>  create mode 100644 hw/net/renesas_eth.c
>  create mode 100644 hw/rx/cq-frk-rx62n.c
>  create mode 100644 hw/rx/loader.c
>  create mode 100644 hw/rx/rx62n-cpg.c
>  create mode 100644 hw/rx/tkdn-rx62n.c
>  delete mode 100644 hw/timer/renesas_cmt.c
>  create mode 100644 hw/timer/renesas_mtu.c
>  create mode 100644 hw/timer/renesas_timer.c
>  delete mode 100644 hw/timer/renesas_tmr.c
>  create mode 100644 hw/timer/renesas_tmr8.c
>
> --
> 2.20.1
>
>
>
Yoshinori Sato Sept. 10, 2020, 4:06 p.m. UTC | #2
On Tue, 01 Sep 2020 05:38:37 +0900,
Philippe Mathieu-Daudé wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> [2  <text/html; UTF-8 (quoted-printable)>]
> Hello Yoshinori,
> 
> Le jeu. 27 août 2020 14:43, Yoshinori Sato <ysato@users.sourceforge.jp> a
> écrit :
> 
>     Hello.
>     This series Renesas RX updates.
>    
>     It consists of the following contents.
>     * Update firmware loader.
>     * Rewrite peripheal modules (Timer and SCI).
>       - Unified SH4 module.
>       - Using clock API
>     * New peripheal modules.
>       - On-chip clock generator.
>       - Multi-function timer.
>       - Ethernet MAC.
>     * New real hardware target.
>       - TokushudenshiKairo TKDN-RX62N-BRD.
>       - CQ publishing CQ-FRK-RX62N
> 
> How can we test them? 

Sorry too late reply.
TKDN-RX62N-BRD can work u-boot and linux.
The configuration is different from gdbsim.
I'll upload what I'm using for testing later.

CQ-FRK-RX62N can work micropython.
I will upload this later as well.

>     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/timer: Renesas 8bit timer emulation.
>       hw/rx: RX62N convert new 8bit timer.
>       hw/timer: Renesas TMU/CMT module.
>       hw/timer: Remove renesas_cmt.
>       hw/rx: Convert to renesas_timer
>       hw/char: Renesas SCI module.
>       hw/rx/rx62n: Use New SCI module.
>       hw/timer: Add Renesas MTU2
>       hw/rx/rx62n: RX62N Add MTU module
>       hw/net: Add generic Bit-bang MDIO PHY.
>       hw/net: Add Renesas On-chip Ethernet MAC
>       hw/rx/rx62n: Add Ethernet support.
>       hw/rx: Add Tokudenkairo TKDN-RX62N-BRD
>       hw/rx: Add CQ-FRK-RX62N target
>       MAINTAINERS: Update RX entry
>    
>      default-configs/rx-softmmu.mak   |    2 +
>      include/elf.h                    |    2 +
>      include/hw/char/renesas_sci.h    |  129 ++-
>      include/hw/loader.h              |   14 +
>      include/hw/net/mdio.h            |  126 +++
>      include/hw/net/renesas_eth.h     |   57 ++
>      include/hw/rx/loader.h           |   35 +
>      include/hw/rx/rx62n-cpg.h        |   72 ++
>      include/hw/rx/rx62n.h            |   36 +-
>      include/hw/timer/renesas_cmt.h   |   40 -
>      include/hw/timer/renesas_mtu.h   |   90 ++
>      include/hw/timer/renesas_timer.h |  103 +++
>      include/hw/timer/renesas_tmr.h   |   55 --
>      include/hw/timer/renesas_tmr8.h  |   67 ++
>      hw/char/renesas_sci.c            | 1040 ++++++++++++++++++-----
>      hw/core/loader.c                 |  208 +++++
>      hw/net/mdio.c                    |  264 ++++++
>      hw/net/renesas_eth.c             |  875 ++++++++++++++++++++
>      hw/rx/cq-frk-rx62n.c             |   94 +++
>      hw/rx/loader.c                   |  182 +++++
>      hw/rx/rx-gdbsim.c                |   98 +--
>      hw/rx/rx62n-cpg.c                |  344 ++++++++
>      hw/rx/rx62n.c                    |  140 ++--
>      hw/rx/tkdn-rx62n.c               |  192 +++++
>      hw/timer/renesas_cmt.c           |  283 -------
>      hw/timer/renesas_mtu.c           | 1312 ++++++++++++++++++++++++++++++
>      hw/timer/renesas_timer.c         |  639 +++++++++++++++
>      hw/timer/renesas_tmr.c           |  477 -----------
>      hw/timer/renesas_tmr8.c          |  540 ++++++++++++
>      MAINTAINERS                      |    2 +
>      hw/net/Kconfig                   |    8 +
>      hw/net/meson.build               |    3 +
>      hw/rx/Kconfig                    |   16 +-
>      hw/rx/meson.build                |    5 +-
>      hw/timer/Kconfig                 |    9 +-
>      hw/timer/meson.build             |    5 +-
>      36 files changed, 6391 insertions(+), 1173 deletions(-)
>      create mode 100644 include/hw/net/mdio.h
>      create mode 100644 include/hw/net/renesas_eth.h
>      create mode 100644 include/hw/rx/loader.h
>      create mode 100644 include/hw/rx/rx62n-cpg.h
>      delete mode 100644 include/hw/timer/renesas_cmt.h
>      create mode 100644 include/hw/timer/renesas_mtu.h
>      create mode 100644 include/hw/timer/renesas_timer.h
>      delete mode 100644 include/hw/timer/renesas_tmr.h
>      create mode 100644 include/hw/timer/renesas_tmr8.h
>      create mode 100644 hw/net/mdio.c
>      create mode 100644 hw/net/renesas_eth.c
>      create mode 100644 hw/rx/cq-frk-rx62n.c
>      create mode 100644 hw/rx/loader.c
>      create mode 100644 hw/rx/rx62n-cpg.c
>      create mode 100644 hw/rx/tkdn-rx62n.c
>      delete mode 100644 hw/timer/renesas_cmt.c
>      create mode 100644 hw/timer/renesas_mtu.c
>      create mode 100644 hw/timer/renesas_timer.c
>      delete mode 100644 hw/timer/renesas_tmr.c
>      create mode 100644 hw/timer/renesas_tmr8.c
>    
>     --
>     2.20.1
> 
>