TGOSKits Documentation

website·Indexed 32 days ago

https://rcore-os.cn/tgoskits/

Development kits and architectural documentation for the rCore-OS ecosystem, supporting StarryOS, ArceOS, and Axvisor. It covers hardware integration for RK3588, SG2002, and K230, memory management, driver layering (USB, Network), and a comprehensive build system using cargo xtask for QEMU and board-level testing.

Tokens
289.3K
Snippets
771
Records
2.1K
Agent score
62%

What's inside TGOSKits

  1. Overview of StarryWRT

    StarryWRT is an OpenWrt-userland distribution that replaces the Linux kernel with the StarryOS (single-core) kernel. It is designed to be indistinguishable from OpenWrt, utilizing the same configuration system (uci), package manager (opkg), SSH (dropbear), DNS/DHCP (dnsmasq), busybox base, and /etc layout, all built from unmodified OpenWrt upstream sources.
  2. Overview of the arm-scmi-rs component

    The arm-scmi-rs component provides an implementation of the ARM SCMI (System Control and Management Interface) protocol specifically designed for no_std embedded environments. It is categorized as a device driver and is located in the drivers/firmware/arm-scmi-rs source directory.
  3. Overview of TGOSKits backtrace demos

    The apps/backtrace directory in TGOSKits provides a runnable guide and set of demos for backtrace support. It is designed for contributors and reviewers to configure environments, build StarryOS/ArceOS, run backtrace demos, enable backtrace support in other programs, and verify the functionality of different backtrace modes.
  4. Overview of the memory_set component

    The memory_set component (version 0.8.0) provides data structures and operations for managing memory mappings. It is categorized under Memory Management and is licensed under Apache-2.0. The source code is located in the memory/memory_set directory.
  5. Overview of kasm-aarch64 AArch64 assembly macros

    The kasm-aarch64 component provides AArch64-specific assembly macros designed for kernel development. It is categorized as a base component (基础组件) and is used within the arceoskernel context.

    • Source Directory: components/kasm-aarch64
    • Version: 0.2.3
    • License: Apache-2.0
  6. Overview of the rockchip-soc driver component

    The rockchip-soc driver is a Rockchip SoC driver located in the drivers/soc/rockchip/rockchip-soc directory. It provides core SoC functionality including the Clock Reset Unit (CRU), power manager, and pinctrl. It is categorized as a device driver, version 0.4.8, and is licensed under MIT.
  7. Overview of the rdif-timer system timer driver interface

    The rdif-timer component provides the Driver Interface for the system timer within the osdriver category. It is located in the drivers/interface/rdif-timer source directory, is currently at version 0.6.6, and is released under the MIT license.
  8. Overview of Rockchip Power Management Unit (PMU) Driver

    The osrockchippowerdriver is a device driver designed for the Rockchip Power Management Unit (PMU), providing support for RK3588 and similar SoCs. It is located in the drivers/soc/rockchip/rockchip-pm source directory and is released under the MIT license (version 0.4.10).
  9. Overview of the crab-usb Host Execution Model

    The crab-usb driver separates host management, device enumeration, and controller transport. It utilizes an asynchronous request model where calls can wait for device events without necessarily creating a new OS task for every Transfer Request Block (TRB).

    Key components include:

    • USBHost: Holds the backend object and provides interfaces for initialization, device change queries, and event handling.
    • Core: Manages the hub topology reused across controllers.
    • Backends (xHCI, DWC2, EHCI): Interpret hardware-specific requests.
    • PlatformUsbHost: Associates USBHost with BindingInfo and forwards DMA allocation, mapping, and synchronization via UsbKernel.
  10. Overview of axlog logging component for ArceOS

    The axlog component (version 0.6.1) provides macros for multi-level formatted logging within the ArceOS ecosystem. It is licensed under Apache-2.0 and is located in the os/arceos/modules/axlog source directory.
  11. Overview of block-io-bench for StarryOS

    block-io-bench is an operator-facing StarryOS QEMU application designed to collect simple filesystem read/write throughput metrics from the current root block device. It is categorized under StarryOS and supports multiple architectures including aarch64, loongarch64, riscv64, and x86_64.