Difference between revisions of "APITestPage"

From FriendlyELEC WiKi
Jump to: navigation, search
(updated by API)
(updated by API)
 
(147 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[SOM-RK3399|English]]
 
  
==简介==
+
{{RockchipUnbrick|NanoPC-T4}}
[[File:SOM-RK3399_1904-01B.jpg|thumb|Front]]
+
[[File:SOM-RK3399_1904-A01.jpg|thumb|Back]]
+
[[File:SOM-RK3399_1904-B01.jpg|thumb|Overview]]
+
*SOM-RK3399是友善电子团队设计的一款266-pin金手指形式高性能ARM计算机模块,它采用了瑞心微64位六核SoC RK3399作为主处理器,标配2GB DDR3内存和16GB闪存,板载2x2 MIMO双天线WiFi模组,尺寸只有69.6x50mm,模块上带有独立的TypeC供电接口,以及USB-C显示接口,无需底板也可以单独使用。
+
 
+
*SOM-RK3399计算模块具有丰富的外设和扩展接口,通过底板可连接使用4通道NVMe高速固态硬盘,读写速度高达1GB/s; 它还可以扩展使用双MIPI宽动态摄像头,另外它还带有eDP显示接口,MIPI显示接口, 1路USB3.0, 2路USB2.0, 以及I2C, I2S, SPI, PWM, GPIO和串口等各种资源。
+
 
+
*SOM-RK3399可流畅运行Android 8.1, Ubuntu 18.04, Armbian, Buildroot等主流嵌入式操作系统, 软件资源和生态非常丰富,尤其是Android 8.1具有NN SDK神经网络加速软件包, Qt-5.10集成了VPU硬件编解码, GPU图形加速,可使用QML快速开发流畅的动态式界面,因此SOM-RK3399核心板非常适合中小型企业和初创公司做高端人脸识别,机器视觉,VR虚拟现实,自动驾驶,深度计算分析等方面的人工智能产品快速原型及产品开发。
+
 
+
==硬件特性==
+
* 主控芯片: Rockchip RK3399
+
** CPU: big.LITTLE大小核架构,双Cortex-A72大核(up to 2.0GHz)+四Cortex-A53小核结构(up to 1.5GHz)
+
** GPU: Mali-T864 GPU,支持OpenGL ES1.1/2.0/3.0/3.1, OpenVG1.1, OpenCL, DX11, 支持AFBC(帧缓冲压缩)
+
** VPU: 支持4K VP9 and 4K 10bits H265/H264 视频解码,高达60fps, 双VOP显示等视频编解码功能
+
* 电源管理单元: RK808-D PMIC, 搭配独立DC/DC, 支持动态调压, 软件关机, 按键开机, RTC唤醒, 睡眠唤醒等功能
+
* 内存: 双通道2GB DDR3
+
* Flash: 标配16GB eMMC 5.1闪存,可定制选配32GB/64GB
+
* 有线网络: 集成千兆以太网PHY
+
* Wi-Fi/蓝牙: 802.11a/b/g/n/ac, Bluetooth 4.1 双频Wi-Fi蓝牙模块, 双天线接口
+
* 视频输入:  1个或2个4线MIPI-CSI, 双ISP像素处理能力高达13MPix/s,支持双路摄像头数据同时输入
+
* 视频输出
+
** HDMI: HDMI 2.0a, 支持4K@60Hz显示,支持HDCP 1.4/2.2
+
** DP on Type-C: DisplayPort 1.2 Alt Mode on USB Type-C
+
** LCD Interface: 一个eDP 1.3(4 线,10.8Gbps), 一个或2个4线MIPI-DSI
+
*USB
+
** USB 2.0: 2个独立的原生USB 2.0 Host
+
** USB 3.0: 1个原生USB 3.0 Host
+
** USB Type-C: 支持USB3.0 Type-C 和 DisplayPort 1.2 Alt Mode on USB Type-C
+
* PCIe: PCIe x4, compatible with PCIe 2.1, Dual operation mode
+
* SDIO/MMC: 一路SDIO/MMC, 用来扩展SD卡
+
* 调试串口: 一路调试串口 UART, 3V level, 1500000bps
+
* 按键: PowerKey, Reset, Recovery 各一个
+
* LED指示灯: 一个电源LED ,一个GPIO控制的状态LED
+
* 其它资源
+
** 2 X 1.8V I2C, 1 x 3V I2C
+
** 1 x 3V UART/SPI
+
** 2 x PWM
+
** 1 x IR-RX
+
** 1 x SPDIF_TX
+
** 1 x 1.8V 8ch-I2S,
+
** 6 x 1.8V GPIO, 8 x 3V GPIO
+
** 3 x 1.8V ADC inputs
+
* 供电: DC12V/1A(金手指), Type-C:DC5V/2.5A(Type-C)
+
* PCB: 8层沉金工艺, 50 mm x 69.6 mm x 1.2mm, 260 Pin金手指接口
+
* 环境工作温度: -20℃ to 70℃
+
 
+
==软件资源和特性==
+
 
+
==布局和引脚定义==
+
[[File:SOM-RK3399_1904-layout.jpg|600px]]
+
* '''260 Pin 金手指定义'''
+
**匹配的卡槽型号:0.5mm Pitch 260-Pin '''Standard Type''' DDR4 SODIMM Socket, 参考型号:https://www.te.com/usa-en/product-2309409-5.html
+
{| class="wikitable"
+
! colspan="5" style="font-weight:bold; background-color:#68cbd0;" | Top
+
! colspan="5" style="font-weight:bold; background-color:#68cbd0;" | Bottom
+
|-
+
| style="font-weight:bold;" | Pin#
+
| style="font-weight:bold;" | Assignment
+
| style="font-weight:bold;" | Pin Type
+
| style="font-weight:bold;" | If Not Use
+
| style="font-weight:bold;" | Description
+
| style="font-weight:bold;" | Pin#
+
| style="font-weight:bold;" | Assignment
+
| style="font-weight:bold;" | Pin Type
+
| style="font-weight:bold;" | If Not Use
+
| style="font-weight:bold;" | Description
+
|-
+
| 1
+
| style="background-color:#9a0000; color:#333333;" | VCC_IN
+
| Power IN
+
| /
+
| rowspan="4" | 12V Power Input
+
| 2
+
| style="background-color:#9a0000;" | VCC_IN
+
| Power IN
+
| /
+
| rowspan="4" | 12V Power Input
+
|-
+
| 3
+
| style="background-color:#9a0000; color:#333333;" | VCC_IN
+
| Power IN
+
| /
+
| 4
+
| style="background-color:#9a0000;" | VCC_IN
+
| Power IN
+
| /
+
|-
+
| 5
+
| style="background-color:#9a0000; color:#333333;" | VCC_IN
+
| Power IN
+
| /
+
| 6
+
| style="background-color:#9a0000;" | VCC_IN
+
| Power IN
+
| /
+
|-
+
| 7
+
| style="background-color:#9a0000; color:#333333;" | VCC_IN
+
| Power IN
+
| /
+
| 8
+
| style="background-color:#9a0000;" | VCC_IN
+
| Power IN
+
| /
+
|-
+
| 9
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| rowspan="2" | System Ground(0V)
+
| 10
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| rowspan="2" | System Ground(0V)
+
|-
+
| 11
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| 12
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
|-
+
| 13
+
| style="background-color:#cb0000;" | VCC5V0_SYS
+
| Power OUT
+
| float
+
| rowspan="4" | 5V Power Output,2A max. Auto on when system power on, and off when system power off.
+
| 14
+
| PWR_KEY
+
| In
+
| float
+
| System Power Key signal, active low, internal pulled up to 3.3V with 10K
+
|-
+
| 15
+
| style="background-color:#cb0000;" | VCC5V0_SYS
+
| Power OUT
+
| float
+
| 16
+
| VDC_ONOFF
+
| In
+
| float
+
| Power On Mode Select, float for Auto Start,short to GND for PowerKey Mode
+
|-
+
| 17
+
| style="background-color:#cb0000;" | VCC5V0_SYS
+
| Power OUT
+
| float
+
| 18
+
| RTC_BATT_IN
+
| Power IN
+
| float
+
| RTC backup battery(3V)input,backup current is 25uA
+
|-
+
| 19
+
| style="background-color:#cb0000;" | VCC5V0_SYS
+
| Power OUT
+
| float
+
| 20
+
| RECOVERY
+
| In
+
| float
+
| System RECOVERY Key signal,acticve low
+
|-
+
| 21
+
| style="background-color:#fe0000;" | VCC3V3_SYS
+
| Power OUT
+
| float
+
| rowspan="4" | 3.3V Power Output,1A max. Auto on when system power on, and off when system power off.
+
| 22
+
| RESET_IN_H
+
| In
+
| float
+
| RESET signal, acticve hight
+
|-
+
| 23
+
| style="background-color:#fe0000;" | VCC3V3_SYS
+
| Power OUT
+
| float
+
| 24
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 25
+
| style="background-color:#fe0000;" | VCC3V3_SYS
+
| Power OUT
+
| float
+
| 26
+
| style="background-color:#fffc9e;" | ADC_IN0
+
| In
+
| float
+
| rowspan="3" | 0V to 1.8V inputs of RK3399 SoC ADC
+
|-
+
| 27
+
| style="background-color:#fe0000;" | VCC3V3_SYS
+
| Power OUT
+
| float
+
| 28
+
| style="background-color:#fffc9e;" | ADC_IN2
+
| In
+
| float
+
|-
+
| 29
+
| style="background-color:#f56b00;" | VCC_1V8
+
| Power OUT
+
| float
+
| rowspan="2" | 1.8V Power Output,200mA max. Auto on when system power on, and off when system power off.
+
| 30
+
| style="background-color:#fffc9e;" | ADC_IN3
+
| In
+
| float
+
|-
+
| 31
+
| style="background-color:#f56b00;" | VCC_1V8
+
| Power OUT
+
| float
+
| 32
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 33
+
| style="background-color:#f56b00;" | VCC3V3_S3
+
| Power OUT
+
| float
+
| 3.3V Power Output,100mA max. Auto on when system power on, and off when system sleep or power off.
+
| 34
+
| style="background-color:#34cdf9;" | GPIO1_A0
+
| In/Out
+
| float
+
| 3V GPIO. Linux GPIO 32
+
|-
+
| 35
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 36
+
| style="background-color:#34cdf9;" | GPIO1_A1
+
| In/Out
+
| float
+
| 3V GPIO. Linux GPIO 33
+
|-
+
| 37
+
| style="background-color:#dae8fc;" | GPIO0_A2
+
| In/Out
+
| float
+
| 1.8V GPIO. Linux GPIO 2
+
| 38
+
| style="background-color:#34cdf9;" | GPIO1_A3
+
| In/Out
+
| float
+
| 3V GPIO. Linux GPIO 35
+
|-
+
| 39
+
| style="background-color:#dae8fc;" | GPIO2_A2
+
| In/Out
+
| float
+
| 1.8V GPIO. Linux GPIO 2
+
| 40
+
| style="background-color:#34cdf9;" | GPIO1_A4
+
| In/Out
+
| float
+
| 3V GPIO. Linux GPIO 36
+
|-
+
| 41
+
| style="background-color:#dae8fc;" | GPIO2_A3
+
| In/Out
+
| float
+
| 1.8V GPIO. Linux GPIO 67
+
| 42
+
| style="background-color:#34cdf9;" | GPIO1_C2
+
| In/Out
+
| float
+
| 3V GPIO . Linux GPIO 50
+
|-
+
| 43
+
| style="background-color:#dae8fc;" | GPIO2_A4
+
| In/Out
+
| float
+
| 1.8V GPIO. Linux GPIO 68
+
| 44
+
| style="background-color:#34cdf9;" | GPIO1_C6
+
| In/Out
+
| float
+
| 3V GPIO. Linux GPIO 54
+
|-
+
| 45
+
| style="background-color:#dae8fc;" | GPIO2_A5
+
| In/Out
+
| float
+
| 1.8V GPIO. Linux GPIO 69
+
| 46
+
| style="background-color:#34cdf9;" | GPIO1_C7
+
| In/Out
+
| float
+
| 3V GPIO . Linux GPIO 55
+
|-
+
| 47
+
| style="background-color:#dae8fc;" | GPIO2_A6
+
| In/Out
+
| float
+
| 1.8V GPIO. Linux GPIO 70
+
| 48
+
| style="background-color:#34cdf9;" | GPIO1_D0
+
| In/Out
+
| float
+
| 3V GPIO . Linux GPIO 56
+
|-
+
| 49
+
| style="background-color:#dae8fc;" | IR_RX
+
| In
+
| float
+
| Infrared Receiver input, 1.8V level
+
| 50
+
| style="background-color:#34cdf9;" | GPIO4_C5/SPDIF_TX
+
| In/Out
+
| float
+
| 3V GPIO . Linux GPIO 149. or SPDIF Output
+
|-
+
| 51
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 52
+
| style="background-color:#34cdf9;" | UART2DBG_TX
+
| Out
+
| float
+
| Debug UART TX, 1500000bps, 3V level
+
|-
+
| 53
+
| style="background-color:#96fffb;" | I2C1_SCL
+
| Out
+
| float
+
| I2C1 clock, 1.8V level, open drian with 2.2K pulled internal
+
| 54
+
| style="background-color:#34cdf9;" | UART2DBG_RX
+
| In
+
| float
+
| Debug UART RX, 1500000bps, 3V level
+
|-
+
| 55
+
| style="background-color:#96fffb;" | I2C1_SDA
+
| In/Out
+
| float
+
| I2C1 data, 1.8V level, open drian with 2.2K pulled internal
+
| 56
+
| style="background-color:#34cdf9;" | SPI1_CSn0
+
| Out
+
| float
+
| SPI1 chip select, 3V level
+
|-
+
| 57
+
| style="background-color:#96fffb;" | I2C2_SDA
+
| In/Out
+
| float
+
| I2C2 data, 1.8V level, open drian with 2.2K pulled internal
+
| 58
+
| style="background-color:#34cdf9;" | SPI1_TXD/UART4_TX
+
| Out
+
| float
+
| SPI1 MOSI, or UART4 TX,3V level
+
|-
+
| 59
+
| style="background-color:#96fffb;" | I2C2_SCL
+
| Out
+
| float
+
| I2C2 clock, 1.8V level, open drian with 2.2K pulled internal
+
| 60
+
| style="background-color:#34cdf9;" | SPI1_RXD/UART4_RX
+
| In
+
| float
+
| SPI1 MISO, or UART4 RX,3V level
+
|-
+
| 61
+
| style="background-color:#96fffb;" | I2C7_SCL_HDMI
+
| Out
+
| float
+
| I2C7 clock, 1.8V level, for HDMI EDID CLK, open drian with 2.2K pulled internal
+
| 62
+
| style="background-color:#34cdf9;" | SPI1_CLK
+
| Out
+
| float
+
| SPI1 Clock, 3V level
+
|-
+
| 63
+
| style="background-color:#96fffb;" | I2C7_SDA_HDMI
+
| In/Out
+
| float
+
| I2C7 data, 1.8V level, for HDMI EDID DATA, open drian with 2.2K pulled internal
+
| 64
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 65
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 66
+
| style="background-color:#34cdf9;" | GPIO4_C1/I2C3_SCL
+
| In/Out
+
| float
+
| I2C3 clock, 3V level,open drian. or GPIO,Linux GPIO 145
+
|-
+
| 67
+
| style="background-color:#96fffb;" | I2S0_SCLK
+
| Out
+
| float
+
| I2S0 continuous serial clock, 1.8V level
+
| 68
+
| style="background-color:#34cdf9;" | GPIO4_C0/I2C3_SDA
+
| In/Out
+
| float
+
| I2C3 data, 3V level,open drian. or GPIO,Linux GPIO 144
+
|-
+
| 69
+
| style="background-color:#96fffb;" | I2S0_LRCK_RX
+
| Out
+
| float
+
| I2S0 word select for input data, 1.8V level
+
| 70
+
| style="background-color:#34cdf9;" | I2C4_TPSCL
+
| Out
+
| float
+
| I2C4 clock,3V level, open drian with 2.2K pulled up,for touch panel
+
|-
+
| 71
+
| style="background-color:#96fffb;" | I2S0_LRCK_TX
+
| Out
+
| float
+
| I2S0 word select for output data, 1.8V level
+
| 72
+
| style="background-color:#34cdf9;" | I2C4_TPSDA
+
| In/Out
+
| float
+
| I2C4 data,3V level, open drian with 2.2K pulled up,for touch panel
+
|-
+
| 73
+
| style="background-color:#96fffb;" | I2S0_SDI0
+
| In
+
| float
+
| I2S0 serial data, 1.8V level
+
| 74
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 75
+
| style="background-color:#96fffb;" | I2S0_SDI1SDO3
+
| In/out
+
| float
+
| I2S0 serial data, 1.8V level
+
| 76
+
| style="background-color:#34cdf9;" | HP_DET_H
+
| In
+
| Pull up to VCC3V3_SYS
+
| headphone insert detect, active hight
+
|-
+
| 77
+
| style="background-color:#96fffb;" | I2S0_SDI2SDO2
+
| In/out
+
| float
+
| I2S0 serial data, 1.8V level
+
| 78
+
| style="background-color:#34cdf9;" | GPIO4_D5_LCD_BL_EN
+
| Out
+
| float
+
| LCD backlight on/off control, active hight, 3V level
+
|-
+
| 79
+
| style="background-color:#96fffb;" | I2S0_SDI3SDO1
+
| In/out
+
| float
+
| I2S0 serial data, 1.8V level
+
| 80
+
| style="background-color:#34cdf9;" | GPIO4_D6_LCD_RST_H
+
| Out
+
| float
+
| LCD reset, active hight, 3V level.
+
|-
+
| 81
+
| style="background-color:#96fffb;" | I2S0_SDO0
+
| out
+
| float
+
| I2S0 serial data, 1.8V level
+
| 82
+
| style="background-color:#34cdf9;" | GPIO1_B5_TP_RST
+
| Out
+
| float
+
| Touch panel reset, active low, 3V level
+
|-
+
| 83
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 84
+
| style="background-color:#34cdf9;" | GPIO1_C4_TP_INT
+
| In
+
| float
+
| Touch panel IRQ, active low, 3V level
+
|-
+
| 85
+
| style="background-color:#96fffb;" | I2S_CLK
+
| out
+
| float
+
| I2S Mclk for I2S0 and I2S1
+
| 86
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 87
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 88
+
| style="background-color:#34cdf9;" | PWM0_BL
+
| Out
+
| float
+
| PWM0 for LCD backlight dimming
+
|-
+
| 89
+
| style="background-color:#96fffb;" | I2S1_SCLK
+
| Out
+
| float
+
| I2S1 continuous serial clock, 1.8V level
+
| 90
+
| style="background-color:#34cdf9;" | GPIO4_C6/PWM1
+
| Out
+
| float
+
| PWM1 for cooling fan control
+
|-
+
| 91
+
| style="background-color:#96fffb;" | 2S1_LRCK_RX
+
| Out
+
| float
+
| I2S1 word select for input data, 1.8V level
+
| 92
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 93
+
| style="background-color:#96fffb;" | I2S1_LRCK_TX
+
| Out
+
| float
+
| I2S1 word select for output data, 1.8V level
+
| 94
+
| style="background-color:#f56b00;" | VCC3V0_SD
+
| Power Out
+
| float
+
| 3V power out for SD card.
+
|-
+
| 95
+
| style="background-color:#96fffb;" | I2S1_SDI0
+
| In
+
| float
+
| I2S0 serial data, 1.8V level
+
| 96
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 97
+
| style="background-color:#96fffb;" | I2S1_SDO0
+
| Out
+
| float
+
| I2S0 serial data, 1.8V level
+
| 98
+
| style="background-color:#96fffb;" | SDMMC0_D0
+
| In/Out
+
| float
+
| SD card Data0
+
|-
+
| 99
+
| style="background-color:#96fffb;" | MIPI_CSI0_RST
+
| Out
+
| float
+
| Camera Reset for MIPI CSI0, 1.8V level
+
| 100
+
| style="background-color:#96fffb;" | SDMMC0_D1
+
| In/Out
+
| float
+
| SD card Data1
+
|-
+
| 101
+
| style="background-color:#96fffb;" | MIPI_CSI0_PWN
+
| Out
+
| float
+
| Camera Power Down for MIPI CSI0, 1.8V level
+
| 102
+
| style="background-color:#96fffb;" | SDMMC0_D2
+
| In/Out
+
| float
+
| SD card Data2
+
|-
+
| 103
+
| style="background-color:#96fffb;" | MIPI_CSI1_RST
+
| Out
+
| float
+
| Camera Reset for MIPI CSI1, 1.8V level
+
| 104
+
| style="background-color:#96fffb;" | SDMMC0_D3
+
| In/Out
+
| float
+
| SD card Data3
+
|-
+
| 105
+
| style="background-color:#96fffb;" | MIPI_CSI1_PWN
+
| Out
+
| float
+
| Camera Power Down for MIPI CSI1, 1.8V level
+
| 106
+
| style="background-color:#96fffb;" | SDMMC0_CMD
+
| Out
+
| float
+
| SD card CMD
+
|-
+
| 107
+
| style="background-color:#f56b00;" | VCC1V8_CAM
+
| Power Out
+
| float
+
| Power Out for Camera IO
+
| 108
+
| style="background-color:#96fffb;" | SDMMC0_DET_L
+
| In
+
| float
+
| SD card detect
+
|-
+
| 109
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 110
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 111
+
| style="background-color:#96fffb;" | GPIO2_B3_CIF_CLKOUTA
+
| Out
+
| float
+
| MCLK for camera sensor
+
| 112
+
| style="background-color:#96fffb;" | SDMMC0_CLK
+
| Out
+
| float
+
| SD card Clock
+
|-
+
| 113
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 114
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 115
+
| style="background-color:#329a9d;" | MIPI_RX0_D3N
+
| In
+
| float
+
| MIPI CSI0 negative differential data line
+
| 116
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D0N
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1 negative differential data line
+
|-
+
| 117
+
| style="background-color:#329a9d;" | MIPI_RX0_D3P
+
| In
+
| float
+
| MIPI CSI0
+
positive differential data line
+
| 118
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D0P
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1
+
positive differential data line
+
|-
+
| 119
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 120
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 121
+
| style="background-color:#329a9d;" | MIPI_RX0_D2N
+
| In
+
| float
+
| MIPI CSI0 negative differential data line
+
| 122
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D1N
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1 negative differential data line
+
|-
+
| 123
+
| style="background-color:#329a9d;" | MIPI_RX0_D2P
+
| In
+
| float
+
| MIPI CSI0
+
 
+
positive differential data line
+
| 124
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D1P
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1
+
positive differential data line
+
|-
+
| 125
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 126
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 127
+
| style="background-color:#329a9d;" | MIPI_RX0_CLKN
+
| In
+
| float
+
| MIPI CSI0 negative differential clock line
+
| 128
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_CLKN
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1 negative differential clock line
+
|-
+
| 129
+
| style="background-color:#329a9d;" | MIPI_RX0_CLKP
+
| In
+
| float
+
| MIPI CSI0
+
 
+
positive differential clock line
+
| 130
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_CLKP
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1
+
positive differential clock line
+
|-
+
| 131
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 132
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 133
+
| style="background-color:#329a9d;" | MIPI_RX0_D1N
+
| In
+
| float
+
| MIPI CSI0 negative differential data line
+
| 134
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D2N
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1 negative differential data line
+
|-
+
| 135
+
| style="background-color:#329a9d;" | MIPI_RX0_D1P
+
| In
+
| float
+
| MIPI CSI0
+
 
+
positive differential data line
+
| 136
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D2P
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1
+
positive differential data line
+
|-
+
| 137
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 138
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 139
+
| style="background-color:#329a9d;" | MIPI_RX0_D0N
+
| In
+
| float
+
| MIPI CSI0 negative differential data line
+
| 140
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D3N
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1 negative differential data line
+
|-
+
| 141
+
| style="background-color:#329a9d;" | MIPI_RX0_D0P
+
| In
+
| float
+
| MIPI CSI0
+
positive differential data line
+
| 142
+
| style="background-color:#329a9d;" | MIPI_TX1/RX1_D3P
+
| In/Out
+
| float
+
| MIPI CSI1/DSI1
+
positive differential data line
+
|-
+
| 143
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 144
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| style="background-color:#9698ed;" |
+
| rowspan="2" colspan="4" style="font-weight:bold; background-color:#9698ed; color:#ffffff;" | Connector Key
+
| style="background-color:#9698ed;" |
+
| rowspan="2" colspan="4" style="font-weight:bold; background-color:#9698ed; color:#ffffff;" | Connector Key
+
|-
+
| style="background-color:#9698ed;" |
+
| style="background-color:#9698ed;" |
+
|-
+
| 145
+
| style="background-color:#34cdf9;" | HDMI_CEC
+
| In/Out
+
| float
+
| HDMI CEC signal, 3V level
+
| 146
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 147
+
| style="background-color:#34cdf9;" | HDMI_HPD
+
| In
+
| float
+
| HDMI hot plug
+
| 148
+
| style="background-color:#329a9d;" | MIPI_TX0_D3N
+
| Out
+
| float
+
| MIPI DSI0 negetive differential data line
+
|-
+
| 149
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 150
+
| style="background-color:#329a9d;" | MIPI_TX0_D3P
+
| Out
+
| float
+
| MIPI DSI0 positive differential data line
+
|-
+
| 151
+
| style="background-color:#329a9d;" | HDMI_TXCN
+
| Out
+
| float
+
| HDMI differential clock line negative
+
| 152
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 153
+
| style="background-color:#329a9d;" | HDMI_TXCP
+
| Out
+
| float
+
| HDMI differential clock line positive
+
| 154
+
| style="background-color:#329a9d;" | MIPI_TX0_D2N
+
| Out
+
| float
+
| MIPI DSI0 negetive differential data line
+
|-
+
| 155
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 156
+
| style="background-color:#329a9d;" | MIPI_TX0_D2P
+
| Out
+
| float
+
| MIPI DSI0 positive differential data line
+
|-
+
| 157
+
| style="background-color:#329a9d;" | HDMI_TX0N
+
| Out
+
| float
+
| HDMI differential data line negative
+
| 158
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 159
+
| style="background-color:#329a9d;" | HDMI_TX0P
+
| Out
+
| float
+
| HDMI differential data line positive
+
| 160
+
| style="background-color:#329a9d;" | MIPI_TX0_CLKN
+
| Out
+
| float
+
| MIPI DSI0 negetive differential clock line
+
|-
+
| 161
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 162
+
| style="background-color:#329a9d;" | MIPI_TX0_CLKP
+
| Out
+
| float
+
| MIPI DSI0 positive differential clock line
+
|-
+
| 163
+
| style="background-color:#329a9d;" | HDMI_TX1N
+
| Out
+
| float
+
| HDMI differential data line negative
+
| 164
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 165
+
| style="background-color:#329a9d;" | HDMI_TX1P
+
| Out
+
| float
+
| HDMI differential data line positive
+
| 166
+
| style="background-color:#329a9d;" | MIPI_TX0_D1N
+
| Out
+
| float
+
| MIPI DSI0 negetive differential data line
+
|-
+
| 167
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 168
+
| style="background-color:#329a9d;" | MIPI_TX0_D1P
+
| Out
+
| float
+
| MIPI DSI0 positive differential data line
+
|-
+
| 169
+
| style="background-color:#329a9d;" | HDMI_TX2N
+
| Out
+
| float
+
| HDMI differential data line negative
+
| 170
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 171
+
| style="background-color:#329a9d;" | HDMI_TX2P
+
| Out
+
| float
+
| HDMI differential data line positive
+
| 172
+
| style="background-color:#329a9d;" | MIPI_TX0_D0N
+
| Out
+
| float
+
| MIPI DSI0 negetive differential data line
+
|-
+
| 173
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 174
+
| style="background-color:#329a9d;" | MIPI_TX0_D0P
+
| Out
+
| float
+
| MIPI DSI0 positive differential data line
+
|-
+
| 175
+
| style="background-color:#329a9d;" | USB3.0/TYPE-C1_DP
+
| In/Out
+
| float
+
| TYPEC1 USB 2.0 data+
+
| 176
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 177
+
| style="background-color:#329a9d;" | USB3.0/TYPE-C1_DM
+
| In/Out
+
| float
+
| TYPEC1 USB 2.0 data-
+
| 178
+
| style="background-color:#329a9d;" | PCIE_RX3_N
+
| In
+
| float
+
| PCIe negative differential data line
+
|-
+
| 179
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 180
+
| style="background-color:#329a9d;" | PCIE_RX3_P
+
| In
+
| float
+
| PCIe positive differential data line
+
|-
+
| 181
+
| style="background-color:#329a9d;" | USB3.0/TYPEC1_TX1P
+
| Out
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed TX1P
+
| 182
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 183
+
| style="background-color:#329a9d;" | USB3.0/TYPEC1_TX1M
+
| Out
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed TX1M
+
| 184
+
| style="background-color:#329a9d;" | PCIE_TX3N
+
| Out
+
| float
+
| PCIe negative differential data line
+
|-
+
| 185
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 186
+
| style="background-color:#329a9d;" | PCIE_TX3P
+
| Out
+
| float
+
| PCIe positive differential data line
+
|-
+
| 187
+
| style="background-color:#329a9d;" | USB3.0/TYPEC1_RX1P
+
| In
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed RX1P
+
| 188
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 189
+
| style="background-color:#329a9d;" | USB3.0/TYPEC1_RX1M
+
| In
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed RX1M
+
| 190
+
| style="background-color:#329a9d;" | PCIE_RX2_N
+
| In
+
| float
+
| PCIe negative differential data line
+
|-
+
| 191
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 192
+
| style="background-color:#329a9d;" | PCIE_RX2_P
+
| In
+
| float
+
| PCIe positive differential data line
+
|-
+
| 193
+
| style="background-color:#329a9d;" | TYPEC1_TX2P
+
| Out
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed TX2P
+
| 194
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 195
+
| style="background-color:#329a9d;" | TYPEC1_TX2M
+
| Out
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed TX2M
+
| 196
+
| style="background-color:#329a9d;" | PCIE_TX2N
+
| Out
+
| float
+
| PCIe negative differential data line
+
|-
+
| 197
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 198
+
| style="background-color:#329a9d;" | PCIE_TX2P
+
| Out
+
| float
+
| PCIe positive differential data line
+
|-
+
| 199
+
| style="background-color:#329a9d;" | TYPEC1_RX2P
+
| In
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed RX2P
+
| 200
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 201
+
| style="background-color:#329a9d;" | TYPEC1_RX2M
+
| In
+
| float
+
| TYPEC1 USB3.0 PHY0 SuperSpeed RX2M
+
| 202
+
| style="background-color:#329a9d;" | PCIE_RX1_N
+
| In
+
| float
+
| PCIe negative differential data line
+
|-
+
| 203
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 204
+
| style="background-color:#329a9d;" | PCIE_RX1_P
+
| In
+
| float
+
| PCIe positive differential data line
+
|-
+
| 205
+
| style="background-color:#329a9d;" | TYPEC1_SBU1
+
| In/Out
+
| float
+
| TYPEC1 SBU1
+
| 206
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 207
+
| style="background-color:#329a9d;" | TYPEC1_SBU2
+
| In/Out
+
| float
+
| TYPEC1 SBU2
+
| 208
+
| style="background-color:#329a9d;" | PCIE_TX1N
+
| Out
+
| float
+
| PCIe negative differential data line
+
|-
+
| 209
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 210
+
| style="background-color:#329a9d;" | PCIE_TX1P
+
| Out
+
| float
+
| PCIe positive differential data line
+
|-
+
| 211
+
| TYPEC1_SBU1_DC
+
| Out
+
| float
+
| TYPEC1 SBU1 DC Bias
+
| 212
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 213
+
| TYPEC1_SBU2_DC
+
| Out
+
| float
+
| TYPEC1 SBU2 DC Bias
+
| 214
+
| style="background-color:#329a9d;" | PCIE_RX0_N
+
| In
+
| float
+
| PCIe negative differential data line
+
|-
+
| 215
+
| TYPEC1_U2VBUSDET
+
| In
+
| float
+
| TYPEC1 Vbus detect
+
| 216
+
| style="background-color:#329a9d;" | PCIE_RX0_P
+
| In
+
| float
+
| PCIe positive differential data line
+
|-
+
| 217
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 218
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 219
+
| style="background-color:#329a9d;" | HOST0_DP
+
| In/Out
+
| float
+
| USB 2.0 Host0 data+
+
| 220
+
| style="background-color:#329a9d;" | PCIE_TX0N
+
| Out
+
| float
+
| PCIe negative differential data line
+
|-
+
| 221
+
| style="background-color:#329a9d;" | HOST0_DM
+
| In/Out
+
| float
+
| USB 2.0 Host0 data-
+
| 222
+
| style="background-color:#329a9d;" | PCIE_TX0P
+
| Out
+
| float
+
| PCIe positive differential data line
+
|-
+
| 223
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 224
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 225
+
| style="background-color:#329a9d;" | HOST1_DP
+
| In/Out
+
| float
+
| USB 2.0 Host1 data+
+
| 226
+
| style="background-color:#329a9d;" | PCIE_REF_CLKN
+
| Out
+
| float
+
| PCIe negative differential reference clock line
+
|-
+
| 227
+
| style="background-color:#329a9d;" | HOST1_DM
+
| In/Out
+
| float
+
| USB 2.0 Host1 data-
+
| 228
+
| style="background-color:#329a9d;" | PCIE_REF_CLKP
+
| Out
+
| float
+
| PCIe positive differential reference clock line
+
|-
+
| 229
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 230
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 231
+
| style="background-color:#329a9d;" | EDP_TX3N
+
| Out
+
| float
+
| eDP data line negative
+
| 232
+
| LAN_LED0_BLINK
+
| Out
+
| float
+
| 10/100/1000M Ethernet Status LED0
+
|-
+
| 233
+
| style="background-color:#329a9d;" | EDP_TX3P
+
| Out
+
| float
+
| eDP data line positive
+
| 234
+
| LAN_LED1_LINK
+
| Out
+
| float
+
| 10/100/1000M Ethernet Status LED1
+
|-
+
| 235
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 236
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 237
+
| style="background-color:#329a9d;" | EDP_TX2N
+
| Out
+
| float
+
| eDP data line negative
+
| 238
+
| style="background-color:#329a9d;" | MDI3-
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI3-
+
|-
+
| 239
+
| style="background-color:#329a9d;" | EDP_TX2P
+
| Out
+
| float
+
| eDP data line positive
+
| 240
+
| style="background-color:#329a9d;" | MDI3+
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI3+
+
|-
+
| 241
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 242
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 243
+
| style="background-color:#329a9d;" | EDP_TX1N
+
| Out
+
| float
+
| eDP data line negative
+
| 244
+
| style="background-color:#329a9d;" | MDI2-
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI2-
+
|-
+
| 245
+
| style="background-color:#329a9d;" | EDP_TX1P
+
| Out
+
| float
+
| eDP data line positive
+
| 246
+
| style="background-color:#329a9d;" | MDI2+
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI2+
+
|-
+
| 247
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 248
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 249
+
| style="background-color:#329a9d;" | EDP_TX0N
+
| Out
+
| float
+
| eDP data line negative
+
| 250
+
| style="background-color:#329a9d;" | MDI1-
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI1-
+
|-
+
| 251
+
| style="background-color:#329a9d;" | EDP_TX0P
+
| Out
+
| float
+
| eDP data line positive
+
| 252
+
| style="background-color:#329a9d;" | MDI1+
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI1+
+
|-
+
| 253
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 254
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|-
+
| 255
+
| style="background-color:#329a9d;" | EDP_AUXP
+
| In/Out
+
| float
+
| eDP AUX line positive
+
| 256
+
| style="background-color:#329a9d;" | MDI0-
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI0-
+
|-
+
| 257
+
| style="background-color:#329a9d;" | EDP_AUXN
+
| In/Out
+
| float
+
| eDP AUX line negative
+
| 258
+
| style="background-color:#329a9d;" | MDI0+
+
| In/Out
+
| float
+
| 10/100/1000M Ethernet MDI0+
+
|-
+
| 259
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
| 260
+
| style="background-color:#00ff00;" | GND
+
| Power
+
| /
+
| System Ground(0V)
+
|}
+
 
+
* '''按键'''
+
**三个按键分别是电源按键, 系统还原和复位。此3个按键相应的信号也存在于260Pin金手指上。
+
 
+
* '''LED'''
+
** 一个红色的电源LED和一个绿色的状态LED
+
 
+
* '''USB Type-C接口'''
+
**一个全功能USB-C接口,支持DP,支持USB2.0和USB3.0数据传输,可向外输出5V/2A电源,但不可外接电源给板子供电。支持DRP和安卓ADB调试。因为USB3.0模式下不支持ADB,所以,当使用ADB功能时,请连接到PC的USB2.0端口,或使用只具备USB2.0功能的数据线连接板子和PC。
+
**另外一个USB Type-C 5V_IN接口只有给板子供电的功能,用于不接底板快速测试板子。
+
 
+
* '''电源输入'''
+
**支持从金手指和USB Type-C 5V_IN接口给核心板供电,支持5V到20V宽电压输入,推荐12V。我们运行安兔兔测试程序时,测量到的最大功耗是10.8W, 建议按12W设计。
+
**设计底板时,建议在电源输入处添加100uF/16V,或100uF/35V电解电容, 以减少电源振铃和提供瞬态电流。
+
 
+
==参考底板==
+
*'''SOM-RK3399 Dev Kit''' [[SOM-RK3399 Dev Kit/zh|点击跳转到底板介绍页面]]'''
+
[[File:SOM-RK3399 Dev Kit 1904-layout.jpg|800px]]
+
 
+
==快速入门==
+
===准备工作===
+
要开启你的SOM-RK3399,请先准备好以下硬件:
+
* SOM-RK3399主板
+
* Type-C数据线
+
* TF卡: Class10或以上的8GB microSD卡
+
* USB转串口适配器(可选,用于调试或PC上进行操作)
+
* 一个DC接口的外接电源,要求输出为12V/2A
+
* 一台支持HDMI输入的显示器或者电视(或选购LCD配件)
+
* 一套USB键盘鼠标,同时连接更多USB的设备时还需要USB HUB
+
* 一台电脑,需要联网,建议使用<b>Ubuntu 18.04 64位系统</b>
+
 
+
{{RK3399-BurnOS-To-EMMC/zh|SOM-RK3399}}
+
{{RK3399-BurnOS-with-TypeC/zh|SOM-RK3399}}
+
{{RK3399-BootFromSDCard/zh|SOM-RK3399}}
+
{{RK3399-DebugPort/zh|SOM-RK3399}}
+
==FriendlyDesktop系统的使用==
+
{{FriendlyDesktop-Intro/zh|SOM-RK3399}}
+
{{FriendlyDesktop-Contents/zh|SOM-RK3399}}
+
===FriendlyDesktop下使用NVME SSD===
+
请参考: [[Template:RK3399 Linux Using NVME SSD|Linux-Using-NVME-SSD]]<br />
+
{{FriendlyCoreGeneral/zh|SOM-RK3399}}
+
{{FriendlyCoreRunX11Application/zh|SOM-RK3399}}
+
{{RK3399 Linux mpv/zh|SOM-RK3399}}
+
==同时适用于FriendlyDesktop与FriendlyCore系统的功能特性==
+
{{Linux-RK3399MIPICamera/zh|SOM-RK3399}}
+
{{RK3399-Linux-Install-Docker/zh|SOM-RK3399}}
+
{{RK3399 Linux FFmpeg/zh|SOM-RK3399}}
+
{{RK3399 Linux Using NVME SSD/zh|SOM-RK3399}}
+
{{RK3399 Linux PWMFan/zh|SOM-RK3399}}
+
===Linux下使用4G EC20模块===
+
请参考: [[How to use 4G Module on NanoPC-T4/zh]]<br />
+
==Buildroot Linux系统的使用==
+
{{RK3399 Buildroot Intro/zh|SOM-RK3399}}
+
<br />
+
关于Buildroot系统更详细的说明,请参考: [[Buildroot for RK3399/zh|Buildroot for RK3399]]<br />
+
==Lubuntu 系统的使用==
+
看这里: [[Lubuntu desktop 16.04 for RK3399/zh]]<br />
+
Lubuntu下使用NVME SSD: [[Template:RK3399 Linux Using NVME SSD/zh|Linux-Using-NVME-SSD]]<br />
+
{{RK3399-Android8/zh|SOM-RK3399}}
+
{{RK3399-Android-RemoteController/zh|SOM-RK3399}}
+
{{RK3399-Android-USBCamera/zh|SOM-RK3399}}
+
{{RK3399-Android-4G-EC20/zh|SOM-RK3399}}
+
{{RK3399-Android-SSD/zh|SOM-RK3399}}
+
{{RK3399 Android PWMFan/zh|SOM-RK3399}}
+
==Android7.1 系统的使用==
+
看这里: [[RK3399-Android7|Android7]]
+
{{RK3399-BuildFromSource/zh|SOM-RK3399}}
+
{{RK3399-HWAccess/zh|SOM-RK3399}}
+
{{RK3399-SourceCodeURLs/zh|SOM-RK3399}}
+
 
+
==更多OS==
+
===DietPi_NanoPCT4-ARMv8-Stretch===
+
DietPi身轻如燕,镜像文件最小只有345M 字节。系统存储操作及进程对资源的占用非常少,并且预装DietPi-RAMlog工具。这些特性使得用户能最大程度地发挥设备本身的性能。<br />
+
 
+
仅提供给进阶爱好者交流使用,不对该系统提供专业技术支持。 <br />
+
 
+
详细操作步骤如下:<br />
+
* 初次使用时,请先下载DriverAssitant_v4.5.tgz,解压后安装USB驱动;
+
* 下载系统固件DietPi_NanoPCT4-ARMv8-Stretch点击下载[https://dietpi.com/downloads/images/DietPi_NanoPCT4-ARMv8-Stretch.7z DietPi_NanoPCT4-ARMv8-Stretch]
+
* 解压,进入Image_and_Tools,以管理员身份运行AndroidTool.exe
+
* 默认已经导入分区配置,即固件中的parameter.txt,并已经指定各分区的烧写文件路径,如下图所示:
+
[[File:AndroidTools_DI_02.png|下载DietPi_NanoPCT4固件|800px|]]
+
* 连接好12V/2A的DC接口电源及HDMI显示设备,连接Type-C数据线到PC,按住Recovery键再长按(1.5秒以上)Power键开机,AndroidTool会显示“发现一个LOADER设备”<br />a) 如果eMMC没有烧写过系统或eMMC的系统被擦除或损坏则会显示为MASKROM设备;<br />b) 您也可以按住BOOT键再长按Power键开机,同时持续按住BOOT键5秒以上强制进入MASKROM模式;<br />c) 如果显示“没有发现设备”,请先检查是否已成功安装驱动,检查Type-C数据线然后按上述方法重新开机,或按住Recovery键再按Reset键;<br />d) 另外,如果已成功启动系统,可通过串口、adb或ssh等方式在板子上运行reboot loader重启板子并进入LOADER模式。<br />
+
* 点击“Run”即可下载固件到eMMC,请耐心等待,烧写成功结束后将自动重启。<br />
+
[[File:Dietpi-login-01.png|Dietpi-NanoPC-T4启动界面|800px|]]<br />
+
 
+
登录账号:root <br />
+
登录密码:dietpi<br />
+
 
+
===使用wifi===
+
系统默认没有使能wifi,请执行dietpi-config配置。
+
dietpi-config
+
    --> Network Options:Adapters
+
        --> WiFi  Change Wireless Network Settings
+
            --> Scan  Scan and Connect
+
选择要连接的WiFi热点,输入密码后连接<br />
+
[[File:Dietpi-dietpi-config-01.png|dietpi-config|800px|]]<br />
+
 
+
==Link to Rockchip Resources==
+
*Link to Rockchip's resources: https://gitlab.com/friendlyelec/rk3399-nougat/tree/nanopc-t4-nougat/RKDocs
+
*[http://opensource.rock-chips.com/images/6/60/Rockchip_RK3399_Datasheet_V1.6-20170301.pdf RK3399 datasheet V1.6]
+
*[http://opensource.rock-chips.com/images/e/ee/Rockchip_RK3399TRM_V1.4_Part1-20170408.pdf RK3399TRM V1.4]
+
 
+
==原理图, PCB图==
+
*核心板原理图: [http://wiki.friendlyarm.com/wiki/images/9/96/SOM-RK3399_1904_Schematic.pdf SOM-RK3399_1904_Schematic.pdf]
+
*核心板PCB CAD 文件:[http://wiki.friendlyarm.com/wiki/images/6/62/SOM-RK3399_1904_dxf.zip SOM-RK3399_1904_dxf.zip]
+
*底板原理图:[http://wiki.friendlyarm.com/wiki/images/d/de/SOM-RK3399_Dev_Kit_1904_Schematic.pdf SOM-RK3399_Dev_Kit_1904_Schematic.pdf]
+
*底板PCB CAD 文件:[http://wiki.friendlyarm.com/wiki/images/7/7f/SOM-RK3399_Dev_Kit_1904_dxf.zip SOM-RK3399_Dev_Kit_1904_dxf.zip]
+
 
+
==更新日志==
+
{{RK3399-UpdateLog/zh|SOM-RK3399}}
+
===2018-08-20===
+
* 增加新的桌面OS:[[FriendlyDesktop 18.04 for RK3399]],主要特性
+
1) 带X桌面 LXDE,基于64位Ubuntu 18.04系统构建,支持OpenGL ES加速,支持硬解播放<br>
+
2) 支持SD卡启动运行,支持TF卡刷机或Type-C刷机<br>
+
3) 完全保留[[FriendlyCore (based on ubuntu-core with Qt)|FriendlyCore 18.04 for RK3399]]的特性,集成带GPU和VPU加速的Qt 5.10.0<br>
+
4) 内置开源硬解的4K视频播放器 QtVideoPlayer(Menu->Sound & Video->Qt5-VideoPlayer)<br>
+
5) 内置 QtCreator IDE,Arduino 和 Scratch等流行开发和学习工具,开箱即用<br>
+
6) 支持双屏异显 (可选择eDP/DP/HDMI 任意两路同时输出)<br>
+
7) 支持eDP电容触摸屏 (HD702E)<br>
+
8) 支持屏幕旋转 (仅限于eDP)<br>
+
9) 支持AP6356S无线模块 (802.11 a/b/g/n/AC,BLE4.0)<br>
+
10) 支持升兆以太网即插即用<br>
+
11) 支持 OpenCV 3.4 一键安装 (详见https://github.com/friendlyarm/install-opencv-on-friendlycore)<br>
+
12) 内置gcc版本:7.3.0<br>
+
13) 内核版本:4.4.138<br>
+
附下载链接:http://dl.friendlyarm.com/nanopct4
+
 
+
===2018-08-02===
+
* 增加可以直接从SD卡启动的FriendlyCore和Lubuntu固件
+
===2018-07-28===
+
* 修正FriendlyCore中的一处可能会影响CPU降频的问题
+
===2018-07-27===
+
* Android增加UART4支持并集成了串口demo,内核增加常见USB串口支持
+
 
+
===2018-07-19===
+
* 增加新的OS:[[FriendlyCore (based on ubuntu-core with Qt)]],主要特性
+
1) 基于最新版本的 Ubuntu 18.04 构建<br>
+
2) 集成Qt 5.10.0,支持OpenGL ES加速,支持硬解播放,支持KMS双屏异显和WebGL和VNC远程控制<br>
+
3) 集成 Xorg最小系统,以最轻量的方式运行X11应用<br>
+
4) 集成带VPU加速的Gstreamer 1.0 多媒体框架<br>
+
5) 支持7寸电容屏HD702<br>
+
6) 5G WIFI 和 蓝牙4.0<br>
+
* 内核修复连接HDMI 2.0设备时的core dump问题
+
* Linux内核合并了原厂release-4.4的更新,版本为4.4.132
+
* EFlasher更新: 增加eMMC备份与还原功能
+
 
+
===2018-06-20===
+
* Android 支持HDMI与LCD屏幕旋转
+
* Android 增加 摇控器支持
+
* Lubuntu 内核默认启用 UART4,应用程序可通过设备名 ttyS4 访问
+
* 改进了 HDMI 与 eDP屏的用户体验
+

Latest revision as of 09:23, 4 June 2024

1 Unbricking Method

If the ROM is not installed correctly, causing the development board to become bricked, and you might not have the opportunity to reinstall the ROM via an SD card, you need to enter Maskrom mode to unbrick it by erasing the storage device.

1.1 Windows Users

1.1.1 Download Required Files

  • Get the necessary tools: Visit here, find RKDevTool_v3.19_for_window.zip and DriverAssitant_v5.12.zip in the 05_Tools directory, and download them to your local machine.
  • Install Rockchip USB driver and RKDevTool: Extract DriverAssitant_v5.12.zip to install the Rockchip USB driver, and extract RKDevTool_v3.19_for_window.zip to obtain the Rockchip flashing tool RKDevTool.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.1.2 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to your computer using a USB data cable.
  • Start RKDevTool on your computer.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button when you see Found One MASKROM Device displayed at the bottom of the interface, as shown below:

Rkdevtool found one maskrom device.png

  • Click the Advanced Function tab in the RKDevTool interface.
  • In the Boot text box, select MiniLoaderAll.bin, then click the Download button.
  • Select EMMC, click Switch Storage, then click the EraseAll button to erase the eMMC.

Rkdevtool erase emmc.png

  • At this point, NanoPC-T4 is restored to its initial state and can be normally booted via SD card or eMMC.

1.2 Linux/Mac Users

1.2.1 Download the Required Files

  • Get the necessary tools: Visit here and find upgrade_tool_v2.30_for_linux.tgz (or for Mac users, select upgrade_tool_v2.25_for_mac.tgz) in the 05_Tools directory and download it locally.
  • Get the loader: Visit here, enter the tools directory corresponding to your CPU model, and download MiniLoaderAll.bin.

1.2.2 Installation for upgrade_tool

The following commands are for Linux, with only slight differences in file and directory names for Mac users:

tar xzf upgrade_tool_v2.30_for_linux.tgz
cd upgrade_tool_v2.30_for_linux
sudo cp upgrade_tool /usr/local/sbin/
sudo chmod 755 /usr/local/sbin/upgrade_tool

1.2.3 Enter Maskrom Mode to Erase the Storage Device

  • Connect NanoPC-T4 to the computer using a USB data cable.
  • Disconnect the power from NanoPC-T4, hold down the MASK button, connect the power, and release the button after 4 seconds.
  • Check the connection with the following command:
upgrade_tool LD

A result similar to "DevNo=1 Vid=0x2207,Pid=0x350b,LocationID=13 Mode=Maskrom SerialNo=" indicates that the device has been detected.

  • Erase the eMMC with the following command:
upgrade_tool EF MiniLoaderAll.bin
  • At this point, NanoPC-T4 has been restored to its initial state and can boot the system normally via SD card or eMMC.