Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[CM3588|English]]
 
==介绍==
 
[[File:CM3588-A01.jpg|thumb|Front]]
 
[[File:CM3588-B01.jpg|thumb|Back]]
 
[[File:CM3588SDK-A01.jpg|thumb|Carrier Board Front]]
 
[[File:CM3588SDK-B01.jpg|thumb|Carrier Board Back]]
 
*CM3588是友善电子团队设计的一款高性能ARM计算机模块,它采用瑞芯微RK3588作为主控处理器,配备4/8/16GB LPDDR4x内存,64GB eMMC闪存(可选)。CM3588采用4个100Pin板对板连接器,引出几乎所有IO资源。
 
*CM3588计算模块具有丰富的外设和扩展接口,通过底板可连接使用4个NVMe高速固态硬盘,读写速度高达1GB/s; 另外它还带有双HDMI-Out显示接口和1个HDMI-In接口,2路USB3.0, 1路USB2.0, 2.5G以太网接口等。
 
*底板的2个HDMI输出接口和1个HDMI IN接口可解码播放最高8K60p H.265/VP9, 以及8K30p H264等格式视频,并可录制4k60p H.265格式视频。
 
*CM3588提供NAS系统OpenMediaVault方便组建NAS, 同时提供Android, Ubuntu, Debian, Buildroot和OpenWrt等操作系统, 软件资源和生态非常丰富,非常适合中小型企业和初创公司做高端人脸识别,机器视觉,自动驾驶,深度计算分析等方面的人工智能产品快速原型及产品开发。
 
==CM3588资源特性==
 
* SoC: Rockchip RK3588
 
** CPU: Quad-core ARM Cortex-A76(up to 2.4GHz) and quad-core Cortex-A55 CPU (up to 1.8GHz)
 
** GPU: Mali-G610 MP4, compatible with OpenGLES 1.1, 2.0, and 3.2, OpenCL up to 2.2 and Vulkan1.2
 
** VPU: 8K@60fps H.265 and VP9 decoder, 8K@30fps H.264 decoder, 4K@60fps AV1 decoder, 8K@30fps H.264 and H.265 encoder
 
** NPU: 6TOPs, supports INT4/INT8/INT16/FP16
 
* RAM: 64-bit 4GB/8GB/16GB LPDDR4X at 2133MHz
 
* Flash: 0GB/64GB eMMC, at HS400 mode
 
* 1 x microSD interface, support up to SDR104 mode
 
* 1 x On-board PCIe 2.5G ethernet controller (RTL8125B)
 
* USB:
 
** 2 x USB 3.1 Gen1 OTG which combo with DP display(up to 4Kp60)
 
** 1 x USB 3.1 Gen1 Host
 
** 2 x USB 2.0 Host
 
* PCIe:
 
** up to 4 x PCIe interfaces
 
*** 2 x  PCIe 2.1 x1 and 2 x PCIe 3.0 x2
 
*** or 2 x PCIe 2.1 x1 and 1 x PCIe 3.0 x4
 
*** or 1 x PCIe 2.1 x1, 1 x PCIe 3.0 x2, and 2 x PCIe 3.0 x1
 
*** or 4 x PCIe 3.0 x1
 
* HDMI output:
 
** 2 x HDMI outputs which is compatible with HDMI2.1, HDMI2.0, and HDMI1.4 operation
 
** one support displays up to 7680x4320@60Hz, another one support up to 4Kp60
 
** Support RGB/YUV(up to 10bit) format
 
* HDMI input: 1 x HDMI input, up to 4Kp60
 
* MIPI RX:
 
** 2 x 4lane MIPI DPHY CSI RX which support x4 mode or x2+x2 mode ,compatible with MIPI V1.2
 
** 2 x 4lane MIPI_D/CPHY_RX
 
* MIPI TX:
 
** 2 x 4-lane MIPI D-PHY/C-PHY Combo PHY TX, compatible with MIPI DPHY 2.0 or CPHY 1.1
 
* Codec:
 
** On-board ALC5616 Codec
 
** 1 x stereo headphone output ( 20mW/CH, THD+N <= -80dB, 16Ohm Load )
 
** 1 x single-end microphone input
 
* GPIO:
 
** up to 3 x SPIs, 7 x UARTs, 6 x I2Cs, 15 x PWMs, 3 x I2Ss, 1 x SDIO, 81 x GPIOs
 
* others:
 
** low power RTC (HYM8563TS) with backup battery input
 
** Support 38Khz IR input
 
** MASK button for eMMC update, reset button, Power button, and recovery mode button
 
** Debug UART,3.3V level, 1500000bps
 
** 2 x GPIO Controlled LED (SYS, LED1)
 
* Power supply: 5~20VDC input, 15W max
 
* PCB: 8 Layers, 55x65x1.6mm
 
* Stacking height: 6.6mm
 
* Connector: 4 x DF40C-100DP-0.4V(51), the mating connector is DF40HC(3.0)-100DS-0.4V(51)
 
* Ambient Operating Temperature: 0℃ to 70℃
 
  
==接口布局和尺寸==
+
{{BurnLinuxToExtDrive-Rockchip/zh|NanoPC-T4}}
[[File:CM3588 CPU board layout.jpg|600px]]
+
{{BurnLinuxToExtDrive-Rockchip|NanoPC-T4}}
*[https://wiki.friendlyelec.com/wiki/images/0/00/CM3588_2309_SCH.PDF CM3588 2309 原理图]
+
*[https://wiki.friendlyelec.com/wiki/images/f/f5/CM3588_2309_DXF.zip CM3588 PCB CAD文件]
+
*[https://wiki.friendlyelec.com/wiki/images/3/37/CM3588_Pinout_Interfaces.pdf CM3588引脚定义和接口说明]
+
===Carrier Board===
+
* Please click [[CM3588 NAS Kit/zh|CM3588 NAS Kit Wiki page]]
+
[[File:CM3588 NAS SDK Carrier board layout.jpg|1000px]]
+
 
+
==快速入门==
+
===准备工作===
+
要开启你的CM3588新玩具,请先准备好以下硬件
+
* CM3588核心板
+
* CM3588 NAS Kit底板
+
* MicroSD卡/TF卡: Class10或以上的 8GB SDHC卡
+
* 一个DC接口的外接电源,要求输出为12V/2A
+
* 如果需要开发与编译,则需要一台可以联网的电脑,推荐安装Ubuntu 20.04 64位系统,并使用下面的脚本初始化开发环境, 也可以使用Docker容器: <br />
+
**[https://github.com/friendlyarm/build-env-on-ubuntu-bionic How to setup the Compiling Environment on Ubuntu bionic]<br />
+
**[https://github.com/friendlyarm/docker-cross-compiler-novnc docker-cross-compiler-novnc]<br />
+
===经测试可选用的TF卡===
+
请参考: [[Template:TFCardsWeTested/zh|TF Cards We Tested]]
+
{{1500000SerialPortDebugSetting/zh}}
+
===安装系统===
+
{{Downloads-RK3588/zh|CM3588}}
+
{{BurnLinuxToSD-Rockchip/zh|CM3588}}
+
{{BurnLinuxToEMMC-Rockchip/zh|CM3588}}
+
==OpenMediaVault NAS系统的使用==
+
===OpenMediaVault NAS系统简介===
+
{{OpenMediaVault-Intro/zh|CM3588}}
+
* 详细请参考如下链接:
+
** [[Getting Started with OpenMediaVault/zh|Getting Started with OpenMediaVault]]
+
==Ubuntu 22.04 桌面系统的使用==
+
===Ubuntu 22.04桌面系统简介===
+
{{UbuntuJammyDesktop-Intro/zh|CM3588}}
+
* Refer to:
+
** [[Ubuntu Jammy Desktop|Ubuntu Jammy Desktop]]
+
{{Android12/zh|CM3588}}
+
==Debian11 桌面系统的使用==
+
===Debian11桌面系统简介===
+
{{DebianBullseyeDesktop-XFCE-Intro/zh|CM3588}}
+
* Refer to:
+
** [[Debian Bullseye Desktop/zh|Debian Bullseye Desktop]]
+
{{OfficialUbuntuCore/zh|CM3588}}
+
{{FriendlyCoreRemoveQt/zh}}
+
==如何编译系统==
+
{{Rockchip-DevEnv/zh|CM3588}}
+
{{RK3588-BuildFromSource/zh|CM3588}}
+
{{RK3588-HWAccess/zh|CM3588}}
+
{{RockchipMiscCustome/zh|RK3588}}
+
{{Template:How to Initialize and Format New SSD And HDD/zh|CM3588}}
+
{{RockchipCommonLinuxTips/zh|rk3588}}
+
{{RockchipUnbrick/zh|CM3588}}
+
==Link to Rockchip Resources==
+
{{LinkToRockchipResources|CM3588}}
+
==手册原理图等开发资料==
+
*CM3588 原理图: https://wiki.friendlyelec.com/wiki/images/0/00/CM3588_2309_SCH.PDF
+
*CM3588 PinDelay: https://wiki.friendlyelec.com/wiki/images/8/81/CM3588_Net_PinDelay.pdf
+
*CM3588 PCB CAD 文件:https://wiki.friendlyelec.com/wiki/images/f/f5/CM3588_2309_DXF.zip
+
*CM3588 引脚和接口说明 https://wiki.friendlyelec.com/wiki/images/3/37/CM3588_Pinout_Interfaces.pdf
+
*CM3588 NAS Kit 原理图: https://wiki.friendlyelec.com/wiki/images/1/15/CM3588_NAS_SDK_2309_SCH.PDF
+
*CM3588 NAS Kit PCB CAD 文件: https://wiki.friendlyelec.com/wiki/images/f/fe/CM3588_NAS_SDK_2309_DXF.zip
+
*CM3588 NAS Kit PCB layout PDF 文件: https://wiki.friendlyelec.com/wiki/images/2/2c/CM3588_NAS_SDK_2309_PCB_Layout.pdf
+
 
+
==更新日志==
+
===2023-11-20===
+
首次发布
+
===2023-11-28===
+
增加CM3588引脚和接口说明文档
+
===2023-12-13===
+
增加CM3588 PinDelay文档
+

Latest revision as of 09:58, 29 October 2024

1 安装系统到M.2或USB硬盘

可以通过使用TF卡启动eFlasher系统,将引导和系统分别安装到不同存储设备,但是由于CPU不支持直接从M.2和USB设备引导,所以虽然系统可以安装到M.2和USB设备,但是引导仍然需要安装到eMMC或者TF卡。
操作步骤如下:

  • 准备一张32G或以上容量的TF卡;
  • 访问此处的下载地址下载文件名为XXXX-eflasher-multiple-os-YYYYMMDD-30g.img.gz的固件(位于"01_系统固件/02_SD卡刷机固件(SD-to-eMMC)"目录);
  • 将固件写入TF卡,在NanoPC-T4上连接好存储设备,插入TF卡上电开机,接下来要在界面上操作,如果没有显示设备,可以使用VNC代替,请参考使用VNC操作eFlasher;
  • 在eFlasher界面上,首先选择要安装的OS,然后选择引导安装的目的地 (通常选eMMC),以及选择系统安装的目的地(可以选eMMC,M.2硬盘,USB存储设备等),如下图所示:

Eflasher-select-boot-and-system-device.png

  • 没有eMMC时可使用TF卡作为引导,方法是将另一个TF卡通过USB读卡器插入USB端口,然后选择USB设备作为引导安装目的地,从而实现从TF卡引导,但系统存放在M.2或USB硬盘的目的;
  • 烧写完成后,从NanoPC-T4弹出SD卡,引导在eMMC的情况下,NanoPC-T4会自动重启至你刚刚烧写的系统,如果引导安装在TF卡,则需要拨掉电源,插入TF引导卡再上电开机;
  • 更详细的安装指南请参考此处;

2 Installing the System to M.2 or USB Drive

You can use a TF card to boot the eFlasher system, allowing the boot and system to be installed on different storage devices. However, since the CPU doesn’t support booting directly from M.2 and USB devices, the system can be installed on M.2 and USB devices, but the boot must still be installed on eMMC or a TF card.
Steps are as follows:

  • Prepare a TF card with a capacity of 32GB or larger.
  • Visit [the download link here](http://download.friendlyelec.com/APITestPage) to download the firmware file named XXXX-eflasher-multiple-os-YYYYMMDD-30g.img.gz (located in the “01_Official images/02_SD-to-eMMC images” directory).
  • Flash the firmware to the TF card, connect the storage device you intend to use on NanoPC-T4, insert the TF card and power on, we need to perform the operations in the eFlasher GUI. If your NanoPC-T4 does not have a display interface, you can use VNC; refer to Using VNC to Operate eFlasher.
  • In the eFlasher GUI, select the OS to install, and in the OS settings interface, choose the destination for boot installation (typically eMMC), then choose the destination for system installation (options include eMMC, M.2 hard drive, USB storage, etc.), as shown below:

Eflasher-select-boot-and-system-device.png

  • If no eMMC is available, the TF card can serve as the boot by inserting another TF card into the USB port via a USB card reader and selecting it as the boot destination, enabling booting from the TF card with the system stored on the M.2 or USB drive.
  • After flashing, eject the SD card from NanoPC-T4. If booting from eMMC, NanoPC-T4 will automatically restart into the newly flashed system. If boot installation is on a TF card, power off, insert the boot TF card, and power on again.
  • For a more detailed installation guide, please refer to this link.