Skip to content

arm64: dts: apple: t6041-j614c-j616c: describe the boot NOR and its NVRAM - #1458

Merged
DjDeveloperr merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-nvram
Nov 10, 2026
Merged

DjDeveloperr merged 1 commit into
aurora-silicon:integration/aurorafrom
joske:pr/t6041-nvram

Conversation

@joske

@joske joske commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

The M4 Max boards leave the QSPI controller disabled and describe no flash. So no MTD partition is labelled nvram, and asahi-nvram and asahi-bless fail. On the J614c, asahi-nvram panics on a missing file.

This describes the boot NOR the same way the M4 Pro boards do (t604x-j614-j616.dtsi):

  • the always-on supply;
  • the jedec,spi-nor flash at 10 MHz, single-lane;
  • the nvram partition and its alias;
  • the QSPI power state.

The partition is /arm-io/qspi/spinor/anvram from the J614c's live ADT (aura's adt MTD), at 0x700000, size 0x100000. That's the same as the J616s. The firmware and syscfg entries match the J616s as well.

Tested on the J614c:

  • The flash probes, and spi1.0 gets one fixed partition: mtd3 "nvram", 0x700000–0x800000.
  • asahi-nvram read lists the variables with sensible contents (boot-volume, auto-boot, boot-command, …).
  • I haven't written anything from Linux.

Not tested: the J616c. It shares the dtsi, and its ADT text dump has the same spinor children. I didn't read its anvram offset from a live machine.

🤖 Generated with Claude Code

…VRAM

The M4 Max boards leave the QSPI controller disabled and describe no
flash, so no MTD partition is labelled "nvram" and asahi-nvram and
asahi-bless have nothing to open.

Describe the boot NOR as the M4 Pro boards do (t604x-j614-j616.dtsi):
the always-on supply, the jedec,spi-nor flash at 10 MHz single-lane,
the nvram partition and its alias, and the QSPI power state. The
partition is the J614c's ADT /arm-io/qspi/spinor/anvram, read from the
running machine's ADT: 0x700000, 0x100000, the same as the J616s's. The
firmware (0x20000, 0x350000) and syscfg (0x680000, 0x684000) entries
match the J616s's too.

Signed-off-by: Jos Dehaes <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No blocking findings. The QSPI power enable, single-lane 10 MHz NOR node, always-on supply, nvram label/alias and 0x700000+0x100000 partition match the established M4 Pro description. The controller is already defined in the shared T604x SoC DT; this only enables it and exposes the one named NVRAM partition, without exposing firmware/syscfg partitions or performing any writes. The reported J614c live ADT and read-only probe results support that layout. J616c live-offset and write testing remain unverified, as stated. Exact-head dt-checks and host-tests passed; hardware results are the author's evidence.

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.

2 participants