Chimera Linux最终决定不会放弃对RISC-V的支持。
Not dropping RISC-V support after all, maybe

原始链接: https://chimera-linux.org/news/2025/03/new-riscv-server.html

由于不可预见的情况,计划中移除RISC-V代码库的行动已暂停。取而代之的是,一个新的、临时支持的代码库已经上线,该代码库是在Adélie Linux提供的Milk-V Pioneer机器上构建和测试的。这台由Zach van Rijn提供的机器,允许在必要的环境设置后进行完整的全局重建。 一次完整的全局重建已经完成,形成了新的代码库。虽然这台机器证明相对稳定,但需要一个定制内核来避免与CPU的草案版RVV 0.7出现问题。性能与Cortex-A55相当,因此需要禁用向量运算。尽管如此,64个核心使得构建速度相当快,Rust项目除外。 原始代码库已被替换。建议用户使用`apk`命令的`--available`标志重新安装所有软件包。该方案的长期可行性正在评估中。成功将保证持续的支持,而重大问题可能导致最终移除该架构。当前代码库与LoongArch64代码库享有相同的级别,具有类似的规格,包括不使用LTO,强制测试以及等效的覆盖范围。

Chimera Linux在获得必要的硬件后,撤销了放弃RISC-V支持的决定。一些人认为这意义不大,因为与x86和ARM相比,公开可用的RISC-V硬件有限;另一些人则指出,随着Framework RISC-V主板和DC-ROMA笔记本电脑等产品的出现,RISC-V硬件的可用性正在增长。 然而,现有的RISC-V硬件,例如基于JH7110的开发板,速度慢,与树莓派3相当,因此不太适合用作构建机器。尽管性能有限,一些人认为公众无法获得RISC-V硬件的说法是不准确的,他们列举了Milk-V Jupiter等现成的选择。维持支持的决定,虽然对小众用户群的影响有限,但也符合推动处理器架构多样化和减少对既有技术的依赖这一更广泛的趋势。

原文

As circumstances have changed, we are not dropping RISC-V repos for the time being. Instead, newly rebuilt repositories are introduced, built on hardware, with tests.

This support is provisional for now, with the new builder still being evaluated to see how it holds up in the long term.

Shortly after announcing the drop, we were offered remote access to a Milk-V Pioneer machine by Zach van Rijn of Adélie Linux. This machine was originally intended for another purpose which never ended up materializing.

I proceeded to do a full world rebuild on this machine, after some environment setup to allow our infra bits to run. This world rebuild is now finished, and makes up the new repository.

For most part, it was relatively stable during the build (we had to build our own kernel to prevent the draft RVV 0.7 in the CPU from interfering, and there were two crashes but it was also under total continuous load the whole time).

The performance is fairly acceptable, though nowhere near my original idea of being similar to Cortex-A72; the cores are more comparable to Cortex-A55 in practical performance, especially since we have to disable vectors. As there is still 64 of them, most of the large projects build fairly fast (anything written in Rust builds very slowly, however).

By now, the original repositories have been replaced, and the new machine is plugged into the infrastructure. Do keep this in mind when upgrading existing installations, and use the --available flag with apk (every package in your system will be reinstalled).

Either way, we will continue to monitor the builds and see how the new machine holds up. If it works well, it will stay; if significant issues arise, we might end up dropping the architecture after all, at least until something significantly better is available.

The current repository is in the same tier as the LoongArch64 repo. The specifics are very similar - i.e. no LTO, tests on and enforced. The overall coverage is also fairly equivalent.

联系我们 contact @ memedata.com