Xunlong Orange Pi PC

Orange Pi PC is H3 based development board produced by Xunlong.

= Identification = The PCB has the following silkscreened on it: Orange Pi PC V1.2

= Sunxi support =

Current status
Unsupported.

Images
A bit tricky to get this thing booting up with a working image.

My unit works with any of the downloads from http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=342

Look in the vfat partition after you make the SD card. There are two uImage files and a number of device tables. There is no default 'script.bin', I copied the script.bin.OPI-Pc_1080p60 to script.bin and copied uImage_OPI-2 to uImage. This got the ethernet working.

Manual build

 * As yet there is no support for the Orange Pi PC in uboot. Some work on patches for the h3 can be found in jemk's branch on github
 * Some patches for mainline support for the h3 can be found on mripard's kernel fork
 * There are signs of work on 4.3 here and he claims that he had a working 4.2 kernel.

Mainline U-Boot
First commit to u-boot unfortunately adopting blindly the insane DRAM overclocking settings mainly responsible for Orange Pi's thermal issues

Mainline kernel
As yet there is no support for the Orange Pi PC in the mainline kernel

= Tips, Tricks, Caveats =


 * Heat issues due to overclocked settings (both cpufreq and especially DRAM timings) in the fex files used in the various OS images for Orange Pis. Without a heatsink the Orange Pi PC overheats easily and will drop cores to thwart further temperature increase and unfortunately the heatsink provided by the manufacturer does little to help. The low cost $15 variant does not have any heatsink included at all.


 * It is also possible to power the device via GPIO pin header: connect +5V to either pin 2 or 4 (both are connected to DCIN test point) and GND to pin 6.

FEL mode
The Orange Pi PC will fail over to FEL mode if it doesn't detect a card present in the µSD slot. There is no dedicated FEL button.

LEDs


The board has two LEDs:
 * A red LED, connected to the PA15 pin.
 * A green LED, connected to the PL10 pin.

CPU clock speed limit
All H3 based Orange Pis have been advertised falsely as being capaple to run at 1.6GHz from the beginning. But Steven Zhao, the person behind Xunlong, knew already back in March 2015 about anything beyond 1.2 GHz being an "extremity_freq" and useable for benchmarks only but not for stable useage.

The following is a common comment in the FEX files from various H3 SDK variants (and which appears to originate from Allwinner):
 * dvfs voltage-frequency table configuration
 * pmuic_type:0:none, 1:gpio, 2:i2c
 * pmu_gpio0: gpio config.
 * pmu_levelx: 0~9999: voltage(mV), 10000~90000:gpio0 state. voltage form high to low.
 * extremity_freq(Hz): cpu extremity frequency when run benckmark or demo apk
 * 1536MHz@1500mV with radiator, 1296MHz@1340mV without radiator
 * max_freq: cpu maximum frequency, based on Hz, can not be more than 1200MHz
 * min_freq: cpu minimum frequency, based on Hz, can not be less than 60MHz
 * LV_count: count of LV_freq/LV_volt, must be < 16
 * LV1: core vdd is 1.50v if cpu frequency is (1296Mhz, 1536Mhz]
 * LV2: core vdd is 1.34v if cpu frequency is (1200Mhz, 1296Mhz]
 * LV3: core vdd is 1.32v if cpu frequency is (1008Mhz, 1200Mhz]
 * LV4: core vdd is 1.20v if cpu frequency is (816Mhz,  1008Mhz]
 * LV5: core vdd is 1.10v if cpu frequency is (648Mhz,   816Mhz]
 * LV6: core vdd is 1.04v if cpu frequency is (0Mhz,     648Mhz]
 * LV7: core vdd is 1.04v if cpu frequency is (0Mhz,     648Mhz]
 * LV8: core vdd is 1.04v if cpu frequency is (0Mhz,     648Mhz]
 * LV5: core vdd is 1.10v if cpu frequency is (648Mhz,   816Mhz]
 * LV6: core vdd is 1.04v if cpu frequency is (0Mhz,     648Mhz]
 * LV7: core vdd is 1.04v if cpu frequency is (0Mhz,     648Mhz]
 * LV8: core vdd is 1.04v if cpu frequency is (0Mhz,     648Mhz]

The Orange Pi PC board uses the SY8106A voltage regulator for providing the CPU core voltage (VDD_CPUX). The default CPU voltage is 1.2V 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 1008MHz. The H3 datasheet specifies 1.5V as the absolute maximum for the VDD_CPUX voltage and 1.4V as the recommended maximum.

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

= Pictures =

= Also known as =

= See also =


 * Xunlong Orange Pi site
 * Official Github Repository.
 * Official Orange Pi Form.
 * H3_Manual_build_howto
 * Orange Pi PC Schematics 1.2

Manufacturer images
A various amount of prebuilt images is provided via OrangePi's Website. Some people are also running images generated by forum user loboris

= References =