Arch Linux RISC-V

This is an Arch Linux port to the RISC-V architecture.

Hardware Support

The hardware baseline is RV64GC and the ABI is lp64d.

Currently QEMU, HiFive Unmatched, HiFive Unleashed and PolarFire SoC Icicle Kit are officially supported.

The [unsupported] repository has a linux-sophgo package for experimental Milk-V Pioneer (SG2042) support.

Other boards (except those with AX45MP) may work with a BSP or custom kernel.

Porting Goal

This port applies patches on top of Arch Linux's source packages. All our patches are maintained in the patch repository below.

The long term goal is to upstream our patches as much as possible, so that riscv64 (riscv64gc) could be added to Arch Linux itself as an alternative architecture.

Resources

Images (rootfs) (Default user/password: root/archriscv)
Binary Package Repositories ([core], [extra], [unsupported])
Patch Repository (bug reports, wiki, ...)

Docker Image (third-party)

Mirrors

Worldwide

PKGBUILD.com (Recommended)

Romania

Felixc.at

Canada

Paul Sajna

Finland

Felixc.at

China

ISRC-ISCAS
NJU
NYIST
PKU
SUSTech
WSYU

Getting Involved

Please take a look at our Contributing Guide.

Porting Progress

detailed status...

Note: Except for those listed in the blacklist, all packages should be either up-to-date or listed in the detailed status page above.

Last Updates

Community

IRC: #archlinuxriscv at libera.chat
Matrix: #archlinux-riscv:matrix.org

Thanks

  • ISCAS for many x86-based QEMU builders and HiFive Unleashed/Unmatched, VisionFive v1, Milk-V Pioneer, Nezha D1, LicheePi 4A, LicheePi Cluster 4A test boards
  • RISC-V International for StarFive VisionFive v1/v2 test board
  • Milk-V for Mars test board
  • Deepin for a x86-based QEMU builder
  • Loongson for a LoongArch-based QEMU builder
  • ...and every contributor for keeping the port fresh:

    Made with contrib.rocks.