From 3f7b7746f4bc3774c0723a85e65dc7cf9b0a43c4 Mon Sep 17 00:00:00 2001 From: AI Dev Date: Tue, 17 Nov 2026 13:39:13 +0000 Subject: [PATCH] ingenic: T41 eFuse code 0x6666 is T41ZX, and 0x4444 is T41A The T41 SDK 1.2.0's own SPL (u-boot common/spl/spl.c) prints SUBSOCTYPE2 0x6666 as T41ZX and 0x4444 as T41A, and OpenIPC/u-boot's openipc-ingenic SPL, which builds the T41 bootloaders OpenIPC ships, copies that table. ipctool called 0x6666 "T41X", a grade the SDK has no name for, and did not know 0x4444, so a T41A came out "unknown". The SDK gives the T41XQ no code of its own: its U-Boot is the T41ZX's with another DDR skew. Checked on the qemu-bench T41 twin (OpenIPC/qemu-bench#331), ipcinfo -c from master against this branch: t41zx (0x6666) t41x -> t41zx t41a (0x4444) unknown -> t41a t41nq, t41n unchanged --- src/hal/ingenic.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/hal/ingenic.c b/src/hal/ingenic.c index 021cdbf..172c521 100644 --- a/src/hal/ingenic.c +++ b/src/hal/ingenic.c @@ -221,8 +221,14 @@ static int get_cpu_id() { return 33; case 0xAAAA: return 34; + /* 0x6666 and 0x4444 as the T41 SDK's own SPL names them (Ingenic + * SDK 1.2.0, u-boot common/spl/spl.c), and as OpenIPC/u-boot's + * openipc-ingenic SPL prints them. The SDK gives the T41XQ no + * code of its own; its U-Boot is the T41ZX's. */ case 0x6666: return 35; + case 0x4444: + return 38; default: return -1; } @@ -303,11 +309,13 @@ static const char *ingenic_cpu_name() { case 34: return "T41NQ"; case 35: - return "T41X"; + return "T41ZX"; case 36: return "T23N"; case 37: return "T23X"; + case 38: + return "T41A"; } return "unknown"; }