SpacemiT K1 — Firmware Implementations
Free software replacements for the closed on-SoC firmware on the SpacemiT Key Stone K1 RISC-V SoC (4× X60-AI + 4× X60 cores; reference boards: Banana Pi BPI-F3 8 GB and 16 GB).
Only DDR training, the Imagination GPU, and the Linlon V5 VPU need replacement firmware. Other on-SoC processors (RCPU/ESOS) and boot stages are already free software; many peripherals need no firmware blob. Full inventory: docsClean K1 map.
Firmware Status
| Hardware Block | Firmware / Host Interface | Documentation | Clean-Room Spec |
|---|---|---|---|
| DDR Training (LPDDR4 / LPDDR4X) | U-Boot SPL — external ddr_fw.bin ABI, or native SPL driver | SpacemiT_K1_DDR | SpacemiT_K1_DDR |
GPU — Imagination Rogue BXE-2-32 (BVNC 36.29.52.182) | Mainline Imagination DRM + Mesa pvr | Imagination_Rogue | Imagination_BXE-2-32 |
VPU — Arm China Linlon V5 (0x56635002, 2 cores) | Vendor Linux mvx driver (MVE / RASC) | ARM_Linlon-V5 | ARM_Linlon-V5 |
DDR Training
Mainline U-Boot supports the K1, but SPL historically could not bring up DRAM alone: it loaded a proprietary ddr_fw.bin into SRAM and called a fixed ABI (ddr_init).
- SpacemiT_K1_DDR — standalone free DDR init firmware (GPL-2.0-or-later) that drops into the same
ddr_fw.binslot, load address, and calling convention, and the same driver integrated in U-Boot SPL (k1-native-ddr,CONFIG_SPL_SPACEMIT_K1_DDR=y) so builds do not need an external blob by default.
GPU — Imagination BXE-2-32
Imagination_Rogue is free firmware (GPL-3.0-or-later, GNU C23) for the MIPS microcontroller in Imagination Rogue B-Series GPUs. On the K1 (BVNC 36.29.52.182) it runs under unmodified mainline Imagination and Mesa pvr (kernel must accept the BVNC as experimental).
Board status highlights: boot/handshake, kernel CCB, runtime PM, Vulkan enumeration, compute jobs, HWR, and transfer (TQ_3D) paths are working; geometry and fragment kicks are not implemented yet. Details live in the project documentation.
GPU firmware is exercised with:
VPU — Linlon V5 (2 cores)
ARM_Linlon-V5 is the clean-room firmware target for the Arm China Linlon V5 video processor (0x56635002, two cores on K1), loaded by the GPL-2.0 mvx host driver. Implementation is in progress. Spec: ARM_Linlon-V5.
Key Public References
- docsClean SpacemiT K1 firmware map
- SpacemiT K1 User Manual (PDF)
- ARM-software/rasc-devkit — public GPLv2 toolchain for the VPU RASC CPUs