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

泰晓RISC-V实验箱,不会吃灰,开箱即用
请稍侯

泰晓资讯·8月 / 第二期 / 2020

Wang Chen 创作于 2020/08/15

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

Linux Lab 发布 v0.5 rc3,新增龙芯实验手册

Linux Lab 于 6 月底发布了 v0.5 的第一个候选版本:v0.5-rc1,首次合并了龙芯全系处理器支持,本次发布的 v0.5-rc3 完成进一步迭代,改动不多,但是都还蛮重要的,建议更新。

本次合计 26 笔变更,更新如下:

  • Bug 修复和功能完善
    • 修复 arm/vexpress-a9 因编译器配置问题引起的 Uboot 编译失败
    • 新镜像中 aarch64/virt 的系统自带 Qemu 有问题,替换为 BSP 包中预编译的版本
    • 增大龙芯 Qemu 传递内核参数的 Buffer(Binary暂时未更新)
    • system/tools/trace.sh: 更新对新内核的支持
    • tools/root/dir2*.sh: 允许 find 属于 root 的文件,确保 rootfs 打包完整
    • 分别设定 x86_64/pc 和 arm/vexpress-a9 默认编译器为 gcc-8 和 gcc-9,确保能正确编译新内核
  • 文档更新
    • 进一步完善文档中对普通用户的使用要求,避免使用 root 带来的诸多问题
    • 完善来自 Docker Debian 镜像的根文件系统的用法

    更详细的发布信息请阅读原文:https://tinylab.org/linux-lab-v05-rc3/

关键词: Linux Lab,0.5-rc3

Linux Kernel 5.8 开发周期数据分析

Linus Torvalds released the 5.8 kernel on August 2, concluding another nine-week development cycle. By the time the work was done, 16,306 non-merge changesets had been pulled into the mainline repository for this release. That happens to be a record, beating the previous record holder (4.9, released in December 2016) by 92 changesets. It was, in other words, a busy development cycle. It’s time for our traditional look into where that work came from to see what might be learned.

8 月 2 日,Linus Torvalds 发布了内核的 5.8 版本。整个 5.8 版本的开发周期历时 9 周。在此期间,一共有 16,306 个 changeset 合入了 mainline,这个数字可谓又创新高,超过了之前 2016 年 12 月的 4.9 版本的记录,虽然仅仅超出了 92 个 changeset。另外从贡献人数来看,总共有 1,991 位开发者为 5.8 版本提交了补丁,这也是一个新的纪录。其中 304 位是首次参与。总共增加了 924,000 行代码,移除了 371,000 行,净增 553,000 行。

这轮开发周期真的算是很繁忙了。现在来看看本次开发周期的统计数据。

从单个贡献者名单来看,Mauro Carvalho Chehab 在 changeset 数量和修改行数两方面都登顶榜首。他的工作主要集中在文档方面,把许多文件改为了 RST 格式,重写了 video4linux2 user space manual,看起来为内核维护文档也是一项不错的选择啊,不过他也做了很多开发上的工作,包括重新加入 atomisp camera 驱动,虽然此前改驱动代码已经从 staging tree 移除了。

尽管贡献者人数创了新高,但为内核提交补丁的公司数量基本未变,仍是 213 个。其中比较亮眼的是来自中国大陆的 Huawei Technologies,在 By changesets 和 By lines changed 两项榜单上都创下新的记录,高中 By lines changed 榜单头名状元,以及 By changesets 榜单榜眼位置,恭喜 Huawei Technologies。也祝愿大中华其他 IT 企业继续努力,争相取得更佳成绩。

![](/wp-content/uploads/2020/08/weekly-news-2020082nd/5.8-active-employers.png)

Huawei Technologies 的工作主要集中在下面这些子系统,其提交补丁中的 907 个(占 65%)是在 driver subsystem 里面的,此外也有许多工作分布在 kernel 中的其他领域。

![](/wp-content/uploads/2020/08/weekly-news-2020082nd/5.8-hw.png)

更多精彩分析请阅读原文 “Some statistics from the 5.8 kernel cycle”

**关键词**: Linux,5.8

Linux 基金会启动 Open Source Security Foundation

The Linux Foundation has announced the formation of the Open Source Security Foundation (OpenSSF). The foundation aims to improve the security of open source software. “The OpenSSF brings together the industry’s most important open source security initiatives and the individuals and companies that support them. The Linux Foundation’s Core Infrastructure Initiative (CII), founded in response to the 2014 Heartbleed bug, and the Open Source Security Coalition, founded by the GitHub Security Lab, are just a couple of the projects that will be brought together under the new OpenSSF. The Foundation’s governance, technical community and its decisions will be transparent, and any specifications and projects developed will be vendor agnostic. The OpenSSF is committed to collaboration and working both upstream and with existing communities to advance open source security for all.”

Linux Foundation 宣布成立开源安全基金会(OpenSSF)。 该基金会旨在提高开源软件的安全性。 “OpenSSF 汇集了业界最重要的开源安全计划以及支持这些计划的个人和公司。其中包括 Linux Foundation 的核心基础架构计划(Core Infrastructure Initiative,简称 CII)其成立目的之一主要是为了应对 2014 年爆出的 Heartbleed 漏洞(该漏洞是一个出现在加密程序库 OpenSSL 的安全漏洞), 以及 GitHub 安全实验室旗下的 Open Source Security Coalition,目前都归属于新的 OpenSSF 下。基金会的管理,技术社区及其决策将是透明的,开发的任何规范和项目都将与产品供应商无关。OpenSSF 将与上游以及现有社区保持协作和合作,确保开源软件的安全性。”

更多介绍请访问官网发布的消息 “Linux Foundation announces Open Source Security Foundation”

关键词: Linux Foundation,Open Source,Security

给大家介绍一款开源的 CAD 软件

Our look at running a CNC milling machine using open-source software led me to another tool worth looking at: FreeCAD. I wasn’t previously familiar with the program, so I decided to check it out. In this article I will walk through my experiences with using FreeCAD for the first time to do a variety of CNC-related tasks I normally would have used a commercial product for. I had varying degrees of success in my endeavors, but in the end came away with a positive opinion.

对于中国工业来说,各个领域都在迅猛发展,但唯独有一个领域仍是“荒漠”状——工业软件。工业软件覆盖了制造业的方方面面。最近几年,当工业4.0变成德国的国家名片,智能制造到了举国热浪的阶段,人们重新认识到,工业软件在其中举足轻重的作用。然而,中国曾经有过起步发展的 CAD/CAM/CAE/CAPP/ERP/… 软件,却早已经陷入“失去的三十年”。最近的 Z/H 事件以及 MATLAB 禁用事件更是重新唤起国内对工业软件的重视,希望国产工业软件的下一个春天能够快快来到。

废话不多说了,只所以想到这个,是因为今天看到一个 CAD 软件的开源版本 FreeCAD,给大家介绍一下。

FreeCAD 是基于 LGPL v2 + 许可的一款开源 CAD 和 CAM 软件,采用 Python 和 C++ 编写。该项目的第一个版本开始于 2002 年,最新的稳定版本 0.18.4 发布于 2019 年 10 月。该项目托管在 GitHub 上,地址是 https://github.com/FreeCAD/FreeCAD。其 Github 主页表明,为其做出贡献的开发人员有 271 位,提交也比较频繁(通常每周超过 50 个)。 除了代码贡献外,FreeCAD 还有一个热情的社区(https://forum.freecadweb.org/),活跃的论坛可以回答用户在使用过程中可能遇到的任何问题。 FreeCAD 被设计为跨平台的,支持 Linux,macOS 和 Windows,并采用跨 OS 的软件包和环境管理系统 Conda (https://docs.conda.io/en/latest/)来打包和发布二进制版本。更多有关该软件的介绍请阅读原文 “Checking out FreeCAD”

关键词: open-source,CAD,FreeCAD

Go 语言发布两项新的草案

The Go team has recently published several draft designs that propose changes to the language, standard library, and tooling: we covered the one on generics back in June. Last week, the Go team published two draft designs related to files: one for a new read-only filesystem interface, which specifies a minimal interface for filesystems, and a second design that proposes a standard way to embed files into Go binaries (by building on the filesystem interface). Embedding files into Go binaries is intended to simplify deployments by including all of a program’s resources in a single binary; the filesystem interface design was drafted primarily as a building block for that. There has been a lot of discussion on the draft designs, which has been generally positive, but there are some significant concerns.

Golang 开发团队最近发布了一些设计草案,提出了针对编程语言,标准库和工具的修改建议。 上周,Golang 团队发布了两个与文件相关的设计草案:其中之一是定义了一个新的,针对只读文件系统的最小访问接口,第二个设计是提出了一个将文件嵌入到 Go 语言二进制文件的标准方法(基于前一个文件系统接口)。将文件嵌入到二进制文件的目的是希望将程序的所有资源包含在单个二进制文件中来简化程序的部署。文件系统接口的提出主要也是为了支持该目标。关于设计草案的讨论很多,总体上是积极的,当然也存在一些问题。更多详细介绍请阅读原文 “Go filesystems and file embedding”

关键词: Golang,filesystem

联系我们

资讯内容部分来自 “LWN.net“。如果您对某些 LWN 文章感兴趣(譬如希望获得全文翻译的)请扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: