Back to Eliza

Android RVA23 prebuilts + AOSP branch pin

packages/chip/docs/toolchain/android-rva23-prebuilts.md

2.0.32.2 KB
Original Source

Android RVA23 prebuilts + AOSP branch pin

Why we need a pin

Google removed RISC-V from the Android Common Kernel as primary branch in April 2024, then reinstated RVA23 RISC-V as Tier 1 late 2025. As of 2026-05-19 there is no single AOSP RISC-V branch with stable Tier 1 CTS that is safe to pin for an open dev-board project.

Pinning the AOSP RISC-V branch SHA is mandatory before any Android boot claim can be made. Without a SHA, every "Android RISC-V" build is at the mercy of the floating master and reproducibility breaks.

Required prebuilts

SurfaceSourcePin target
AOSP RISC-V system imageAOSP master or android-15.0.0_r*-riscv64branch SHA via compiler/aosp/manifest.xml
NDK RISC-V (RVA23U64)android-ndk-rXX-linux.zipNDK release tarball + SHA-256
Bionic libc RVA23bundled with AOSPimplicit (via AOSP pin)
ART RISC-V backendart/runtime in AOSPimplicit (via AOSP pin)
gcc-riscv64-linux-gnu glibc crossUbuntu aptrecorded in Dockerfile apt manifest

Manifest

compiler/aosp/manifest.xml holds the pinned-but-empty placeholder. The revision attribute is TODO_PIN_AOSP_RISCV_BRANCH_SHA and the project list is empty by intent: either a real SHA lives there with the full project list, or the gate fails closed.

Status

BLOCKED. Refresh procedure once Google stabilizes:

  1. Identify the branch (e.g. android-15.0.0_r4-riscv64).
  2. Run repo init -u https://android.googlesource.com/platform/manifest -b <branch>.
  3. Capture every project's SHA into <project sha1=...> entries in compiler/aosp/manifest.xml.
  4. Pin the NDK release in docs/evidence/compiler/android-rva23-prebuilts.yaml.
  5. Update docs/evidence/compiler/aosp-branch-pin.yaml with verification commands and remove the BLOCKED status.

Evidence gate

docs/evidence/compiler/aosp-branch-pin.yaml fails closed until a stable branch SHA is committed.

Cross-references

  • LLVM trunk: docs/toolchain/llvm-trunk-pin.md.
  • IREE backend: docs/toolchain/iree-eliza-npu.md.
  • Reproducibility: docs/toolchain/reproducibility.md.