Ports/loongarch64
LoongArch
LoongArch is a RISC instruction set architecture (ISA), developed by Loongson Corporation, announced in 2020. Processors implementing this ISA are available since 2021 (Loongson 3A5000 family).
Sisyphus port
Sisyphus was ported to loongarch64 in 2023. The port is under heavy development. Currently (2024-03-07), more than 19000 packages (SRPMs), or more than 95% of all Sisyphus packages, are built for the port.
The port supports lp64d ABI (new world). RPM architecture is called loongarch64.
Repository
RPM/SRPM is available on most of the ALT mirrors; the official mirror is here: http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/loongarch64/Sisyphus/
As APT sources.list:
rpm [sisyphus-ports] http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/loongarch64 Sisyphus/loongarch64 classic # rpm [sisyphus-ports] http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/loongarch64 Sisyphus/loongarch64 debuginfo rpm [sisyphus-ports] http://ftp.altlinux.org/pub/distributions/ALTLinux/ports/loongarch64 Sisyphus/noarch classic
The information about the available packages is conveniently presented here: https://packages.altlinux.org/en/sisyphus_loongarch64/packages
The packages are build on a separate girar instance, similar to Git.alt.
The port is using "follower girar" (aka "chasing build") approach: as soon as a task is committed into the main Sisyphus repository, a special robot creates a similar task for sisyphus_loongarch64; the tasks are then approved by the port maintainers. Usually, the packages are available in the repository on the same day the package was build for the primary Sisyphus, or on the next day.
This means that there is no need to do anything special for building packages for loongarch64: build for Sisyphus.
Images
Regular images
See also: Regular/loongarch64.
ALT Server technical preview
- technical preview alt-server 2024.10.01 (iso, 3.4Gb)
Previous releases
http://get.srt.basealt.ru/ports/loongarch64/Sisyphus/images/loongarch64/
Container images
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 loongarch64.
- For general image issues, choose product corresponding to the image type (e.g. Regular, or Simply Linux).
IMPORTANT:
- Set Hardware to loongarch64 (on the right at the top of the bug creation form)
- Assign the bug to Ivan Melnikov (iv at altlinux.org).
Useful links
- QEMU VM howto
- Official LoongArch Reference Manual: https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html
- Unofficial LoongArch FAQ: https://blog.xen0n.name/en/posts/tinkering/loongarch-faq/