[PATCH v2 0/6] sunxi: add NetCube Nagami support and T113 secure boot enablement

Lukas Schmid lukas.schmid at netcube.li
Fri May 1 00:32:59 CEST 2026


This series adds support for the NetCube Systems Nagami T113-based
system-on-module and its associated carrier boards, along with the
sunxi changes needed to boot signed FIT images from SPL in secure mode
on R528/T113.

The Nagami module is based on the Allwinner T113-S3/T113-S4 family and
the included defconfigs cover the basic carrier, keypad carrier, and a
secure boot example configuration for the basic carrier.

To support the secure boot flow in SPL, the series adds the missing
sunxi pieces for R528/T113: I2C3 pinmux support, early SPC setup for
non-secure peripheral handoff, non-DM SPL FIT signature verification,
and signed SPL image generation in the sunxi binman/FIT description.

The SID MAC fallback handling is also cleaned up. The original fix used
a board-level check for whether nvmem-cells were present in the DT.
This version moves the fallback into the Ethernet drivers instead of
env_setup, so the sunxi EMAC and DesignWare GMAC paths share a generic
implementation.

Changes in v2:
- Add SID-derived read_rom_hwaddr support for SUN7I_GMAC through the
  DesignWare Ethernet driver.
- Drop the board-local get_unique_sid() wrapper and call
  sunxi_get_unique_sid() directly.
- Keep the sunxi SID MAC prototype out of designware.c block scope.

Lukas Schmid (6):
  sunxi: move SID MAC fallback from board env setup to EMAC
    read_rom_hwaddr
  pinctrl: sunxi: add I2C3 mux for D1/T113-s3 (PG10/PG11)
  sunxi: add SPC setup for R528/T113 secure boot handoff
  boot: allow SPL FIT signature verification without DM
  sunxi: extend binman FIT description for signed SPL images
  sunxi: add support for NetCube Systems Nagami and associated carrier
    boards

 arch/arm/cpu/armv7/sunxi/Makefile             |  1 +
 arch/arm/cpu/armv7/sunxi/spc.c                | 20 ++++++
 arch/arm/dts/sunxi-u-boot.dtsi                | 68 +++++++++++++++++--
 .../include/asm/arch-sunxi/cpu_sunxi_ncat2.h  | 27 ++++++++
 arch/arm/include/asm/arch-sunxi/sys_proto.h   | 14 ++++
 arch/arm/mach-sunxi/board.c                   |  1 +
 arch/arm/mach-sunxi/clock_sun50i_h6.c         |  8 +++
 arch/arm/mach-sunxi/cpu_info.c                | 44 ++++++++++++
 board/sunxi/board.c                           | 64 +----------------
 boot/Kconfig                                  |  1 -
 .../netcube_nagami_basic_carrier_defconfig    | 43 ++++++++++++
 ..._nagami_basic_carrier_secureboot_defconfig | 52 ++++++++++++++
 .../netcube_nagami_keypad_carrier_defconfig   | 43 ++++++++++++
 drivers/net/designware.c                      | 20 ++++++
 drivers/net/sun8i_emac.c                      | 15 ++++
 drivers/net/sunxi_emac.c                      | 15 ++++
 drivers/pinctrl/sunxi/pinctrl-sunxi.c         |  1 +
 lib/rsa/rsa-verify.c                          | 16 +++--
 18 files changed, 380 insertions(+), 73 deletions(-)
 create mode 100644 arch/arm/cpu/armv7/sunxi/spc.c
 create mode 100644 configs/netcube_nagami_basic_carrier_defconfig
 create mode 100644 configs/netcube_nagami_basic_carrier_secureboot_defconfig
 create mode 100644 configs/netcube_nagami_keypad_carrier_defconfig

-- 
2.47.3



More information about the U-Boot mailing list