The author successfully brought up NixOS on an Alibaba Zhihe Computing A210 RISC-V board, getting sound, HDMI, Bluetooth/Wi-Fi, ethernet, and GPU all working. Using Nix's built-in cross-compilation made building RISC-V packages straightforward from an x86_64 host, with only two minor non-RISC-V-specific issues encountered across over a thousand packages. The author noted significant OOM challenges when cross-compiling heavy tools like Clang and GFortran.
Background
RISC-V architecture has been gaining traction as an open-source instruction set, with increasing Linux distro support, but hardware bring-up remains a community-driven effort with limited commercial options. NixOS's declarative approach and powerful cross-compilation support make it uniquely suited for testing on emerging architectures.
- Source
- Lobsters
- Published
- Nov 22, 2026 at 08:30 AM
- Score
- 6.0 / 10