Repository navigation
configs: apple: build every Apple machine from apple_m1_defconfig (-36) - #60
Draft
RyanTheTide wants to merge 1 commit into
Draft
RyanTheTide wants to merge 1 commit into
RyanTheTide wants to merge 1 commit into
Conversation
apple_j873_defconfig (2d307fa, 067309c) was a second configuration for the first M6 (T8152) RAM boots. The T8152 support it needs is runtime code in mach-apple/board.c that every apple_m1 build already carries: the T8152 memory map, skipping the unported ANS/NVMe probe, and the DockChannel console. apple_m1_defconfig is a superset of its drivers, and the distributions and the installer only ever build apple_m1; only this repo's release job built apple_j873. What the J873 config set differently does not need a separate build: - BOOTDELAY=-1 and an echo BOOTCOMMAND: with NVMe skipped on T8152 the boot scan finds no ESP and U-Boot stops at the prompt anyway, and the loader can still pass bootdelay=-1 in the DT. - EFI_VARIABLE_NO_STORE: with no ESP there is nothing to store to. - SYS_BOOTM_LEN=1 GiB: only bootm reads it; the documented J873g flow is booti of an uncompressed Image. - CMD_BOOTEFI_HELLO and CMD_EFIDEBUG: debug commands. Remove the configuration and build and package apple_m1 only. Signed-off-by: Ryan Murray <[email protected]>
Contributor
Author
|
Looks good; approve once the J873g row has run. The
#56 and #53 also edit j873g.rst, and #56's Testing names HW row: J873g owner, RAM-loading the
Assisted-by: LLM (Claude:Opus 5.5) |
This was referenced Nov 21, 2026
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.
Problem
There are two Apple defconfigs.
apple_m1_defconfigis what Fedora, ALARM, NixOS and the installer build for every Mac.apple_j873_defconfig(2d307fa, 067309c) is a second configuration for the first M6 (T8152) RAM boots, and only this repo's release job builds it. The T8152 support it needs is already runtime code inarch/arm/mach-apple/board.cthat everyapple_m1build carries: the T8152 memory map, skipping the unported ANS/NVMe probe, and the DockChannel console (APPLE_DOCKCHANNEL_SERIAL=yin both).apple_m1_defconfighas every driver option the J873 config has. A per-machine configuration goes against building every supported Mac from one config.Change
Remove
apple_j873_defconfig, build and packageapple_m1only in CI andtools/aurora_release.py, and updatej873g.rst,RELEASING.mdandMAINTAINERS. Net: -36 lines.What the J873 config set differently, and why no separate build is needed:
BOOTDELAY=-1,BOOTCOMMAND="echo J873g RAM boot ready"BOOTDELAY=0,bootflow scan -b-1with/config/bootdelayin the DT (common/autoboot.c reads it).EFI_VARIABLE_NO_STORE=ySYS_BOOTM_LEN=0x400000000x800000bootmreads it; the J873g flow in j873g.rst isbootiof an uncompressed ImageCMD_BOOTEFI_HELLO,CMD_EFIDEBUGNR_DRAM_BANKS=16,SYS_FDT_PAD, SPI/MTP keyboard,APPLE_J713_FDT,USB_XHCI_PCI,USB_KEYBOARD,BOOTSTAGE*,VIDEO_QUIET_BOOTTesting
apple_m1_defconfigwithWERRORcross-builds cleanly on aurora-wip (u-boot-nodtb.bin763216 bytes, 0 warnings). This branch doesn't change any C file.apple.ymlstep andaurora_release.pyparse; this PR's CI run packagesapple_m1.Still to run
A J873g row, needed before merge: RAM-load the
apple_m1u-boot-nodtb.binwith the aura FDT as j873g.rst describes. Expected: banner and prompt on DockChannel and on the USB-C framebuffer, no NVMe probe, the boot scan ends at the prompt, no EFI variable write errors, andbootiinto Linux with simplefb. We don't have a J873g in the lab, so this needs the J873g owner.Evidence: who builds which config
/usr/share/uboot/apple_m1/u-boot-nodtb.bin)apple_j873_defconfigappears in no repository except this one: in.github/workflows/apple.ymlandtools/aurora_release.py. The release assets it fed were never published: the v0.1.0 release (2026-10-13) is still a draft, and no consumer downloads U-Boot release files.Open PRs #56 and #53 also edit
doc/board/apple/j873g.rst. The hunks here are small and rebase on either.