Skip to content
View gahingwoo's full-sized avatar

Organizations

@armbian @half-baked-studios @roxora-os

Block or report gahingwoo

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
gahingwoo/README.md

Ga Hing Woo (Jiaxing Hu)

I work on firmware, TEEs, embedded Linux and silicon bring-up on ARM and RISC-V.

Now: the Rockchip RK3576, from firmware to Windows and Linux

  • edk2-rk3576: UEFI firmware for the LCKFB TaishanPi 3M, ArmSoM CM5-IO and Radxa ROCK 4D. It boots Linux on all three and Windows 11 on the TaishanPi 3M and CM5-IO.
  • 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 14 to 16 tokens a second.
  • woa-rk3576: Windows drivers (eMMC, SD, USB, Ethernet, audio, video decoder) and a WinPE installer.
  • charsiu: an open LLM runtime on the mainline rocket driver, with no vendor userspace. Its README measures decode at 1.39x the vendor runtime's on the same board and NPU clock. 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.

Upstream

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.

Other projects

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:

Links

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.

Pinned Loading

  1. charsiu charsiu Public

    Open LLM runtime for the RK3576 NPU on a mainline Linux kernel through the rocket driver; also runs on Windows on Arm through woa-rk3576-npu

    C 10 2

  2. edk2-rk3576 edk2-rk3576 Public

    EDK2 UEFI firmware for RK3576 boards (LCKFB TaishanPi 3M, ArmSoM CM5-IO, Radxa ROCK 4D), with ACPI for Windows on Arm and a device tree for Linux

    C 27 6

  3. linux-rk3576-npu linux-rk3576-npu Public

    RK3576 NPU mainlining and bring-up for the Linux rocket driver

    Python 17 1

  4. kiln kiln Public

    Run LLMs and vision models on the RK35xx NPU on a mainline Linux kernel

    Shell 12 3

  5. RKDevelopTool-GUI RKDevelopTool-GUI Public

    A cross-platform graphical utility for Rockchip firmware flashing and partition management on macOS and Linux

    Python 80 15

  6. SoC-Consistency SoC-Consistency Public

    System-level consistency checking for Linux SoC Device Trees

    Python 14 1