mbox series

[V4,0/5] Renesas Stout board support (R-Car Gen2)

Message ID 1555513175-7596-1-git-send-email-olekstysh@gmail.com (mailing list archive)
Headers show
Series Renesas Stout board support (R-Car Gen2) | expand

Message

Oleksandr Tyshchenko April 17, 2019, 2:59 p.m. UTC
From: Oleksandr Tyshchenko <oleksandr_tyshchenko@epam.com>

Hi, all.

The purpose of this patch series is to add required support to be able to run
Xen on Renesas Stout board [1] which uses SCIFA compatible UART as a console
interface.

Actually Xen already has support for SCIF compatible UARTs which are used on
Renesas Lager (R-Car Gen2), Salvator-X, H3ULCB/M3ULCB (R-Car Gen3) and other
development boards. So this patch series extends existing support to be able
to handle both interfaces.

----------

Current patch series is based on the following commit 1c6504163595d45e47a01750318c2b7b50541cbe
and tested on Stout (ARM32) and H3ULCB (ARM64) boards.

You can find current patch series here:
repo: https://github.com/otyshchenko1/xen.git branch: stout_upstream2

You can find previous discussions here:
[V1] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg21058.html
[V2] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg37518.html
[V3] https://www.mail-archive.com/xen-devel@lists.xenproject.org/msg42493.html

----------

In order to run Xen on Stout board you need "PSCI-enabled" U-Boot (not upsteamed yet).
You can find corresponding patches for U-Boot here:
http://u-boot.10912.n7.nabble.com/PATCH-0-3-PSCI-support-for-r8a7790-SoC-Lager-Stout-boards-td357352.html

Have a plan to update Xen Wiki regarding this board.

[1] https://elinux.org/R-Car/Boards/Stout

Oleksandr Tyshchenko (5):
  xen/arm: Clarify usage of earlyprintk for Lager board
  xen/arm: drivers: scif: Extend driver to handle other interfaces
  xen/arm: drivers: scif: Add support for SCIFA compatible UARTs
  xen/arm: Extend SCIF early prink code to handle other interfaces
  xen/arm: Add early printk support for SCIFA compatible UARTs

 docs/misc/arm/early-printk.txt    |   8 ++-
 xen/arch/arm/Rules.mk             |   7 ++
 xen/arch/arm/arm32/debug-scif.inc |  22 +++++--
 xen/drivers/char/scif-uart.c      | 131 ++++++++++++++++++++++++++++----------
 xen/include/asm-arm/scif-uart.h   |  44 +++++++++++--
 5 files changed, 163 insertions(+), 49 deletions(-)