diff --git a/docs/Home.md b/docs/Home.md index 56c0df8a0..ce33a9a87 100644 --- a/docs/Home.md +++ b/docs/Home.md @@ -253,6 +253,22 @@ sidebar_custom_props: }, ], }, + { + products_name: "ROCK 5T", + products_photo_url: "/home/product-pictures/rock5t.webp", + products_link: "/rock5/rock5t", + docs: + [ + { + docs_link: "/rock5/rock5t", + docs_photo_type: "Overview", + docs_name_en: "Overview", + docs_name_zh: "ROCK 5T 概览", + docs_info_en: "Overview of the ROCK 5T", + docs_info_zh: "ROCK 5T 概览", + }, + ], + }, { products_name: "ROCK 5 ITX", products_photo_url: "/home/product-pictures/rock5itx.webp", diff --git a/docs/common/accessories/_fan.mdx b/docs/common/accessories/_fan.mdx index dc797ec1c..a69e2bdb8 100644 --- a/docs/common/accessories/_fan.mdx +++ b/docs/common/accessories/_fan.mdx @@ -61,14 +61,18 @@
- radxa@{props.model}:~$ echo 0 | sudo tee /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + echo 0 | sudo tee /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + or + echo 0 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon*/pwm14. 将风扇调至最高档
- radxa@{props.model}:~$ sudo cp /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/max_state /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + sudo cp /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/max_state /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + or + echo 255 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon*/pwm1- step_wise diff --git a/docs/common/dev/_rsdk.mdx b/docs/common/dev/_rsdk.mdx new file mode 100644 index 000000000..6811ca517 --- /dev/null +++ b/docs/common/dev/_rsdk.mdx @@ -0,0 +1,113 @@ +## 使用 `rsdk` + +[`rsdk`](https://github.com/RadxaOS-SDK/rsdk) 是目前 RadxaOS 的生成环境,其有以下几个特点: + +1. 生成环境容器化,无需额外配置生成依赖 +2. 模块化的生成代码,修改方便 +3. 支持 x86、ARM64 平台上运行 + +### 这里简单介绍如何安装并使用 `rsdk` + +1. 首先,请安装所需的依赖项: + +``` +sudo apt-get update +sudo apt-get install git qemu-user-static binfmt-support +sudo apt-get install npm docker.io +sudo usermod -a -G docker $USER +``` + +2. 使用以下命令克隆项目git并安装devcontainer + +``` +git clone --recurse-submodules https://github.com/RadxaOS-SDK/rsdk.git +cd rsdk +npm install @devcontainers/cli +export PATH="$PWD/src/bin:$PWD/node_modules/.bin:$PATH" +rsdk devcon up +rsdk devcon +``` + +当终端出现以下所示,表明现在处于 rsdk 的 dev 容器 shell 中 + +``` +██████╗ ███████╗██████╗ ██╗ ██╗ +██╔══██╗██╔════╝██╔══██╗██║ ██╔╝ +██████╔╝███████╗██║ ██║█████╔╝ +██╔══██╗╚════██║██║ ██║██╔═██╗ +██║ ██║███████║██████╔╝██║ ██╗ +╚═╝ ╚═╝╚══════╝╚═════╝ ╚═╝ ╚═╝ +RadxaOS Software Development Kit + +Please run `rsdk shell` to enter the full development shell. + +direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DETERMINISTIC_BUILD +DEVENV_DOTFILE +DEVENV_PROFILE +DEVENV_ROOT +DEVENV_RUNTIME ++DEVENV_STATE +DEVENV_TASKS +HOST_PATH +IN_NIX_SHELL +LD +LOCALE_ARCHIVE +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu ++NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS ++NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_STORE +NM +NODE_PATH +OBJCOPY +OBJDUMP +PKG_CONFIG +PKG_CONFIG_PATH +PYTHONHASHSEED +PYTHONNOUSERSITE ++PYTHONPATH +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STARSHIP_SESSION_KEY +STRINGS +STRIP +_PYTHON_HOST_PLATFORM +_PYTHON_SYSCONFIGDATA_NAME +__structuredAttrs +buildInputs ++buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated ++depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +hardeningDisable +mesonFlags +name +nativeBuildInputs +out +outputs +patches ++phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~XDG_DATA_DIRS + +vscode ➜ /workspaces/rsdk (main) $ +``` + +3.在终端中运行 rsdk 来启动 TUI 向导。 + +``` +┌─────────────────┤ RSDK ├──────────────────┐ +│ Please select a task: │ +│ │ +│ Build system image │ +│ ========= │ +│ About │ +│ │ +│
Camera Name | +Sensor 型号 | +分辨率 | +
---|---|---|
OKDO 5MP Camera | +OV5647 | +500 万 像素 | +
Radxa Camera 4K | +IMX415 | +829 万 像素 | +
Radxa Camera 8M | +IMX219 | +800 万 像素 | +
Raspberry Pi Camera V2 | +IMX219 | +800 万 像素 | +
Raspberry Pi Camera v1.3 | +OV5647 | +500 万 像素 | +
Screen Name | +分辨率 | +
---|---|
ALLNET 5 inch DSI Display | +800 ×3(RGB) ×480 像素 | +
Radxa Display 8 HD | +1280x800 像素 | +
Radxa Display 10FHD | +1200x1920 像素 | +
Raspberry Pi 7 inch Touchscreen | +800 x 480 像素 | +
型号 | +ROCK 5T | +|
---|---|---|
SoC | +Rockchip RK3588 | +|
CPU | +四大核 Cortex‑A76 频率最高达 2.4GHz 四小核 Cortex‑A55 主频最大为 1.8GHz |
+ |
GPU | +Mali G610MP4 GPU,支持 OpenGLES 1.1/2.0/3.2 OpenCL 1.1/1.2/2.2 Vulkan 1.1 和 1.2 |
+ |
NPU | +NPU 支持 INT4/INT8/INT16/FP16/BF16 和 TF32 加速,计算能力高达 6TOPs | +|
内存 | +4/8/16/24/32 64 位 LPDDR5 | +|
存储 | +板载 eMMC 模块:32/64/128/256 GB microSD 存储卡 |
+ |
显示 | +可通过两个 HDMI、一个 DP(C 型)和一个 MIPI DSI 提供 4 路显示输出 分辨率高达 3x 4K@60FPS + 1x 1080P@60FPS 或者 1x 8K@60FPS + 1x 4K@60FPS + 1x 1080P@60FPS 1x 标准 HDMI 输入端口,最高支持 4Kp60 显示输入 |
+ |
硬件编解码 | +H.265/H.264/AV1/AVS2 硬件解码高达 8K@60fps H.265/H.264 硬件编码高达 8K@30fps |
+ |
以太网 | +10/100/1000/2500M 以太网(支持 POE ) PoE 需要额外的可选 HAT |
+ |
板载 WIFI | +配备板载 WiFi Realtek 8852BE | +|
M.2 | +M.2 B Key 连接器,可提供 USB 信号并支持 4G 模块。通过使用 SIM 卡,可方便地连接移动网络。 M.2 M Key 连接器,共提供两个双通道 PCIe 3.0 接口,标准的 M.2 2280 安装孔,可以安装 M.2 2280 NVMe 固态硬盘。值得注意的是,不支持 M.2 SATA 固态硬盘。 |
+ |
USB | +2x USB 2 端口 2x USB 3 HOST 端口 1x USB-C 端口 |
+ |
摄像头 | +2 个摄像头端口(2 个四通道 MIPI CSI 或 2 个双通道 MIPI CSI) | +|
PDM | +1 个PDM接口,支持双通道阵列麦克风 | +|
其他 | +40 针扩展座 | +|
供电 | +支持 DC 12V 的电源适配器 支持向 GPIO PIN 2 和 4 提供 5V 电源 |
+ |
尺寸 | +110mm x 82 mm | +
- radxa@{props.model}:~$ echo 0 | sudo tee /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + echo 0 | sudo tee /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + or + echo 0 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon*/pwm14. Set the fan to the highest setting.
- radxa@{props.model}:~$ sudo cp /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/max_state /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + sudo cp /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/max_state /sys/class/thermal/cooling_device{props.pwm_fan_dev_id}/cur_state + or + echo 255 | sudo tee /sys/devices/platform/pwm-fan/hwmon/hwmon*/pwm1- step_wise diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/dev/_rsdk.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/dev/_rsdk.mdx new file mode 100644 index 000000000..30e2e2d99 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/dev/_rsdk.mdx @@ -0,0 +1,119 @@ +## Using `rsdk` + +[`rsdk`](https://github.com/RadxaOS-SDK/rsdk) is the build environment for RadxaOS, which has the following features: + +1. Containerized build environment. No need to manage the build dependencies. +2. Modularized build scripts that is easy to modify. +3. Support for x86 and ARM64 platforms. + +### Here is a brief introduction to how to install and use it `rsdk` + +1. First, please install the required dependencies: + +``` +sudo apt-get update +sudo apt-get install git qemu-user-static binfmt-support +sudo apt-get install npm docker.io +sudo usermod -a -G docker $USER +``` + +2. Then clone the project with git and install devcontainer: + +``` +git clone --recurse-submodules https://github.com/RadxaOS-SDK/rsdk.git +cd rsdk +npm install @devcontainers/cli +export PATH="$PWD/src/bin:$PWD/node_modules/.bin:$PATH" +rsdk devcon up +rsdk devcon +``` + +When the end point appears as follows, you are now inside the rsdk's devcontainer shell. + +``` +██████╗ ███████╗██████╗ ██╗ ██╗ +██╔══██╗██╔════╝██╔══██╗██║ ██╔╝ +██████╔╝███████╗██║ ██║█████╔╝ +██╔══██╗╚════██║██║ ██║██╔═██╗ +██║ ██║███████║██████╔╝██║ ██╗ +╚═╝ ╚═╝╚══════╝╚═════╝ ╚═╝ ╚═╝ +RadxaOS Software Development Kit + +Please run `rsdk shell` to enter the full development shell. + +direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DETERMINISTIC_BUILD +DEVENV_DOTFILE +DEVENV_PROFILE +DEVENV_ROOT +DEVENV_RUNTIME ++DEVENV_STATE +DEVENV_TASKS +HOST_PATH +IN_NIX_SHELL +LD +LOCALE_ARCHIVE +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu ++NIX_BUILD_CORES +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_CFLAGS_COMPILE +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_LDFLAGS ++NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_x86_64_unknown_linux_gnu +NIX_STORE +NM +NODE_PATH +OBJCOPY +OBJDUMP +PKG_CONFIG +PKG_CONFIG_PATH +PYTHONHASHSEED +PYTHONNOUSERSITE ++PYTHONPATH +RANLIB +READELF +SIZE +SOURCE_DATE_EPOCH +STARSHIP_SESSION_KEY +STRINGS +STRIP +_PYTHON_HOST_PLATFORM +_PYTHON_SYSCONFIGDATA_NAME +__structuredAttrs +buildInputs ++buildPhase +builder +cmakeFlags +configureFlags +depsBuildBuild +depsBuildBuildPropagated +depsBuildTarget +depsBuildTargetPropagated +depsHostHost +depsHostHostPropagated ++depsTargetTarget +depsTargetTargetPropagated +doCheck +doInstallCheck +dontAddDisableDepTrack +hardeningDisable +mesonFlags +name +nativeBuildInputs +out +outputs +patches ++phases +preferLocalBuild +propagatedBuildInputs +propagatedNativeBuildInputs +shell +shellHook +stdenv +strictDeps +system ~PATH ~XDG_DATA_DIRS + +vscode ➜ /workspaces/rsdk (main) $ +``` + +3.Start TUI Wizard by running rsdk in the terminal. + +``` +┌─────────────────┤ RSDK ├──────────────────┐ +│ Please select a task: │ +│ │ +│ Build system image │ +│ ========= │ +│ About │ +│ │ +│
Camera Name | +Sensor Model | +Resolution | +
---|---|---|
OKDO 5MP Camera | +OV5647 | +5 megapixels | +
Radxa Camera 4K | +IMX415 | +8.29 megapixels | +
Radxa Camera 8M | +IMX219 | +8 megapixels | +
Raspberry Pi Camera V2 | +IMX219 | +8 megapixels | +
Raspberry Pi Camera v1.3 | +OV5647 | +5 megapixels | +
Screen Name | +Resolution | +
---|---|
ALLNET 5 inch DSI Display | +800 ×3(RGB) ×480 pixels | +
Radxa Display 8 HD | +1280x800 pixels | +
Radxa Display 10FHD | +1200x1920 pixels | +
Raspberry Pi 7 inch Touchscreen | +800 x 480 pixels | +
Model | +ROCK 5T | +|
---|---|---|
SoC | +Rockchip RK3588 | +|
CPU | +Quad-core Cortex-A76 up to 2.4GHz Quad-small-core Cortex-A55 up to 1.8GHz |
+ |
GPU | +Mali G610MP4 supports OpenGLES 1.1/2.0/3.2 OpenCL 1.1/1.2/2.2 Vulkan 1.1 and 1.2 |
+ |
NPU | +NPU supports INT4/INT8/INT16/FP16/BF16 and TF32 acceleration with up to 6TOPs of computation power. | +|
Ram | +4/8/16/24/32 64 bits LPDDR5 | +|
Storage | +Onboard eMMC module: 32/64/128/256 GB microSD memory card |
+ |
Display | +Provides 4 display outputs via two HDMI, one DP (C-Type) and one MIPI DSI Resolution up to 3x 4K@60FPS + 1x 1080P@60FPS or 1x 8K@60FPS + 1x 4K@60FPS + 1x 1080P@60FPS 1x standard HDMI input port, supports up to 4Kp60 display inputs |
+ |
Hardware Codecs | +H.265/H.264/AV1/AVS2 Hardware Decoding up to 8K@60fps H.265/H.264 hardware encoding up to 8K@30fps |
+ |
Ethernet | +Gigabit Ethernet with Power over Ethernet (PoE) support PoE requires additional optional HAT |
+ |
On-board WIFI | +Equipped with on-board WiFi Realtek 8852BE | +|
M.2 | +M.2 B Key connector that provides USB signaling and supports 4G modules. Easy connection to mobile networks through the use of a SIM card. The M.2 M Key connector provides a total of two dual-channel PCIe 3.0 ports and standard M.2 2280 mounting holes for M.2 2280 NVMe SSDs. It is worth noting that M.2 SATA SSDs are not supported. |
+ |
USB | +2x USB 2 ports 2x USB 3 HOST/OTG ports |
+ |
Camera | +2 camera ports (2 quad-channel MIPI CSI or 2 dual-channel MIPI CSI) | +|
PDM | +1 PDM interface, supports dual-channel array microphones | +|
Others | +40-Pin Expansion Block | +|
Power Supply | +Supports DC 12V power adapter Provides 5V power to GPIO PINs 2 and 4 |
+ |
Size | +110mm x 82 mm | +