Skip to content

ingenic: T41 eFuse code 0x6666 is T41ZX, and 0x4444 is T41A - #287

Merged
openipc-ai merged 1 commit into
masterfrom
ingenic/t41zx-t41a
Nov 17, 2026
Merged

openipc-ai merged 1 commit into
masterfrom
ingenic/t41zx-t41a

Conversation

@openipc-ai

Copy link
Copy Markdown
Contributor

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

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
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

PR Summary by Qodo

Correct Ingenic T41ZX and T41A eFuse identification

🐞 Bug fix 🕐 Less than 10 minutes

Grey Divider

AI Description

• Identify T41 eFuse code 0x6666 as T41ZX instead of T41X.
• Recognize code 0x4444 as T41A instead of reporting an unknown chip.
• Align both names with the Ingenic SDK and OpenIPC bootloader.
Diagram

graph TD
  EFUSE["T41 eFuse"] --> DECODE{"Subtype code"} --> ID["Internal CPU ID"] --> NAME["CPU name"] --> REPORT["Chip report"]
Loading
High-Level Assessment

Correcting the existing subtype-to-ID and ID-to-name mappings is the smallest appropriate change. A separate model table or T41XQ code is unnecessary because the cited SDK assigns T41XQ no distinct subtype code.

Files changed (1) +9 / -1

Bug fix (1) +9 / -1
ingenic.cCorrect T41ZX and T41A subtype names +9/-1

Correct T41ZX and T41A subtype names

• Maps T41 eFuse code 0x4444 to a new internal ID named T41A and renames the existing 0x6666 mapping from T41X to T41ZX. A comment records the SDK and OpenIPC bootloader basis for the mappings and clarifies that T41XQ has no separate code.

src/hal/ingenic.c

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can enable the Remediation agent and Qodo fixes findings in a dedicated fix PR

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@openipc-ai
openipc-ai merged commit 60eec94 into master Nov 17, 2026
5 checks passed
@openipc-ai
openipc-ai deleted the ingenic/t41zx-t41a branch November 17, 2026 13:42
openipc-ai added a commit to OpenIPC/qemu-bench that referenced this pull request Nov 17, 2026
…IPC/ipctool#287 (#332)

* ingenic: ipctool names the T41ZX and T41A as the SPL does, since OpenIPC/ipctool#287

The T41 grade notes said ipctool calls 0x6666 "T41X" and does not know
0x4444. OpenIPC/ipctool#287 names them T41ZX and T41A, as the T41 SDK's
SPL does; checked on this twin then (t41x -> t41zx, unknown -> t41a).
Comment and docs only.

* ingenic: state the T41 ipctool names as they are, and which ipctool still says T41X
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant