{"id":2231602,"url":"http://patchwork.ozlabs.org/api/covers/2231602/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260430223319.2663939-1-lukas.schmid@netcube.li/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260430223319.2663939-1-lukas.schmid@netcube.li>","list_archive_url":null,"date":"2026-04-30T22:32:59","name":"[v2,0/6] sunxi: add NetCube Nagami support and T113 secure boot enablement","submitter":{"id":90004,"url":"http://patchwork.ozlabs.org/api/people/90004/?format=json","name":"Lukas Schmid","email":"lukas.schmid@netcube.li"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260430223319.2663939-1-lukas.schmid@netcube.li/mbox/","series":[{"id":502402,"url":"http://patchwork.ozlabs.org/api/series/502402/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/list/?series=502402","date":"2026-04-30T22:32:59","name":"sunxi: add NetCube Nagami support and T113 secure boot enablement","version":2,"mbox":"http://patchwork.ozlabs.org/series/502402/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/2231602/comments/","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=netcube.li header.i=@netcube.li header.a=rsa-sha256\n header.s=s1 header.b=cbEScrOj;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=netcube.li","phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de","phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=netcube.li header.i=@netcube.li header.b=\"cbEScrOj\";\n\tdkim-atps=neutral","phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=netcube.li","phobos.denx.de;\n spf=pass smtp.mailfrom=lukas.schmid@netcube.li"],"Received":["from phobos.denx.de (unknown\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g688z6k6Qz1yHZ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 08:33:55 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id DDD4C839D5;\n\tFri,  1 May 2026 00:33:42 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 37F5884198; Fri,  1 May 2026 00:33:42 +0200 (CEST)","from mail.netcube.li (mail.netcube.li [173.249.15.149])\n (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id EB187803C6\n for <u-boot@lists.denx.de>; Fri,  1 May 2026 00:33:39 +0200 (CEST)","from lukas-hpz440workstation.lan.sk100508.local\n (193-80-178-216.hdsl.highway.telekom.at [193.80.178.216])\n by mail.netcube.li with ESMTPA ; Fri, 1 May 2026 00:33:37 +0200"],"X-Spam-Checker-Version":"SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2","dkim-signature":"v=1; a=rsa-sha256; d=netcube.li; s=s1;\n c=relaxed/relaxed; q=dns/txt;\n h=From:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Transfer-Encoding;\n bh=Oix7W+arDWOCST+3FkOMa9fNzGS3fSv+lf1yFBPApFA=;\n b=cbEScrOjJujo81PLPnnGUAWAI8ZAcNVJqgwE0+CWbgy8rpUYZUQGUFjOMGlJGey0xCrtag/27frgKtVl/X806q0Smdhlh4KOYVub6OUj9HG8o0GU3JTXGQlfIgs4wd6wHoyT0HdaYl0luOK5KREHmCTyWk7PsiUL29jM9IZjL9k=","From":"Lukas Schmid <lukas.schmid@netcube.li>","To":"Andre Przywara <andre.przywara@arm.com>, Tom Rini <trini@konsulko.com>,\n Hans de Goede <hdegoede@redhat.com>,\n Jerome Forissier <jerome.forissier@arm.com>","Cc":"Lukas Schmid <lukas.schmid@netcube.li>,\n\tu-boot@lists.denx.de","Subject":"[PATCH v2 0/6] sunxi: add NetCube Nagami support and T113 secure boot\n enablement","Date":"Fri,  1 May 2026 00:32:59 +0200","Message-ID":"<20260430223319.2663939-1-lukas.schmid@netcube.li>","X-Mailer":"git-send-email 2.47.3","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.39","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<https://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>","X-Virus-Scanned":"clamav-milter 0.103.8 at phobos.denx.de","X-Virus-Status":"Clean"},"content":"This series adds support for the NetCube Systems Nagami T113-based\nsystem-on-module and its associated carrier boards, along with the\nsunxi changes needed to boot signed FIT images from SPL in secure mode\non R528/T113.\n\nThe Nagami module is based on the Allwinner T113-S3/T113-S4 family and\nthe included defconfigs cover the basic carrier, keypad carrier, and a\nsecure boot example configuration for the basic carrier.\n\nTo support the secure boot flow in SPL, the series adds the missing\nsunxi pieces for R528/T113: I2C3 pinmux support, early SPC setup for\nnon-secure peripheral handoff, non-DM SPL FIT signature verification,\nand signed SPL image generation in the sunxi binman/FIT description.\n\nThe SID MAC fallback handling is also cleaned up. The original fix used\na board-level check for whether nvmem-cells were present in the DT.\nThis version moves the fallback into the Ethernet drivers instead of\nenv_setup, so the sunxi EMAC and DesignWare GMAC paths share a generic\nimplementation.\n\nChanges in v2:\n- Add SID-derived read_rom_hwaddr support for SUN7I_GMAC through the\n  DesignWare Ethernet driver.\n- Drop the board-local get_unique_sid() wrapper and call\n  sunxi_get_unique_sid() directly.\n- Keep the sunxi SID MAC prototype out of designware.c block scope.\n\nLukas Schmid (6):\n  sunxi: move SID MAC fallback from board env setup to EMAC\n    read_rom_hwaddr\n  pinctrl: sunxi: add I2C3 mux for D1/T113-s3 (PG10/PG11)\n  sunxi: add SPC setup for R528/T113 secure boot handoff\n  boot: allow SPL FIT signature verification without DM\n  sunxi: extend binman FIT description for signed SPL images\n  sunxi: add support for NetCube Systems Nagami and associated carrier\n    boards\n\n arch/arm/cpu/armv7/sunxi/Makefile             |  1 +\n arch/arm/cpu/armv7/sunxi/spc.c                | 20 ++++++\n arch/arm/dts/sunxi-u-boot.dtsi                | 68 +++++++++++++++++--\n .../include/asm/arch-sunxi/cpu_sunxi_ncat2.h  | 27 ++++++++\n arch/arm/include/asm/arch-sunxi/sys_proto.h   | 14 ++++\n arch/arm/mach-sunxi/board.c                   |  1 +\n arch/arm/mach-sunxi/clock_sun50i_h6.c         |  8 +++\n arch/arm/mach-sunxi/cpu_info.c                | 44 ++++++++++++\n board/sunxi/board.c                           | 64 +----------------\n boot/Kconfig                                  |  1 -\n .../netcube_nagami_basic_carrier_defconfig    | 43 ++++++++++++\n ..._nagami_basic_carrier_secureboot_defconfig | 52 ++++++++++++++\n .../netcube_nagami_keypad_carrier_defconfig   | 43 ++++++++++++\n drivers/net/designware.c                      | 20 ++++++\n drivers/net/sun8i_emac.c                      | 15 ++++\n drivers/net/sunxi_emac.c                      | 15 ++++\n drivers/pinctrl/sunxi/pinctrl-sunxi.c         |  1 +\n lib/rsa/rsa-verify.c                          | 16 +++--\n 18 files changed, 380 insertions(+), 73 deletions(-)\n create mode 100644 arch/arm/cpu/armv7/sunxi/spc.c\n create mode 100644 configs/netcube_nagami_basic_carrier_defconfig\n create mode 100644 configs/netcube_nagami_basic_carrier_secureboot_defconfig\n create mode 100644 configs/netcube_nagami_keypad_carrier_defconfig"}