From 757204234ad3678af5341f306d0df62dbe395167 Mon Sep 17 00:00:00 2001 From: wonderfullook <123hyx456@gmail.com> Date: Mon, 26 Jun 2023 11:46:28 +0800 Subject: [PATCH] remove outdated files --- docs/hardware/en/lichee/.gitkeep | 0 docs/hardware/en/lichee/th1520/lm4a.md | 2 +- docs/hardware/en/lichee/th1520/lp4a.md | 97 ------- .../en/lichee/th1520/lpi4a/1_intro.md | 68 ++--- .../en/lichee/th1520/lpi4a/2_unbox.md | 14 +- .../en/lichee/th1520/lpi4a/3_images.md | 2 +- docs/hardware/en/lichee/th1520/lpi4a/usage.md | 265 ------------------ docs/hardware/en/sidebar.json | 10 +- docs/hardware/zh/lichee/th1520/lp4a.md | 97 ------- pages/index/zh/licheem4a.html | 7 +- pages/index/zh/licheepi4a.html | 7 +- 11 files changed, 50 insertions(+), 519 deletions(-) delete mode 100644 docs/hardware/en/lichee/.gitkeep delete mode 100644 docs/hardware/en/lichee/th1520/lp4a.md delete mode 100644 docs/hardware/en/lichee/th1520/lpi4a/usage.md delete mode 100644 docs/hardware/zh/lichee/th1520/lp4a.md diff --git a/docs/hardware/en/lichee/.gitkeep b/docs/hardware/en/lichee/.gitkeep deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/docs/hardware/en/lichee/th1520/lm4a.md b/docs/hardware/en/lichee/th1520/lm4a.md index 87ea8d8244..93c432c539 100644 --- a/docs/hardware/en/lichee/th1520/lm4a.md +++ b/docs/hardware/en/lichee/th1520/lm4a.md @@ -11,7 +11,7 @@ update: ## Introduction -Tje LicheePi 4A Module is the Core Module using the [T-Head](https://www.t-head.cn/) RISC-V [TH1520](https://www.t-head.cn/product/yeying) SOC, which contains 4 RISC-V C910 based cores and a 4TOPS@int8 AI NPU. It supports 16GB of LPDDR4X RAM and 128GB of eMMC storage. The board features two Gigabit Ethernet controllers and up to 4K video output. The SOC also contains an additional C906 processor for audio processing. Because of the SODIMM style board, the LicheePi 4A Module can be used in various scenarios and is suitable for various types of baseboards. +The LicheePi 4A Module is the Core Module using the [T-Head](https://www.t-head.cn/) RISC-V [TH1520](https://www.t-head.cn/product/yeying) SOC, which contains 4 RISC-V C910 based cores and a 4TOPS@int8 AI NPU. It supports 16GB of LPDDR4X RAM and 128GB of eMMC storage. The board features two Gigabit Ethernet controllers and up to 4K video output. The SOC also contains an additional C906 processor for audio processing. Because of the SODIMM style board, the LicheePi 4A Module can be used in various scenarios and is suitable for various types of baseboards. ## Parameters diff --git a/docs/hardware/en/lichee/th1520/lp4a.md b/docs/hardware/en/lichee/th1520/lp4a.md deleted file mode 100644 index 2bef51be78..0000000000 --- a/docs/hardware/en/lichee/th1520/lp4a.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: Lichee Pi 4A -keywords: Linux, Lichee, TH1520, SBC, -update: - - date: 2023-03-31 - version: v0.1 - author: wonder - content: - - Create file ---- - -## Introduction - -Lichee Pi 4A is the Risc-V linux development board using [Lichee Module 4A](http://wiki.sipeed.com/hardware/en/lichee/th1520/lm4a.html) core module, its main chip is [TH1520](https://www.t-head.cn/product/yeying), contains 4TOPS@int8 AI NPU, supports dual screen 4K resolution display and 4K mipi camera input, dual Gigabit Ethernets and Mutiple USB interfaces provides enough connections. And there is a Riscv C906 Core for audio decode. - -Online store:[Aliexpress](https://www.aliexpress.com/item/1005005532736080.html) - -## Parameters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Main Chip
NameTH1520
CPURISC-V 64GCV C910*4@2GHz
· Each core contains 64KB I cache amd 64KB D Cache
· Shared 1MB L2 Cache
· Support TEE and REE, configered at core booting
· Support multi-core debugging framework of custom and RISC-V compatible interface
· Independent power domain, supports DVFS
GPU· OpenCL 1.1/1.2/2.0
· OpenGL ES 3.0/3.1/3.2
· Vulkan 1.1/1.2
· Android NN HAL
NPUSupport 4TOPS@INT8, up to 1GHz
· Support TensorFlow、ONNX、Caffe
· Support CNN、RNN、DNN
DecodeReal-time decoder, support H.265/H.264/VP9/8/7/6/AVS/AVS+/AVS2.0/VC1/MPEG4
· Support H.264 BP/MP/HP@level 5.1 decoding, up to 4K resolution
· Support H.265/HEVC Main Profile@level 5.1 decoding, up to 4K resolution
· Support VP9 Profile-2 decoding, up to 4K resolution
· Support AVS2.0 decoding, up to 4K resolution
· Support VP6/7/8/AVS/AVS+/VC1/MPEG4 decoding, up to 1920x1080 resolution
· Decoding at 4K@75fps maximum
Encode· Support H.264 BP/MP/HP@level4.2 encoding, up to 4K resolution
· Support H.265/HEVC Main Profile encoding, up to 4K resolution
· Only support I-frame and P-frame
· Encoding at 4K@40fps maximum
Hardware information
RAM· 8GB 64bits LPDDR4
· 16GB 64bits LPDDR4
Storage· eMMC: Optional Blank、 8G、 32G、 128G
· Support TF card
Ethernet· 2 x Gigabit Ethernets, POE optional
USB· USB3.0 x 4
· USB2.0 x 1 (Burn firmware only)
Audio· 1 x 3.5mm Stereo port
· 1 x Speaker interface
· 2 x onboard microphones
Display· 1 x HDMI2.0
· 1 x 4-lane MIPI DSI
Camera· 2 x 2-lane MIPI CSI
· 1 x 4-lane MIPI CSI
GPIO· UART
· IIC
· SPI
- -## Links - -[Specification / Datasheet](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/01_Specification) -[Schematic](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/02_Schematic) -[BOM](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/03_Bit_number_map) -[Dimensional Drawing](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/04_Dimensional_drawing) -[3D Model](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/05_3D_model) - -[Github](https://github.com/sipeed/LicheePi4A) \ No newline at end of file diff --git a/docs/hardware/en/lichee/th1520/lpi4a/1_intro.md b/docs/hardware/en/lichee/th1520/lpi4a/1_intro.md index 658473eea3..e488190897 100644 --- a/docs/hardware/en/lichee/th1520/lpi4a/1_intro.md +++ b/docs/hardware/en/lichee/th1520/lpi4a/1_intro.md @@ -13,89 +13,89 @@ English documents are being translated, please read these documents via web tran ## 简介 -LicheePi 4A 是基于 [Lichee Module 4A](http://wiki.sipeed.com/hardware/zh/lichee/th1520/lm4a.html) 核心板的 高性能 RISC-V Linux 开发板,以 [TH1520](https://www.t-head.cn/product/yeying) 为主控核心(4xC910@1.85G, RV64GCV,4TOPS@int8 NPU, 50GFLOP GPU),板载最大 16GB 64bit LPDDR4X,128GB eMMC,支持 HDMI+MIPI 双4K 显示输出,支持 4K 摄像头接入,双千兆网口(其中一个支持POE供电)和 4 个 USB3.0 接口,多种音频输入输出(由专用 C906 核心处理)。 +LicheePi 4A is the high performance RISC-V linux development board using [Lichee Module 4A](http://wiki.sipeed.com/hardware/en/lichee/th1520/lm4a.html), based on [TH1520](https://www.t-head.cn/product/yeying) SOC (4xC910@1.85G, RV64GCV, 4TOPS@int8 NPU, 50GFLOP GPU), LicheePi 4A contains maximum 16GB 64bit LPDDR4X, 128GB eMMC, supports HDMI+MIPI dual 4K display, supports 4K camera input, dual Gigabit Ethernet interfaces (one of these supports POE) amd 4 USB3.0 interfaces, supports kinds of audio processing by C906 core. ![lpi4a](./../../../../zh/lichee/th1520/lpi4a/assets/intro/lpi4a.png) -LicheePi 4A 是截止目前(2023Q2)为止最强的 RISC-V SBC。性能约为上一代 RISC-V SBC [VisionFive2](https://www.starfivetech.com/en/site/boards)的2倍;未开启专用指令集加速的情况下,性能逼近基于 ARM A72 的树莓派 4,在开启相关指令集加速的情况下,可以与树莓派 4 持平。而且最高具备 16GB 超大内存,是树莓派 4 最高配置 8GB 内存的两倍! +LicheePi 4A 是截止目前(2023Q2)为止最强的 RISC-V SBC。性能约为上一代 RISC-V SBC [VisionFive2](https://www.starfivetech.com/en/site/boards)的2倍;未开启专用指令集加速的情况下, 性能逼近基于 ARM A72 的树莓派 4, 在开启相关指令集加速的情况下, 可以与树莓派 4 持平。而且最高具备 16GB 超大内存, 是树莓派 4 最高配置 8GB 内存的两倍! ![benchmark](./../../../../zh/lichee/th1520/lpi4a/assets/intro/benchmark.png) ![geekbench5](./../../../../zh/lichee/th1520/lpi4a/assets/intro/geekbench5.png) -LicheePi 4A 可以用作典型的 RISC-V 验证平台,其强大的性能可以较快速地实现本地编译,而无需使用 QEMU 进行编译。 +LicheePi 4A 可以用作典型的 RISC-V 验证平台, 其强大的性能可以较快速地实现本地编译, 而无需使用 QEMU 进行编译。 -我们在近期(2023Q2)还会放出基于LM4A的集群计算板卡 LicheeCluster 4A,最大支持 7xLM4A 进行集群计算,编译,非常适合发行版编译农场场景,尽情期待。 +我们在近期(2023Q2)还会放出基于LM4A的集群计算板卡 LicheeCluster 4A, 最大支持 7xLM4A 进行集群计算, 编译, 非常适合发行版编译农场场景, 尽情期待。 -在保持高性能的同时,我们也尽量进行了 CostDown 设计,8GB 内存版本价格在 ¥749~ 899(\\$100 ~ \\$130),16GB 内存版本在 ¥1100~1300 (\\$155 ~\\$185), 性价比上超越了树莓派 4(8GB ~\\$150)! -无论你是否是 RISC-V 粉丝,你都值得入手体验下 LicheePi 4A 这款划时代的高性能 RISC-V SBC! +在保持高性能的同时, 我们也尽量进行了 CostDown 设计, 8GB 内存版本价格在 ¥749~ 899(\\$100 ~ \\$130), 16GB 内存版本在 ¥1100~1300 (\\$155 ~\\$185), 性价比上超越了树莓派 4(8GB ~\\$150)! +无论你是否是 RISC-V 粉丝, 你都值得入手体验下 LicheePi 4A 这款划时代的高性能 RISC-V SBC! ![desktop](./../../../../zh/lichee/th1520/lpi4a/assets/intro/desktop.png) ## 欢迎投稿 -本文档为在线文档,托管在 github 上,大家可以点击右上角 `编辑本页` 链接来进行编辑~ -对成功提交文档的用户,我们视文档质量酌情提供 ¥5 ~ 150(\\$1 ~ 20)的优惠券~ +本文档为在线文档, 托管在 github 上, 大家可以点击右上角 `编辑本页` 链接来进行编辑~ +对成功提交文档的用户, 我们视文档质量酌情提供 ¥5 ~ 150(\\$1 ~ 20)的优惠券~ -## 基础参数 +## Parameters - + - + - - + + - + - - + + - - + + - - + + - + - - + + - - + + - + - - + + - + - + @@ -105,7 +105,7 @@ LicheePi 4A 可以用作典型的 RISC-V 验证平台,其强大的性能可以
主控参数Main Chip
主控芯片Name TH1520
CPU处理器RISC-V 64GCV C910*4@2GHz
· 每核支持 64KB I cache 和 64KB D Cache
· 四核共享 1MB L2 Cache
· 支持 TEE 和 REE,TEE/REE 支持核数启动时可配置
· 支持自定义且接口兼容 RISC-V 的多核调试框架
· 独立电源域,支持 DVFS
CPURISC-V 64GCV C910*4@2GHz
· Each core contains 64KB I cache amd 64KB D Cache
· 1MB of Shared L2 Cache
· Support TEE and REE, configured during core booting
· Support multi-core debugging framework of custom and RISC-V compatible interface
· Independent power domain, supports DVFS
图形处理器GPU · OpenCL 1.1/1.2/2.0
· OpenGL ES 3.0/3.1/3.2
· Vulkan 1.1/1.2
· Android NN HAL
NPU处理器支持 4TOPS@INT8 通用 NNA 算力,主频 1GHz
· 支持 TensorFlow、ONNX、Caffe
· 支持 CNN、RNN、DNN 等
NPUSupport 4TOPS@INT8, up to 1GHz
· Support TensorFlow、ONNX、Caffe
· Support CNN、RNN、DNN
视频解码器实时解码器,支持 H.265/H.264/VP9/8/7/6/AVS/AVS+/AVS2.0/VC1/MPEG4
· 支持 H.264 BP/MP/HP@level 5.1 解码,最大 4K 分辨率
· 支持 H.265/HEVC Main Profile@level 5.1 解码,最大 4K 分辨率
· 支持 VP9 Profile-2 解码,最大 4K 分辨率
· 支持 AVS2.0 解码,最大 4K 分辨率
· 支持 VP6/7/8/AVS/AVS+/VC1/MPEG4 解码,最大 1920x1080 分辨率
· 解码性能最大 4K@75fps
DecodeReal-time decoder, support H.265/H.264/VP9/8/7/6/AVS/AVS+/AVS2.0/VC1/MPEG4
· Supports H.264 BP/MP/HP@level 5.1 decoding, up to 4K resolution
· Supports H.265/HEVC Main Profile@level 5.1 decoding, up to 4K resolution
· Supports VP9 Profile-2 decoding, up to 4K resolution
· Supports AVS2.0 decoding, up to 4K resolution
· Supports VP6/7/8/AVS/AVS+/VC1/MPEG4 decoding, up to 1920x1080 resolution
· Decoding at 4K@75fps maximum
视频编码器· 支持 H.264 BP/MP/HP@level4.2 编码,最大 4K 分辨率
· 支持 H.265/HEVC Main Profile 编码,最大 4K 分辨率
· 仅支持 I 帧和 P 帧
· 编码性能最大 4K@40fps
Encode· Supports H.264 BP/MP/HP@level4.2 encoding, up to 4K resolution
· Supports H.265/HEVC Main Profile encoding, up to 4K resolution
· Only supports I-frames and P-frames
· Encoding at 4K@40fps maximum
硬件特性Hardware features
RAM · 8GB 64bits LPDDR4
· 16GB 64bits LPDDR4
存储· eMMC: 可选 空贴、 8G、 32G、 128G
· 支持 TF 卡
Storage· eMMC(Optional): None 、 8G、 32G、 128G
· Support TF card
以太网· 2 x 千兆以太网接口,可选 POEEthernet· 2 x Gigabit Ethernet interfaces, Optional POE
USB· USB3.0 x 4
· USB2.0 x 1(仅用于烧录)
· USB3.0 x 4
· USB2.0 x 1 (For power supply or flashing OS)
音频接口· 1 x 3.5mm 耳机接口
· 一个扬声器接口
· 两个板载麦克风
Audio· 1 x 3.5mm stereo interface
· One audio interface
· Two onboard microphones
显示接口Display · 1 x HDMI2.0
· 1 x 4-lane MIPI DSI
摄像头接口Camera · 2 x 2-lane MIPI CSI
· 1 x 4-lane MIPI CSI
-### 硬件资料下载 +### Hardware information [Specification / Datasheet](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/01_Specification) [Schematic](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/02_Schematic) @@ -113,13 +113,13 @@ LicheePi 4A 可以用作典型的 RISC-V 验证平台,其强大的性能可以 [Dimensional Drawing](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/04_Dimensional_drawing) [3D Model](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/05_3D_model) -## 其他链接 +## Other Site Online store: [Aliexpress](https://www.aliexpress.com/item/1005005532736080.html) [Github](https://github.com/sipeed/LicheePi4A) -[Sipeed 下载站](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a) +[Sipeed Site](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a) Telegram: https://t.me/linux4rv -联系邮箱:support@sipeed.com \ No newline at end of file +Contact email:support@sipeed.com \ No newline at end of file diff --git a/docs/hardware/en/lichee/th1520/lpi4a/2_unbox.md b/docs/hardware/en/lichee/th1520/lpi4a/2_unbox.md index 1b972de226..70a225d6a7 100644 --- a/docs/hardware/en/lichee/th1520/lpi4a/2_unbox.md +++ b/docs/hardware/en/lichee/th1520/lpi4a/2_unbox.md @@ -13,8 +13,7 @@ update: There are two versions of the LicheePi 4A board, the closed beta version and the official version. The closed beta version was released in May 2023. There is only one version of the board with 8+8 (DDR+eMMC). -The official version is expected to release in June 2023. There will be a 8+32, 16+128 version, with some minor adjustments and fixes based on the feedback from the closed beta version users. The functionality and images will -stay the same as the closed beta version. +The official version is expected to release in June 2023. There will be a 8+32, 16+128 version, with some minor adjustments and fixes based on the feedback from the closed beta version users. The functionality and images will stay the same as the closed beta version. ### Closed Beta Version @@ -23,7 +22,8 @@ If you received the board as part of the closed beta program, you will receive t The opened box will look like this: ![unbox_alpha](./../../../../zh/lichee/th1520/lpi4a/assets/unbox/unbox_alpha.png) -the main body of LicheePi 4A is wrapped in black foam, and the other labeled parts are: + +The main body of LicheePi 4A is wrapped in black foam, and the other labeled parts are: 1. 30x30mm thermal grease pad, used to attach the heatsink to the CPU. 2. 30mm 5V cooling fan. The connector should be plugged into the 5V fan header on the board. Note: The red wire is the positive wire and should be connected to the + pole. The fan will not work if you reverse the polarity. 3. 2.4G WiFi Antenna, already connected to the IPEX socket. If it comes loose please re-attach it yourself. @@ -31,7 +31,6 @@ the main body of LicheePi 4A is wrapped in black foam, and the other labeled par If you miss any part during unpacking, please contact customer service for help. - ### Offical Version (Scheduled to be released in June 2023) @@ -40,11 +39,12 @@ If you miss any part during unpacking, please contact customer service for help. If you have purchased the optional accessories, these parts may also be included in the package: ![option_alpha](./../../../../zh/lichee/th1520/lpi4a/assets/unbox/option_alpha.png) -In the upper part of the picture is the optional RVDebugger Plus, which has JTAG+UART function. If you need to do low-level debugging, you can purchase it as an option. + +In the upper part of the picture is the optional RVDebugger Plus, which has JTAG+UART function. If you need to do underlying debugging, you can purchase it as an option. The lower part of the picture is the optional 12V2A power adapter, if you need to connect a lot of power-consuming peripherals (such as USB, MIPI screen) to the board, you can buy it as an option. -A 5V 2A USB power supply can run the board with full-load at 1.85GHz +A `5V 2A USB power supply` can run the board with full-load at 1.85GHz There will be an POE Power Add-on Module/Board in the future as well. @@ -114,7 +114,7 @@ The PoE module should be installed like this: ### Assembly completed -This is how the fully assembled board looks like: +This is what the fully assembled board looks like: ![assemble_ok](./../../../../zh/lichee/th1520/lpi4a/assets/unbox/assemble_ok.png) ## Booting the board diff --git a/docs/hardware/en/lichee/th1520/lpi4a/3_images.md b/docs/hardware/en/lichee/th1520/lpi4a/3_images.md index 758acae966..7f4b014da6 100644 --- a/docs/hardware/en/lichee/th1520/lpi4a/3_images.md +++ b/docs/hardware/en/lichee/th1520/lpi4a/3_images.md @@ -24,7 +24,7 @@ The default image has two types of account and password configurations, you can 2. User: `debian`,password: `debian`; user: `sipeed`,password: `licheepi` Download Links: - + Mega Cloud Storage:[click me](https://mega.nz/folder/phoQlBTZ#cZeQ3qZ__pDvP94PT3_bGA) ISCAS mirror: [click me](https://mirror.iscas.ac.cn/revyos/extra/images/lpi4a/) diff --git a/docs/hardware/en/lichee/th1520/lpi4a/usage.md b/docs/hardware/en/lichee/th1520/lpi4a/usage.md deleted file mode 100644 index 99976e3c76..0000000000 --- a/docs/hardware/en/lichee/th1520/lpi4a/usage.md +++ /dev/null @@ -1,265 +0,0 @@ -# LicheePi 4A 基础上手 - -## 需要的配件 - -为了更容易地使用 LicheePi 4A,需要准备以下的配件: - -- HDMI 显示器,或者与 LicheePi 4A 拍套售卖的显示屏;图形化操作系统很方便操作。 -- 键盘和鼠标;用来操作图形化系统。 -- 电源适配器;最好购买与 LicheePi 4A 配套的电源适配器;这会给 LicheePi 4A 提供足够的供电。 - -## 烧录系统 - -### 获取镜像 - -百度网盘:[点我](https://pan.baidu.com/s/1jnjz0KO_xnO5R8tWlXtx0A) - -### 烧录系统 - -烧录镜像需要使用 - -参考:https://gitee.com/thead-yocto/light_deploy_images - -## 串口登录 - -20230423 记录: - -> 当前图形化系统显示驱动有一些问题,先使用串口登录到系统后,删除 `/lib/libGLESv1_CM_PVR_MESA.so` 和`/lib/libGLESv2_PVR_MESA.so` 两个文件后,可以流畅的使用图形化系统了 - -使用串口连接上底板上 GPIO 的 `U0-RX` 和 `U0-TX`,然后打开串口软件,`Windows` 上可以使用 `mobaxterm`,`Linux` 系统可以使用 `minicom`。 - -设置波特率 `115200` 后打开选择并打开连接在电脑上的串口端口,然后在打开串口后的终端里可以敲击几次 **回车键** 来看看终端有没有反应. - -![usage_serial_login_test](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_serial_login_test.png) - -如果没有反应: -1. 检查 Lichee Pi 4A 的供电情况;如果底板 TypeC 附近的 LED 亮起来,说明供电正常。 -2. 检查串口引脚接线情况;可以更换 `TX` 和 `RX` 接线来尝试排除串口接线错误导致串口不能正常通信的情况 -3. 检查系统烧录情况;在底板 TypeC 接口与天线接口之间有一个复位按键,尝试按下后可以从串口终端中开到启动信息日志;多次重启说明系统有缺失,需要重新烧录镜像。 - -输入用户名 `root`,密码 `sipeed` 就可以登录进系统了。 - -登录系统后,使用 `rm /lib/libGLESv1_CM_PVR_MESA.so` 和`rm /lib/libGLESv2_PVR_MESA.so` 命令来删除两处文件,暂时解决图形化系统卡顿的情况。 - -![usage_login_remove_gpu_file](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_login_remove_gpu_file.png) - -## 登录系统 - -将 Lichee Pi 4A 连接上显示器后,可以看到图形化交互界面了。 - -在登录界面,输入用户名 `root`,密码 `sipeed` 就可以登录进系统了。 - -> 2023 年 4 月 25 日更新镜像的登录密码为 `licheepi` - -![usage_login_userpasserward](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_login_userpasserward.png) - -## 打开命令行 - -在 Lichee Pi 4A 的 Debian 图形化系统中,使用快捷键 `Ctrl` + `Alt` + `T` 三个组合键可以直接打开命令行终端,来快速方便地操作系统。 - -![usage_debian_terminal_shell_hotkey](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_terminal_shell_hotkey.png) - -## 控制风扇 - -在 Lichee Pi 4A 上,风扇是通过 PWM 来控制的,使用 - -## 连接网络 - -### 连接有线网络 - -Lichee Pi 4A 由两个千兆网络接口;将已经接通网络的网线插入到 Lichee Pi 4A 的网络接口中节能实现连接有线网络了。 - - - - - - - - - - - - - -
插上网线之前插上网线之后
usage_debian_ethernet_port_connect_oneusage_debian_ethernet_port_connect_one
上面两张图对比可以看到:在接上网线前,系统中 Ethernet Network 下面显示着 disconnected, 接上网线后显示 Wired connection
- -### 连接无线网络 - -Lichee Pi 4A 板载无线模组,支持蓝牙和 wifi 。 - -从状态栏中的 `Avaliable networks` 中查看自己想要连接到的无线网络,输入密码之后就自动连接上了。 - - - - - - - - - -
usage_debian_select_wireless_network
usage_debian_wireless_network_passwordusage_debian_wireless_network_connected
- -在输入密码的弹出窗口中,`Wi-Fi adapter` 中的两个选项都能用来链接无线网络,选择一个即可。 - - - -## 测试 USB 接口 - -使用桌面系统时,键盘鼠标正常使用就说明 USB 是正常的。 - -当然,只有命令行终端时,使用 `lsusb` 命令可以查看当前板卡上所连接的 USB 设备。 - -如下图,箭头所指的是已经接上 Lichee Pi 4A 的键盘。 - -![usage_debian_lsusb_list_device](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_lsusb_list_device.png) - -## 挂载 U 盘 - -除了上面使用 `lsusb` 来查看 USB 接口的连接情况外,也可以使用 `dmesg` 命令来查看内核信息,进一步查看详细信息。 - -将一个 U 盘插入 Lichee Pi 4A 的 USB 口后,可以在命令终端窗口使用 `dmesg` 查看板卡硬件变动信息。 - -如下是连接 U 盘后,使用 `dmesg` 在命令行终端看到的最新信息(截取)。 - -![usage_debian_udisk_dmesg](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_udisk_dmesg.png) - -上面的信息显示出了板卡的外设更改信息;从中可以看到有一个大容量 USB 存储设备连接到了 Lichee Pi 4A。 - -使用命令 `cat /proc/partitions | grep "sd*"` 命令可以查看到 U 内部的分区个数 - -![usage_debian_udisk_partition_detail](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_udisk_partition_detail.png) - -以上面的结果为例,其中 `sda` 指代的是整个 U 盘,`sda1` 和 `sda2` 表示的是 U 盘里面的两个分区。 - -先在桌面系统创建一个文件夹,然后使用 `mount` 命令将 U 盘的某一分区挂载到该文件夹下。 - -```bash -mkdir ~/Desktop/udisk # 在桌面创建一个名为 udisk 的文件夹 -mount /dev/sda2 ~/Desktop/udisk # 挂载 U 盘的 sda2 分区到 udisk 文件夹 -``` - - - - - - - - - - - - - -
运行命令前 运行命令后
usage_debian_udisk_before_mountusage_debian_udisk_after_mount
运行命令后桌面新增了一个名为 udisk 的文件夹,使用鼠标双击打开 udisk 文件夹后可以看到文件夹里面的内容与 U 盘里面的实际内容一致 usage_debian_udisk_open_folder
- -## 挂载 TF 卡 - -将 tf 卡插入到 Lichee Pi 4A 底板,使用 - -## 音频测试 - -### 测试音频播放 - -Lichee Pi 4A 底板上有扬声器接口和 3.5mm 音频接口两处可以播放音频的地方。 - -要注意的是 3.5mm 音频接口和扬声器接口是互斥的:接上 3.5mm 音频设备后,板载的扬声器接口是被禁用的;断开 3.5mm 音频设备才能使用板载的扬声器。 - -系统内置了一些 wav 音频文件用来测试,直接使用 `aplay` 命令来播放音频文件就可以。 - -![usage_debian_list_audio_file](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_list_audio_file.png) - -运行下面的命令后,可以从耳机孔音频设备中听到 `Rear` `Left` 两个单词的声音。 - -```bash -aplay /usr/share/sounds/alsa/Rear_Left.wav -``` - -## 设置中文显示 - -## 安装中文输入法 - -## 更换软件源 - -在 Debian 系统中,可以使用 apt (Advanced Packaging Tool) 来进行软件的安装。 - -安装软件的时候,会从系统指定的软件网站中搜索并下载目标软件,当目标网站访问困难(比如服务器距离太远或者服务器网络不佳)时,可以手动设置编辑软件源网站,改成距离自己当前最近的源,来减少下载时间。 - -软件源默认使用 `/etc/apt/sources.list` 文件里面的内容,有额外需要的话可以自行更改。但是要注意需要使用支持 Risc-V 架构的软件源。 - -![usage_debian_apt_change_source](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_apt_change_source.png) - -## 升级软件 - -使用 `sudo apt update` 可以更新软件列表,一般在更换软件源之后需要使用这个命令。 - -然后使用 `sudo apt upgrade package_name` 可以更新名称为 `package_name` 的软件。 - -比如下面是使用 `sudo apt upgrade vim` 来更新 `vim` 这个软件的示例 - -![usage_debian_apt_upgrade_vim](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_apt_upgrade_vim.png) - -## 安装程序 - -可以借助于 apt 命令来安装软件;比如使用 `sudo apt install package_name` 命令来安装 `package_name`,下面是使用 apt 来安装 `net-tools` 的例子。 - -![usage_debian_apt_install_nettools](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_apt_install_nettools.png) - -安装 `net-tools` 后,就可以使用 `ifconfig` 命令了。 - -![usage_debian_ifconfig_result_list](./../../../../zh/lichee/th1520/lpi4a/assets/usage/usage_debian_ifconfig_result_list.png) - -箭头指向的地方就是常说的 IP 地址了。 - -## 更改开机 LOGO - - - -## 操作 GPIO - -> 进阶使用 - -## 获取设备 IP - -## VNC 远程桌面 - -## 通过 SSH 登录到系统 - -### 远程登录到系统 - -### 远程拷贝文件 - -## Samba 文件共享 - -Samba 基于SMB/CIFS网络协议,不同设备之间可以通过该协议共享访问文件、串行端口等,这里通过它将 Windows 10 系统设备上的共享文件夹挂载至 Lichee Pi 4A。 - -下面的命令会自动安装 Samba 作为服务器和客户端的全部必需组件: - -```bash -sudo apt install samba samba-common-bin smbclient cifs-utils -``` - -## 搭建 FTP 服务 - -## 配置 NGINX - -## 安装 Docker - -## 测试 GPU - -## 编程语言体验 - -### C - -### Java - -### Python - -## 使用 Python 进行串口通信 - -## 编译体验 Opencv - -## 编译体验 Wiringpi - -## 配置开机脚本 - -### 开机自动挂载 U 盘 \ No newline at end of file diff --git a/docs/hardware/en/sidebar.json b/docs/hardware/en/sidebar.json index 0963b55aaf..24e1bc2177 100644 --- a/docs/hardware/en/sidebar.json +++ b/docs/hardware/en/sidebar.json @@ -267,27 +267,27 @@ "file":"lichee/th1520/lpi4a/6_peripheral.md" }, { - "label":"系统开发", + "label":"System building", "items":[ { "label":"THead Yocto", "file":"lichee/th1520/lpi4a/7_develop_thead.md" }, { - "label":"Linux 主线 (编写中)" + "label":"Linux Mainline (Work in Progress)" }, { "label":"revyos", "file":"lichee/th1520/lpi4a/7_develop_revyos.md" }, { - "label":"Android (编写中)" + "label":"Android (Work in Progress)" }, { - "label":"OpenHarmony (编写中)" + "label":"OpenHarmony (Work in Progress)" }, { - "label":"OpenWRT (编写中)" + "label":"OpenWRT (Work in Progress)" } ] }, diff --git a/docs/hardware/zh/lichee/th1520/lp4a.md b/docs/hardware/zh/lichee/th1520/lp4a.md deleted file mode 100644 index 25dc407f98..0000000000 --- a/docs/hardware/zh/lichee/th1520/lp4a.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: Lichee Pi 4A -keywords: Linux, Lichee, TH1520, SBC, -update: - - date: 2023-03-31 - version: v0.1 - author: wonder - content: - - 新建文档 ---- - -## 简介 - -Lichee Pi 4A 是使用了 [Lichee Module 4A](http://wiki.sipeed.com/hardware/zh/lichee/th1520/lm4a.html) 核心板组合出来的 Linux 开发板,以 [TH1520](https://www.t-head.cn/product/yeying) 为主控核心,搭载 4TOPS@int8 AI 算力的 NPU,支持双屏 4K 显示输出,支持 4K 摄像头接入,双千兆 POE 网口和多个 USB 接口,音频由 C906 核心处理。 - -购买链接:[淘宝](https://item.taobao.com/item.htm?id=715508771884) - -## 基本参数 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
主控参数
主控芯片曳影 1520
CPU处理器RISC-V 64GCV C910*4@2GHz
· 每核支持 64KB I cache 和 64KB D Cache
· 四核共享 1MB L2 Cache
· 支持 TEE 和 REE,TEE/REE 支持核数启动时可配置
· 支持自定义且接口兼容 RISC-V 的多核调试框架
· 独立电源域,支持 DVFS
图形处理器· OpenCL 1.1/1.2/2.0
· OpenGL ES 3.0/3.1/3.2
· Vulkan 1.1/1.2
· Android NN HAL
NPU处理器支持 4TOPS@INT8 通用 NNA 算力,主频 1GHz
· 支持 TensorFlow、ONNX、Caffe
· 支持 CNN、RNN、DNN 等
视频解码器实时解码器,支持 H.265/H.264/VP9/8/7/6/AVS/AVS+/AVS2.0/VC1/MPEG4
· 支持 H.264 BP/MP/HP@level 5.1 解码,最大 4K 分辨率
· 支持 H.265/HEVC Main Profile@level 5.1 解码,最大 4K 分辨率
· 支持 VP9 Profile-2 解码,最大 4K 分辨率
· 支持 AVS2.0 解码,最大 4K 分辨率
· 支持 VP6/7/8/AVS/AVS+/VC1/MPEG4 解码,最大 1920x1080 分辨率
· 解码性能最大 4K@75fps
视频编码器· 支持 H.264 BP/MP/HP@level4.2 编码,最大 4K 分辨率
· 支持 H.265/HEVC Main Profile 编码,最大 4K 分辨率
· 仅支持 I 帧和 P 帧
· 编码性能最大 4K@40fps
硬件特性
RAM· 8GB 64bits LPDDR4
· 16GB 64bits LPDDR4
存储· eMMC: 可选 空贴、 8G、 32G、 128G
· 支持 TF 卡
以太网· 2 x 千兆以太网接口,可选 POE
USB· USB3.0 x 4
· USB2.0 x 1(仅用于烧录)
音频接口· 1 x 3.5mm 耳机接口
· 一个扬声器接口
· 两个板载麦克风
显示接口· 1 x HDMI2.0
· 1 x 4-lane MIPI DSI
摄像头接口· 2 x 2-lane MIPI CSI
· 1 x 4-lane MIPI CSI
GPIO· UART
· IIC
· SPI
- -## 相关链接 - -[板卡规格书](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/01_Specification) -[底板原理图](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/02_Schematic) -[底板点位图](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/03_Bit_number_map) -[底板尺寸图](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/04_Dimensional_drawing) -[模型文件](https://dl.sipeed.com/shareURL/LICHEE/licheepi4a/05_3D_model) - -[Github](https://github.com/sipeed/LicheePi4A) \ No newline at end of file diff --git a/pages/index/zh/licheem4a.html b/pages/index/zh/licheem4a.html index 312b3f9046..5fb0502a94 100644 --- a/pages/index/zh/licheem4a.html +++ b/pages/index/zh/licheem4a.html @@ -1,10 +1,6 @@ \ No newline at end of file diff --git a/pages/index/zh/licheepi4a.html b/pages/index/zh/licheepi4a.html index a90e90e353..d0356be3da 100644 --- a/pages/index/zh/licheepi4a.html +++ b/pages/index/zh/licheepi4a.html @@ -1,10 +1,6 @@ \ No newline at end of file