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

Lukas Schmid lukas.schmid at netcube.li
Wed Mar 25 20:26:07 CET 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 EMAC drivers instead of
env_setup, so both sunxi EMAC variants share a generic implementation.

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                           | 57 +---------------
 boot/Kconfig                                  |  1 -
 .../netcube_nagami_basic_carrier_defconfig    | 43 ++++++++++++
 ..._nagami_basic_carrier_secureboot_defconfig | 52 ++++++++++++++
 .../netcube_nagami_keypad_carrier_defconfig   | 43 ++++++++++++
 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 +++--
 17 files changed, 359 insertions(+), 67 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