Skip to main content

Blog

See important news from the RuyiSDK team at any time

Release notes for RuyiSDK 0.29

· 2 min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.29 is now released. The corresponding package manager version is also 0.29.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Fixed the porcelain mode support for the ruyi news list command.
  • Added porcelain mode support for the ruyi news read command, with the return format matching that of ruyi news list.
  • Repository format updates:
    • No longer supports global configurations and package descriptions in JSON format. The official RuyiSDK repository has been migrated since version 0.18 and is not expected to be affected by this change. If you have not yet upgraded your ruyi version, it is recommended that you reinstall ruyi and recreate your virtual environments (if any).
    • An optional upstream_version field is allowed in package manifests, which is used to record the corresponding upstream version for that version. Since the RuyiSDK repository uses semantic versioning, some form of mapping is often required for upstream versioning schemes that do not conform to semantic versioning; this field helps tools in the RuyiSDK ecosystem understand such mapping relationships.
    • Made backward-compatible provisions for future support of package-level shared metadata.

Release notes for RuyiSDK 0.28

· One min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.28 is now released. The corresponding package manager version is also 0.28.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • When running commands that do not rely on repository data, the repository will no longer be pulled if it is not yet locally present.
  • ruyi list now supports basic filtering queries: use --category-is to query packages under a specific category, and use --name-contains to query packages whose names contain specific text.
  • ruyi list without any parameters is no longer supported due to the ever-increasing number of packages. If you have scripts that rely on the previous behavior, please modify them according to the prompts.

RuyiSDK Software Repository

  • Added the following packages:
    • source/wiringx: Official source code for the wiringX project. wiringX is a modular GPIO support component.
  • Updated the following packages:
    • board-image/bianbu-bpi-f3
    • board-image/revyos-milkv-meles
    • board-image/revyos-sg2042-milkv-pioneer
  • Fixed the file type marker for the boot partition of board-image/revyos-milkv-meles.

Release notes for RuyiSDK 0.27

· 2 min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.27 is now released. The corresponding package manager version is also 0.27.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Added the ruyi telemetry upload command. If you are okay with sharing with us your usage data, now in non-persistent environments such as CI builds, you can ensure with the command that telemetry data is uploaded before the task ends and the environment is cleaned up.
  • Added support for specifying service levels for software package versions. If a particular version of a software package has known issues, ruyi will display a prompt when installing or extracting that version. This information can be maintained by packagers in the software source. In the future, filtering packages by service level will also be supported: it will be possible to skip versions with known issues, or only use verified versions, etc.
  • Engineering changes:
    • Added support for pygit2 1.17.0. The one-file distribution of ruyi has been switched to this version.

RuyiSDK Software Repository

  • Updated the following packages:
    • board-image/buildroot-sdk-milkv-duo
    • board-image/buildroot-sdk-milkv-duo256m
    • board-image/buildroot-sdk-milkv-duos-sd
    • board-image/uboot-revyos-sipeed-lpi4a-16g
    • board-image/uboot-revyos-sipeed-lpi4a-8g
  • Fixed issues with some packages being unable to download normally after receiving automated version upgrades.

Release notes for RuyiSDK 0.26

· 2 min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.26 is now released. The corresponding package manager version is also 0.26.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Added a --verbose (-v) option to ruyi telemetry status, allowing users to continue viewing their telemetry data upload plans after running ruyi telemetry consent.
  • Fixed an issue where the toolchain -mcpu value might not be correctly mapped when creating a virtual environment using a vendor toolchain. If you are affected, please recreate your virtual environment after running ruyi update.
  • Continued work on platform compatibility guarantees:
    • Added a platform compatibility technical document that clarifies the baseline versions of third-party dependencies currently supported by ruyi.
    • Ensured via CI that all changes to ruyi do not affect ruyi passing the test suite on Ubuntu 22.04.
  • Engineering changes:
    • Fixed an issue where a layer of subdirectory structure was missing in the source package.
    • Updated Poetry to version 2.0, along with updating the Python project metadata (pyproject.toml) for ruyi.

RuyiSDK Software Repository

  • Updated board-image/revyos-sipeed-lpi4a.
  • Supported the new profile API to work with ruyi 0.26.0 changes, ensuring correct -mcpu configuration for virtual environments.

Release notes for RuyiSDK 0.25

· 2 min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.25 is now released. The corresponding package manager version is also 0.25.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Added the ruyi config subcommand, making it easier for users to query and modify RuyiSDK package manager configurations via command line or script. This command's usage was inspired by git config, see ruyi config --help output for details.
  • Added the ruyi telemetry subcommand, making it easier for users to query and change telemetry preferences via command line or script. See ruyi telemetry --help output for details.
    • Specifically: Before expressing your telemetry preferences, you will receive a reminder every time you run ruyi. You can now turn off telemetry data collection with ruyi telemetry off or explicitly accept telemetry data collection and upload with ruyi telemetry consent.
  • Fixed an issue with Debian package extraction when used with arpy 1.x.
  • Added two specification documents: RuyiSDK official software source package version specification, and RuyiSDK board model and system image naming specification. You can read these in the docs/ directory of the RuyiSDK package manager repository.

内核从 5.10 升级至 6.6,RuyiSDK 发布面向 TH1520 系列开发板操作系统新镜像

· 2 min read

12月29日,面向 TH1520 RevyOS 操作系统已完成内核版本从 5.1 6.6 的更新,并提供了对 Milk-V Meles 和 LicheePi 4A 的最新支持,新增支持如下:

  • CPU 调频和风扇调速功能
  • 支持 Milk-V Meles 和 LicheePi 4A 8GB 内存版本
  • 在 eMMC 存储上运行正常,可以通过 eMMC 启动操作系统
  • 有线网络连接功能,确保用户在使用时可以通过以太网稳定地连接互联网
  • HDMI 显示输出/音频
  • 支持 AP6256 WiFi 模块(需要更新内核后使用)

截至目前,RevyOS 已全面覆盖 Milk-V Meles 4GB/8GB/16GB 和 LicheePi 4A 8GB/16GB 的多版本支持。

6401

Milk-V Meles 最新 RevyOS 版本镜像下载地址(镜像支持SD卡刷写):

https://mirror.iscas.ac.cn/revyos/extra/images/meles/20241229/

6402

LicheePi 4A 最新 RevyOS 版本镜像下载地址(镜像支持SD卡刷写):

https://mirror.iscas.ac.cn/revyos/extra/images/lpi4a/20241229/

为了帮助开发者更好地理解和使用 RevyOS,团队还提供了丰富的教程文档,涵盖了 Debian 软件包构建、GCC 编译工具链、 XuanTie QEMU 编译流程以及内核替换与编译等,请访问官方文档库获取更多资源:

6403

https://docs.revyos.dev/

关于 TH1520

基于玄铁 C910 内核,最高主频可达2.5GHz,支持全链路安全防护,具有4k视频处理能力,同时含有丰富的异构计算和高速IO资源。可广泛用于中高性能的应用场景,欢迎开发者扫码,备注【TH1520】进微信群。

6404

Release notes for RuyiSDK 0.24

· One min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.24 is now released. The corresponding package manager version is also 0.24.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Updated dependency versions.

RuyiSDK Software Repository

  • Updated the following software to the latest versions:
    • board-image/armbian-pine64-star64
    • board-image/buildroot-sdk-milkv-duo
    • board-image/buildroot-sdk-milkv-duos-sd
    • board-image/buildroot-sdk-sipeed-licheervnano
    • board-image/debian-fishwaldo-sg200x-sipeed-licheervnano
    • board-image/revyos-sipeed-lpi4a
    • board-image/uboot-revyos-sipeed-lpi4a-16g
    • board-image/uboot-revyos-sipeed-lpi4a-8g
    • extra/wps-office

Release notes for RuyiSDK 0.23

· 2 min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.23 is now released. The corresponding package manager version is also 0.23.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Due to project acceptance requirements, the default telemetry mode has been changed to on. Subsequently, anonymized usage statistics will be periodically uploaded with updates to the RuyiSDK software repository. The telemetry server is located in mainland China and is managed by the RuyiSDK team.
  • Fixed compatibility with the external dependency semver 2.x version.
  • Allowed running ruyi as root in CI environments.
  • Each release now comes with reproducible source packages, which is helpful for distribution packaging work.

Note: Due to metrics such as the number of active users being project KPIs, RuyiSDK 0.23 has added the functionality to upload telemetry data, which is enabled by default in all environments, not just CI. You can decide whether to actively upload this anonymous statistical information to help the RuyiSDK team improve the product. You can also choose to delete previous telemetry data or disable telemetry. You can use ruyi self clean --telemetry to delete all telemetry information, including device information.

When telemetry mode is set to on, you will be notified when your telemetry data will be uploaded each time ruyi is called. You can do one of the following to suppress this prompt:

  • Set the telemetry mode to local or off;
  • Consent to data upload behavior.

Here is an example of the ruyi configuration file. This configuration file is typically located at ~/.config/ruyi/config.toml. If it doesn't exist, you can create it:

# Include one of the following in the [telemetry] section. If this section doesn't exist, create it:
[telemetry]

# You can change the telemetry mode to local or off:
mode = "local"

# Or inform ruyi that you have given consent at the current date and time:
upload_consent = 2024-12-32T25:61:00+08:00
# This date format is not valid, this is intentional. Please fill in the current time of your operation. For example, execute the following command:
#
# echo "upload_consent = $(date -Iseconds)"
#
# The output can be used for the above purpose.

Release notes for RuyiSDK 0.22

· One min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.22 is now released. The corresponding package manager version is also 0.22.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Added the RuyiSDK platform support documentation, and based on this, improved the platform compatibility of the RuyiSDK package manager:
    • Lowered the minimum Python version requirement to 3.10 to maintain compatibility with the default Python version in Ubuntu 22.04 LTS.
    • Reduced version requirements for various Python dependencies to work with packages provided by Ubuntu 22.04 LTS.
    • Added the declaration of the ruyi entry point according to Python packaging standards, allowing distribution packaging mechanisms to automatically recognize and process it.

Note: We will add the functionality to upload RuyiSDK telemetry data in RuyiSDK 0.23, and may enable it by default in CI environments. At that time, you can decide whether to actively upload this anonymous statistical information to help the RuyiSDK team improve the product. You can also choose to delete previous telemetry data and disable telemetry. You can use ruyi self clean --telemetry to delete all telemetry information, including device information.

Release notes for RuyiSDK 0.21

· 2 min read
xen0n
RuyiSDK 技术主管

RuyiSDK 0.21 is now released. The corresponding package manager version is also 0.21.0. You can download the RuyiSDK package manager from one of the following locations:

This update mainly consists of the following changes. Happy hacking!

RuyiSDK Package Manager

  • Renamed the RuyiSDK software repository packaging helper command ruyi admin manifest to ruyi admin checksum. If you are packaging for RuyiSDK, you may need to update your scripts.
  • Added support for ruyi self clean to delete news reading status (ruyi news): ruyi self clean --news-read-status.
  • Added support for ruyi self clean to delete all variable state files generated by ruyi at once: ruyi self clean --all.
  • Fixed compatibility of ruyi test cases with Python 3.11. We now ensure through CI that ruyi passes tests on Python 3.11, 3.12, and 3.13, which will help ensure compatibility across various Linux distributions.
  • Added a missing declaration of the typing_extensions dependency to fix third-party packaging.
  • Refactored the way ruyi subcommands are declared and implemented, making it more convenient to extend ruyi command-line functionality in the future.

Note: We may implement the RuyiSDK telemetry mechanism in the next one to two versions. At that time, you can decide whether to actively upload this anonymous statistical information to help the RuyiSDK team improve the product. You can also choose to delete previous telemetry data and disable telemetry. You can use ruyi self clean --telemetry to delete all telemetry information, including device information.