Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[NanoPC-T6|English]]
 
<!--
 
[[File:NanoPC-T6-01B.jpg|thumb|Overview]]
 
[[File:NanoPC-T6-A01.jpg|thumb|Front]]
 
[[File:NanoPC-T6-B01.jpg|thumb|Back]]
 
[[File:T6-01.jpg|thumb|frameless|250x250px|Case]]
 
[[File:T6-02.jpg|thumb|frameless|250x250px|Case]]
 
[[File:T6-03.jpg|thumb|frameless|250x250px|Case]]
 
[[File:T6-04.jpg|thumb|frameless|250x250px|Case]]
 
-->
 
[[File:NanoPC-T6LTS-01B.jpg|thumb|Overview]]
 
[[File:NanoPC-T6LTS-A01.jpg|thumb|Front]]
 
[[File:NanoPC-T6LTS-B01.jpg|thumb|Back]]
 
[[File:T6LTS-01.jpg|thumb|frameless|250x250px|Case]]
 
[[File:T6LTS-02.jpg|thumb|frameless|250x250px|Case]]
 
[[File:T6LTS-03.jpg|thumb|frameless|250x250px|Case]]
 
<!--
 
[[File:T6LTS-04.jpg|thumb|frameless|250x250px|Case]]
 
-->
 
==介绍==
 
NanoPC-T6 LTS(简称”T6”)是友善电子团队设计出品的一款开源高性能一体化边缘计算平台,它带有双2.5G网口。它采用瑞芯微RK3588作为主控处理器, 配备4GB/8GB/16GB LPDDR4x内存,和32GB/64GB/256/0GB eMMC闪存,支持运行OpenMediaVault、FriendlyWrt、Android、Android TV、Debian和Ubuntu等多种系统, 支持GPU和VPU加速。<br/>
 
<br/>
 
T6接口丰富,布局紧凑,主板尺寸只有110x80mm,可选配安装一体化CNC氧化铝外壳。它带有2个HDMI输出接口和1个HDMI IN接口,可解码播放最高8K60p H.265/VP9, 以及8K30p H264等格式视频,并可录制4k60p H.265格式视频。T6还具备1个M.2 B-Key插槽,可安装使用M.2 NVME固态硬盘, 以及1个M.2 E-Key插槽, 可安装使用M.2 2230尺寸的WiFi无线模块。<br/>
 
<br/>
 
另外, T6带有1个USB3.0和2个USB2.0接口, 以及1个全功能的USB-C接口,采用DC-12V供电。<br/>
 
<br/>
 
T6非常适合企业客户定制开发带有多网口的迷你机器视觉系统,并适合嵌入式爱好者发掘、探索打造自己独具一格的玩法。
 
==NanoPC-T6资源特性==
 
* SoC: Rockchip RK3588
 
** CPU: 四核 ARM Cortex-A76(up to 2.4GHz) + 四核 Cortex-A55 (up to 1.8GHz)
 
** GPU: Mali-G610 MP4, 兼容 OpenGLES 1.1, 2.0, 3.2, 以及OpenCL (up to 2.2) 和 Vulkan1.2
 
** VPU: 支持8K@60fps H.265 和 VP9 解码, 8K@30fps H.264 解码, 4K@60fps AV1 解码, 8K@30fps H.264 和 H.265 编码
 
** NPU: 6TOPs, 支持INT4/INT8/INT16/FP16
 
* RAM: 64-bit 4GB/8GB/16GB LPDDR4X 频率高达2133MHz
 
* eMMC Flash: 32GB/64GB/256GB eMMC, 最高支持 HS400 模式
 
* Nor Flash:32MB SPI Nor Flash
 
* microSD: 最高支持SDR104模式
 
* Ethernet: 2个PCIe扩展的2.5G以太网
 
* 一个USB 3.0 Type-A
 
* 一个全功能USB Type‑C™接口, 支持USB3.0数据传输和DP显示输出,分辨率高达4Kp60。
 
* 两个USB 2.0 Type-A
 
* 视频输入:
 
** 1x Standard HDMI input port, up to 4Kp60
 
** 2x 4-lane MIPI-CSI, compatible with MIPI V1.2
 
* 视频输出:
 
** 2个标准尺寸HDMI输出接口
 
*** 兼容HDMI2.1, HDMI2.0, 以及HDMI1.4
 
*** one support displays up to 7680x4320@60Hz, another one support up to 4Kp60
 
*** Support RGB/YUV(up to 10bit) format
 
** USB Type‑C™ DP显示输出,分辨率高达4Kp60
 
** 2 x 4-lane MIPI-DSI, compatible with MIPI DPHY 2.0 or CPHY 1.1
 
* 音频:
 
** 3.5mm耳机输出接口
 
** 2.0mm PH-2A模拟麦克风输入接口
 
* GPIO:
 
** 40-Pin 2.54mm双排针接口
 
** up to 2 x SPIs, 6 x UARTs, 1x I2Cs, 8 x PWMs, 2 x I2Ss, 28 x GPIOs
 
* M.2 Connectors
 
** one M.2 M-Key connector with PCIe 3.0 x4 for NVMe SSDs up to 2,500 MB/s
 
** one M.2 E-key connector with PCIe 2.1 x1 and USB2.0 Host
 
* 其它:
 
** 10 Pin 2.54mm排针,包含调试串口和两路USB2.0 Host
 
** 2 Pin 1.27/1.25mm RTC battery input connector for low power RTC IC HYM8563TS
 
** one 38Khz IR receiver
 
** MASK button for eMMC update, reset button, and Power button
 
** one 5V Fan connector
 
** USB-C转调试串口, 1500000bps
 
** 2 x GPIO Controlled LED (SYS, LED1)
 
* Power supply: 5.5*2.1mm DC插座和2针3.5mm插拔式接线端子, 12VDC input.
 
* PCB: 8 Layer, 110x80x1.6mm
 
*Ambient Operating Temperature: 0℃ to 70℃
 
  
==接口布局和尺寸==
+
{{BurnLinuxToExtDrive-Rockchip/zh|NanoPC-T4}}
===NanoPC-T6-LTS===
+
{{BurnLinuxToExtDrive-Rockchip|NanoPC-T4}}
[[File:NanoPC-T6LTS_Layout-L.jpg|1100px]]
+
===NanoPC-T6===
+
[[File:NanoPC-T6 Layout-L.jpg|1100px]]
+
===接口布局===
+
<!-- [[File:NanoPC-T6_Layout.jpg|thumb|frameless|300px|NanoPC-T6 Layout]] -->
+
* '''40-pin GPIO'''
+
::{| class="wikitable"
+
|-
+
|'''Pin#'''            || '''GPIO'''  || '''SPI'''    || '''UART'''  || '''I2C'''  || '''I2S'''  || '''PWM''' ||'''POWER'''      ||'''Description'''
+
|-
+
|1,17                  ||            ||              ||            ||            ||            ||          ||  VCC3V3_SYS_S3 || 3.3V Power Output, 500mA Max
+
|-
+
|2,4                  ||            ||              ||            ||            ||            ||          ||  VCC_5V0        || 5V Power Output, 500mA Max
+
|-
+
|6,9,14,20,25,30,34,39 ||            ||              ||            ||            ||            ||          ||  GND            || Power and Signal Ground
+
|-
+
|3                    ||  GPIO1_D7  ||              ||            || I2C8_SDA_M2 ||            ||          ||                  || T6内部已经通过2.2K上拉到3.3V
+
|- 
+
|5                    ||  GPIO1_D6  ||              ||            || I2C8_SCL_M2 ||            ||          ||                  || T6内部已经通过2.2K上拉到3.3V
+
|-
+
|7                    ||  GPIO3_B2  ||              ||            ||            || I2S2_SDI_M1||          ||                  || 3.3V
+
|-
+
|8                    ||  GPIO0_C5  ||              || UART0_TX_M0 ||            ||            ||  PWM4_M0  ||                  ||  3.3V     
+
|-
+
|10                    ||  GPIO0_C4  ||              || UART0_RX_M0 ||            ||            ||          ||                  ||  3.3V
+
|-
+
|11                    || GPIO3_C2    ||              ||            ||            ||            || PWM14_M0  ||                  ||  3.3V
+
|-
+
|12                    || GPIO3_B7    ||              ||            ||            ||            ||          ||                  ||  3.3V
+
|- 
+
|13                    || GPIO3_C3    ||              ||            ||            ||            ||PWM15_IR_M0||                  ||  3.3V
+
|-
+
|15                    || GPIO1_A7    ||              ||            ||            ||            ||          ||                  ||  3.3V
+
|-
+
|16                    || GPIO3_B3    ||              ||            ||            || I2S2_SDO_M1 ||          ||                ||  3.3V
+
|-
+
|18                    || GPIO3_B4    ||              ||            ||            || I2S2_MCLK_M1||          ||                ||  3.3V
+
|-
+
|19                    || GPIO1_B2    || SPI0_MOSI_M2  || UART4_RX_M2 ||            ||            ||          ||                  ||  3.3V
+
|-
+
|21                    || GPIO1_B1    || SPI0_MISO_M2  ||            ||            ||            ||          ||                  ||  3.3V
+
|-
+
|22                    || GPIO1_B5    || SPI0_CS1_M0  || UART7_TX_M2 ||            ||            ||          ||                  ||  3.3V
+
|-
+
|23                    || GPIO1_B3    || SPI0_CLK_M2  ||  UART4_TX_M2 ||            ||            ||          ||                  ||  3.3V
+
|-
+
|24                    || GPIO1_B4    || SPI0_CS0_M2  || UART7_RX_M2  ||            ||            ||          ||                  ||  3.3V
+
|-
+
|26                    || GPIO1_B0    ||              ||            ||            ||            ||          ||                  ||  3.3V
+
|-
+
|27                    || GPIO1_A0    ||              || UART6_RX_M1 ||            ||            ||          ||                  ||  3.3V
+
|-
+
|28                    || GPIO1_A1    ||              || UART6_TX_M1 ||            ||            ||          ||                  ||  3.3V
+
|-
+
|29                    || GPIO3_B5    ||              || UART3_TX_M1 ||            || I2S2_SCLK_M1 || PWM12_M0 ||                  ||  3.3V
+
|-
+
|31                    || GPIO3_B6    ||              || UART3_RX_M1 ||            || I2S2_LRCK_M1  ||  PWM13_M0 ||                  ||  3.3V
+
|-
+
|32                    || GPIO0_C6    ||              ||            ||            ||              || PWM5_M1  ||                  ||  3.3V
+
|-
+
|33                    || GPIO3_B0    ||              ||            ||            ||              || PWM9_M0  ||                  ||  3.3V
+
|-
+
|35                    || GPIO3_A0    || SPI4_MISO_M1  ||            ||            ||  I2S3_MCLK  || PWM10_M0  ||                  ||  3.3V
+
|-
+
|36                    || GPIO3_A3    || SPI4_CS0_M1  || UART8_RX_M1  ||            ||  I2S3_SDO    ||            ||                  || 3.3V
+
|-
+
|37                    || GPIO3_A4    || SPI4_CS1_M1  ||              ||            ||  I2S3_SDI    ||            ||                  || 3.3V
+
|-
+
|38                    || GPIO3_A1    || SPI4_MOSI_M1    ||            ||            ||  I2S3_SCLK    ||            ||                  || 3.3V
+
|-
+
|40                    || GPIO3_A2    || SPI4_CLK_M1  ||  UART8_TX_M1  ||            ||  I2S3_LRCK    ||            ||                  || 3.3V
+
|}
+
* '''MIPI-DSI'''
+
:: 0.5mm FPC Connector
+
::{| class="wikitable"
+
|-
+
|'''Pin#''' ||  '''MIPI-DSI0'''  ||  '''MIPI-DSI1'''  ||  '''Description ''' 
+
|-
+
|1,2,3      ||  VCC_5V0          || VCC_5V0            ||  5V Power ouput
+
|-
+
|4,7,9,11,15,18,21,24,27,30||GND  ||  GND              ||  Power and Signal Ground
+
|-
+
|5          || I2C5_SDA_M0        ||  I2C4_SDA_M3      ||  3.3V, I2C Data, T6内部已经通过2.2K上拉到3.3V
+
|-
+
|6          || I2C5_SCL_M0        ||  I2C4_SCL_M3      ||  3.3V, I2C Clock, T6内部已经通过2.2K上拉到3.3V
+
|-
+
|8          || GPIO3_C0          ||  GPIO4_A0        ||  3.3V, GPIO
+
|-
+
|10        || GPIO3_B1/PWM2_M1  ||  GPIO3_D5/PWM11_M3 ||  3.3V, GPIO/PWM
+
|-
+
|12        || GPIO3_A6          ||  GPIO4_A3          ||  3.3V, GPIO
+
|-
+
|13        || /NC                ||  /NC              ||  No Connection
+
|-
+
|14        || GPIO3_C1          || GPIO4_A1          ||  3.3V, GPIO
+
|-
+
|16        || MIPI_DPHY0_TX_D3N  || MIPI_DPHY1_TX_D3N  ||  MIPI TX Lane3 ouput N
+
|-
+
|17        || MIPI_DPHY0_TX_D3P  || MIPI_DPHY1_TX_D3P  ||  MIPI TX Lane3 ouput P
+
|-
+
|19        || MIPI_DPHY0_TX_D2N  || MIPI_DPHY1_TX_D2N  ||  MIPI TX Lane2 ouput N
+
|-
+
|20        || MIPI_DPHY0_TX_D2P  || MIPI_DPHY1_TX_D2P  ||  MIPI TX Lane2 ouput P
+
|-
+
|22        || MIPI_DPHY0_TX_D1N  || MIPI_DPHY1_TX_D1N  ||  MIPI TX Lane1 ouput N
+
|-
+
|23        || MIPI_DPHY0_TX_D1P  || MIPI_DPHY1_TX_D1P  ||  MIPI TX Lane1 ouput P
+
|-
+
|25        || MIPI_DPHY0_TX_D0N  || MIPI_DPHY1_TX_D0N  ||  MIPI TX Lane0 ouput N
+
|-
+
|26        || MIPI_DPHY0_TX_D0P  || MIPI_DPHY1_TX_D0P  ||  MIPI TX Lane0 ouput P
+
|-
+
|28        || MIPI_DPHY0_TX_CLKN || MIPI_DPHY1_TX_CLKN ||  MIPI TX Clock ouput N
+
|-
+
|29        || MIPI_DPHY0_TX_CLKP || MIPI_DPHY1_TX_CLKP ||  MIPI TX Clock ouput P
+
|}
+
* '''MIPI-CSI'''
+
:: 0.5mm FPC Connector
+
::{| class="wikitable"
+
|-
+
|'''Pin#''' ||  '''MIPI-CSI0'''  ||  '''MIPI-CSI1'''  ||  '''Description ''' 
+
|-
+
|1,2        ||  VCC_5V0          || VCC_5V0            ||  5V Power ouput
+
|-
+
|3,13,15,18,21,24,27,30          || GND  ||  GND      ||  Power and Signal Ground
+
|-
+
|4,5,7      || /NC                || /NC                ||  No Connection
+
|-
+
|6          || VCC_1V8_S3        || VCC_1V8_S3        ||  1.8V Power ouput, 100mA Max
+
|-
+
|8          || VSYNC_MASTER      || VSYNC_SLAVE        ||  用于两个摄像头的同步信号互联,T6内部已经短接了这两个Pin
+
|-
+
|9          || I2C3_SCL_M0        ||  I2C7_SCL_M0      ||  1.8V, I2C Clock, T6内部已经通过2.2K上拉到1.8V
+
|-
+
|10        || I2C3_SDA_M0        ||  I2C7_SDA_M0      ||  1.8V, I2C Data, T6内部已经通过2.2K上拉到1.8V
+
|-
+
|11        ||  GPIO4_C4          ||  GPIO2_C1        ||  1.8V, GPIO
+
|-
+
|12        || GPIO4_C5          ||  GPIO2_C2          ||  1.8V, GPIO
+
|-
+
|14        || MIPI_CAM1_CLKOUT  ||  MIPI_CAM2_CLKOUT  ||  1.8V, CLock ouput for Sensor
+
|-
+
|16        || MIPI_CSI0_RX_D3P  ||  MIPI_CSI1_RX_D3P  ||  MIPI RX Lane3 iuput P
+
|-
+
|17        || MIPI_CSI0_RX_D3N  ||  MIPI_CSI1_RX_D3N  ||  MIPI RX Lane3 iuput N
+
|-
+
|19        || MIPI_CSI0_RX_D2P  ||  MIPI_CSI1_RX_D2P  ||  MIPI RX Lane2 iuput P
+
|-
+
|20        || MIPI_CSI0_RX_D2P  ||  MIPI_CSI1_RX_D2N  ||  MIPI RX Lane2 iuput N
+
|-
+
|22        || MIPI_CSI0_RX_D1P  ||  MIPI_CSI1_RX_D1P  ||  MIPI RX Lane1 iuput P
+
|-
+
|23        || MIPI_CSI0_RX_D1N  || MIPI_CSI1_RX_D1N  ||  MIPI RX Lane1 iuput N
+
|-
+
|25        || MIPI_CSI0_RX_CLK0P || MIPI_CSI1_RX_CLK0P ||  MIPI RX Clock iuput P
+
|-
+
|26        || MIPI_CSI0_RX_CLK0N || MIPI_CSI1_RX_CLK0N ||  MIPI RX Clock iuput N
+
|-
+
|28        || MIPI_CSI0_RX_D0P  || MIPI_CSI1_RX_D0P  ||  MIPI RX Lane0 iuput P
+
|-
+
|29        || MIPI_CSI0_RX_D0N  || MIPI_CSI1_RX_D0N  ||  MIPI RX Lane0 iuput N
+
|}
+
 
+
* '''10 Pin Debug UART & USB 2.0 排针'''
+
:: Debug UART is 3.3V level signals, 1500000bps
+
::{| class="wikitable"
+
|-
+
|'''Pin#''' ||'''Assignment'''  ||  '''Description '''    ||'''Pin#''' ||'''Assignment'''  ||  '''Description '''
+
|-
+
|1          ||  USB 5V          ||  5V Power Output(1A Max) ||  2        ||    USB 5V        ||  5V Power Output(1A Max)
+
|-
+
|3          || USB_HS2_DM        ||  USB 2.0 Host DM        ||  4        ||  USB_HS3_DM      ||  USB 2.0 Host DM
+
|-
+
|5          || USB_HS2_DP        ||  USB 2.0 Host DP        ||  6        ||  USB_HS3_DP      ||  USB 2.0 Host DP 
+
|-
+
|7          || GND              ||  0V                      ||  8        ||  GND              ||  0V
+
|-
+
|9          || UART2_TX_M0_DEBUG ||  Debug UART TX          ||  10      || UART2_RX_M0_DEBUG || Debug UART RX
+
|}
+
 
+
*'''关于电源'''
+
** 提供2个电源输入接口,分别为5.5*2.1mm DC连接器和2针3.5mm插拔式接线端子。支持5V~20V输入, 推荐使用12V电源。
+
**以下是各个外设接口的电源输出能力。请根据实际使用情况计算实际功耗,总和不能超过35W。注意电源适配器也要有足够的输出功率。
+
::{| class="wikitable"
+
|-
+
|'''Port''' ||'''Max Output'''      ||  '''Port'''  || '''Max Output'''
+
|-
+
|USB-A 3.0  || 5V/2A                || USB-C/DP      || 5V/2A
+
|-
+
|M.2 M-Key  || 3.3V/3A              ||  M.2 E-Key    || 3.3V/3A
+
|-
+
|MIPI-CSI0  || 5V/0.5A              || MIPI-CSI1    || 5V/0.5A
+
|-
+
|MIPI-DSI0  || 5V/1A                || MIPI-DSI1    || 5V/1A
+
|-
+
|40 Pin GPIO|| 5V/0.5A, 3.3V/0.5A  || 10 Pin USB2.0 || 5V/2A
+
|-
+
|USB-A 2.0  || 5V/2A                || '''Total'''        || '''35W'''
+
|}
+
 
+
* '''调试串口(旧版T6 2301)'''
+
:: 3.3V电平, 波特率为1500000bps
+
::{| class="wikitable"
+
|-
+
|'''Pin#''' ||'''Assignment''' ||  '''Description ''' 
+
|-
+
|1    || GND                    || 0V
+
|-
+
|2  || UART2_TX_M0_DEBUG        || output
+
|-
+
|3  || UART2_RX_M0_DEBUG        || intput
+
|}
+
 
+
*'''关于电源(旧版T6 2301)'''
+
** 电源输入接口为5.5*2.1mm DC连接器。支持5V~20V输入, 推荐使用12V电源。
+
** 以下是各个外设接口的电源输出能力。请根据实际使用情况计算实际功耗,总和不能超过35W。注意电源适配器也要有足够的输出功率。
+
::{| class="wikitable"
+
|-
+
|'''Port''' ||'''Max Output'''      ||  '''Port'''  || '''Max Output'''
+
|-
+
|USB-A 3.0  || 5V/2A                ||  USB-C/DP    || 5V/2A
+
|-
+
|M.2 M-Key  || 3.3V/3A              ||  M.2 E-Key    || 3.3V/3A
+
|-
+
|MIPI-CSI0  || 5V/0.5A              || MIPI-CSI1    || 5V/0.5A
+
|-
+
|MIPI-DSI0  || 5V/1A                || MIPI-DSI1    || 5V/1A
+
|-
+
|GPIO      || 5V/0.5A, 3.3V/0.5A  || miniPCIe      || 3.3V/3A
+
|-
+
| Total    || 35W
+
|}
+
 
+
 
+
*'''RTC'''
+
::RTC backup current is 0.25μA TYP (VDD =3.0V, TA =25℃).
+
::Connector P/N: Molex 53398-0271
+
[[File:T6-rtc.png|350px]]
+
 
+
*'''IR receiver'''
+
::Connected to PWM3_IR_M0
+
::38Khz carrier frequency
+
::compatible with NEC protocol, User code is 3B4C
+
::Support FriendlyELEC RC100 IR controller
+
 
+
==快速入门==
+
===准备工作===
+
要开启你的NanoPC-T6新玩具,请先准备好以下硬件
+
* NanoPC-T6主板
+
* 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|NanoPC-T6}}
+
{{BurnLinuxToSD-Rockchip/zh|NanoPC-T6}}
+
{{BurnLinuxToEMMC-Rockchip/zh|NanoPC-T6}}
+
{{RockchipBootPriority/zh|NanoPC-T6}}
+
{{FriendlyWrt21/zh|NanoPC-T6}}
+
==Ubuntu 22.04 (Jammy)桌面系统的使用==
+
===Ubuntu 22.04桌面系统简介===
+
{{UbuntuJammyDesktop-Intro/zh|NanoPC-T6}}
+
{{UbuntuJammyDesktop-Common/zh|NanoPC-T6}}
+
{{UbuntuJammyDesktop-WithHDMI/zh|NanoPC-T6}}
+
{{Android12/zh|NanoPC-T6}}
+
==Debian11 桌面系统的使用==
+
===Debian11桌面系统简介===
+
{{DebianBullseyeDesktop-XFCE-Intro/zh|NanoPC-T6}}
+
{{DebianBullseyeDesktop-XFCE-Common/zh|NanoPC-T6}}
+
{{DebianBullseyeDesktop-XFCE-WithHDMI/zh|NanoPC-T6}}
+
{{DebianBullseyeDesktop-XFCE-HDMIIN/zh|NanoPC-T6}}
+
==Debian10 桌面系统的使用==
+
* Refer to:
+
** [[Debian Buster Desktop/zh|Debian Buster]]
+
==Ubuntu 20.04 (Focal)桌面系统的使用==
+
===Ubuntu 20.04桌面系统简介===
+
{{UbuntuFocalDesktop-Intro/zh|NanoPC-T6}}
+
{{UbuntuFocalDesktop-Common/zh|NanoPC-T6}}
+
{{OfficialUbuntuCore/zh|NanoPC-T6}}
+
{{FriendlyCoreRemoveQt/zh}}
+
==如何编译系统==
+
{{Rockchip-DevEnv/zh|NanoPC-T6}}
+
{{RK3588-BuildFromSource/zh|NanoPC-T6}}
+
{{RK3588-HWAccess/zh|NanoPC-T6}}
+
{{RockchipMiscCustome/zh|RK3588}}
+
{{Template:How to Initialize and Format New SSD And HDD/zh|NanoPC-T6}}
+
{{RockchipCommonLinuxTips/zh|NanoPC-T6}}
+
==性能测试方法==
+
===测试2.5G网口速率===
+
====软件下载====
+
Windows下可以到官网下载 iperf3测速工具: https://iperf.fr/iperf-download.php <br >
+
Linux系统可以用以下命令安装: sudo apt-get install iperf3<br >
+
====开始测速====
+
电脑需要配置2.5G或10G网卡, 用CAT6及以上规格的网线连接电脑到NanoPC-T6的Lan网口, <br>
+
电脑上打开浏览器, 进入FriendlyWrt后台页面, 进入 "服务“ -> “终端”, 登录后输入以下命令启用 iperf3 服务: <br>
+
<syntaxhighlight lang="bash">
+
iperf3 -s -i 2
+
</syntaxhighlight>
+
再打开电脑的终端, 输入以下命令开始测试RX速率:
+
<syntaxhighlight lang="bash">
+
iperf3 -c 192.168.2.1 -i 2 -t 30 -P4
+
</syntaxhighlight>
+
输入以下命令开始测试TX速率:
+
<syntaxhighlight lang="bash">
+
iperf3 -c 192.168.2.1 -i 2 -t 30 -P4 -R
+
</syntaxhighlight>
+
==Link to Rockchip Resources==
+
{{LinkToRockchipResources|NanoPC-T6}}
+
==手册原理图等开发资料==
+
*NanoPC-T6 2301 Schematic: https://wiki.friendlyelec.com/wiki/images/9/97/NanoPC-T6_2301_SCH.PDF
+
*NanoPC-T6 LTS 2310 Schematic: https://wiki.friendlyelec.com/wiki/images/4/44/NanoPC-T6_LTS_2310_SCH.pdf
+
*NanoPC-T6 2301 PCB CAD File:https://wiki.friendlyelec.com/wiki/images/9/90/NanoPC-T6_2301_DXF.zip
+
*NanoPC-T6 LTS 2310 PCB CAD File: https://wiki.friendlyelec.com/wiki/images/0/08/NanoPC-T6_LTS_2310_DXF.zip
+
 
+
==更新日志==
+
{{RK3588-UpdateLog/zh|NanoPC-T6}}
+

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.