Repository navigation
nvme: apple: bind the T8140 and T8142 controllers - #47
Merged
RyanTheTide merged 1 commit intoNov 12, 2026
Merged
Conversation
The J813 (MacBook Air 13-inch, M5) device tree describes its NVMe controller as "apple,t8142-nvme-ans2", "apple,t8140-nvme-ans2". apple_nvme_ids[] has neither string, and the node does not fall back to "apple,t8132-nvme-ans2" or "apple,nvme-ans2", so no NVMe controller binds on that board. A system installed by aurora-installer v0.1.0-alpha.19 stops in U-Boot at "No USB controllers found" and never reaches GRUB; the built-in keyboard does not work in U-Boot on J813, so there is no way past it. Add both strings with the post-M4 controller data (apple_nvme_t8132_hw). Linux has separate T8140 and T8142 entries, but they set the same layout flags as its T8132 one (LSQ NVMMU, separate NVMMU, I/O queue registers); what differs there is sleep and reset handling, which U-Boot does not do. Tested on a J813 (stub firmware 26.6.2): aurora-wip e1ef8b6 and 250385f with this change, as the U-Boot in Stage 2, boot GRUB and Linux from the internal NVMe. The T8140 entry is untested (no T8140 Mac here; the MacBook Neo's device tree already falls back to the T8132 string). No other board was tested. Assisted-by: LLM Co-Authored-By: Claude Fable 5.2 <[email protected]> Signed-off-by: Kyle Arrington <[email protected]>
RyanTheTide
approved these changes
Nov 12, 2026
RyanTheTide
left a comment
Contributor
There was a problem hiding this comment.
Checked the id table: the T8140 entry resolves to the same apple_nvme_t8132_hw data the A18 Pro already gets through its apple,t8132-nvme-ans2 fallback, so existing boards see no change. Thanks for the J813 boot results.
This was referenced Nov 16, 2026
This was referenced Nov 19, 2026
ryanrhughes
pushed a commit
to omacom/omarchy-pkgs
that referenced
this pull request
Nov 22, 2026
…3231) * uboot-aurora: pin aurora-wip at 5445237 for M5 NVMe boot 62ee470 can't boot from the NVMe on the M5 (T8142): it doesn't bind the T8140/T8142 ANS controller or find the ESP on it. aurora-wip now carries both fixes, aurora-silicon/u-boot#47 and #50, along with the merged work since #32. The OpenSSL 4 host-tools config is kept. Co-Authored-By: Claude Opus 5.5 <[email protected]> * uboot-aurora: carry the Aurora boot flow for T8142 aurora-wip still gives the M5 (T8142) the generic Apple boot defaults: bootflow over NVMe and USB, with "usb start" as preboot. Carry the change that gives it the Aurora flow the M4s and the M5 Max use (EFI path on the internal ESP, then the fallback image, then bootflow on NVMe), with the MTP keyboard left to Linux. The J815 booted from NVMe with it on 62ee470. Not yet sent upstream; the MTP driver half is aurora-silicon/u-boot#51. pkgver stays 2026.07.aurora8, which has not been published. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The J813 (MacBook Air 13-inch, M5) device tree names its NVMe controller
apple,t8142-nvme-ans2,apple,t8140-nvme-ans2.apple_nvme_ids[]matches neither, so U-Boot binds no NVMe controller on that board. An aurora-installer v0.1.0-alpha.19 install stops in U-Boot at "No USB controllers found" and never reaches GRUB.This adds both strings with the post-M4 controller data (
apple_nvme_t8132_hw).Tests
apple_m1_defconfigbuilds with no warnings. That build has not been booted.Disclosure: the investigation, the patch and the first draft of this text were done with an LLM coding assistant (Claude Code) working over SSH on my machine. I ran the hardware side and have read what is posted here.