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.

The main "linux" kernel package has enabled support, and tested for:

  • QEMU
  • HiFive Unmatched, HiFive Unleashed
  • PolarFire SoC Icicle Kit
  • VisionFive v2, Milk-V Mars
  • Nezha D1
  • In addition, the [unsupported] repository has experimental kernel packages for LicheePi 4A (TH1520) and Milk-V Pioneer (SG2042).

    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 HiFive Unleashed/Unmatched, VisionFive v1, Milk-V Pioneer, PolarFire SoC Icicle Kit, LicheePi 4A, LicheePi Cluster 4A, Milk-V Duo (S, 256), Kendryte K230, BananaPi F3, ESWIN EIC7700 test boards
  • KUBUDS for many x86-based QEMU builders
  • DeepComputing for DC ROMA Laptops (I & II)
  • Milk-V for Mars, Jupiter and Vega test boards
  • ESWIN for EIC7700 test board
  • RISC-V International for StarFive VisionFive v1/v2 test boards
  • Sipeed for LicheeRV Nano test boards
  • @lrzlin for Huashan Pi test board
  • @liangyongxiang for Nezha D1 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.