-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Feng Zhang <[email protected]>
- Loading branch information
1 parent
71ab53b
commit b6bca37
Showing
102 changed files
with
945 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 10 | ||
--- | ||
|
||
# ROCK 5C | ||
|
||
一台具有 PCie 扩展并支持8K显示且拥有丰富功能扩展的卡片电脑。 | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 9 | ||
--- | ||
|
||
# 配件 | ||
|
||
使用 ROCK 5C 配件。 | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
# 摄像头 | ||
|
||
目前支持以下几款摄像头: | ||
|
||
1. Radxa Camera 4K | ||
2. Okdo 5MP Camera | ||
3. Raspberry v1.3 Camera | ||
4. Raspberry v2 Camera | ||
|
||
## 配置 | ||
|
||
以 Radxa Camera 4K 摄像头为例: | ||
|
||
<!--  | ||
 | ||
 --> | ||
|
||
- 准备好 Radxa Camera 4K,通过 FPC 线接上 ROCK 5C。 | ||
|
||
- 通过左下角 Application Launcher 打开 Kconsole 终端, 运行 `rsetup` 命令。 | ||
|
||
```bash | ||
radxa@rock-5c:~$ rsetup | ||
``` | ||
|
||
通过[设备树配置](../os-config/rsetup#overlays)来启用瑞莎 4K 摄像头的 Overlay。 | ||
|
||
:::caution [注意] | ||
|
||
1. 请启用 `[] Enable Radxa Camera 4K` 项 Overlay。 | ||
2. 在启用成功显示 `[*] Enable Radxa Camera 4K` 后退出重启才能使配置生效。 | ||
|
||
::: | ||
|
||
## 图像预览 | ||
|
||
你也可以使用终端命令打开相机预览: | ||
|
||
```bash | ||
gst-launch-1.0 v4l2src device=/dev/video11 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! xvimagesink; | ||
``` | ||
|
||
使用以下命令拍照: | ||
|
||
```bash | ||
gst-launch-1.0 v4l2src device=/dev/video11 io-mode=4 ! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080 ! jpegenc ! multifilesink location=file.name.jpg; | ||
``` | ||
|
||
使用以下命令拍摄视频: | ||
|
||
```bash | ||
gst-launch-1.0 v4l2src num-buffers=512 device=/dev/video11 io-mode=4 ! videoconvert ! video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! tee name=t ! queue ! mpph264enc ! queue ! h264parse ! mpegtsmux ! filesink location=/home/radxa/file.name.mp4 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 显示屏 | ||
|
||
目前支持的显示屏如下: | ||
|
||
1. Radxa 8HD display | ||
2. Radxa 10HD display | ||
|
||
## 配置 | ||
|
||
以 `radxa 8hd display` 为例: | ||
|
||
<!--  | ||
 --> | ||
|
||
- 准备好 Radxa Display 8HD 或者 Radxa Display 10HD,通过 FPC 线接上 ROCK 5C。 | ||
|
||
- 通过左下角 Application Launcher 打开 Kconsole 终端, 运行 `rsetup` 命令: | ||
|
||
```bash | ||
radxa@rock-5c:~$ rsetup | ||
``` | ||
|
||
- 通过[设备树配置](../os-config/rsetup#overlays)来启用瑞莎 8 寸触摸屏的 Overlay。 | ||
|
||
:::caution [注意] | ||
|
||
1. 请启用 `[] Enable Radxa Display 8 HD` 项 Overlay。 | ||
2. 在启用成功显示 `[*] Enable Radxa Display 8 HD` 后退出重启才能使配置生效。 | ||
|
||
::: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Content from '../../../common/accessories/\_pd-30w.mdx' | ||
|
||
# Radxa Power PD 30W | ||
|
||
<Content /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 5 | ||
--- | ||
|
||
# 应用开发 | ||
|
||
主要介绍上层应用开发,比如QT, WiringX, Mraa 等 | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Canbus 使用 | ||
|
||
import CANBUS from '../../../common/dev/\_canbus.mdx'; | ||
|
||
<CANBUS /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# GPIOD 使用 | ||
|
||
import GPIOD from '../../../common/dev/\_gpiod.mdx'; | ||
|
||
<GPIOD /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Mraa 使用 | ||
|
||
import MRAA from '../../../common/dev/\_mraa.mdx'; | ||
|
||
<MRAA /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
import Panfork from '../../../common/dev/\_panfork.mdx'; | ||
|
||
# Panfork GPU 驱动 | ||
|
||
<Panfork /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# QT 交叉编译 | ||
|
||
import QTCROSSCOMPILE from '../../../common/dev/\_qt-cross-compile.mdx'; | ||
|
||
<QTCROSSCOMPILE /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 9 | ||
--- | ||
|
||
# RKNN 安装 | ||
|
||
import RKNNinstall from '../../../common/dev/\_rknn-install.mdx'; | ||
|
||
<RKNNinstall /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 10 | ||
--- | ||
|
||
# 模拟推理 YOLOv5 分割模型 | ||
|
||
import RKNNTOOLKIT2PC from '../../../common/dev/\_rknn-toolkit2-pc.mdx'; | ||
|
||
<RKNNTOOLKIT2PC /> |
9 changes: 9 additions & 0 deletions
9
docs/rock5/rock5c/app-development/rknn_toolkit_lite2_yolov8.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 11 | ||
--- | ||
|
||
# 板端部署 YOLOv8 目标检测 | ||
|
||
import RKNNTOOLKITLITE2YOLOV8 from '../../../common/dev/\_rknn-toolkit-lite2-yolov8.mdx'; | ||
|
||
< RKNNTOOLKITLITE2YOLOV8 /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
import Rtsp from '../../../common/dev/\_rtsp.mdx'; | ||
|
||
# RTSP 推流 | ||
|
||
<Rtsp /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 5 | ||
--- | ||
|
||
import Sensor from '../../../common/dev/\_sensor.mdx'; | ||
|
||
# 传感器的使用 | ||
|
||
<Sensor /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# WiringX 使用 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
# 应用部署 | ||
|
||
主要介绍类似 Samba, Docker, PVE, OMV, LAMP, Cheese, 远程控制面板等常见应用的配置及使用 | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# Docker | ||
|
||
import DOCKER from '../../../common/apps/\_docker.mdx'; | ||
|
||
<DOCKER /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Samba | ||
|
||
import SAMBA from '../../../common/apps/\_samba.mdx'; | ||
|
||
<SAMBA /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
sidebar_position: 10 | ||
--- | ||
|
||
# FAQ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
|
||
# 快速上手 | ||
|
||
开始你的 ROCK 5C 之旅。 | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 15 | ||
--- | ||
|
||
import InstallOS from "../../../common/general/\_install-os.mdx"; | ||
|
||
# 安装操作系统 | ||
|
||
<InstallOS /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# 硬件信息 | ||
|
||
硬件资料查询下载。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 7 | ||
--- | ||
|
||
# 底层开发 | ||
|
||
主要介绍 uboot, kernel, debian os 编译打包等内容 | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# Kernel 开发 | ||
|
||
## 编译内核 | ||
|
||
import KERNEL from '../../../common/dev/\_kernel.mdx'; | ||
|
||
<KERNEL /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 系统编译 | ||
|
||
import RBUILD from '../../../common/dev/\_rbuild.mdx'; | ||
|
||
<RBUILD /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Rkdeveloptool from "../../../common/dev/\_rkdeveloptool.mdx"; | ||
|
||
<Rkdeveloptool /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import RKDevTool from "../../../common/dev/\_rkdevtool.mdx" | ||
|
||
# RKDevTool | ||
|
||
<RKDevTool /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
import Rknntoolkit2 from "../../../common/dev/\_rknn-toolkit2.mdx" | ||
|
||
# RKNN Toolkit2 | ||
|
||
<Rknntoolkit2 /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Serial from "../../../common/general/\_serial.mdx" | ||
|
||
# UART 串口控制台 | ||
|
||
<Serial platform="rk" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
|
||
# U-boot 开发 | ||
|
||
## 编译 U-Boot | ||
|
||
import UBOOT from '../../../common/dev/\_u-boot.mdx'; | ||
|
||
<UBOOT /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
# 系统配置 | ||
|
||
介绍如何通过工具(例如rsetup)或者命令行去使用设备或者功能。 | ||
|
||
<DocCardList /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Bootparam from "../../../common/radxa-os/\_bootparam.mdx"; | ||
|
||
# 启动参数 | ||
|
||
<Bootparam /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Rsetup from "../../../common/config/\_rsetup.mdx"; | ||
|
||
<Rsetup /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
sidebar_position: 8 | ||
--- | ||
|
||
# 其他系统 |
Oops, something went wrong.