进迭时空 Upstream Progress — September & October 2026

In September and October, SpacemiT continued adapting open-source software for K1/K3 and collaborating with upstream projects. From operator programming and compiler backends to model inference, K3 AI software support expanded further. On the foundational system software side, work continued on interrupts, clocks, frequency scaling, audio, temperature sensors and board-level peripherals. Some changes have been accepted or entered maintainer trees, while others remain under review.

AI Software Stack

  • FlagTree merged the SpacemiT smt_rvisa extension. On October 16, FlagTree merged a vector-level raw-kernel eDSL, enabling explicit control over RVV vector length, element bit width and instruction selection. It also integrated the common TLE infrastructure and added cross-build, wheel packaging and test configurations.
  • SpacemiT llama.cpp added a standalone inference backend. On October 12, the ggml-spacemit backend was merged. It can coexist with the existing CPU path and enables inference on SpacemiT devices as needed. Subsequent work continued to optimize execution paths including K3 decode state handling, chunked prefill, Flash Attention and graph fusion.

Linux Kernel

During this period, work continued on core K1/K3 platform capabilities and development board support. Several projects previously under review were accepted by maintainers or entered maintainer trees.

Accepted and Added to Maintainer Trees

  • K3 interrupt, DMA, clock and audio configuration improvements. In September, the PDMA DRCMR base address fix was accepted, I2S0–I2S5 nodes entered the SpacemiT maintainer tree, and the CPU PLL frequency table fix entered clk-fixes. In October, the ACLINT bindings, SSWI driver and DTS series entered the SpacemiT SoC maintainer tree.
  • K1 board-level frequency scaling and network configuration improvements. CPU DVFS patches for MusePi Pro and OrangePi RV2/R2S were accepted. OrangePi RV2/R2S gained onboard EEPROM and configuration to read the MAC address from it. A fix to clean up TX descriptors after a K1 EMAC DMA mapping failure was merged into the networking maintainer tree.
  • Progress on temperature sensor, USB and other peripheral support. Four patches for the CTF2301 driver and bindings were accepted, as were K1 USB2 PHY dependencies and default-enable configuration. CoM260 USB, rfkill and power supply DTS changes entered the SpacemiT maintainer tree.
  • K3 board-level peripheral configurations included in DT pull request. DTS changes for I2C6, the CoM260 CTF2301, and Pico ITX USB3 B/C, Bluetooth and WLAN rfkill were included in spacemit-dt-for-7.4-1 and submitted in an upstream pull request. The current record does not include confirmation of acceptance by the SoC maintainers.
  • GPU descriptions and maintainer information expanded. K1/K3 GPU DT bindings were accepted, and SpacemiT reviewer entries were added to the maintainer information. Work on the GPU device tree, power domains and full graphics support continues separately.

Projects Still Under Review

  • K3 PCIe and UFS: The PCIe RC controller series reached v7; the UFS host driver also reached v7, with work continuing to address review feedback and known issues.
  • Display and power domains: K3 display v2, K1/K3 genpd v2, the CCU auxiliary device and related GPU DTS changes remain under review.
  • K1 USB2 and boot configuration: The ChipIdea USB2 controller v4, board-level USB2 DTS and bootph boot-phase markers are still being revised or awaiting acceptance.

Core Tools and Toolchains

Box64

  • September: Instruction compatibility and runtime fixes. Added support for VZEROUPPER and VZEROALL, and fixed floating-point rounding, vector register aliasing and handling of several AVX instructions. Improvements covered ELF relocations, variadic argument handling for GLib/GIO/GStreamer and libc function wrappers, along with optimized implementations of instructions including REP STOSB, MASKMOVDQU and PMULUDQ.
  • October: RV64 instruction translation and state restoration improvements. Fixed handling of instructions including VMOVSS, VMOVQ, VPERM2I128, VCVTPD2PS and POPCNT/TZCNT/LZCNT, and improved vector register aliasing, MMX caching, MXCSR state and signal state restoration.
  • October: Code generation and packaging optimizations. Reduced redundant vsetvli instructions, optimized VSHUFPS/VPERMILPS and used ADDSL and BSETI to simplify some instruction sequences. Also fixed OpenSSL PKCS12_create arguments and Debian changelog formatting.

LLVM and RISC-V GNU Toolchain

  • LLVM gained A100-specific tuning. On October 23, a preference for ascending memory accesses on spacemit-a100 was merged. On October 26, an adjustment to the scope of the VXRM write optimization was merged, limiting the relevant speculative writes to within loops on targets with vxrm-pipeline-flush enabled.
  • RISC-V GNU Toolchain improved version and build configuration. An upgrade to LLVM 23.1.0 and LLVM build cache support were merged on October 25. A configuration to disable gprofng in GDB builds was merged on October 28.

V8 and lzbench

  • V8: Fixed an issue involving overwriting the expected value and a temporary register in RISC-V atomic compare-exchange, and added regression tests.
  • lzbench: Fixed a double-free issue in aceapex when handling empty compressed streams.

U-Boot and OpenSBI

U-Boot

  • Added to u-boot/next in September: Added SpacemiT custodians and maintainer tree information; merged K1 pinctrl fixes, MMC/SDHCI, SPL and SD/eMMC boot support, as well as PCIe controller, PCIe/USB3 combo PHY and NVMe configuration.
  • Added to u-boot/main on October 11: Basic K3 Pico ITX board support, GPIO, pinctrl, clock and reset support, plus a mix-clock mux fix and network command configuration.
  • Added to u-boot/main on October 24: K3 mkimage boot image support, EEPROM TLV commands, SPI NOR and environment storage configuration; K1 SPL boot fallback, K1 USB2 PHY and K1/K3 generic DWC3 support.
  • Network driver and follow-up fixes continue to advance. The K3 DWC EQOS driver has been accepted into u-boot-net/for-next; fixes for K1 PCIe/USB3 PHY, SDHCI, DDR firmware loading and EMAC remain under review.

OpenSBI

  • K3 platform support merged into the upstream main branch. On October 29, K3 platform support and accompanying changes entered OpenSBI master, implementing on-demand startup of secondary harts across multiple clusters, boot-time PMA/cache configuration and CCI-550 coherency settings, as well as an exception-handling option for heterogeneous harts. K3 support progressed from patch review in August to an upstream merge.