I work on firmware, TEEs, embedded Linux and silicon bring-up on ARM and RISC-V.
- edk2-rk3576: UEFI firmware for the JLCLab (LCKFB) TaishanPi 3M, ArmSoM CM5-IO and Radxa ROCK 4D. It boots Linux on all three, Windows 11 and Windows 10 on the TaishanPi 3M and CM5-IO, and Windows 11 on the ROCK 4D. The current release is 0.6.1.
- wddm-mali-g52: a WDDM 2.0 driver for the Mali-G52, with Mesa Panfrost as the user-mode driver. Direct3D 11 up to feature level 10_1, and OpenGL 3.1.
- woa-rk3576-npu: a Windows driver for the NPU. Llama 3.2 1B decodes at about 16 tokens a second, 89% of the same model on Linux.
- woa-rk3576: Windows 10 and 11 drivers (eMMC, SD, NVMe, USB, Ethernet, Wi-Fi, Bluetooth, audio, GPIO, video decoder) and a WinPE installer.
- charsiu: an open LLM runtime on the mainline rocket driver, with no vendor userspace. On the CM5-IO with the NPU at 594 MHz it decodes Qwen3-0.6B at 27 to 28 tokens a second, against 18.2 to 18.8 for the vendor runtime at 600 MHz and 23.2 to 23.75 at its 950 MHz maximum, and reaches the first token 10 to 21% sooner than the vendor at 950 MHz. It also runs on Windows.
- charsiu-desktop: a chat app for charsiu on Windows and Linux.
- maskrom-studio: a desktop app that installs Windows or Armbian, updates the UEFI firmware and writes images over MaskROM.
Merged:
- Linux 7.3: two Rockchip IOMMU fixes, the ArmSoM CM5 and CM5-IO devicetree and bindings, and a Motorcomm PHY reference clock fix.
- Linux 7.4-rc: a CM5-IO devicetree comment fix, and three rocket driver fixes from my RK3576 NPU series.
- Rockchip power domain fixes for the RK3576 NPU, applied by Ulf Hansson to his fixes and next branches.
- Trusted Firmware-A: drops a redundant RK3576 GIC build override.
- OP-TEE #7821: RK3576 platform support.
- Armbian: an edge kernel with mainline U-Boot for the CM5-IO, the NPU on the CM5-IO and ROCK 4D, and the TaishanPi 3M as a new board.
In review:
- RK3576 NPU support for the rocket driver, now at v18 (8 patches). Reviewed-by tags from Heiko Stuebner, Krzysztof Kozlowski, Daniel Drake and Igor Paunovic, an Acked-by from Conor Dooley, and a Tested-by from Sidong Yang on RK3588.
- OP-TEE #7841: OTP-based hardware unique key and the RK3576 hardware random number generator. Open.
Firmware and security:
- bl32-rk3576: the OP-TEE platform port for the RK3576.
- rp2350-tz-tee: a minimal TrustZone-M example on the RP2350's Cortex-M33, and a PMP example on its Hazard3 RISC-V cores, both checked on hardware over SWD.
NPU and AI:
- kiln: runs LLMs and vision models on the RK35xx NPU on a mainline kernel.
- linux-rk3576-npu: RK3576 NPU mainlining and bring-up for the rocket driver.
- mesa-rk3576: RK3576 support in Mesa's Teflon rocket driver.
- vepu510-rk3576: a driver for the RK3576 VEPU510 H.264 encoder.
Tools:
- RKDevelopTool-GUI: Rockchip flashing and partition management on macOS and Linux.
- SoC-Consistency: consistency checks for Linux SoC devicetrees.
- edk2-webflash: flashes edk2-rk3576 from the browser over WebUSB (flash.gahingwoo.com).
gahingwoo.com · evidence · blog · ORCID 0009-0002-0840-8951
Preprint on the RK3576 NPU bring-up: doi:10.5281/zenodo.21348016. Version 1 blamed the hardware for a chained-task failure; version 2 withdraws that claim and traces the failure to ordinary faults in register and buffer generation.