OPPO Pad mini 5G (OPD2515, SM8845P / Alor)
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 |
| 内存与 DMA | host-verified |
| 存储与根卷 | planned |
| 显示 | device-verified |
| 输入 | device-verified |
| GPU | planned |
| 网络 | 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.
证据
host: All 13 structured areas parsed and validated. Command:python3 ../UniXNU/scripts/porting-record.py check --device .. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: Records the S9 stage-3 artifact hashes and host readback checks. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.source: Reproducible patch from upstream main 8ec13bb1077502e53e8ba3b82c56842589b5c837.
固件与启动
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.
证据
device: DarwinBoot printed inputs validated, exited boot services and handed off to the kernel. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: S9 adds only the six-second MMU-post-enable reset probe and passes host readback. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.source: Adds boot ramdisk recovery, persistent diagnostics and the Security2-safe DarwinBoot load path.
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.
证据
source: Defines the green, blue and magenta boot progress checkpoints.device: Blue and magenta bars were visible after DarwinBoot handoff. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: S9 contains a single six-second MMU-post-enable reset checkpoint; device timing is pending. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.
内存与 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.
证据
host: Parses the repository metadata and confirms the documented 6 GiB handoff window and framebuffer evidence are internally consistent. Command:python3 scripts/verify.py. Revision:de8962a9bcf838bfc16b8571f43449663d094194.source: Board memory and framebuffer reservation used by the current entry probe.
存储与根卷
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: DarwinBoot text and framebuffer geometry are visible on hardware. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.
输入
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.
证据
device: The UniXNU menu and countdown were navigable with physical volume keys. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.
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.
证据
host: Records the post-rebase artifacts, sizes and SHA-256 values plus payload readback checks. Command:python3 scripts/verify.py. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: Records the S9 single-variable kernel change, immutable payload members and final image hash. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.source: Defines the XNU menu, DarwinBoot driver and return action.
诊断
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.
证据
device: Shows DarwinBoot validation and handoff messages. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.device: Shows the green, blue and magenta checkpoints and the later UniXNU menu. Command:fastboot boot <validated-opd2515-boot-image>. Revision:de8962a9bcf838bfc16b8571f43449663d094194.host: Records the S9 reset-probe construction and host readback; device timing remains pending. Command:python3 scripts/verify.py. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.device: Shows green, blue and magenta after DarwinBoot handoff; the user then observed a hard reset after several seconds. Command:fastboot boot <S9-boot-image with SHA-256 FA3930AE...>. Revision:840fbdb4f7260dedcde53a10dc5c437ef28e30b8.