Xunlong Orange Pi PC 2

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.

= Identification =

= Sunxi support =

Current status
Unsupported

Mainline U-Boot
apritzel is working on mainline support. branch bootlog

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.

= Tips, Tricks, Caveats =



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_table] max_freq = 1008000000 min_freq = 480000000
 * 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]
 * 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]
 * extremity_freq = 1344000000

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 =


 * Xunlong Orange Pi site
 * Official Github Repository
 * Inofficial Github Repository more worth a look
 * Official Orange Pi Forums.
 * Orange Pi PC 2 Schematics 1.2

Manufacturer images

 * http://www.orangepi.org/downloadresources/
 * https://mega.nz/#F!m40jgBYQ!-uNiWmKhGoQUAqnWQvlr-w

= References =