diff --git a/docs/common/accessories/_camera-12m-577.mdx b/docs/common/accessories/_camera-12m-577.mdx new file mode 100644 index 000000000..586cb6f38 --- /dev/null +++ b/docs/common/accessories/_camera-12m-577.mdx @@ -0,0 +1,79 @@ +import { Image } from "@site/src/utils/docs"; + +{props.product} 的板载 MIPI CSI 接口可用于连接瑞莎 12M 577 摄像头,实现图像采集功能。 + +
+ +
+ +## 接口规格 + +### 摄像头接口 + +瑞莎 Camera 12M 577 摄像头接口规格如下: + +- 接口类型:31-Pin 0.3 mm 间距 SMD 卧式 FPC 接口 +- 连接方式:翻盖式,下接触 + +### 主板 MIPI CSI 接口 + +{props.product} 的主板 MIPI CSI 接口规格如下: + +- 接口类型:{props.interface} +- 连接方式:{props.connect} + +## 硬件连接 + +将 FPC 排线的 31-Pin 金属接触点末端插入摄像头接口,将 FPC 排线的 {props.pins} 金属接触点末端插入主板 MIPI CSI 接口。 + +:::tip 注意事项 + +- 确保排线两侧边缘与插座边缘平齐,无歪斜或部分裸露的触点 +- 确认排线无折痕、无松动,且锁扣处闭合状态 + +::: + + + +## 软件使能 + +使用瑞莎系统自带的 Rsetup 工具使能瑞莎 Camera 12M 577 摄像头。 + +:::tip Rsetup 使用指南 + +- 选中选项 : 对应选项会高亮显示 +- 确认选择 : 按 `Enter` +- 取消选择 : 按 `ESC` +- 切换选项 : 按 `Up` 、 `Down` 、 `Left` 、 `Right` 控制 +- 多选界面 : 按 `Space` 选择,按 `Enter` 确认选择;选择对应功能后,对应选项框会出现一个 `*` ,表示该选项已启用 + +::: + +在终端命令行运行 `rsetup` 命令启动 Rsetup 工具: + + + +``` +rsetup +``` + + + +在 Rsetup 工具中依次进入 `Overlays` -> `Manage overlays`。 + +1. 通过方向键找到 [ ] {props?.enable_camera ?? 'Enable IMX577 camera on CAM1'} 选项 +2. 按空格出现 [*] {props?.enable_camera ?? 'Enable IMX577 camera on CAM1'} 说明已选中该功能 +3. 按 `Enter` 确认并保存设置,使能摄像头。 +4. 重启系统,使配置生效。 + +:::tip +若主板有多个 MIPI CSI 接口,Rsetup 可能会显示 `[ ] Enable IMX577 camera on CAM *` 选项,选择对应 MIPI CSI 接口的选项即可。 +::: diff --git a/docs/common/accessories/_camera-13m-214.mdx b/docs/common/accessories/_camera-13m-214.mdx new file mode 100644 index 000000000..63f6d7972 --- /dev/null +++ b/docs/common/accessories/_camera-13m-214.mdx @@ -0,0 +1,79 @@ +import { Image } from "@site/src/utils/docs"; + +{props.product} 的板载 MIPI CSI 接口可用于连接[瑞莎 13M 214 摄像头](https://radxa.com/products/accessories/camera-13m-214),实现图像采集功能。 + +
+ +
+ +## 接口规格 + +### 摄像头接口 + +瑞莎 13M 214 摄像头接口规格如下: + +- 接口类型:31-Pin 0.3 mm 间距 SMD 卧式 FPC 接口 +- 连接方式:翻盖式,下接触 + +### 主板 MIPI CSI 接口 + +{props.product} 的主板 MIPI CSI 接口规格如下: + +- 接口类型:{props.interface} +- 连接方式:{props.connect} + +## 硬件连接 + +将 FPC 排线的 31-Pin 金属接触点末端插入摄像头接口,将 FPC 排线的 {props.pins} 金属接触点末端插入主板 MIPI CSI 接口。 + +:::tip 注意事项 + +- 确保排线两侧边缘与插座边缘平齐,无歪斜或部分裸露的触点 +- 确认排线无折痕、无松动,且锁扣处闭合状态 + +::: + + + +## 软件使能 + +使用瑞莎系统自带的 Rsetup 工具使能瑞莎 13M 214 摄像头。 + +:::tip Rsetup 使用指南 + +- 选中选项 : 对应选项会高亮显示 +- 确认选择 : 按 `Enter` +- 取消选择 : 按 `ESC` +- 切换选项 : 按 `Up` 、 `Down` 、 `Left` 、 `Right` 控制 +- 多选界面 : 按 `Space` 选择,按 `Enter` 确认选择;选择对应功能后,对应选项框会出现一个 `*` ,表示该选项已启用 + +::: + +在终端命令行运行 `rsetup` 命令启动 Rsetup 工具: + + + +``` +rsetup +``` + + + +在 Rsetup 工具中依次进入 `Overlays` -> `Manage overlays`。 + +1. 通过方向键找到 [ ] {props?.enable_camera ?? 'Enable Radxa Camera 13M 214'} 选项 +2. 按空格出现 [*] {props?.enable_camera ?? 'Enable Radxa Camera 13M 214'} 说明已选中该功能 +3. 按 `Enter` 确认并保存设置,使能摄像头。 +4. 重启系统,使配置生效。 + +:::tip +若主板有多个 MIPI CSI 接口,Rsetup 可能会显示 `[ ] Enable Radxa Camera 13M 214 on CAM *` 选项,选择对应 MIPI CSI 接口的选项即可。 +::: diff --git a/docs/common/accessories/_camera-4k.mdx b/docs/common/accessories/_camera-4k.mdx new file mode 100644 index 000000000..a44e6a272 --- /dev/null +++ b/docs/common/accessories/_camera-4k.mdx @@ -0,0 +1,79 @@ +import { Image } from "@site/src/utils/docs"; + +{props.product} 的板载 MIPI CSI 接口可用于连接[瑞莎 4K 摄像头](https://radxa.com/products/accessories/camera4k),实现图像采集功能。 + +
+ +
+ +## 接口规格 + +### 摄像头接口 + +瑞莎 Camera 4K 摄像头接口规格如下: + +- 接口类型:31-Pin 0.3 mm 间距 SMD 卧式 FPC 接口 +- 连接方式:翻盖式,下接触 + +### 主板 MIPI CSI 接口 + +{props.product} 的主板 MIPI CSI 接口规格如下: + +- 接口类型:{props.interface} +- 连接方式:{props.connect} + +## 硬件连接 + +将 FPC 排线的 31-Pin 金属接触点末端插入摄像头接口,将 FPC 排线的 {props.pins} 金属接触点末端插入主板 MIPI CSI 接口。 + +:::tip 注意事项 + +- 确保排线两侧边缘与插座边缘平齐,无歪斜或部分裸露的触点 +- 确认排线无折痕、无松动,且锁扣处闭合状态 + +::: + + + +## 软件使能 + +使用瑞莎系统自带的 Rsetup 工具使能瑞莎 Camera 4K 摄像头。 + +:::tip Rsetup 使用指南 + +- 选中选项 : 对应选项会高亮显示 +- 确认选择 : 按 `Enter` +- 取消选择 : 按 `ESC` +- 切换选项 : 按 `Up` 、 `Down` 、 `Left` 、 `Right` 控制 +- 多选界面 : 按 `Space` 选择,按 `Enter` 确认选择;选择对应功能后,对应选项框会出现一个 `*` ,表示该选项已启用 + +::: + +在终端命令行运行 `rsetup` 命令启动 Rsetup 工具: + + + +``` +rsetup +``` + + + +在 Rsetup 工具中依次进入 `Overlays` -> `Manage overlays`。 + +1. 通过方向键找到 [ ] {props?.enable_camera ?? 'Enable Radxa Camera 4K on CAM1'} 选项 +2. 按空格出现 [*] {props?.enable_camera ?? 'Enable Radxa Camera 4K on CAM1'} 说明已选中该功能 +3. 按 `Enter` 确认并保存设置,使能摄像头。 +4. 重启系统,使配置生效。 + +:::tip +若主板有多个 MIPI CSI 接口,Rsetup 可能会显示 `[ ] Enable Radxa Camera 4K on CAM *` 选项,选择对应 MIPI CSI 接口的选项即可。 +::: diff --git a/docs/common/accessories/_camera-8m-219.mdx b/docs/common/accessories/_camera-8m-219.mdx index 7b2d3c5ae..7f6676da1 100644 --- a/docs/common/accessories/_camera-8m-219.mdx +++ b/docs/common/accessories/_camera-8m-219.mdx @@ -69,8 +69,8 @@ rsetup 在 Rsetup 工具中依次进入 `Overlays` -> `Manage overlays`。 -1. 通过方向键找到 `[ ] Enable Radxa Camera 8M 219` 选项 -2. 按空格出现 `[*] Enable Radxa Camera 8M 219` 说明已选中该功能,表示启用该功能 +1. 通过方向键找到 [ ] {props?.enable_camera ?? 'Enable Radxa Camera 8M 219'} 选项 +2. 按空格出现 [*] {props?.enable_camera ?? 'Enable Radxa Camera 8M 219'} 说明已选中该功能 3. 按 `Enter` 确认并保存设置,使能摄像头。 4. 重启系统,使配置生效。 diff --git a/docs/cubie/a7a/accessories/README.md b/docs/cubie/a7a/accessories/README.md new file mode 100644 index 000000000..6ebf10b33 --- /dev/null +++ b/docs/cubie/a7a/accessories/README.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 7 +--- + +# 配件使用 + + diff --git a/docs/cubie/a7a/accessories/camera-13m-214.md b/docs/cubie/a7a/accessories/camera-13m-214.md new file mode 100644 index 000000000..45d7c29e0 --- /dev/null +++ b/docs/cubie/a7a/accessories/camera-13m-214.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; + +# 瑞莎 13M 214 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=24/1 ! xvimagesink +``` + + diff --git a/docs/cubie/a7a/accessories/camera-4k.md b/docs/cubie/a7a/accessories/camera-4k.md new file mode 100644 index 000000000..b7e1f01a8 --- /dev/null +++ b/docs/cubie/a7a/accessories/camera-4k.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; + +# 瑞莎 4K 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=24/1 ! xvimagesink +``` + + diff --git a/docs/cubie/a7a/accessories/camera-8m-219.md b/docs/cubie/a7a/accessories/camera-8m-219.md new file mode 100644 index 000000000..6aef9271d --- /dev/null +++ b/docs/cubie/a7a/accessories/camera-8m-219.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; + +# 瑞莎 8M 219 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=24/1 ! xvimagesink +``` + + diff --git a/docs/cubie/a7a/download.md b/docs/cubie/a7a/download.md index 749f3bdc2..207c1c983 100644 --- a/docs/cubie/a7a/download.md +++ b/docs/cubie/a7a/download.md @@ -30,25 +30,25 @@ sidebar_position: 8 #### GPT 系统镜像(推荐) -:::info 最新系统镜像发布页面 +:::tip A733 统一系统镜像 -- [Radxa Cubie A7A](https://github.com/radxa-build/radxa-cubie-a7a/releases) +- [最新系统镜像发布页面](https://github.com/radxa-build/radxa-a733/releases)获取最新镜像 -该页面会发布最新的正式版本和测试版本的系统镜像,测试版本以 `t` 开头,正式版本以 `r` 开头(旧版本的正式版本以 `b` 开头)。 +适合所有 A733 SoC 产品,如 Cubie A7Z、Cubie A7A 等,测试版本以 `t` 开头,正式版本以 `r` 开头。 ::: 目前支持 MicroSD 卡/ eMMC 模块 / UFS 模块启动系统,NVMe/SSD 启动需要刷写 SPI Nor Flash 固件 -- [Radxa Cubie A7A Debian 11](https://github.com/radxa-build/radxa-cubie-a7a/releases/download/rsdk-b2/radxa-cubie-a7a_bullseye_kde_b2.output_512.img.xz) (SD / eMMC) +- [Radxa Cubie A7A Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_512.img.xz) (SD / eMMC) -- [Radxa Cubie A7A Debian 11](https://github.com/radxa-build/radxa-cubie-a7a/releases/download/rsdk-b2/radxa-cubie-a7a_bullseye_kde_b2.output_4096.img.xz) (UFS) +- [Radxa Cubie A7A Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_4096.img.xz) (UFS) -:::tip A733 统一系统镜像 +:::tip Cubie A7A 旧版镜像 -适合所有 A733 SoC 产品,如 Cubie A7Z、Cubie A7A 等,目前处于测试版本,建议使用上方的稳定版本。 +- [Radxa Cubie A7A](https://github.com/radxa-build/radxa-cubie-a7a/releases) -如有需要,请访问我们的[最新系统镜像发布页面](https://github.com/radxa-build/radxa-a733/releases)获取最新镜像 +该页面是 Cubie A7A 的旧版系统镜像,该页面目前已不再更新。 ::: diff --git a/docs/cubie/a7a/hardware-use/headphone.md b/docs/cubie/a7a/hardware-use/headphone.md index 9387f416e..3fbcfe3b0 100644 --- a/docs/cubie/a7a/hardware-use/headphone.md +++ b/docs/cubie/a7a/hardware-use/headphone.md @@ -16,6 +16,43 @@ sidebar_position: 11 如果无法播放音频,可以尝试插拔耳机线或者检查音频输出设备是否设置正确。 +:::tip + +最新生产的批次 Cubie A7A 使用的是 AC101B 音频编解码器,使用最新系统镜像可以正常播放音频。 + +若使用旧版本的 AC101 音频编解码器,需要通过 Rsetup 使能 AC101 音频编解码器。 + +- 区分音频解码器 + +可以观察主板背面的芯片丝印判断音频解码器型号。 + +
+ +
+ +- 软件使能 + +使用瑞莎系统自带的 Rsetup 工具使能 AC101 音频编解码器。 + +在终端命令行运行 `rsetup` 命令启动 Rsetup 工具: + + + +``` +rsetup +``` + + + +在 Rsetup 工具中依次进入 `Overlays` -> `Manage overlays`。 + +1. 通过方向键找到 [ ] Enable Allwinner AC101 Codec 选项 +2. 按空格出现 [*] Enable Allwinner AC101 Codec 说明已选中该功能 +3. 按 `Enter` 确认并保存设置。 +4. 重启系统,使配置生效。 + +::: + ### 查看音频设备 使用 `aplay -l` 命令查看音频播放设备(扬声器),使用 `arecord -l` 命令查看音频录制设备(麦克风)。 @@ -30,7 +67,7 @@ aplay -l -终端输出类似信息:其中 `card 0: sndi2s0` 板载的 AC101 音频编解码器,通常用于 3.5mm 耳机接口的输入(麦克风)和输出(音频播放)。 +终端输出类似信息:其中 `card 0: sndi2s0` 板载的 AC101B 音频编解码器,通常用于 3.5mm 耳机接口的输入(麦克风)和输出(音频播放)。 ``` **** List of PLAYBACK Hardware Devices **** @@ -52,7 +89,7 @@ arecord -l -输出类似如下信息:其中 `card 0: sndi2s0` 板载的 AC101 音频编解码器,通常用于 3.5mm 耳机接口的输入(麦克风)和输出(音频播放)。 +输出类似如下信息:其中 `card 0: sndi2s0` 板载的 AC101B 音频编解码器,通常用于 3.5mm 耳机接口的输入(麦克风)和输出(音频播放)。 diff --git a/docs/cubie/a7z/accessories/README.md b/docs/cubie/a7z/accessories/README.md new file mode 100644 index 000000000..6ebf10b33 --- /dev/null +++ b/docs/cubie/a7z/accessories/README.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 7 +--- + +# 配件使用 + + diff --git a/docs/cubie/a7z/accessories/camera-13m-214.md b/docs/cubie/a7z/accessories/camera-13m-214.md new file mode 100644 index 000000000..f269b525e --- /dev/null +++ b/docs/cubie/a7z/accessories/camera-13m-214.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; + +# 瑞莎 13M 214 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=24/1 ! xvimagesink +``` + + diff --git a/docs/cubie/a7z/accessories/camera-4k.md b/docs/cubie/a7z/accessories/camera-4k.md new file mode 100644 index 000000000..b73bc8efa --- /dev/null +++ b/docs/cubie/a7z/accessories/camera-4k.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; + +# 瑞莎 4K 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=24/1 ! xvimagesink +``` + + diff --git a/docs/cubie/a7z/accessories/camera-8m-219.md b/docs/cubie/a7z/accessories/camera-8m-219.md new file mode 100644 index 000000000..483b8debb --- /dev/null +++ b/docs/cubie/a7z/accessories/camera-8m-219.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; + +# 瑞莎 8M 219 摄像头 + + + +## 预览摄像头 + +使用 GStreamer 预览摄像头画面。 + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=24/1 ! xvimagesink +``` + + diff --git a/docs/cubie/a7z/download.md b/docs/cubie/a7z/download.md index 35d6910a1..326005376 100644 --- a/docs/cubie/a7z/download.md +++ b/docs/cubie/a7z/download.md @@ -30,25 +30,25 @@ sidebar_position: 8 #### GPT 系统镜像(推荐) -:::info 最新系统镜像发布页面 +:::tip A733 统一系统镜像 -- [Radxa Cubie A7Z](https://github.com/radxa-build/radxa-cubie-a7z/releases) +- [最新系统镜像发布页面](https://github.com/radxa-build/radxa-a733/releases) -该页面会发布最新的正式版本和测试版本的系统镜像,测试版本以 `t` 开头,正式版本以 `r` 开头(旧版本的正式版本以 `b` 开头)。 +适合所有 A733 SoC 产品,如 Cubie A7Z、Cubie A7A 等,测试版本以 `t` 开头,正式版本以 `r` 开头。 ::: -支持 MicroSD 卡和板载 UFS 启动系统。 +目前支持 MicroSD 卡/ eMMC 模块 / UFS 模块启动系统,NVMe/SSD 启动需要刷写 SPI Nor Flash 固件 -- [Radxa Cubie A7Z Debian 11](https://github.com/radxa-build/radxa-cubie-a7z/releases/download/rsdk-b1/radxa-cubie-a7z_bullseye_kde_b1.output_512.img.xz)(MicroSD 卡) +- [Radxa Cubie A7Z Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_512.img.xz) (SD / eMMC) -- [Radxa Cubie A7Z Debian 11](https://github.com/radxa-build/radxa-cubie-a7z/releases/download/rsdk-b2/radxa-cubie-a7z_bullseye_kde_b2.output_4096.img.xz)(UFS) +- [Radxa Cubie A7Z Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_4096.img.xz) (UFS) -:::tip A733 统一系统镜像 +:::tip Cubie A7Z 旧版镜像 -适合所有 A733 SoC 产品,如 Cubie A7Z、Cubie A7A 等,目前处于测试版本,建议使用上方的稳定版本。 +- [Radxa Cubie A7Z](https://github.com/radxa-build/radxa-cubie-a7z/releases) -如有需要,请访问我们的[最新系统镜像发布页面](https://github.com/radxa-build/radxa-a733/releases)获取最新镜像 +该页面是 Cubie A7Z 的旧版系统镜像,该页面目前已不再更新。 ::: diff --git a/docs/dragon/q6a/accessories/camera-12m-577.md b/docs/dragon/q6a/accessories/camera-12m-577.md new file mode 100644 index 000000000..7cce02d06 --- /dev/null +++ b/docs/dragon/q6a/accessories/camera-12m-577.md @@ -0,0 +1,86 @@ +--- +sidebar_position: 1 +--- + +import Camera12M577 from '../../../common/accessories/\_camera-12m-577.mdx'; + +# 瑞莎 12M 577 摄像头 + + + +## 预览摄像头 + +使用 libcamera 预览摄像头画面。 + +### 安装依赖 + + + +``` +sudo apt update +sudo apt install build-essential git pkg-config -y +sudo apt install meson ninja-build -y +sudo apt install python3-pip python3-yaml python3-jinja2 python3-ply python3-pyparsing -y +sudo apt install libyaml-dev libevent-dev -y +sudo apt install libudev-dev libgnutls28-dev openssl libexpat1-dev -y +sudo apt install libdrm-dev -y +sudo apt install libjpeg-dev -y +sudo apt install libglib2.0-dev -y +sudo apt install qt6-base-dev qt6-base-dev-tools qt6-wayland-dev -y +sudo apt install \ + qtbase5-dev \ + qtbase5-dev-tools \ + qtchooser \ + qt5-qmake \ + qttools5-dev \ + qtdeclarative5-dev \ + libqt5opengl5-dev \ + qml-module-qtquick-controls \ + qml-module-qtquick2 -y +``` + + + +### 编译安装 libcamera + + + +``` +git clone https://git.linuxtv.org/libcamera.git +cd libcamera +meson setup build --wipe \ + -Dpipelines=simple \ + -Dcam=enabled \ + -Dgstreamer=disabled \ + -Dv4l2=enabled \ + -Dlc-compliance=disabled \ + -Dqcam=enabled +ninja -C build -j$(nproc) +sudo ninja -C build install +sudo ldconfig +``` + + + +### 设置权限 + + + +``` +sudo chmod 666 /dev/dma_heap/* +``` + + + +### 启动摄像头 + +进入 libcamera 的 build 目录,启动 qcam。 + + + +``` +cd libcamera/build/src/apps/qcam/ +./qcam --renderer=gles --stream pixelformat=YUYV,width=1920,height=1080 +``` + + diff --git a/docs/dragon/q6a/accessories/camera-13m-214.md b/docs/dragon/q6a/accessories/camera-13m-214.md new file mode 100644 index 000000000..ee1720a49 --- /dev/null +++ b/docs/dragon/q6a/accessories/camera-13m-214.md @@ -0,0 +1,86 @@ +--- +sidebar_position: 1 +--- + +import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; + +# 瑞莎 13M 214 摄像头 + + + +## 预览摄像头 + +使用 libcamera 预览摄像头画面。 + +### 安装依赖 + + + +``` +sudo apt update +sudo apt install build-essential git pkg-config -y +sudo apt install meson ninja-build -y +sudo apt install python3-pip python3-yaml python3-jinja2 python3-ply python3-pyparsing -y +sudo apt install libyaml-dev libevent-dev -y +sudo apt install libudev-dev libgnutls28-dev openssl libexpat1-dev -y +sudo apt install libdrm-dev -y +sudo apt install libjpeg-dev -y +sudo apt install libglib2.0-dev -y +sudo apt install qt6-base-dev qt6-base-dev-tools qt6-wayland-dev -y +sudo apt install \ + qtbase5-dev \ + qtbase5-dev-tools \ + qtchooser \ + qt5-qmake \ + qttools5-dev \ + qtdeclarative5-dev \ + libqt5opengl5-dev \ + qml-module-qtquick-controls \ + qml-module-qtquick2 -y +``` + + + +### 编译安装 libcamera + + + +``` +git clone https://git.linuxtv.org/libcamera.git +cd libcamera +meson setup build --wipe \ + -Dpipelines=simple \ + -Dcam=enabled \ + -Dgstreamer=disabled \ + -Dv4l2=enabled \ + -Dlc-compliance=disabled \ + -Dqcam=enabled +ninja -C build -j$(nproc) +sudo ninja -C build install +sudo ldconfig +``` + + + +### 设置权限 + + + +``` +sudo chmod 666 /dev/dma_heap/* +``` + + + +### 启动摄像头 + +进入 libcamera 的 build 目录,启动 qcam。 + + + +``` +cd libcamera/build/src/apps/qcam/ +./qcam --renderer=gles --stream pixelformat=YUYV,width=1920,height=1080 +``` + + diff --git a/docs/dragon/q6a/accessories/camera-4k.md b/docs/dragon/q6a/accessories/camera-4k.md new file mode 100644 index 000000000..9a09dcc10 --- /dev/null +++ b/docs/dragon/q6a/accessories/camera-4k.md @@ -0,0 +1,86 @@ +--- +sidebar_position: 1 +--- + +import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; + +# 瑞莎 4K 摄像头 + + + +## 预览摄像头 + +使用 libcamera 预览摄像头画面。 + +### 安装依赖 + + + +``` +sudo apt update +sudo apt install build-essential git pkg-config -y +sudo apt install meson ninja-build -y +sudo apt install python3-pip python3-yaml python3-jinja2 python3-ply python3-pyparsing -y +sudo apt install libyaml-dev libevent-dev -y +sudo apt install libudev-dev libgnutls28-dev openssl libexpat1-dev -y +sudo apt install libdrm-dev -y +sudo apt install libjpeg-dev -y +sudo apt install libglib2.0-dev -y +sudo apt install qt6-base-dev qt6-base-dev-tools qt6-wayland-dev -y +sudo apt install \ + qtbase5-dev \ + qtbase5-dev-tools \ + qtchooser \ + qt5-qmake \ + qttools5-dev \ + qtdeclarative5-dev \ + libqt5opengl5-dev \ + qml-module-qtquick-controls \ + qml-module-qtquick2 -y +``` + + + +### 编译安装 libcamera + + + +``` +git clone https://git.linuxtv.org/libcamera.git +cd libcamera +meson setup build --wipe \ + -Dpipelines=simple \ + -Dcam=enabled \ + -Dgstreamer=disabled \ + -Dv4l2=enabled \ + -Dlc-compliance=disabled \ + -Dqcam=enabled +ninja -C build -j$(nproc) +sudo ninja -C build install +sudo ldconfig +``` + + + +### 设置权限 + + + +``` +sudo chmod 666 /dev/dma_heap/* +``` + + + +### 启动摄像头 + +进入 libcamera 的 build 目录,启动 qcam。 + + + +``` +cd libcamera/build/src/apps/qcam/ +./qcam --renderer=gles --stream pixelformat=YUYV,width=1920,height=1080 +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-12m-577.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-12m-577.mdx new file mode 100644 index 000000000..645c0b50c --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-12m-577.mdx @@ -0,0 +1,79 @@ +import { Image } from "@site/src/utils/docs"; + +{props.product}'s onboard MIPI CSI interface can be used to connect the Radxa Camera 12M 577 for image capture. + +
+ +
+ +## Interface specifications + +### Camera interface + +The Radxa Camera 12M 577 interface has the following specifications: + +- Connector type: 31-pin 0.3 mm pitch SMD Horizontal FPC connector +- Connection type: Flip type, bottom contact + +### Board MIPI CSI interface + +The {props.product} MIPI CSI interface has the following specifications: + +- Connector type: {props.interface} +- Connection type: {props.connect} + +## Hardware connection + +Insert the 31-pin metal contacts of the FPC cable into the camera connector, and insert the {props.pins} metal contacts of the FPC cable into the board MIPI CSI connector. + +:::tip Notes + +- Make sure the edges of the FPC cable are aligned with the edges of the connector, with no skew and no exposed contacts. +- Ensure the cable has no creases, is not loose, and the connector latch is fully closed. + +::: + + + +## Software enablement + +Use the Rsetup tool provided by the Radxa system to enable the Radxa Camera 12M 577. + +:::tip Rsetup usage guide + +- Select option: the corresponding option will be highlighted. +- Confirm selection: press `Enter`. +- Cancel selection: press `ESC`. +- Navigate options: use `Up`, `Down`, `Left`, and `Right` keys. +- Multi-select screen: press `Space` to toggle options, then `Enter` to confirm. When a feature is enabled, a `*` appears in the corresponding option box. + +::: + +Run the `rsetup` command in the terminal to start the Rsetup tool: + + + +``` +rsetup +``` + + + +In Rsetup, go to `Overlays` -> `Manage overlays`. + +1. Use the arrow keys to find the [ ] {props?.enable_camera ?? 'Enable IMX577 camera on CAM1'} option. +2. Press `Space` so it changes to [*] {props?.enable_camera ?? 'Enable IMX577 camera on CAM1'}, indicating that the feature is enabled. +3. Press `Enter` to confirm and save the settings to enable the camera. +4. Reboot the system to make the configuration take effect. + +:::tip +If the board has multiple MIPI CSI interfaces, Rsetup may show options such as `[ ] Enable IMX577 camera on CAM *`. Select the option corresponding to the MIPI CSI interface you are using. +::: diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-13m-214.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-13m-214.mdx new file mode 100644 index 000000000..e98c2722a --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-13m-214.mdx @@ -0,0 +1,79 @@ +import { Image } from "@site/src/utils/docs"; + +{props.product}'s onboard MIPI CSI interface can be used to connect the [Radxa Camera 13M 214](https://radxa.com/products/accessories/camera-13m-214) for image capture. + +
+ +
+ +## Interface specifications + +### Camera interface + +The Radxa Camera 13M 214 interface has the following specifications: + +- Connector type: 31-pin 0.3 mm pitch SMD Horizontal FPC connector +- Connection type: Flip type, bottom contact + +### Board MIPI CSI interface + +The {props.product} MIPI CSI interface has the following specifications: + +- Connector type: {props.interface} +- Connection type: {props.connect} + +## Hardware connection + +Insert the 31-pin metal contacts of the FPC cable into the camera connector, and insert the {props.pins} metal contacts of the FPC cable into the board MIPI CSI connector. + +:::tip Notes + +- Make sure the edges of the FPC cable are aligned with the edges of the connector, with no skew and no exposed contacts. +- Ensure the cable has no creases, is not loose, and the connector latch is fully closed. + +::: + + + +## Software enablement + +Use the Rsetup tool provided by the Radxa system to enable the Radxa Camera 13M 214. + +:::tip Rsetup usage guide + +- Select option: the corresponding option will be highlighted. +- Confirm selection: press `Enter`. +- Cancel selection: press `ESC`. +- Navigate options: use `Up`, `Down`, `Left`, and `Right` keys. +- Multi-select screen: press `Space` to toggle options, then `Enter` to confirm. When a feature is enabled, a `*` appears in the corresponding option box. + +::: + +Run the `rsetup` command in the terminal to start the Rsetup tool: + + + +``` +rsetup +``` + + + +In Rsetup, go to `Overlays` -> `Manage overlays`. + +1. Use the arrow keys to find the [ ] {props?.enable_camera ?? 'Enable Radxa Camera 13M 214'} option. +2. Press `Space` so it changes to [*] {props?.enable_camera ?? 'Enable Radxa Camera 13M 214'}, indicating that the feature is enabled. +3. Press `Enter` to confirm and save the settings to enable the camera. +4. Reboot the system to make the configuration take effect. + +:::tip +If the board has multiple MIPI CSI interfaces, Rsetup may show options such as `[ ] Enable Radxa Camera 13M 214 on CAM *`. Select the option corresponding to the MIPI CSI interface you are using. +::: diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-4k.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-4k.mdx new file mode 100644 index 000000000..e93b2ec8e --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-4k.mdx @@ -0,0 +1,79 @@ +import { Image } from "@site/src/utils/docs"; + +{props.product}'s onboard MIPI CSI interface can be used to connect the [Radxa Camera 4K](https://radxa.com/products/accessories/camera4k) for image capture. + +
+ +
+ +## Interface specifications + +### Camera interface + +The Radxa Camera 4K interface has the following specifications: + +- Connector type: 31-pin 0.3 mm pitch SMD Horizontal FPC connector +- Connection type: Flip type, bottom contact + +### Board MIPI CSI interface + +The {props.product} MIPI CSI interface has the following specifications: + +- Connector type: {props.interface} +- Connection type: {props.connect} + +## Hardware connection + +Insert the 31-pin metal contacts of the FPC cable into the camera connector, and insert the {props.pins} metal contacts of the FPC cable into the board MIPI CSI connector. + +:::tip Notes + +- Make sure the edges of the FPC cable are aligned with the edges of the connector, with no skew and no exposed contacts. +- Ensure the cable has no creases, is not loose, and the connector latch is fully closed. + +::: + + + +## Software enablement + +Use the Rsetup tool provided by the Radxa system to enable the Radxa Camera 4K. + +:::tip Rsetup usage guide + +- Select option: the corresponding option will be highlighted. +- Confirm selection: press `Enter`. +- Cancel selection: press `ESC`. +- Navigate options: use `Up`, `Down`, `Left`, and `Right` keys. +- Multi-select screen: press `Space` to toggle options, then `Enter` to confirm. When a feature is enabled, a `*` appears in the corresponding option box. + +::: + +Run the `rsetup` command in the terminal to start the Rsetup tool: + + + +``` +rsetup +``` + + + +In Rsetup, go to `Overlays` -> `Manage overlays`. + +1. Use the arrow keys to find the [ ] {props?.enable_camera ?? 'Enable Radxa Camera 4K on CAM1'} option. +2. Press `Space` so it changes to [*] {props?.enable_camera ?? 'Enable Radxa Camera 4K on CAM1'}, indicating that the feature is enabled. +3. Press `Enter` to confirm and save the settings to enable the camera. +4. Reboot the system to make the configuration take effect. + +:::tip +If the board has multiple MIPI CSI interfaces, Rsetup may show options such as `[ ] Enable Radxa Camera 4K on CAM *`. Select the option corresponding to the MIPI CSI interface you are using. +::: diff --git a/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-8m-219.mdx b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-8m-219.mdx index bdaa926bf..9901cd341 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-8m-219.mdx +++ b/i18n/en/docusaurus-plugin-content-docs/current/common/accessories/_camera-8m-219.mdx @@ -69,8 +69,8 @@ rsetup In Rsetup, go to `Overlays` -> `Manage overlays`. -1. Use the arrow keys to find the `[ ] Enable Radxa Camera 8M 219` option. -2. Press `Space` so it changes to `[*] Enable Radxa Camera 8M 219`, indicating that the feature is enabled. +1. Use the arrow keys to find the [ ] {props?.enable_camera ?? 'Enable Radxa Camera 8M 219'} option. +2. Press `Space` so it changes to [*] {props?.enable_camera ?? 'Enable Radxa Camera 8M 219'}, indicating that the feature is enabled. 3. Press `Enter` to confirm and save the settings to enable the camera. 4. Reboot the system to make the configuration take effect. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/README.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/README.md new file mode 100644 index 000000000..5347da1b0 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/README.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 7 +--- + +# Accessories Usage + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-13m-214.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-13m-214.md new file mode 100644 index 000000000..4d2510886 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-13m-214.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; + +# Radxa Camera 13M 214 + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=24/1 ! xvimagesink +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-4k.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-4k.md new file mode 100644 index 000000000..558bc0e30 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-4k.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; + +# Radxa Camera 4K + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=24/1 ! xvimagesink +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-8m-219.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-8m-219.md new file mode 100644 index 000000000..981a3842d --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/accessories/camera-8m-219.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; + +# Radxa Camera 8M 219 + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=24/1 ! xvimagesink +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/download.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/download.md index d8a00c5e7..bf7c95cb9 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/download.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/download.md @@ -30,25 +30,25 @@ We strongly recommend that new users download the official Radxa OS GPT image an #### GPT System Image (Recommended) -:::info Latest System Image Releases +:::tip A733 Unified System Image -- [Radxa Cubie A7A](https://github.com/radxa-build/radxa-cubie-a7a/releases) +- [Latest system image release page](https://github.com/radxa-build/radxa-a733/releases) -This page publishes the latest official and beta system images. Beta versions start with `t`, while official releases start with `r` (older official releases start with `b`). +Suitable for all A733 SoC products, such as Cubie A7Z, Cubie A7A, etc. Beta versions start with `t`, while official releases start with `r`. ::: Currently supports booting from MicroSD cards, eMMC modules, and UFS modules. NVMe/SSD boot requires flashing the SPI Nor Flash firmware. -- [Radxa Cubie A7A Debian 11](https://github.com/radxa-build/radxa-cubie-a7a/releases/download/rsdk-b2/radxa-cubie-a7a_bullseye_kde_b2.output_512.img.xz) (SD / eMMC) +- [Radxa Cubie A7A Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_512.img.xz) (SD / eMMC) -- [Radxa Cubie A7A Debian 11](https://github.com/radxa-build/radxa-cubie-a7a/releases/download/rsdk-b2/radxa-cubie-a7a_bullseye_kde_b2.output_4096.img.xz) (UFS) +- [Radxa Cubie A7A Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_4096.img.xz) (UFS) -:::tip A733 Unified System Image +:::tip Cubie A7A Legacy Images -Compatible with all A733 SoC products, such as Cubie A7Z, Cubie A7A, etc. Currently in beta version, we recommend using the stable version above. +- [Radxa Cubie A7A](https://github.com/radxa-build/radxa-cubie-a7a/releases) -If needed, please visit our [latest system image release page](https://github.com/radxa-build/radxa-a733/releases) to get the latest image. +This page contains legacy system images for Cubie A7A and is no longer updated. ::: diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/hardware-use/headphone.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/hardware-use/headphone.md index 6c68ccf78..bbaa880e9 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/hardware-use/headphone.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7a/hardware-use/headphone.md @@ -16,6 +16,43 @@ Connect a 3.5mm headphone cable to the headphone jack of the Cubie A7A and your If you cannot play audio, try unplugging and replugging the headphone cable or check if the audio output device is set correctly. +:::tip + +The latest production batches of Cubie A7A use the AC101B audio codec and can play audio normally when using the latest system image. + +If you are using an earlier version with the AC101 audio codec, you need to enable the AC101 audio codec via the Rsetup tool. + +- Distinguish the audio codec + +You can check the silkscreen on the back of the board to determine the audio codec model. + +
+ +
+ +- Enable in software + +Use the Rsetup tool provided by the Radxa system to enable the AC101 audio codec. + +Run the `rsetup` command in the terminal to start the Rsetup tool: + + + +``` +rsetup +``` + + + +In Rsetup, go to `Overlays` -> `Manage overlays`. + +1. Use the arrow keys to find the [ ] Enable Allwinner AC101 Codec option. +2. Press `Space` so it changes to [*] Enable Allwinner AC101 Codec, indicating that the feature is enabled. +3. Press `Enter` to confirm and save the settings. +4. Reboot the system to make the configuration take effect. + +::: + ### Check Audio Devices Use the `aplay -l` command to view audio playback devices (speakers), and use the `arecord -l` command to view audio recording devices (microphones). @@ -30,7 +67,7 @@ aplay -l
-Sample terminal output: `card 0: sndi2s0` is the onboard AC101 audio codec, usually used for input (microphone) and output (audio playback) of the 3.5mm headphone jack. +Sample terminal output: `card 0: sndi2s0` is the onboard AC101B audio codec, usually used for input (microphone) and output (audio playback) of the 3.5mm headphone jack. ``` **** List of PLAYBACK Hardware Devices **** @@ -52,7 +89,7 @@ arecord -l -Sample output: `card 0: sndi2s0` is the onboard AC101 audio codec, usually used for input (microphone) and output (audio playback) of the 3.5mm headphone jack. +Sample output: `card 0: sndi2s0` is the onboard AC101B audio codec, usually used for input (microphone) and output (audio playback) of the 3.5mm headphone jack. diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/README.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/README.md new file mode 100644 index 000000000..5347da1b0 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/README.md @@ -0,0 +1,7 @@ +--- +sidebar_position: 7 +--- + +# Accessories Usage + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-13m-214.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-13m-214.md new file mode 100644 index 000000000..95415f20a --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-13m-214.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; + +# Radxa Camera 13M 214 + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=4208,height=3120,framerate=24/1 ! xvimagesink +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-4k.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-4k.md new file mode 100644 index 000000000..8620c77ac --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-4k.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; + +# Radxa Camera 4K + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video1 en-awisp=1 en-largemode=1 ! video/x-raw,format=NV12,width=3840,height=2160,framerate=24/1 ! xvimagesink +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-8m-219.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-8m-219.md new file mode 100644 index 000000000..afb9f5825 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/accessories/camera-8m-219.md @@ -0,0 +1,21 @@ +--- +sidebar_position: 1 +--- + +import Camera8M219 from '../../../common/accessories/\_camera-8m-219.mdx'; + +# Radxa Camera 8M 219 + + + +## Preview the camera + +Use GStreamer to preview the camera image. + + + +``` +DISPLAY=:0 gst-launch-1.0 v4l2src device=/dev/video0 en-awisp=1 en-largemode=0 ! video/x-raw,format=NV12,width=3280,height=2464,framerate=24/1 ! xvimagesink +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/download.md b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/download.md index 298bb92ee..26c037e69 100644 --- a/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/download.md +++ b/i18n/en/docusaurus-plugin-content-docs/current/cubie/a7z/download.md @@ -30,25 +30,25 @@ We strongly recommend that new users download the official Radxa OS GPT image an #### GPT System Image (Recommended) -:::info Latest System Image Releases +:::tip A733 Unified System Image -- [Radxa Cubie A7Z](https://github.com/radxa-build/radxa-cubie-a7z/releases) +- [Latest system image release page](https://github.com/radxa-build/radxa-a733/releases) -This page publishes the latest official and beta system images. Beta versions start with `t`, while official releases start with `r` (older official releases start with `b`). +Suitable for all A733 SoC products, such as Cubie A7Z, Cubie A7A, etc. Beta versions start with `t`, while official releases start with `r`. ::: -Supports booting from MicroSD cards and onboard UFS. +Currently supports booting from MicroSD cards, eMMC modules, and UFS modules. NVMe/SSD boot requires flashing the SPI Nor Flash firmware. -- [Radxa Cubie A7Z Debian 11](https://github.com/radxa-build/radxa-cubie-a7z/releases/download/rsdk-b1/radxa-cubie-a7z_bullseye_kde_b1.output_512.img.xz)(MicroSD Card) +- [Radxa Cubie A7Z Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_512.img.xz) (SD / eMMC) -- [Radxa Cubie A7Z Debian 11](https://github.com/radxa-build/radxa-cubie-a7z/releases/download/rsdk-b2/radxa-cubie-a7z_bullseye_kde_b2.output_4096.img.xz) (UFS) +- [Radxa Cubie A7Z Debian 11 KDE R2](https://github.com/radxa-build/radxa-a733/releases/download/rsdk-r2/radxa-a733_bullseye_kde_r2.output_4096.img.xz) (UFS) -:::tip A733 Unified System Image +:::tip Cubie A7Z Legacy Images -Compatible with all A733 SoC products, such as Cubie A7Z, Cubie A7A, etc. Currently in beta version, we recommend using the stable version above. +- [Radxa Cubie A7Z](https://github.com/radxa-build/radxa-cubie-a7z/releases) -If needed, please visit our [latest system image release page](https://github.com/radxa-build/radxa-a733/releases) to get the latest image. +This page contains legacy system images for Cubie A7Z and is no longer updated. ::: diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-12m-577.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-12m-577.md new file mode 100644 index 000000000..bdb52c347 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-12m-577.md @@ -0,0 +1,86 @@ +--- +sidebar_position: 1 +--- + +import Camera12M577 from '../../../common/accessories/\_camera-12m-577.mdx'; + +# Radxa Camera 12M 577 + + + +## Preview the camera + +Use libcamera to preview the camera image. + +### Install dependencies + + + +``` +sudo apt update +sudo apt install build-essential git pkg-config -y +sudo apt install meson ninja-build -y +sudo apt install python3-pip python3-yaml python3-jinja2 python3-ply python3-pyparsing -y +sudo apt install libyaml-dev libevent-dev -y +sudo apt install libudev-dev libgnutls28-dev openssl libexpat1-dev -y +sudo apt install libdrm-dev -y +sudo apt install libjpeg-dev -y +sudo apt install libglib2.0-dev -y +sudo apt install qt6-base-dev qt6-base-dev-tools qt6-wayland-dev -y +sudo apt install \ + qtbase5-dev \ + qtbase5-dev-tools \ + qtchooser \ + qt5-qmake \ + qttools5-dev \ + qtdeclarative5-dev \ + libqt5opengl5-dev \ + qml-module-qtquick-controls \ + qml-module-qtquick2 -y +``` + + + +### Build and install libcamera + + + +``` +git clone https://git.linuxtv.org/libcamera.git +cd libcamera +meson setup build --wipe \ + -Dpipelines=simple \ + -Dcam=enabled \ + -Dgstreamer=disabled \ + -Dv4l2=enabled \ + -Dlc-compliance=disabled \ + -Dqcam=enabled +ninja -C build -j$(nproc) +sudo ninja -C build install +sudo ldconfig +``` + + + +### Set permissions + + + +``` +sudo chmod 666 /dev/dma_heap/* +``` + + + +### Start the camera + +Go to the libcamera build directory and start qcam. + + + +``` +cd libcamera/build/src/apps/qcam/ +./qcam --renderer=gles --stream pixelformat=YUYV,width=1920,height=1080 +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-13m-214.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-13m-214.md new file mode 100644 index 000000000..647a121f1 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-13m-214.md @@ -0,0 +1,86 @@ +--- +sidebar_position: 1 +--- + +import Camera13M214 from '../../../common/accessories/\_camera-13m-214.mdx'; + +# Radxa Camera 13M 214 + + + +## Preview the camera + +Use libcamera to preview the camera image. + +### Install dependencies + + + +``` +sudo apt update +sudo apt install build-essential git pkg-config -y +sudo apt install meson ninja-build -y +sudo apt install python3-pip python3-yaml python3-jinja2 python3-ply python3-pyparsing -y +sudo apt install libyaml-dev libevent-dev -y +sudo apt install libudev-dev libgnutls28-dev openssl libexpat1-dev -y +sudo apt install libdrm-dev -y +sudo apt install libjpeg-dev -y +sudo apt install libglib2.0-dev -y +sudo apt install qt6-base-dev qt6-base-dev-tools qt6-wayland-dev -y +sudo apt install \ + qtbase5-dev \ + qtbase5-dev-tools \ + qtchooser \ + qt5-qmake \ + qttools5-dev \ + qtdeclarative5-dev \ + libqt5opengl5-dev \ + qml-module-qtquick-controls \ + qml-module-qtquick2 -y +``` + + + +### Build and install libcamera + + + +``` +git clone https://git.linuxtv.org/libcamera.git +cd libcamera +meson setup build --wipe \ + -Dpipelines=simple \ + -Dcam=enabled \ + -Dgstreamer=disabled \ + -Dv4l2=enabled \ + -Dlc-compliance=disabled \ + -Dqcam=enabled +ninja -C build -j$(nproc) +sudo ninja -C build install +sudo ldconfig +``` + + + +### Set permissions + + + +``` +sudo chmod 666 /dev/dma_heap/* +``` + + + +### Start the camera + +Go to the libcamera build directory and start qcam. + + + +``` +cd libcamera/build/src/apps/qcam/ +./qcam --renderer=gles --stream pixelformat=YUYV,width=1920,height=1080 +``` + + diff --git a/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-4k.md b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-4k.md new file mode 100644 index 000000000..9bb34a400 --- /dev/null +++ b/i18n/en/docusaurus-plugin-content-docs/current/dragon/q6a/accessories/camera-4k.md @@ -0,0 +1,86 @@ +--- +sidebar_position: 1 +--- + +import Camera4K from '../../../common/accessories/\_camera-4k.mdx'; + +# Radxa Camera 4K + + + +## Preview the camera + +Use libcamera to preview the camera image. + +### Install dependencies + + + +``` +sudo apt update +sudo apt install build-essential git pkg-config -y +sudo apt install meson ninja-build -y +sudo apt install python3-pip python3-yaml python3-jinja2 python3-ply python3-pyparsing -y +sudo apt install libyaml-dev libevent-dev -y +sudo apt install libudev-dev libgnutls28-dev openssl libexpat1-dev -y +sudo apt install libdrm-dev -y +sudo apt install libjpeg-dev -y +sudo apt install libglib2.0-dev -y +sudo apt install qt6-base-dev qt6-base-dev-tools qt6-wayland-dev -y +sudo apt install \ + qtbase5-dev \ + qtbase5-dev-tools \ + qtchooser \ + qt5-qmake \ + qttools5-dev \ + qtdeclarative5-dev \ + libqt5opengl5-dev \ + qml-module-qtquick-controls \ + qml-module-qtquick2 -y +``` + + + +### Build and install libcamera + + + +``` +git clone https://git.linuxtv.org/libcamera.git +cd libcamera +meson setup build --wipe \ + -Dpipelines=simple \ + -Dcam=enabled \ + -Dgstreamer=disabled \ + -Dv4l2=enabled \ + -Dlc-compliance=disabled \ + -Dqcam=enabled +ninja -C build -j$(nproc) +sudo ninja -C build install +sudo ldconfig +``` + + + +### Set permissions + + + +``` +sudo chmod 666 /dev/dma_heap/* +``` + + + +### Start the camera + +Go to the libcamera build directory and start qcam. + + + +``` +cd libcamera/build/src/apps/qcam/ +./qcam --renderer=gles --stream pixelformat=YUYV,width=1920,height=1080 +``` + + diff --git a/static/img/common/accessories/camera-12m-577-dragon-q6a.webp b/static/img/common/accessories/camera-12m-577-dragon-q6a.webp new file mode 100644 index 000000000..a2c2360b1 Binary files /dev/null and b/static/img/common/accessories/camera-12m-577-dragon-q6a.webp differ diff --git a/static/img/common/accessories/camera-12m-577-view.webp b/static/img/common/accessories/camera-12m-577-view.webp new file mode 100644 index 000000000..135af9aa6 Binary files /dev/null and b/static/img/common/accessories/camera-12m-577-view.webp differ diff --git a/static/img/common/accessories/camera-13m-214-cubie-a7a.webp b/static/img/common/accessories/camera-13m-214-cubie-a7a.webp new file mode 100644 index 000000000..db7953cf1 Binary files /dev/null and b/static/img/common/accessories/camera-13m-214-cubie-a7a.webp differ diff --git a/static/img/common/accessories/camera-13m-214-cubie-a7z.webp b/static/img/common/accessories/camera-13m-214-cubie-a7z.webp new file mode 100644 index 000000000..d2d4664da Binary files /dev/null and b/static/img/common/accessories/camera-13m-214-cubie-a7z.webp differ diff --git a/static/img/common/accessories/camera-13m-214-dragon-q6a.webp b/static/img/common/accessories/camera-13m-214-dragon-q6a.webp new file mode 100644 index 000000000..b6e680641 Binary files /dev/null and b/static/img/common/accessories/camera-13m-214-dragon-q6a.webp differ diff --git a/static/img/common/accessories/camera-13m-214-view.webp b/static/img/common/accessories/camera-13m-214-view.webp new file mode 100644 index 000000000..735c922d6 Binary files /dev/null and b/static/img/common/accessories/camera-13m-214-view.webp differ diff --git a/static/img/common/accessories/camera-4k-cubie-a7a.webp b/static/img/common/accessories/camera-4k-cubie-a7a.webp new file mode 100644 index 000000000..d45e8138d Binary files /dev/null and b/static/img/common/accessories/camera-4k-cubie-a7a.webp differ diff --git a/static/img/common/accessories/camera-4k-cubie-a7z.webp b/static/img/common/accessories/camera-4k-cubie-a7z.webp new file mode 100644 index 000000000..e922586e4 Binary files /dev/null and b/static/img/common/accessories/camera-4k-cubie-a7z.webp differ diff --git a/static/img/common/accessories/camera-4k-dragon-q6a.webp b/static/img/common/accessories/camera-4k-dragon-q6a.webp new file mode 100644 index 000000000..af5af054e Binary files /dev/null and b/static/img/common/accessories/camera-4k-dragon-q6a.webp differ diff --git a/static/img/common/accessories/camera-4k-view.webp b/static/img/common/accessories/camera-4k-view.webp new file mode 100644 index 000000000..9516fe236 Binary files /dev/null and b/static/img/common/accessories/camera-4k-view.webp differ diff --git a/static/img/common/accessories/camera-8m-219-cubie-a7a.webp b/static/img/common/accessories/camera-8m-219-cubie-a7a.webp new file mode 100644 index 000000000..9eec84c80 Binary files /dev/null and b/static/img/common/accessories/camera-8m-219-cubie-a7a.webp differ diff --git a/static/img/common/accessories/camera-8m-219-cubie-a7z.webp b/static/img/common/accessories/camera-8m-219-cubie-a7z.webp new file mode 100644 index 000000000..5c2e90b04 Binary files /dev/null and b/static/img/common/accessories/camera-8m-219-cubie-a7z.webp differ diff --git a/static/img/cubie/a7a/radxa-cubie-a7a-codec.webp b/static/img/cubie/a7a/radxa-cubie-a7a-codec.webp new file mode 100644 index 000000000..aa275170c Binary files /dev/null and b/static/img/cubie/a7a/radxa-cubie-a7a-codec.webp differ