[PATCH 0/5] hw/arm: Add Allwinner H618 SoC and Orange Pi Zero 2W machine

Khai Do posted 5 patches 3 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20261031145147.32683-1-dovankhai97@gmail.com
Maintainers: Paolo Bonzini <pbonzini@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, Strahinja Jankovic <strahinja.p.jankovic@gmail.com>, Khai Do <dovankhai97@gmail.com>
There is a newer version of this series
MAINTAINERS                     |   8 ++
hw/arm/Kconfig                  |   9 ++
hw/arm/allwinner-h618.c         | 233 ++++++++++++++++++++++++++++++++
hw/arm/meson.build              |   1 +
hw/arm/orangepi-zero2w.c        |  85 ++++++++++++
hw/misc/Kconfig                 |   3 +
hw/misc/allwinner-sid.c         |   8 +-
hw/misc/meson.build             |   2 +-
include/hw/arm/allwinner-h618.h |  60 ++++++++
include/hw/misc/allwinner-sid.h |   8 ++
10 files changed, 415 insertions(+), 2 deletions(-)
create mode 100644 hw/arm/allwinner-h618.c
create mode 100644 hw/arm/orangepi-zero2w.c
create mode 100644 include/hw/arm/allwinner-h618.h
[PATCH 0/5] hw/arm: Add Allwinner H618 SoC and Orange Pi Zero 2W machine
Posted by Khai Do 3 weeks, 1 day ago
This patch series adds emulation support for the Allwinner H618 SoC and
the Orange Pi Zero 2W single-board computer (SBC).

The Allwinner H618 is a quad-core 64-bit ARM Cortex-A53 SoC. This series
follows the incremental skeleton design established for Allwinner SoCs:
- Patch 1: Introduces the basic H618 SoC model with 4x Cortex-A53 cores,
  GICv2, ARM Generic Timer PPIs, UART0/1, SRAM A1/A2, and stubbed unimp MMIO.
- Patch 2: Adds the Orange Pi Zero 2W machine with 1 GiB SDRAM and kernel loader.
- Patch 3: Separates the ALLWINNER_SID Kconfig symbol so other SoCs can reuse it.
- Patch 4: Extends the Allwinner SID eFuse controller to support configurable
  capacity up to 512 bytes (required by H618), preserving backward compatibility.
- Patch 5: Connects the SID controller into the H618 SoC and sets the default UID.

Verification:
- The series has been tested using Zephyr RTOS (v4.5) running on the
  orangepi-zero2w target, verifying UART0 output, multi-threading with
  ARM Generic Timer (k_msleep), HWINFO UID reading, and SID OTP (512B capacity).
- All patches pass ./scripts/checkpatch.pl with 0 errors and 0 warnings.


Khai Do (5):
  hw/arm/allwinner-h618: Add Allwinner H618 SoC emulation
  hw/arm/orangepi-zero2w: Add Orange Pi Zero 2W machine
  hw/misc/allwinner-sid: Separate ALLWINNER_SID config symbol
  hw/misc/allwinner-sid: Support configurable eFuse capacity up to 512
    bytes
  hw/arm/allwinner-h618: Connect Allwinner SID controller

 MAINTAINERS                     |   8 ++
 hw/arm/Kconfig                  |   9 ++
 hw/arm/allwinner-h618.c         | 233 ++++++++++++++++++++++++++++++++
 hw/arm/meson.build              |   1 +
 hw/arm/orangepi-zero2w.c        |  85 ++++++++++++
 hw/misc/Kconfig                 |   3 +
 hw/misc/allwinner-sid.c         |   8 +-
 hw/misc/meson.build             |   2 +-
 include/hw/arm/allwinner-h618.h |  60 ++++++++
 include/hw/misc/allwinner-sid.h |   8 ++
 10 files changed, 415 insertions(+), 2 deletions(-)
 create mode 100644 hw/arm/allwinner-h618.c
 create mode 100644 hw/arm/orangepi-zero2w.c
 create mode 100644 include/hw/arm/allwinner-h618.h

-- 
2.43.0