Skip to content

Lenovo Legion Y700 Gen 4 (TAY0123) ​

TAY0123/UNIXNU_elden

Lenovo Legion Y700 Gen 4. Eight-core macOS Recovery reaches software first frame over inherited GOP. Recovery UI startup, GPU acceleration, installation, touch, radios and sleep remain bring-up work.

Source record: porting.toml, fdd0265b75040bbf764b839bc96e90431b6a5b0b.

This page is generated from the device record.

AreaStatus
Configurationhost-verified
Firmware and bootdevice-verified
CPU and interruptsimplemented
Memory and DMAimplemented
Storage and roothost-verified
Displayimplemented
Inputhost-verified
GPUhost-verified
Networkhost-verified
Audionot-applicable
Powerplanned
Image assemblydevice-verified
Diagnosticsdevice-verified

Configuration ​

host-verified

Components: ArmDTPlatform, ArmCpu, SoftwareAES, XnuPrelink, DarwinBoot.

Hardware and dependencies ​

  • Use the ARM64 and iPadOS 17.7.11 profiles supplied by UniXNU.
  • Select the shared platform, CPU and DarwinBoot components.
  • Provide an SM8750 profile until an official shared SoC repository exists.

Configuration ​

  • board.toml declares schema_version = 2, soc_source = sm8750 and os_profile = ipados-17.7.11-21H461.
  • The complete component list is explicit because profile arrays replace inherited arrays.
  • Configuration and patch roots are ordered as ARM64, SoC, OS and device.
  • soc/sm8750 supplies the transition profile and is referenced from feeds.toml.

Procedure ​

  • Run defconfig from a current UniXNU checkout.
  • Inspect status JSON for profile order, component dependencies, patch order and output path.
  • Replace the local SoC source with a reviewed UniXNU-sm8750-common commit before release.

Development findings ​

  • 2026-11-06 host: source GOP console kernel/archives/prelink completed; separate read-only UFS root-check archive compiled with inherited identity DMA and LUN selection. TWRP/Linux EFI prototype and userdata/ESP design remain hardware-unverified. Details and bounded evidence in docs/NIGHT-BRINGUP-20261106.md; no stock index change or device write.
  • The repository was format 1 and did not select shared SoC or OS profiles.
  • A public UniXNU-sm8750-common repository was not available during migration.
  • Keeping a separate local SoC profile preserves parser validation without mislabelling unqualified hardware support as shared.
  • Phase 2.0 resolved ARM64, local SM8750, iPadOS and device layers; the selected component order, 56 patches, 4 KiB page setting and separate format 2 output were checked with current UniXNU.
  • Phase 2.1 keeps the XNU handoff and firmware memory description separate from the phase 1 dummy firmware DTB.
  • Phase 2.2 resolved 57 patches after adding compile-time-disabled PMGR context required by the shared boot-progress patch. CONFIG_XNU_BOOT_PROGRESS is disabled for the minimum kernel because that diagnostic layer currently requires UFS, owner-root and Virtio.
  • Phase 2.5 proved XNU entry execution from the device and located the Apple-platform dependencies without adding a panic renderer: PE_create_console reads the iBoot video console handoff at 0x3C0F0000, and the kernel then runs through bsd_init, IOKit and kext loading until AMFI panics with AMFI: not booted with security-mode-change-enabled. The earlier reading that a stage-16 kernel_startup_initialize_upto entry never returns is withdrawn: those freezes were panics with the kprintf gate closed.

Completion criteria ​

  • board.toml resolves four ordered configuration layers.
  • All selected components come from the UniXNU catalog and include their dependencies.
  • No array field depends accidentally on inheritance.
  • The SoC source is a reviewed remote commit and unixnu.lock records it.

Current limits ​

  • soc/sm8750 is local and is not yet a release-quality shared source.
  • The first resolution pass selects only platform, CPU, AES, prelink and DarwinBoot components.

Next action ​

  • Phase 2.5 is complete on the kernel side: v51 (cc739804217c3277bb07e4ce967381d5e1dd970eb46e9bb6637ebb83c5c668be) reaches the root-device wait with no panic. Phase 3 starts with the storage entry: select and port a UFS component for the SM8750 controller so IOMedia/Apple_HFS can match. Replace the local SM8750 source with a reviewed shared commit before release.

Evidence ​

Firmware and boot ​

device-verified

Components: DarwinBoot.

Hardware and dependencies ​

  • mu_wide_platforms lenovo-y700g4 UEFI source and patched PMIC binaries.
  • UniXNU, UniXNUDxe, DarwinBoot and EldenRamDiskDxe firmware modules.
  • A 4 MiB FAT16 payload containing package/unixnu.toml.

Configuration ​

  • firmware.dsc points to PakalaPkg/PakalaNoSb.dsc.
  • firmware.fd points to the DEBUG CLANGPDB SM8750_EFI.fd.
  • payload volume is ELDENRAM and loader is firmware.
  • panic_screen remains false because the phase 2 panic renderer is not integrated.

Procedure ​

  • Build the phase 1 image with scripts/build_phase1.py.
  • Run scripts/verify_artifact.py against the FD and Android v3 image.
  • Owner performs two RAM cold boots with fastboot boot.

Development findings ​

  • 2026-11-06 prerequisites: bounded current-boot FDT/original-initrd bootconfig inheritance and a conventional-memory report mode are compiled in the31744-byte EFI application. Synthetic metadata bounds/CRC, priority and full-initrd cleanup/retry pass in AAVMF; the accepted FD is unchanged. See docs/PREREQUISITES-20261106.md.
  • 2026-11-06 host: source GOP console kernel/archives/prelink completed; separate read-only UFS root-check archive compiled with inherited identity DMA and LUN selection. TWRP/Linux EFI prototype and userdata/ESP design remain hardware-unverified. Details and bounded evidence in docs/NIGHT-BRINGUP-20261106.md; no stock index change or device write.
  • 2026-11-05 offline inventory of the accepted FD confirms EldenPayloadDxe present and UniXNURamDiskDxe absent. Actual old/new BootShim bytes were emulated through both copy and in-place branches: x3=8 MiB versus 56 MiB, x0 preserved, FD copy identical. The newer FD regression is not hardware-isolated. See docs/OFFLINE-PAYLOAD-20261105.md.
  • The vendor UFSDxe crashed before the menu, so it was removed from the phase 1 APRIORI, DSC and FDF.
  • The embedded FAT payload avoids persistent storage and makes the menu independent of UFS.
  • The same image reached the visible menu twice and returned to stock Android after reset.
  • Phase 2.5 isolated the first kernel-side blocker: PE_create_console reads PA 0x3C0F0000, the iBoot video console handoff, and faults because this device never initialised it; replacing its first instruction with ret lets arm_init reach machine_startup. The firmware and payload do not need to change for this.
  • DarwinBoot already forwards the UniXNU payload entry args verbatim into boot_args->CommandLine, so kernel boot arguments (debug flags, security-mode-change-enable, amfi_get_out_of_my_way) can be changed without rebuilding firmware.

Completion criteria ​

  • Firmware contains UniXNU, UniXNUDxe, DarwinBoot and the RAM payload driver.
  • The payload config is readable and the menu accepts volume-key input.
  • Two RAM boots produce the same visible checkpoint and do not modify persistent partitions.

Current limits ​

  • The verified firmware is phase 1 and does not contain a bootable XNU payload.
  • The new format 2 firmware command is not yet switched from the project build script.
  • The kernel console now works, but only through image-level pokes: DarwinBoot still hands over the raw physical framebuffer without initialize_screen's physical-address marker, so the console patch has to be replaced by a firmware-side fix before release.

Next action ​

  • Use the current phase 1 image as the accepted baseline. Phase 2.5: keep the firmware unchanged and add the kernel-side GOP console fallback; the embedded payload channel and DarwinBoot hand-off are already device-verified.

Evidence ​

CPU and interrupts ​

implemented

Components: ArmCpu.

Hardware and dependencies ​

  • SM8750 MPIDRs 0x0, 0x100, 0x200, 0x300, 0x400, 0x500, 0x10000 and 0x10100.
  • GICv3 distributor 0x16000000, redistributor base 0x16080000 and stride 0x40000.
  • 19.2 MHz architectural timer and PSCI SMC conduit.

Configuration ​

  • The SoC DTSI declares eight CPU nodes, timebase-frequency = 19200000 and psci method = smc.
  • The GIC node exports unixnu,adt-name = intc.
  • The device defconfig enables ARM DT platform, ArmCpu, native timer and PAN.

Procedure ​

  • Compile dts/elden.dts with the SoC include path.
  • Generate an ADT from the DTB and inspect /cpus, /psci and /arm-io/intc.
  • Boot the smallest XNU payload and record the first CPU, GIC or timer failure.

Development findings ​

  • The board evidence documents the same eight MPIDR layout used by other SM8750 ports.
  • The shared ADT generator emitted cpu0 as running and all other cores as waiting; ArmCpu does not probe secondary nubs unless sheng-smp is enabled.
  • ArmCpu reads the GIC through /arm-io/intc and requires a complete two-range reg property.
  • The old kernel argument set enabled armcpu-spi-ipi before elden had evidence that SGIs fail or that per-core SPI routing works. Phase 2.1 removed it from the single-boot-CPU milestone.
  • v49 shows the boot CPU survives arm_init, the vm/pmap bootstrap, bsd_init, IOKit and kext loading until AMFI panics, so the earlier claim that it halts inside a stage-16 startup entry is withdrawn; ArmCpu, GIC and timer checkpoints are still not separately recorded because no kernel trace names them yet.
  • Phase 2.5 explains why no probe ever printed kernel text: pexpert/arm/pe_kprintf.c gates the whole kprintf body on disable_serial_output and disable_kprintf_output (both default true), and vcputc_options gates painting on gc_initialized and gc_enabled (gc_enable runs only from initialize_screen with kPEAcquireScreen). PE_init_iokit calls PE_init_printf(TRUE) -> vcattach just before the stage-16 call, so forcing PE_create_console into kPETextMode and mapping the GOP framebuffer brings the console up without rebuilding XNU.
  • v50 device evidence shows AMFI passes its security-mode-change gate but then panics "AMFI: No PMGR?" at ConfigurationSettings.cpp:235, because the developer-mode latch needs an ApplePMGRNub service that elden does not publish. That latch is AMFI policy rather than a hardware description gap, so phase 2.5 skips it with a probe poke and leaves a real power-management driver to phase 3.

Completion criteria ​

  • The boot CPU reaches the ArmCpu checkpoint.
  • GIC distributor and its own redistributor frame map successfully.
  • Timer handling works before secondary cores or IPI transport are qualified.

Current limits ​

  • Physical macOS Recovery verifies eight-core startup and timer and IPI delivery. Installed-system workload and suspend/resume remain unqualified.

Next action ​

  • Exercise all eight cores under an installed-system workload and after suspend and resume.

Evidence ​

Memory and DMA ​

implemented

Components: ArmDTPlatform.

Hardware and dependencies ​

  • The owner-captured live elden FDT, including the 12 GiB RAM map, initrd and reserved-memory nodes.
  • The pinned Linux 16 GiB variant and the elden UEFI static memory map.
  • A conservative 256 MiB XNU handoff window in UEFI DXE conventional memory.

Configuration ​

  • dts/elden.dts declares one 256 MiB XNU handoff node at 0xC2400000.
  • payload.dram_size and payload.adt.owned_memory_size both request 0x10000000.
  • dts/elden-firmware-memory.dts records the sanitised live 12 GiB RAM map, reserved-memory ranges and expected GOP framebuffer.
  • The current format 2 generator creates a 256-byte seed, CHRP NVRAM proxy and optional-input memory-map placeholders. The audit also accepts the older 64-byte seed.

Procedure ​

  • Compile the hardware and firmware memory descriptions.
  • Generate an ADT with the shared generator and decode it independently.
  • Cross-check the XNU window against firmware RAM, reserved-memory and the pinned UEFI memory map.

Development findings ​

  • 2026-11-07: device read-check succeeds with a 6GiB high-address window. EFI reports a 13GiB free run at0x8c0000000. Installed loader accepts at most8GiB; current bootstrap-table reserve is sized for6GiB. Fresh512MiB test Data expands exactly under the actual C decoder.
  • 2026-11-06 prerequisites: offline FDT/EFI intersection planning and readonly EFI extent reporting are prepared. A historical FDT suggests a high-address4GiB candidate but dynamic reservations and a same-boot EFI map remain unqualified; the256MiB XNU probe configuration was not enlarged.
  • The previous [0x80000000, 0x100000000) candidate overlapped 44 recorded no-map reservations and was removed.
  • The live FDT is 885,861 bytes with SHA-256 8a653a3e790f29bf2b0f3545135f06fe771360f31da3d37c04f648c26b95e26e and describes the current 12 GiB RAM map.
  • The former A8000000+10000000 UEFI Kernel carveout overlaps the live initrd B74AC000-B7FFEE30 and is unsuitable for RAM-boot phase 2.
  • C2400000+10000000 is covered by live RAM, avoids all live reservations and the initrd, and lies in UEFI DXE conventional memory.
  • The flashed vendor FDT uses generic qcom,sun-qrd compatible strings but retains the elden 3K panel marker, 1904x3040 display and UFS path.
  • The ADT has no optional RAMDisk, TrustCache or GPU addon placeholders because phase 2.1 has no matching inputs.
  • The unique chip ID remains a local input and is not stored in the repository.

Completion criteria ​

  • The ADT contains exactly one continuous memory range.
  • The range is covered by live firmware RAM and avoids recorded reservations, initrd, GOP and UEFI FD.
  • DarwinBoot and the UEFI exit map confirm that same range is conventional memory before XNU entry.

Current limits ​

  • The raw live FDT remains local-only because it can contain device identifiers.
  • Actual DarwinBoot ADT, boot_args and allocated-window addresses remain runtime evidence.
  • The live vendor tree and pinned 16 GiB source differ in RAM size and generic compatible strings; both are tracked separately.
  • SMMU and cache policy are not complete.

Next action ​

  • Keep6GiB for the next hardware test; separately qualify any larger window and do not advertise a flat16GiB.

Evidence ​

Storage and root ​

host-verified

Components: ShengUfs.

Hardware and dependencies ​

  • SM8750 UFS host at 0x1d84000 (+0x3000) and QMP PHY at 0x1d80000 (+0x2000), both described by the same-device Linux tree sm8750-lenovo-elden.dts and sm8750.dtsi pinned at bf96c3d4048973298ede78487177c6f1b4f6bc0f.
  • Controller resources: GIC_SPI 265 level-high, 8 GCC/RPMh clocks, GCC_UFS_PHY_BCR, GCC_UFS_PHY_GDSC, apps_smmu stream 0x60, lanes-per-direction 2, ICE crypto@1d88000.
  • PHY resources: RPMH_CXO_CLK, GCC_UFS_PHY_PHY_AUX_CLK, TCSR_UFS_CLKREF_EN, GCC_UFS_MEM_PHY_GDSC.
  • Board supplies and reset: PHY vreg_l1j_0p91 and vreg_l3g_1p2, host vreg_l17b_2p5 (1.3 A) and vreg_l1d_1p2 (1.2 A), reset GPIO tlmm 215 active-low.
  • 4 KiB logical-sector partition geometry and a root-volume UUID, both owner-supplied and read-only.

Configuration ​

  • elden-ufs_probe_defconfig selects the read-only observation build; elden-ufs_rootcheck_defconfig builds the complete read-only IOBlockStorageDevice interface.
  • The SM8750 board patch keeps explicit LUN0/4 selection and validates inherited SMMUv2 identity DMA without changing the admitted route.
  • Root-check uses ARMADA_BACKUP for the existing LUN4 test window; production root partition and manifest remain separate configuration work.
  • The macOS 26.5 Elden build opts into legacy queue takeover on LUN 0 after verifying the firmware clock and identity DMA state.
  • The Recovery root transport is read-only. A separate opt-in userdata device uses the board geometry and both GPT copies. Mode 1 is read-only and mode 2 enables bounded writes and cache flushes.

Procedure ​

  • Build on the configured Mac using the selected source-kernel headers and pinned storage reference.
  • Qualify the original and concrete 190-slot ABI, link the complete kernel, then audit the final candidate and real class-registration path.
  • Package the accepted FD with a 56 MiB payload, preserve exact stock rollback values, and perform independent signature/content/entry checks.
  • Verify the macOS read-only UFS diagnostics on hardware before publishing or mounting Recovery media.

Development findings ​

  • 2026-11-07: LUN0/ipados root header read is device-verified. New AVB-kernel-pinned complete-image and per-block verification, live readonly media ancestry bridge, SystemOS union and RAM Data startup candidate compile/link and host checks pass; new mount/startup remains untested on hardware.
  • 2026-11-06 prerequisites: official21H461 OS/SystemOS and original trust inputs are verified. Native readonly APFS inspection supplies actual filesystem UUIDs. A9381609472-byte raw root layout passes file readback and the actual RootLayout parser with file callbacks; Data, runtime policies and real root-target kernel remain pending. No hardware disk access.
  • 2026-11-06: standalone GPL UEFI UFS backend and current/previous stage2 applications compile; original/session suites and independent SHA/header/torn-update tests pass. Actual AAVMF probe platform rejection and RAM FAT child failure/cleanup/retry pass; no tablet UFS operation is claimed. See docs/UFS-STAGE2-20261106.md.
  • The full root-check kernel 07d4df1d… compiled/prelinked successfully; the diagnostic derivative is 3fd40e9f….
  • 190 original/concrete slots, 23 concrete overrides, 11 original imports and actual C2/D2 were qualified without replacing the storage class with stubs.
  • The final derivative executes to the real registered original storage class in QEMU using the actual menu arguments; class sizes are 0xd8/0x90/0x88.
  • The compressed EFI loader decoded all complete assets in AAVMF, and a neutral-debug DarwinBoot test build passed EBS to the same XNU console and UFS registration gate. This is not a test of the entire vendor firmware.
  • The exact accepted DarwinBoot binary needs its platform graphics debug sink in AAVMF; its observed fault is before EBS, unlike a proved hardware handoff failure.
  • 2026-11-06 hardware: corrected arm-io/AAPL,phandle ADT and fixed-address SMMU loads reach read-only LUN4 GPT/block checks. LUN0/ipados source configuration is added; block publication and root mounting remain pending.

Completion criteria ​

  • Controller and PHY initialize.
  • Read-only capacity, GPT and known-block checks match the device.
  • The configured OS volume mounts and launchd starts.
  • A verified APFS install on the former Android data extent boots with writes bounded to the selected partition.

Current limits ​

  • The macOS BaseSystem and three ISC volumes mount on the physical tablet. The XNU root path uses read-only UFS media, with a bounded volatile overlay for ISC. The opt-in r66 probe verified a single native 4 KiB write and restoration in the Recovery partition.
  • The existing 2 GiB ARMADA_BACKUP is an empty iPadOS test window. LUN 0 iPadOS root publication remains unqualified.
  • The install device's multi-block write and cache flush path has host evidence. Device publication, persistent APFS writes, installer operation, and physical power-loss recovery remain unqualified.

Next action ​

  • Populate the verified scratch APFS group with the matching Data template and cryptexes and exercise installed boot in QEMU.
  • RAM-boot Inspect macOS Install Target and verify the read-only block device reports the exact LUN 0 userdata extent.
  • Qualify extent-bounded persistent APFS writes and flush readback before installing on the former Android data extent.

Evidence ​

Display ​

implemented

Hardware and dependencies ​

  • 1904x3040 bonded dual-DSI panel with DSC.
  • UEFI GOP framebuffer and splash reservation.
  • SM8750 DPU/DSI/PHY and backlight sequencing.

Configuration ​

  • The phase 1 menu renders through UEFI GOP.
  • The separate macOS 26.5 build includes an opt-in Elden GOP profile and preserves the firmware scanout.

Procedure ​

  • Keep display handoff on GOP for the first kernel milestone.
  • Record a visible checkpoint after DarwinBoot.
  • Add DPU/DSI only after kernel entry is stable.

Development findings ​

  • GOP display is device-verified in the UniXNU menu.
  • The running Elden Linux MSM DRM driver reports a 1904x3040 internal panel, 118x190 mm active area and a 7680-byte framebuffer stride.
  • The recorded UEFI handoff reports base 0xFC800000, row 7616, 1904x3040 and depth 32. The macOS profile checks that the boot-time scanout fits the board's reserved aperture before mapping it.

Completion criteria ​

  • XNU paints a known pattern through a declared framebuffer handoff.
  • Userland presentation and backlight transitions work.

Current limits ​

  • The Elden macOS profile uses inherited GOP scanout with CPU copies.
  • Native DPU/DSI modesetting and backlight control require separate validation.

Next action ​

  • Trace RecoveryOS boot mode selection and Language Chooser startup on the working eight-core software display path.

Evidence ​

Input ​

host-verified

Components: QcomGeniSpi.

Hardware and dependencies ​

  • Novatek SPI touch on SPI4 and GPIO 162 interrupt.
  • Volume and power keys used by the UEFI menu.
  • The installed Linux image names novatek_ts_csot_3k_fw.bin and specifies a 10 MHz GENI SPI4 bus with GPIO 162 falling-edge interrupts.

Configuration ​

  • The phase 1 menu accepts volume-key input through UEFI.
  • The NT36536 firmware loader and ten-slot report reader use the shared QcomGeniSpi transfer interface.
  • The opt-in Elden Recovery ADT and IOKit controller bind the local firmware, SPI4 and GPIO 162 raw event latch to the paired IOHIDDevice implementation.

Procedure ​

  • Boot the verified Recovery RAM image and select Recovery with Touch (8 cores).
  • Capture the NT36536 product and version, the first contact and release reports, and the Recovery screen responding to a tap.
  • Verify repeated taps, multi-touch, coordinate orientation and release on stop.

Development findings ​

  • Volume-key menu input is device-verified.
  • The touch-enabled Recovery image passed host prelink, ABI, ADT and packed image checks.
  • The panel and touch controller share board state that must be validated together.

Completion criteria ​

  • Touch coordinates map to the display.
  • Contact IDs, releases and multi-touch remain stable.
  • Buttons produce expected HID events in XNU.

Current limits ​

  • The candidate polls the raw falling-edge latch with the GIC and PDC routes disabled. Board clock and pin ownership, firmware startup, delivered HID events and touch suspend/resume need tablet verification.

Next action ​

  • RAM-boot the verified touch image on Elden and compare the contact and release logs with observed input in Recovery. Verify wake and reinitialization after platform suspend is available.

Evidence ​

GPU ​

host-verified

Hardware and dependencies ​

  • SM8750 Adreno 830 chip ID 0x44050000.
  • GPU, GMU and GPU SMMU resources measured from the tablet's Linux device tree.
  • Matched gen80000 GMU, SQE, AQE and ZAP firmware identities.
  • The saved Linux kernel and device tree supply the four speed-bin mappings and candidate GPU and GMU OPPs.

Configuration ​

  • The GMU loader reuses AdrenoFirmware and constrains destinations to SM8750 GMU address ranges.
  • The reset-held transfer checks 4 KiB IOVA backing, writes and reads back TCM, and synchronizes instruction-cache and scratch payloads for device access.
  • The GMU context adapter uses ArmSmmu4K for the five inactive buffer mappings and read-only observation of the exact SID 5 route and active table graph.
  • An optional ARM64e build embeds the pinned GMU image. elden-adreno830-probe=1 validates it and elden-adreno830-gpucc=1 reads GPUCC handoff state.
  • The HFI configuration adapter requires the reported DRM chip and speed-bin code, matching observed OPP rates and a verified live command-db lookup before deriving the A8xx performance and bandwidth tables.
  • The cold-start adapter reuses the reset-held transfer and shared HFI queue, verifies fresh CM3 and HFI ready states, and attempts reset recovery on failure.
  • The SM8750 clock controller verifies the rail floor and sequences CX, GPU PLL, GMU and hub roots and SMMU clock. Its stop path preserves inherited enables and parks both roots before dropping its parent clocks.
  • The optional Recovery USB worker verifies the MX read, then acknowledges the highest supported MX and CX active votes in that order. The votes remain held until reset.
  • The managed clock test calls the SM8750 power controller after both votes and reads the GMU reset and counter through a read-only mapping.
  • The same entry observes the GPU SMMU slots and candidate GMU context bank after the clocks come up.

Procedure ​

  • Validate the full firmware image and check every destination before transfer.
  • Read the GPUCC CX power and branch status on a dedicated RAM probe.
  • Qualify one RPMh MX read after USB CDC and managed reset are ready.
  • Establish SM8750 power and clock control and ArmSmmu4K ownership of GMU SID 5 before calling the transfer.
  • Bring up A8xx HFI before enabling submission.

Development findings ​

  • The tablet's Linux DRM and Turnip stack identifies Adreno 830.
  • The shared loader validated the four expected firmware blocks on the build host and on the tablet under Linux and XNU.
  • The tablet DT places the GMU at 0x03d37000 with a 0x68000-byte aperture. ITCM, DTCM and CM3 reset are at offsets 0x36000, 0x3a000 and 0x47000 within that aperture.

Completion criteria ​

  • GMU firmware starts and responds on HFI under XNU.
  • GPU submissions, fences and mapping work.
  • A known image renders and Metal presentation is visible.

Current limits ​

  • GPUCC and command database readback are device-verified. The reset-held firmware transfer remains host-verified only.
  • The transfer needs a powered, clocked and exclusively owned GMU and pinned IOVA backing. The XNU boot hook currently calls the diagnostics only.
  • The HFI adapter produced matching tables in XNU using native database resources and the same-device Linux speed bin. The direct QFPROM probe reset before USB. Hardware HFI exchange remains pending.
  • The rail-hold and clock candidates are built and host-verified. Physical rail votes, GPUCC writes, GMU MMIO, SMMU survey and route attachment, firmware startup, submission and Metal remain pending.

Next action ​

  • Run the deferred MX read and active rail hold entries on the tablet. After both acknowledgments and fastboot return, run the managed GPU Clock and SMMU Survey entry and verify the power result, advancing counter, slot validity and candidate bank state.
  • Bind the GMU stream to an ArmSmmu4K context and exercise the cold-start adapter before sending HFI tables on hardware.

Evidence ​

Network ​

host-verified

Hardware and dependencies ​

  • Wi-Fi PCIe function 17cb:110e on the SM8750 root complex.
  • WCN7861 Bluetooth over QUP2 SE6 UART and the three peripheral and two HCI firmware inputs from the saved Linux image.
  • Shared WCN7861 PMU.

Configuration ​

  • The DTS records the UART and board pin states with the controller disabled.
  • PeachBoot runs the WCN7861 peripheral exchange through the HCI version reply on a powered UART with exclusive ownership.

Procedure ​

  • Verify PMU rails and BT_EN on a cold boot.
  • Bind GENI UART clock, DMA and IRQ resources and verify the 115200 to 8 Mbaud transition with HCI version readback.
  • Complete HCI firmware load and connect the paired macOS daemon.
  • Verify PMU and PCIe state before Wi-Fi bring-up.

Development findings ​

  • The compiled UART resources match the saved Linux device tree.
  • The saved Linux boot image supplies all five Bluetooth inputs and seven PEACH hw2.0 firmware and board files.
  • The host peer verifies exact firmware bytes and the expected HCI version tuple after the peripheral startup sequence.

Completion criteria ​

  • Wi-Fi associates and transfers traffic on the tablet.
  • Bluetooth pairs and exchanges data with a peripheral.

Current limits ​

  • The peripheral code compiles for ARM64e and has no XNU runtime caller yet.
  • HCI firmware loading, macOS daemon integration and the Wi-Fi transport still need bring-up.

Next action ​

  • Qualify the shared PMU and QUP2 SE6 clocks, DMA and flow control, then run the peripheral exchange on the tablet.

Evidence ​

Audio ​

not-applicable

Hardware and dependencies ​

  • Audio is outside the current bring-up milestone.

Configuration ​

  • No ADSP, GLink, codec or audio component is selected.

Procedure ​

  • Revisit after platform, storage and display are stable.

Development findings ​

  • There is no elden audio log or firmware inventory.

Completion criteria ​

  • Not required for this milestone.

Current limits ​

  • Speakers, microphone and DSP routing are not implemented or claimed.

Next action ​

  • Open a separate audio bring-up task with DSP and codec inputs.

Evidence ​

Collect evidence using the next action.

Power ​

planned

Hardware and dependencies ​

  • PM8550-class PMIC, RPMh resources and device power domains.
  • Volume and power key behavior.

Configuration ​

  • The first DTS selects only CPU and GIC resources.
  • No platform power component is selected.

Procedure ​

  • Keep suspend and CPU power management disabled during first XNU entry.
  • Record regulator and clock ownership.
  • Add platform power only after the boot CPU reaches a stable checkpoint.

Development findings ​

  • 2026-11-05 marker menu retains existing reset/shutdown actions and uses a 600-second no-input fallback to reset. No new PMIC write path or device power qualification; see docs/OFFLINE-PAYLOAD-20261105.md.
  • UEFI power and key handling are verified only at the firmware layer.
  • The selected OS profile does not supply sleep-disabled, so board.toml now adds it under [adt.defaults.u32].
  • The final Phase 2.1 ADT was decoded with sleep-disabled=1.
  • The XNU power topology is not complete.

Completion criteria ​

  • Declared power controls match readings.
  • Sleep/resume or shutdown transitions restore dependent peripherals.
  • An installed macOS system resumes from a hybrid hibernation image and restores storage, display, input and radios.

Current limits ​

  • Battery, charging, thermal and sleep are not implemented.

Next action ​

  • Verify PM8550 PON watchdog expiry independently of the kernel scheduler.
  • Audit RPMh resource ownership and PSCI suspend states. Qualify peripheral suspend and resume before testing hybrid hibernation on a writable install.

Evidence ​

Image assembly ​

device-verified

Hardware and dependencies ​

  • iPad7,1 iPadOS 17.7.11 build 21H461 restore inputs.
  • Target kernelcache, XNU 10063.141.1, DriverKit and TrustCache ABI inputs.
  • Android v3 RAM-boot image, a 4 MiB phase 1 embedded FAT payload and a measured 56 MiB phase 2 candidate.

Configuration ​

  • The phase 1 image is produced by the project build script and verified against recorded hashes.
  • Format 2 output is out/elden/ipados-17.7.11-21H461/elden/.
  • The 2.2 prelink output is kernel/kernel.macho and its ADT sidecar; no phase 2 boot image is generated.

Procedure ​

  • Run scripts/build_phase1.py for the accepted firmware path.
  • Fetch the target IPSW components and build the patched 4 KiB XNU.
  • Prelink against the pinned kernelcache and audit Mach-O, ABI, symbols and ADT.
  • Package an isolated near-final-size payload only in Phase 2.3.

Development findings ​

  • 2026-11-07: manual120-second poweroff and8-second autostart candidates include unchanged FD/56MiB FAT,6GiB ADT, original TrustCache, RAM Data and session IDs. Independent RSA/data/stock properties and embedded-file audits pass; every boot index stays1738713600@0.
  • 2026-11-06 prerequisites: direct9ebc7b6a and KShimC6af63b3e experiments are signed at exact stock index. A frozen dual11 control rebuild is byte-identical; the48MiB recovery FAT preserves the full stock kernel/initrd and raises the explicit FreeExec copy bound to64MiB. Source runtime and old signed artifacts are preserved.
  • 2026-11-06 host: source GOP console kernel/archives/prelink completed; separate read-only UFS root-check archive compiled with inherited identity DMA and LUN selection. TWRP/Linux EFI prototype and userdata/ESP design remain hardware-unverified. Details and bounded evidence in docs/NIGHT-BRINGUP-20261106.md; no stock index change or device write.
  • 2026-11-05 offline: ramdisk argv placement fixed; gzip made deterministic; embedded validation checks both header and actual x3 constant and rejects a FAT BPB extending past published bytes. The isolated marker candidate uses the accepted FD and a rebuilt 56 MiB shim, and passes kernel/ADT/FAT/FD checks. See docs/OFFLINE-PAYLOAD-20261105.md. No device run is claimed.
  • The documented Phase 1 build was device-verified and the current procedure rebuilds and passes structural checks.
  • The same current recipe produced 94b6a6315b04fc9d276bc15e9519107be292244380fc3bf139f5af6c96a3bb0a instead of the historical accepted image hash; byte-for-byte rebuild identity is not claimed, but the new image completed two owner RAM cold boots.
  • The verified UniXNU third-party pin is intentionally retained for the accepted build.
  • Phase 2.2 produced a 21,206,040-byte native kernel and a 54,050,816-byte prelinked kernel. The 57-patch sequence selects 30 executable Apple components, 7 kernel interfaces and 30 module entrypoints.
  • A 58,720,256-byte FAT volume held the 54,063,968-byte kernel/config/ADT set with 3,734,016 bytes free and a byte-identical kernel readback; that 2026-10-25 volume was actually FAT32 (mformat -F) and is only mountable because 56 MiB clears the EnhancedFatDxe FAT16 cluster floor.
  • EnhancedFatDxe derives the FAT type from the cluster count: a FAT32 BPB with fewer than 65,525 clusters returns EFI_VOLUME_CORRUPTED, so the 8 MiB FAT32 probe volume never became a SimpleFileSystem and UniXNU fell back to the built-in menu. The probe and payload volumes are now written as FAT16 by scripts/make_payload.py, and scripts/verify_phase2_artifact.py recomputes the cluster count and BPB label for every candidate.
  • The prelink report remains runtime_qualified=false, abi_qualified=false and loadable=false until device execution evidence exists.
  • The embed_payload images were device-verified on 2026-11-01: EnhancedFatDxe mounted both FAT16 volumes, UniXNU read \EFI\UniXNU\unixnu.toml from the embedded payload and listed its entries next to the green checkpoint, so the kernel-field payload channel replaces the ramdisk channel for phase 2.3.
  • The menu used the automatic scale (MAX (1, Width / 270) = 7 on the 1904-pixel short side) and truncated the footer; the scale is now pinned to 4 in package/phase2.3-unixnu.toml, which scripts/make_phase2_payload.py reads by default.
  • 2026-11-01: the stage 2.3 embed-payload boot image 3dc8ae9611ec899ff14d50032ecd0ce2dd1035b3af9f9d3183bbab6cd41bcd93 reached the DarwinBoot hand-off in two RAM cold boots: the screen printed the ARM64, video and inputs-validated lines and the Entry.S green band, so EL1, the 256 MiB window at 0xB927C000 and ExitBootServices are device-verified. The green band is the loader breadcrumb; it does not prove that the XNU entry instruction ran.
  • The stage 2.5 entry probe appends an r-x LC_SEGMENT_64 after Kernel.End, rewrites the entry B to branch into it and draws a blue band from boot_args->Video before branching back to the original target; scripts/darwinboot_preflight.py replays ParseKernel/AdtNode on the host (16 segments, span 0x4310000, window 0x10000000) and the 12,738,560-byte image a4ad1fc74abef35da9f947c350ff5763f2b8dea61da5adeee72aefcd0a67abf7 passes the stage 2.3 verifier with probe kernel a8f04b455996a4656a3055254c127e42f0676187c9550aa0b5fa57bbbe94e2d9.

Completion criteria ​

  • All format 2 build steps run from the resolved output directory.
  • The payload contains the kernel, ADT and declared optional inputs.
  • The boot image matches the ABL header and size limits.

Current limits ​

  • The three 2026-10-31 device failures (two v3 probe boots, one v4 boot) share the broken FAT32 probe volume, so they do not disprove the ABL ramdisk handoff; that channel is unproven rather than closed, and reopening it needs firmware that still contains UniXNURamDiskDxe. The embed_payload channel that replaced it is device-verified; see docs/PHASE2.3-STATUS.md.
  • The current 4 MiB board payload belongs to the accepted phase 1 build; the phase 2 payload is 56 MiB and is only used by the separate out/phase2.3 candidate.
  • The 2.2 host build used Command Line Tools with an iPhone platform shim because full Xcode is absent; release rebuilding still requires the official Xcode/iPhoneOS SDK.
  • The entry-probe kernel is a diagnostic artifact for out/phase2.4 only; it is not the release kernel and must not replace the phase 2.3 payload in a final image.

Next action ​

  • Use the manual startup image first; autostart is not a qualified unattended fastboot recovery loop.

Evidence ​

Diagnostics ​

device-verified

Hardware and dependencies ​

  • RAM-only owner-operated boot procedure.
  • Build and artifact SHA-256 values.
  • UEFI screen output and recovery path.

Configuration ​

  • verify_artifact.py checks the FD, Android image and embedded FAT.
  • build.json records artifact sizes and hashes.
  • The phase 1 acceptance requires two consecutive cold boots.

Procedure ​

  • Build and verify the image.
  • Owner runs fastboot boot twice and records the visible result.
  • Power off and confirm stock Android before further work.

Development findings ​

  • 2026-11-07: panic duplication is fixed and device-confirmed. New generic MIT DWC3 core plus guarded elden adapter, nonblocking console ring, bounded panic drain, session-bound status and PID1 EL0 syscall observation are built; CDC hardware remains unqualified.
  • 2026-11-06 prerequisites: final EFI31744-byte application passes FDT mailbox, parent metadata and memory-report contracts, and reaches the same XNU registration return1 through the neutral-debug AAVMF driver. Known-read expectations are prepared but were not sampled on the tablet.
  • 2026-11-06 host: source GOP console kernel/archives/prelink completed; separate read-only UFS root-check archive compiled with inherited identity DMA and LUN selection. TWRP/Linux EFI prototype and userdata/ESP design remain hardware-unverified. Details and bounded evidence in docs/NIGHT-BRINGUP-20261106.md; no stock index change or device write.
  • 2026-11-05 offline: marker menu fallback is 600 seconds; NativeUfs probe 2 deliberately panics to display read-only GCC/UFS diagnostics. Probes 7/8 inspect SMMU/CB; SM8750 rejects probe 3. This changes acceptance wording, not the driver. See docs/OFFLINE-PAYLOAD-20261105.md.
  • The original accepted image is b56ef4b7e5a71382b8c279c4ee1560764fabd126ba37ac0fd6e495c80b9ec6e1.
  • Earlier UFSDxe failure images are identified and must not be reused.
  • Phase 2 requires separate kernel and DarwinBoot evidence.
  • On 2026-10-25 a fresh phase 1 rebuild produced image SHA-256 94b6a6315b04fc9d276bc15e9519107be292244380fc3bf139f5af6c96a3bb0a and FD SHA-256 e5420517d55f4b638c07617a252d3a65c95cfb731584dcb10dd1d98bae412580. The build and prior local candidate were read-only preserved under .cache/phase2.0, and the owner then completed two RAM cold boots of the new image.
  • Phase 2.1 host auditing now checks the ADT independently and records FDT, ADT, UEFI memory and boot argument sources under .cache/phase2.1 without replacing phase 1 artifacts.
  • Phase 2.2 audits passed for 1,010 target objects, 7,730 prelink XML tags, iOS 17.0 deployment, 4 KiB TCR and the expected ArmDTPlatform/ArmCpu symbols. These are host-only checks.
  • 2026-11-01: the two phase 2.3 embed-payload images both reached the UniXNU menu with the green payload checkpoint and printed config: \EFI\UniXNU\unixnu.toml, so a visible menu no longer depends on the ABL ramdisk.
  • 2026-11-01: choosing xnu on the stage 2.3 boot image printed the DarwinBoot ARM64/video/inputs-validated lines twice and painted the Entry.S green band. This is loader evidence; the entry probe now supplies the first kernel-side checkpoint.

Completion criteria ​

  • Every claimed checkpoint has a reproducible command, image hash and visible result.
  • Failures reach a diagnosable screen or log instead of a silent hang.

Current limits ​

  • The DarwinBoot hand-off and ADT acceptance are device-verified, but there is no XNU console or serial log yet; the entry probe is the first kernel-side checkpoint and still needs a device result.
  • The generated hardware ADT input is a minimal host candidate. The separate firmware memory description contains the source-derived reservation map, but neither is a live device FDT.
  • The historical accepted image bytes are absent from the workspace, so they cannot be booted or byte-compared locally.

Next action ​

  • Build and test the 4 KiB ARM64e macOS kernel handoff after the passing standalone translation and PAC probes.
  • Qualify the opt-in UniXNU firmware command menu over a physical EFI serial port, then bring up a pre-boot USB CDC transport for the MacBook cable.
  • Run the PC CDC logger before boot. Require actual bytes, matching session, both mount results and repeated PID1 user-trap status; do not infer success from a launchd filename.

Evidence ​

Released under the BSD-2-Clause-Patent License.