泰晓科技 -- 聚焦 Linux - 追本溯源,见微知著!
网站地址:https://tinylab.org

基于泰晓RISC-V实验箱的Linux公开课
请稍侯

泰晓资讯·8 月 / 第四期 / 2022

unicornx 创作于 2022/08/25

“泰晓资讯”,广泛报道 “Linux/开源” 业界资讯。欢迎广大读者投递相关资讯来源和素材,本站将进一步收集整理后发布给大家。

Linux 内核最新消息

https://lkml.org/lkml/2022/8/21/359

Linus Torvalds 本周初发布了 Linux 6.0-rc2 作为下一个主要内核系列的最新每周测试候选版本。在合并窗口关闭一周后,Linux 6.0-rc2 中大量合入了开发人员和用户的各种修复。除了本周发布的各种补丁修复之外,6.0-rc2 中还合入了针对 NTFS3 文件系统的驱动程序更新。

Linus Torvalds 在发布公告中是这么评价 6.0-rc2 的:

Nothing particularly interesting here, rc2 tends to be fairly calm with people taking a breather and not yet having found a lot of bugs.

The most noticeable fix in here is likely the virtio reverts that fixed the problem people had with running tests on the google cloud VMs, which was the “pending issue” that we had noticed just as the merge window was closing. And it’s noticeable - and notable - mainly because that problem then kept people from running some of the automated tests and thus finding other issues.

But obviously there’s a lot of other things in here too, as per the appended shortlog. The diffs are somewhat dominated by the amd gpu fixes - they missed the “drm fixes” pull during the merge window, so there were a bunch of fixes pending on that side. But there’s some network driver fixes, some filesystem fixes (btrfs and a late ntfs3 half-fixes-half-updates pull), and the usual set of architecture fixes and other core code (mainly networking).

总之,Linux 6.0 正朝着既定于 10 月初左右发布的目标而努力,它将添加许多针对硬件的支持、一些新的内核创新和其他令人兴奋的变化。

https://www.kernel.org/ updated by 2022/8/25

分支类型版本发布时间
mainline6.0-rc22022-08-22
stable5.19.32022-08-21
stable5.18.19 [EOL]2022-08-21
longterm5.15.622022-08-21
longterm5.10.1372022-08-21
longterm5.4.2102022-08-11
longterm4.19.2552022-08-11
longterm4.14.2902022-07-29
longterm4.9.3252022-07-29
linux-nextnext-202208242022-08-24

关键词: Linux

一个实验性的补丁,允许 AArch64 和 RISC-V 下以更快的速度采用 Kexec 方式重启内核

For those making use of Kexec reboots for booting to a new kernel without fully bringing down the system to reduce the server downtime from POST’ing and other hardware initialization tasks, Kexec reboots may soon be much faster on 64-bit Arm and RISC-V systems.

对于那些在不关闭机器,而是使用 Kexec 方式重启并引导到新内核的服务器系统(特别是采用 64 位 ARM 和 RISC-V 的系统)来说,重启时间将有望大大缩短。

目前在 RISC-V 和 64 位 Arm 上执行 Kexec 重新启动对于高核心数的系统会相当慢,因为在这些架构上重启时的执行路径最终会导致串行处理每个 CPU。本周一发出的补丁清理了在这些架构上采用的代码,使得重启过程可以针对每个 CPU 以并行方式处理。应用该补丁后,在一台具备 80 个核的 Arm 服务器上进行测试,Kexec 重新启动可以从大约 15 秒缩短到现在只需大约 1 秒。

为 64 位的 Arm 和 RISC-V 实现并行方式 Kexec 重启的补丁目前已被提交到内核邮件列表中,目前状态是 “request for comments”。其他 CPU 架构(如 x86_64 和 POWER)针对 Kexec 重新启动的处理策略不会受串行处理的影响。所以这个补丁目前只针对 ARM 和 RISC-V,运气好的话,这个补丁很快就会进入主线。

新闻出处,“Experimental Patches Allow Much Faster AArch64 & RISC-V Kexec Kernel Reboots”: https://www.phoronix.com/news/Linux-Faster-ARM64-RISC-V-Kexec

关键词: Linux,Kexec

Ubuntu 发布系统支持 StarFive 的 VisionFive 开发板

Earlier this summer I wrote about Canonical working to provide good support for StarFive’s VisionFive low-cost RISC-V board. That work has now culminated with an Ubuntu 22.04.1 LTS image for use on this Chinese RISC-V single board computer.

过去几个月以来,Canonical 的工程师们一直在移植各种补丁,确保 Ubuntu 22.04 LTS 可以在 StarFive 公司的 VisionFive 这款 RISC-V 板上良好地运行。StarFive 的 VisionFive 开发板当前售价 179 美元,可以运行成熟的 RISC-V Linux 发行版。该款开发板拥有双核 SiFive U74 RV64 SoC @ 1.0GHz,具有 8GB 系统内存、配置了 NVDLA 深度学习加速器引擎、Tensilica-VP6 Vision DSP 和神经网络引擎。该板还具有 WiFi 802.11n、蓝牙 4.2、HDMI 输出、四个 USB 3.0 端口、千兆以太网,并通过 USB-C 或 40 针 GPIO 接头供电。

Canonical 于上周三,也就是 17 日正式宣布推出适用于 VisionFive RISC-V 开发板的 Ubuntu 22.04.1 LTS。VisionFive 成为当前除了 SiFive 的 Unmatched 和 Allwinner Nezha 之外又一款可以运行 64 位 RISC-V Ubuntu 的产品。

与此同时,StarFive 又在准备一款新的产品,这就是 VisionFive 2 RISC-V SBC,相信该款产品很快即将问世。

新闻出处,“Official Ubuntu RISC-V Images Released For StarFive’s VisionFive Board”: https://www.phoronix.com/news/Ubuntu-22.04.1-VisionFive-RISCV

关键词: Ubuntu, StarFive,VisionFive, RISC-V

Ubuntu 宣布支持采用 Allwinner D1 的 Nezha RISC-V 开发板

Last week Canonical announced official Ubuntu RISC-V images for the StarFive VisionFive board while this week they are expanding their supported RISC-V line-up to also include the Nezha single board computer powered by the Allwinner D1 SoC.

继上周 Canonical 宣布支持 StarFive VisionFive 板的官方 Ubuntu RISC-V 系统镜像之后,本周他们又继续扩展其支持的 RISC-V 产品线,宣布正式支持采用了 Allwinner D1 SoC 的 Nezha 单板计算机。

Nezha 单板计算机旨在用于 AIoT 开发,采用 Allwinner D1 SoC,这是其第一款采用阿里巴巴 T-Head 64 位 RISC-V 处理器核心的 SoC 设计。

Nezha 具有单核 1GHz RISC-V 处理器、1GB 或 2GB DDR3 系统内存、256MB spi-nand 存储、千兆以太网、2.4GHz WiFi 和蓝牙以及其他基本功能。Nezha 选择的官方 Linux 发行版是带有基于 Linxu 5.4 内核的 “Tina Linux”。但现在更多的 Linux 发行版开始支持这种低成本的主板,而 Ubuntu 22.04 LTS 则是有一个新的选择。

当然,不要对仅使用 1GHz RISC-V 处理器和 2GB RAM 的系统的性能期望过高。虽然此开发板上有 HDMI 输出,但性能会非常低,实际上仅适用于物联网场景。通过 AliExpress 订购时,Nezha 开发板的起价约为 112 美元,而 2GB 升级版的起价约为 310 美元。Nezha 开发板目前似乎还无法通过欧美零售商购买。目前基于 RISC-V 设计的单板计算机的性价比还是不高,特别是和售价仅 35 美元的 Raspberry Pi 相比,而 Raspberry 可以提供明显更好的性能。Linux 内核还必须添加一些特殊的补丁才能很好地支持 Allwinner D1,这主要是因为一些 RISC-V 扩展还未形成正式的规范。

总之,如果您希望了解更多关于现在支持 Nezha RISC-V 开发板的 Ubuntu Linux 信息,可以访问 Canonical 官网 https://canonical.com/blog/canonical-enables-ubuntu-on-allwinners-nezha-risc-v-boards。如果您希望进一步了解有关这个 RISC-V 开发板本身,可以访问这里:https://d1.docs.aw-ol.com/en/d1_dev/

新闻出处,“Ubuntu Now Supports The Allwinner D1 Powered Nezha RISC-V Board”: https://www.phoronix.com/news/Ubuntu-Nezha-RISC-V-SBC

关键词: Ubuntu,Allwinner,Nezha, RISC-V

GCC 12.2 发布,修复大量错误

GCC 12.2 is the first stable point release following the GCC 12.1 introduction that happened back in May. GCC 12 brought many new features including AVX-512 FP16 support, better C2X and C++23 support, OpenMP 5.0 support improvements, continued RISC-V improvements, new Arm targets, x86 SLS mitigation support, and many other additions.

上周五早上 GNU 发布了 GCC v12.2。GCC 12.2 是继 5 月份第一个稳定版本 GCC 12.1 之后的又一个稳定版更新。GCC 12 带来了许多新功能,包括支持 AVX-512 FP16、更好的 C2X 和 C++23 支持、OpenMP 5.0 支持改进、RISC-V 持续改进、新的 ARM target,x86 SLS 缓解支持以及许多其他新增功能。

GCC 12.2 版本包括了 71 个已知的错误和性能衰退修复,这些修复在过去几个月中逐渐出现。简短的 GCC 12.2 发布公告可以访问 gcc-announce:https://gcc.gnu.org/pipermail/gcc-announce/2022/000174.html。在 GCC 12.2 中可以看到这些改动包括许多针对 libstdc++ 的修复、相当数量的 C++ 修复、一些 Fortran 工作、文档添加,以及对 GCC 12 系列新的 LoongArch CPU 架构支持的修复。

据悉,目前 GCC 的主线上的新功能开发工作正在持续开发中,为明年推出 GCC 13 积极准备。

新闻出处,“GCC 12.2 Compiler Released With 70+ Bug Fixes1”: https://www.phoronix.com/news/GCC-12.2-Compiler-Released

关键词: GCC

Mold 发布 v1.4.1,支持 macOS,并开始采用 CMake 实现构建

Last year marked the release of Mold 1.0 as a modern, high-speed linker alternative to the likes of GNU Gold and LLVM LLD. Mold was started by Rui Ueyama who previously worked on the LLVM linker. Mold has continued seeing new features added and out today is version 1.4.1 where “alpha” support for macOS is added and also beginning to work on CMake build system integration.

去年 Mold 1.0 的发布,标志着除了 GNU Gold 和 LLVM LLD 之外我们又拥有了一款新的现代高速链接器。Mold 项目由之前从事 LLVM 链接器工作的 Rui Ueyama 发起。上周四发布了最新版本 v1.4.1,添加了对 macOS 支持的 “alpha” 版本,并且还开始致力于切换为采用 CMake 构建系统。

虽然只是一个小版本发布,但值得注意的是它对 macOS 所添加的 alpha 版本支持。尽管此时在 macOS 上使用高性能链接器并不是为了 “for anything serious”,但这标志着此项工作正在起步。

Mold 1.4.1 的另一个显着变化是除了采用 GNU Make 之外,还开始支持采用 CMake 构建系统。长期计划是切换到 CMake 作为其主要构建系统。采用 CMake 的动机之一是 Mold 最终希望支持 Microsoft Windows,而 CMake 更适合。

Mold 1.4.1 还修复了许多错误,默认启用 “–hash-style=both”,以及其他更新。通过 https://github.com/rui314/mold/releases/tag/v1.4.1 可下载 Mold 1.4.1 链接器,并了解更多详细信息。

新闻出处,“High Performance Mold Linker Begins Adding macOS, CMake Build Support”: https://www.phoronix.com/news/Mold-1.4.1-Linker

关键词: Mold

联系我们

欢迎扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: