Ports/riscv64: Difference between revisions

From ALT Linux Wiki
(One intermediate revision by one other user not shown)
Line 28: Line 28:
We build [[Regular/riscv64|Regular Images]] (see also: [[Regular]]) for the supported boards and QEMU. Check out [[Regular/riscv64]] for download links and the platform page for the quick start/installation instructions.
We build [[Regular/riscv64|Regular Images]] (see also: [[Regular]]) for the supported boards and QEMU. Check out [[Regular/riscv64]] for download links and the platform page for the quick start/installation instructions.


Also, for Unleashed and QEMU, [[Simply Linux 9]] was released, but those images have somewhat lost their relevance.
Also, for Unmatched/Unleashed and QEMU, [[Simply Linux 10]] was released.


== Repository ==
== Repository ==
Line 52: Line 52:
The "chasing builder" approach is used: as soon as a task is committed to the primary [[Sisyphus]] repository, special robot creates a similar task for <tt>sisyphus_riscv64</tt>. This means that there is no need to do anything special for building packages for '''riscv64''': build for Sisyphus. The tasks are approved manually. The resulting packages are available in the repository on the same day or on the next day most of the times.
The "chasing builder" approach is used: as soon as a task is committed to the primary [[Sisyphus]] repository, special robot creates a similar task for <tt>sisyphus_riscv64</tt>. This means that there is no need to do anything special for building packages for '''riscv64''': build for Sisyphus. The tasks are approved manually. The resulting packages are available in the repository on the same day or on the next day most of the times.


We don't rebuild all the Sisyphus packages due to the limited need and resources. If you need some package is available in Sisyphus but is missing in <tt>sisyphus_riscv64</tt>, please fill a bug or write to the mailing list: riscv-devel@lists.altlinux.org.
We don't rebuild all the Sisyphus packages due to the limited need and resources. If you need some package that is available in Sisyphus but is missing in <tt>sisyphus_riscv64</tt>, please fill a bug or write to the mailing list: riscv-devel@lists.altlinux.org.


== Reporting issues ==
== Reporting issues ==

Revision as of 21:56, 14 January 2022

Overview

Sisyphus port for riscv64 (RV64GC) architecture is under development since early 2018. The following platforms are supported:

RISC-V

RISC-V is an open and free instruction set architecture (ISA). The RISC-V ISA specifications are licensed under a Creative Commons license (CC BY 4.0). Anyone could get the final versions of the ISA specifications and participate in their development.

Another key feature of the RISC-V architecture that it is scalable and allows multiple implementations. The minimal specification has commands to store, load, jump and integer arithmetic. It supports the 32-, 64- and 128-bit register sizes: "RV32I, RV64I and RV128I" ("I" stands for integer). Implementations can provide additional functionality by extending the basic ISA -- that is, implementing standard or vendor-specific extensions.

This Linux port runs on "RV64IMAFDC" architecture, which means RV64I with the following standard extensions:

  • M - Multiply and divide;
  • A - Atomic operations;
  • F - Single precision floating point;
  • D - Double precision floating point;
  • C - Compressed instructions.

For convenience, this architecture is abbreviated as "RV64GC" ("G" == "IMAFD").

Images

We build Regular Images (see also: Regular) for the supported boards and QEMU. Check out Regular/riscv64 for download links and the platform page for the quick start/installation instructions.

Also, for Unmatched/Unleashed and QEMU, Simply Linux 10 was released.

Repository

RPM/SRPM repository is located at http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/riscv64/Sisyphus/

As apt-rpm sources.list:

rpm [sisyphus-riscv64] http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/riscv64 Sisyphus/riscv64 classic
# rpm [sisyphus-riscv64] http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/riscv64 Sisyphus/riscv64 debuginfo 
rpm [sisyphus-riscv64] http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/riscv64 Sisyphus/noarch  classic

Yandex mirror (better download speeds):

rpm [sisyphus-riscv64] http://mirror.yandex.ru/altlinux/ports/riscv64 Sisyphus/riscv64 classic 
# rpm [sisyphus-riscv64] http://mirror.yandex.ru/altlinux/ports/riscv64 Sisyphus/riscv64 debuginfo
rpm [sisyphus-riscv64] http://mirror.yandex.ru/altlinux/ports/riscv64 Sisyphus/noarch  classic

The information on the available packages is available here: https://packages.altlinux.org/en/sisyphus_riscv64/packages/

The packages are build on a separate girar instance, similar to Git.alt. SiFive HiFive Unmatched are used as build nodes.

The "chasing builder" approach is used: as soon as a task is committed to the primary Sisyphus repository, special robot creates a similar task for sisyphus_riscv64. This means that there is no need to do anything special for building packages for riscv64: build for Sisyphus. The tasks are approved manually. The resulting packages are available in the repository on the same day or on the next day most of the times.

We don't rebuild all the Sisyphus packages due to the limited need and resources. If you need some package that is available in Sisyphus but is missing in sisyphus_riscv64, please fill a bug or write to the mailing list: riscv-devel@lists.altlinux.org.

Reporting issues

For tracking bugs and issues we use ALT Linux Team bugzilla -- http://bugzilla.altlinux.org (see also: BugTracking).

  • For issues in packages, choose product: Sisyphus, component: name of the package, and set "hardware" field to riscv64.
  • For general image issues, choose product corresponding to the image type (e.g. Regular, or Simply Linux).

IMPORTANT:

  • Set Hardware to riscv64 (on the right at the top of the bug creation form)
  • Assign the bug to Ivan Melnikov (iv at altlinux.org).

Useful links