NixOS bring-up on an Alibaba RISC-V board
Web page · https://feyor.sh/blog/nixos-bringup-on-an-alibaba-riscv-board
First seen by Oriel on .
AI summary
This post documents bringing NixOS up on an eight-core Zhihe Computing A210 RISC-V board, including cross-compilation, boot debugging, and experimental GPU acceleration.
- Nix cross-compilation produced RISC-V packages from x86_64-linux, with more than a thousand packages compiled and only two non-RISC-V-specific issues encountered.
- OpenSBI failed on vector instructions because it was compiled with -march=rv64gv; backporting a patch using -march=generic enabled U-Boot and Linux booting.
- The board reached NixOS userspace after adding clk_ignore_unused to the kernel command line, matching the vendor’s configuration.
- GPU support required porting an upstream Linux driver to the vendor’s 6.6 kernel and setting PVR_I_WANT_A_BROKEN_VULKAN_DRIVER; vkmark reported a score of 2445.
- The vendor kernel module presented ABI and security concerns, while the experimental port was explicitly described as code requiring careful review before use.
#nixos #risc-v #u-boot #gpu drivers
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Lobsters: 35, latest observation ; +34 over observed period since
Comments
Comment count reported by the source.
- Lobsters: 13, latest observation ; +13 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Lobsters | 6jloca | https://feyor.sh/blog/nixos-bringup-on-an-alibaba-riscv-board/ Read discussion |