Skip to content

OPPO Pad mini 5G (OPD2515, SM8845P / Alor) ​

Axiang-dev/UniXNU-opd2515

OPPO Pad mini 5G (OPD2515, SM8845P / Alor) experimental UniXNU port. The BDS fastboot path, payload, DarwinBoot handoff and first XNU entry probe are device verified; MMU completion, storage, root volume and userland are not.

源记录: porting.toml, e2e7ca1313e407596822480633aa3273eddef761.

本页按设备记录自动生成。

部分状态
配置host-verified
固件与启动device-verified
CPU 与中断implemented
内存与 DMAhost-verified
存储与根卷planned
显示device-verified
输入device-verified
GPUplanned
网络planned
音频planned
电源planned
镜像组装host-verified
诊断device-verified

配置 ​

host-verified

组件: ArmDTPlatform, ArmCpu, SoftwareAES, XnuPrelink, DarwinBoot.

硬件与依赖 ​

  • Use the live OPD2515 device tree and sysfs identity for SM8845P / Alor, 1680x2520, 6 GiB handoff window.
  • Use UniXNU upstream 8ec13bb1077502e53e8ba3b82c56842589b5c837 plus the OPD2515 patch series for the iOS 16.5 profile and firmware changes.

配置 ​

  • Board is opd2515, SoC is SM8845, profile is ios-16.5-20F66 and the selected components are ArmDTPlatform, ArmCpu, SoftwareAES, XnuPrelink and DarwinBoot.
  • The platform seed stays local as UNIXNU_UNIQUE_CHIP_ID and is never committed.

操作步骤 ​

  • Run python3 ../UniXNU/scripts/porting-record.py check --device . with the pinned UniXNU source.
  • Validate that the generated OPD2515 patch applies to the pinned upstream commit.

开发经验 ​

  • The recovery identity macan / OnePlus_15R is donor metadata; the live fingerprint oplus/ossi/ossi and device tree identify this tablet.
  • The active bootloader is stock GBL/BDS. No replacement firmware partition is needed or permitted for bring-up.

完成条件 ​

  • board.toml, porting.toml and feeds.toml parse and agree.
  • All selected components and the fixed source revision resolve in the UniXNU checkout.
  • The platform seed and vendor inputs remain outside Git.

当前范围 ​

  • Only the entry-probe component set is configured. Storage, display, input, GPU, network, audio and power components are intentionally absent.

下一步 ​

  • Re-run this record check after every board or profile change and after any UniXNU rebase.

证据 ​

固件与启动 ​

device-verified

组件: XnuPrelink, DarwinBoot.

硬件与依赖 ​

  • Stock GBL/BDS fastboot environment, a valid boot image generated by the device package, and Apple-derived payload inputs supplied locally.
  • DarwinBoot and a bundle-format trust cache for XNU 8796 iOS 16.5.

配置 ​

  • The payload uses volume OPD2515, a 208 MiB FAT image and one DarwinBoot driver entry.
  • The boot image uses header version 0, 4096-byte pages, base 0x10000000, kernel offset 0x8000 and tags offset 0x100.

操作步骤 ​

  • Build the OPD2515 package, verify every payload member and boot-image segment, then use fastboot boot only.
  • After each run, enter OrangeFox/REC and read the authorized userdata-tail log without formatting userdata.

开发经验 ​

  • BDS discards the Android boot-image ramdisk, so the EFI application scans the retained fastboot buffer and republishes it as a block device.
  • DarwinBoot path LoadImage was denied by Security2; loading from a private memory buffer while retaining firmware Security2 validation succeeded.

完成条件 ​

  • BDS enumerates the image, executes UniXNU, loads DarwinBoot and reaches the kernel handoff with no signature error.
  • The latest source revision is retested on hardware after any rebase.

当前范围 ​

  • S8 is device verified from the pre-rebase image. The S9 stage-3 image is host verified only.
  • No firmware partition may be modified.

下一步 ​

  • Boot the S9 image once in BDS and record whether the green, blue and magenta checks are followed by a reset after about six seconds.

证据 ​

CPU 与中断 ​

implemented

组件: ArmCpu, SoftwareAES.

硬件与依赖 ​

  • Eight-core PSCI topology, GICv3, 19.2 MHz generic/system timers and software AES from the SM8845 shared source.

配置 ​

  • opd2515_defconfig enables the DT platform, ArmCpu, native architectural timer, native AES, panic region and runtime trust cache.
  • UFS, virtio block, display, Adreno, RAM block and armvirt personality remain disabled during the entry probe.

操作步骤 ​

  • Build the prelinked XNU payload and inspect it for the stage 1, stage 2 and panic-screen changes before booting.

开发经验 ​

  • The entry stub executes far enough to produce the blue and magenta checks, but this is not evidence that full CPU discovery or interrupt setup completed.

完成条件 ​

  • Every enabled CPU reaches its entry checkpoint and timer/IPI handling is verified on hardware.

当前范围 ​

  • No secondary-CPU or interrupt-controller result is currently proven by the XNU entry evidence.

下一步 ​

  • Boot S9 and measure the reset delay after the green, blue and magenta checks; do not add storage or display work before the MMU transition is proved.

证据 ​

内存与 DMA ​

host-verified

组件: ArmDTPlatform.

硬件与依赖 ​

  • Live OPD2515 memory nodes, reserved-memory regions, PSCI/GICv3 data and the 1680x2520 framebuffer geometry.

配置 ​

  • The first bring-up owns one contiguous 6 GiB window from 0x980000000 to 0xB00000000.
  • The framebuffer is described at 0xFC800000 with size 0x2B00000.

操作步骤 ​

  • Compare the chosen handoff window against all fixed reserved-memory nodes and compile the device tree before packaging.

开发经验 ​

  • The 6 GiB window has no overlap with the 57 fixed reserved-memory nodes in the captured live device tree.
  • The ADT handoff exposes a 32-bpp 1680x2520 framebuffer with 6720-byte rows.

完成条件 ​

  • The handoff map is internally consistent and no reserved region overlaps the selected window.
  • A future XNU platform expert must re-audit the full physical map after MMU enable.

当前范围 ​

  • The static audit covers only the entry-probe window and does not prove XNU memory initialization.

下一步 ​

  • After the MMU checkpoint is passed, capture the kernel's memory map and recheck all high-memory ranges.

证据 ​

存储与根卷 ​

planned

硬件与依赖 ​

  • The XNU UFS controller, UFS host, SMMU, GPT and future OS/SystemOS/Data windows are not yet implemented.
  • The UEFI diagnostic path sees userdata through EFI_PARTITION_INFO_PROTOCOL for a 4 MiB tail window.

配置 ​

  • UEFI diagnostics locate GPT partition userdata and write only the last 4 MiB after explicit authorization.
  • The XNU defconfig currently disables NativeUfs and has no root-volume handler.

操作步骤 ​

  • Use OrangeFox/REC only to read the UEFI diagnostic tail; never format userdata or write a boot partition.

开发经验 ​

  • On the 491,334,463,488-byte userdata partition, the diagnostic window begins at 491,330,207,744 and does not imply XNU storage support.

完成条件 ​

  • The XNU UFS driver registers the controller, reads the GPT and mounts the configured root without touching unrelated windows.

当前范围 ​

  • Storage and root are not started. The persistent EFI log is the only implemented storage operation.

下一步 ​

  • Keep storage disabled until the MMU transition and panic path are observable.

证据 ​

按下一步操作收集证据。

显示 ​

device-verified

组件: ArmDTPlatform.

硬件与依赖 ​

  • The live framebuffer is 1680x2520, 32 bpp, row stride 6720 bytes at 0xFC800000.

配置 ​

  • The boot-image DTB publishes the cont_splash_region and package menu uses the same framebuffer geometry.
  • DarwinBoot receives the framebuffer base from the EFI handoff.

操作步骤 ​

  • Use the early color bars and UniXNU menu as the first display acceptance, then inspect DarwinBoot text before attempting an XNU display driver.

开发经验 ​

  • UniXNU and DarwinBoot text are visible at the correct geometry and scale.
  • The blue and magenta bars prove the kernel entry probe can draw before MMU setup.

完成条件 ​

  • A panel driver preserves the verified geometry, colors and backlight controls and a Metal client presents to the display.

当前范围 ​

  • No XNU-native panel driver, backlight service or GPU presentation is implemented.

下一步 ​

  • Do not start panel work until the kernel reaches a stable post-MMU diagnostic path.

证据 ​

输入 ​

device-verified

硬件与依赖 ​

  • Firmware-provided ConIn events from the tablet's physical volume keys and power button.

配置 ​

  • The UniXNU menu uses the stock firmware console input and a three-second countdown.

操作步骤 ​

  • Use volume keys to pause and traverse the menu; power confirms an entry only when an intentional test is required.

开发经验 ​

  • The user successfully paused the menu and selected entries with physical keys in S4 through S8.

完成条件 ​

  • Touch digitiser, touch HID and XNU-side hardware buttons are implemented and verified.

当前范围 ​

  • Only firmware ConIn is verified; no XNU touch or button driver exists.

下一步 ​

  • Keep firmware input for diagnostics until XNU display and storage are available.

证据 ​

GPU ​

planned

硬件与依赖 ​

  • Adreno platform registers, firmware, SMMU, clock, power-domain and display integration are not yet documented.

配置 ​

  • CONFIG_XNU_NATIVE_ADRENO is disabled for the current entry probe.

操作步骤 ​

  • Defer GPU work until the XNU platform expert, interrupt controller and storage are stable.

开发经验 ​

  • Only the pre-MMU framebuffer color bars exist; no GPU command stream executes.

完成条件 ​

  • A known image renders through the intended display and Metal client with correct fencing and memory policy.

当前范围 ​

  • No GPU code or hardware result exists.

下一步 ​

  • Keep Adreno disabled and revisit after userland bring-up prerequisites.

证据 ​

按下一步操作收集证据。

网络 ​

planned

硬件与依赖 ​

  • Wi-Fi/Bluetooth hardware, firmware path, PCIe/platform wiring, IORegistry drivers and calibration data are not yet collected.

配置 ​

  • No network component is selected.

操作步骤 ​

  • Defer network bring-up until iOS userland and a persistent writable filesystem are available.

开发经验 ​

  • No network driver or firmware loading path exists.

完成条件 ​

  • Scan, association, address assignment and sustained traffic pass with the pinned firmware.

当前范围 ​

  • Network is outside the current boot-stage scope.

下一步 ​

  • Leave network components disabled.

证据 ​

按下一步操作收集证据。

音频 ​

planned

硬件与依赖 ​

  • Codec, speaker amplifiers, DSP, clocks, power domains and firmware topology are not yet collected.

配置 ​

  • No audio component or route is selected.

操作步骤 ​

  • Defer audio until the board has a stable kernel and userland.

开发经验 ​

  • No audio service exists.

完成条件 ​

  • Each declared playback and capture route handles the selected format and start/stop correctly.

当前范围 ​

  • Audio is outside the current boot-stage scope.

下一步 ​

  • Leave audio components disabled.

证据 ​

按下一步操作收集证据。

电源 ​

planned

硬件与依赖 ​

  • PMIC, charger, battery, thermal, sleep and power-domain topology are not yet implemented.

配置 ​

  • No board power driver, battery service or sleep path is selected.

操作步骤 ​

  • Defer power management until the kernel can reliably boot and expose diagnostics.

开发经验 ​

  • No XNU power-management result exists.

完成条件 ​

  • Battery readings and each implemented sleep/resume transition match hardware observations.

当前范围 ​

  • Power management remains outside the entry-probe milestone.

下一步 ​

  • Keep power components disabled until the MMU path is understood.

证据 ​

按下一步操作收集证据。

镜像组装 ​

host-verified

组件: XnuPrelink, DarwinBoot.

硬件与依赖 ​

  • Apple-derived kernel/ADT/trust cache inputs remain local.
  • The build requires an iOS 16.5 profile and a platform seed supplied outside Git.

配置 ​

  • The package has one DarwinBoot driver and two menu entries: XNU and return to firmware.
  • Kernel args are -v and serial=3 and the menu timeout is three seconds.

操作步骤 ​

  • Run the porting-record checker, package preflight, full package build and payload readback.
  • Inspect every artifact size and SHA-256 before any device test.

开发经验 ​

  • The trust cache must be a DarwinBoot-compatible v2 bundle rather than the original Apple IM4P.
  • S9 changes only 64 kernel bytes to add the six-second MMU-post-enable reset checkpoint; all other payload members and boot-image segments match S8.

完成条件 ​

  • Kernel and prelink succeed, payload members match their sources, boot segments match, and the resulting image passes a controlled fastboot-boot test.

当前范围 ​

  • The S9 package is host verified; the latest device milestone remains S8 from the pre-rebase image.
  • Host readback does not prove that the MMU-enable instruction executes.

下一步 ​

  • Publish hashes with each build, keep generated binaries out of this repository, and attach the S9 device timing before claiming MMU progress.

证据 ​

诊断 ​

device-verified

硬件与依赖 ​

  • Early framebuffer colors, UniXNU status lines and the authorized userdata-tail log provide diagnostics without a serial console.

配置 ​

  • The 4 MiB tail window contains a generated header and text; the menu displays ramdisk and log state.
  • DarwinBoot and the kernel entry probe provide green, blue and magenta checkpoints.
  • S9 enables only the official stage-3 reset probe with a six-second delay after the MMU-enable instruction.

操作步骤 ​

  • Capture screen and photos, then read the exact userdata tail through REC after each failed boot.
  • Record timestamp, last UNIXNU/DARWINBOOT lines and whether the screen reset, returned or stalled.

开发经验 ​

  • S8 reached DarwinBoot handoff and the magenta entry checkpoint, then a new UniXNU menu appeared without a confirmed timing cause.
  • S9 reached the same green, blue and magenta checkpoints and then hard-reset after a user-observed delay of several seconds; exact timing was not measured.
  • After the S9 reset, Android reported ro.boot.bootreason=reboot, on OPD2515.

完成条件 ​

  • A reproducible command, source/image revision and accessible result accompany every claimed hardware milestone.

当前范围 ​

  • No serial console is available and the XNU path cannot use EFI services after boot-services exit.
  • The S9 hard reset is a preliminary MMU-post-enable result, but the exact magenta-to-reset interval remains unknown.

下一步 ​

  • Repeat S9 unchanged with a stopwatch or video. If reset occurs at about six seconds, mark stage 3 final and test stage 4 after _arm_vm_init in _arm_init.

证据 ​

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