Xunlong Orange Pi PC 2

From linux-sunxi.org
Jump to: navigation, search
Xunlong Orange Pi PC 2
OPi PC 2 Top small.jpg
Manufacturer OrangePi
Dimensions 85mm x 55mm
Release Date November 2016
Website Orange Pi PC 2 Product Page
Specifications
SoC Allwinner H5 @ 1.20Ghz
DRAM 1GiB DDR3
Power DC 5V @ 2A (4.0mm/1.7mm barrel plug - centre positive)
or via GPIO header pins
Features
Video HDMI 1.4 (HDCP, CEC), CVBS
Audio 3.5 mm Jack, HDMI, Microphone
Network 10/100/1000Mbps Ethernet
Storage µSD, 16Mbit NOR Flash on board (MX25L1606E)
USB 3 USB 2.0 Host, 1 USB 2.0 OTG
Other CIR

This page needs to be properly filled according to the New Device Howto and the New Device Page guide.

Orange Pi PC 2 is H5 based development board produced by Xunlong. It is the first single board computer from Xunlong to feature Allwinner H5 SoC. Currently available for 19.98$ from aliexpress.

Contents

Identification

Sunxi support

Current status

Unsupported

Manual build

U-Boot

Mainline U-Boot

apritzel is working on mainline support. branch bootlog

Linux Kernel

Sunxi/Legacy Kernel

Mainline kernel

See the H5 SoC support page. A preliminary .dts file for the board can be found here.

Expansion Port

The Orange Pi PC 2 has a Raspberry Pi model B+ compatible 40-pin, 0.1" connector with several low-speed interfaces.

2x20 Header
1 3.3V 2 5V
3 PA12 (TWI0_SDA/DI_RX/PA_EINT12) 4 5V
5 PA11 (TWI0_SCK/DI_TX/PA_EINT11) 6 GND
7 PA6 (SIM_PWREN/PWM1/PA_EINT6) 8 PC5 (NAND_RE/SDC2_CLK)
9 GND 10 PC6 (NAND_RB0/SDC2_CMD)
11 PA1 (UART2_RX/JTAG_CK0/PA_EINT1) 12 PD14 (RGMII_NULL/MII_TXERR/RMII_NULL)
13 PA0 (UART2_TX/JTAG_MS0/PA_EINT0) 14 GND
15 PA3 (UART2_CTS/JTAG_DI0/PA_EINT3) 16 PC4 (NAND_CE0)
17 3.3V 18 PC7 (NAND_RB1)
19 PA15 (SPI1_MOSI/UART3_RTS/PA_EINT15) 20 GND
21 PA16 (SPI1_MISO/UART3_CTS/PA_EINT16) 22 PA2 (UART2_RTS/JTAG_DO0/PA_EINT2)
23 PA14 (SPI1_CLK/UART3_RX/PA_EINT14) 24 PA13 (SPI1_CS/UART3_TX/PA_EINT13)
25 GND 26 PA21 (PCM0_DIN/SIM_VPPPP/PA_EINT21)
27 PA19 (PCM0_CLK/TWI1_SDA/PA_EINT19) 28 PA18 (PCM0_SYNC/TWI1_SCK/PA_EINT18)
29 PA7 (SIM_CLK/PA_EINT7) 30 GND
31 PA8 (SIM_DATA/PA_EINT8) 32 PG8 (UART1_RTS/PG_EINT8)
33 PA9 (SIM_RST/PA_EINT9) 34 GND
35 PA10 (SIM_DET/PA_EINT10) 36 PG9 (UART1_CTS/PG_EINT9)
37 PD11 (RGMII_NULL/MII_CRS/RMII_NULL) 38 PG6 (UART1_TX/PG_EINT6)
39 GND 40 PG7 (UART1_RX/PG_EINT7)

Tips, Tricks, Caveats

OPi PC 2 UART.jpg

LEDs

The board has two LEDs next to Micro USB jack:

  • A red LED, connected to the PA20 pin.
  • A green LED, connected to the PL10 pin.


CPU clock speed limit

The Allwinner H5 manual does not provide the CPU clock speed information. The following comment is found in the SDK provided by Xunlong.

;----------------------------------------------------------------------------------
; dvfs voltage-frequency table configuration
;
; max_freq: cpu maximum frequency, based on Hz
; min_freq: cpu minimum frequency, based on Hz
;
; lv_count: count of lv_freq/lv_volt, must be < 16
;
; lv1: core vdd is 1.30v if cpu frequency is (1104Mhz, 1152Mhz]
; lv2: core vdd is 1.26v if cpu frequency is (1008Mhz, 1104Mhz]
; lv3: core vdd is 1.20v if cpu frequency is (816Mhz,  1008Mhz]
; lv4: core vdd is 1.10v if cpu frequency is (648Mhz,   816Mhz]
; lv5: core vdd is 1.04v if cpu frequency is (480Mhz,   648Mhz]
; lv6: core vdd is 1.04v if cpu frequency is (480Mhz,   648Mhz]
; lv7: core vdd is 1.04v if cpu frequency is (480Mhz,   648Mhz]
; lv8: core vdd is 1.04v if cpu frequency is (480Mhz,   648Mhz]
;
;----------------------------------------------------------------------------------
[dvfs_table]
;extremity_freq = 1344000000
max_freq = 1008000000
min_freq = 480000000

The Orange Pi PC 2 board uses the SY8106A voltage regulator for providing the CPU core voltage (VDD_CPUX). The default CPU voltage is 1.1V after power-on (selected by the resistors on the PCB) and can be changed at runtime by software via I2C interface. According to the table above, this default voltage should be safe for using with the CPU clock frequencies up to 816MHz. The H5 user manual specifies 1.5V as the absolute maximum for the VDD_CPUX voltage and 1.4V as the recommended maximum.

The stability of the Orange Pi PC2 was tested using HPL 2.1. Per frequency the voltage was lowered until HPL found data corruption during the tests. The results of this test show the Orange Pi PC 2 is able to run at 1368 MHz with a minimum core voltage of 1.38V. The tests fail while running at 1392 MHz with a core voltage of 1.4V.

This test was only done on one single board. Accuracy of this data must be confirmed. The results of the test: http://pastebin.com/0z3FhfkU

Locating the UART

The UART pins are located between power and HDMI jack. They are marked as TX, RX and GND on the PCB. Just attach some leads according to our UART Howto.

Pictures

Variants

Also known as

See also

Manufacturer images

References

Personal tools
Namespaces

Variants
Actions
Navigation
Tools