Xunlong Orange Pi Plus 2
|Xunlong Orange Pi Plus 2|
|Dimensions||108mm x 67mm|
|Release Date||December 2015|
|Website||Orange Pi Plus 2 Product Page|
|SoC||H3 @ 1.6GHz|
|DRAM||2GiB DDR3 @ ?MHz (H5TC4G83AFR-PBA)|
|NAND||16GB EMMC Flash (KLMAG2GEND-B031)|
|Power||DC 5V @ 2A (4.0mm/1.7mm barrel plug - centre positive)|
|Video||HDMI (HDCP, CEC), CVBS|
|Audio||3.5 mm Jack, HDMI, Microphone|
|Network||10/100/1000Mbps Ethernet (Realtek RTL8211E), WiFi 802.11 b/g/n (Realtek RTL8189ETV)|
|Storage||µSD (max 64GB), SATA 2.0 (via GL830 USB-to-SATA bridge, +5V power on JST XH 2.5mm connector)|
|USB||4 USB 2.0 Host (via FE1.1s hub), 1 USB 2.0 OTG|
The PCB has the following silkscreened on it:
Orange Pi Plus 2 V1.1
The H3 and Orange Pi Plus 2 support is progressing nicely. It is possible to find a usable mainline 4.x kernel (plus some patches) and a legacy 3.4 kernel in various work-in-progress git branches. See the Manual build section for more details.
The device works quite well on kernel 3.4 (Ethernet, Audio, USB devices, eMMC), but without support for onboard Wi-Fi module. On kernel 4.x it is possible to boot a Linux, but some drivers are not working (at least Ethernet driver is not present in mainline). The device is supported by latest (2017.01-RC3) U-Boot.
You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.
Use the orangepi_plus_2e (as a workaround until dedicated defconfig is available) build target.
The H3 boards can boot from SD, NAND or NOR flash (if available), and via FEL using the OTG USB port. In U-Boot, loading the kernel is also supported from USB or ethernet (netboot). HDMI support in U-Boot is still WIP.
- Siarhei Siamashka's branch '20151207-embedded-lima-memtester-h3'
- Yann Dirson's fork added a few more fixes and adopted most of
- Boris Lovosevic' great initial work on Allwinner's H3 kernel
Configure this kernel using sun8i_h3_defconfig, the rest is explained in the kernel compilation guide.
When booting the legacy 3.4 kernel with the mainline U-Boot, add the following line to boot.cmd:
setenv machid 1029 setenv bootm_boot_mode sec
Some other legacy kernel repositories:
- 3.4-lichee-based kernel, based on work by ssvb and loboris
- Yocto support here glues together all the required parts to get this kernel to work with mainline u-boot, as well as accelerated X11/GLES support
- A newer H3 BSP variant appeared with tons of fixes which has been made available by FriendlyARM.
- A cleaned up fork has been adopted by Armbian project. On top of that Armbian maintains a bunch of 3.4.x patches for H3 devices.
Pretty decent support for H3 is available in kernel 4.8. The next kernel 4.9 will add support for I2C and PWM. EMAC support is still missing in mainline kernels although the ethernet port is already accessible with recent U-Boot versions.
The development process, links to patches and links to kernel fork repositories are listed on the Linux mainlining effort page. Patches can also be found from the arm-linux mailing list.
Repositories with H3 patches:
- Maxime Ripard's branch 'sunxi/for-next' (very basic H3 support, without USB)
- Hans de Goede's branch 'sunxi-wip' (many work-in-progress patches, including H3 and USB support for it)
- Siarhei Siamashka's branch '20151223-h3-mainline-smp-hack' (minimal set of H3 patches, with USB and SMP)
- Chen-Yu Tsai's branch 'h3-emac' (working Ethernet and USB)
- Ondřej Jirman's branch for H3 based orange Pi (work-in-progress DVFS and USB-OTG)
Use the sun8i-h3-orangepi-plus-2e.dtb device-tree binary.
The Orange Pi Plus 2 has a Raspberry Pi model B+ compatible 40-pin, 0.1" connector with several low-speed interfaces.
|7||PA6 (SIM_PWREN/PWM1/PA_EINT6)||8||PA13 (SPI1_CS/UART3_TX/PA_EINT13)|
|21||PC1 (SPI0_MISO)||22||PA2 (UART2_RTS/JTAG_DO/PA_EINT2)|
|23||PC2 (SPI0_CLK)||24||PC3 (SPI0_CS)|
|27||PA19 (PCM0_CLK/TWI1_SDA/PA_EINT19)||28||PA18 (PCM0_SYNC/TWI1_SCK/PA_EINT18)|
|31||PA8 (SIM_DATA/PA_EINT8)||32||PG8 (UART1_RTS/PG_EINT8)|
|35||PA10 (SIM_DET/PA_EINT10)||36||PG9 (UART1_CTS/PG_EINT9)|
|37||PA20 (PCM0_DOUT/SIM_VPPEN/PA_EINT20)||38||PG6 (UART1_TX/PG_EINT6)|
Tips, Tricks, Caveats
The something button triggers FEL mode.
Device should be compatible with images for Orange Pi Plus with some minor issues (notably - Wi-Fi chip not working), but all other major components should work out of the box:
- USB Devices
- eMMC Storage
- Internal Audio
- USB-SATA Chip
Due to quite high frequency (around 1.6 GHz) it's possible to easily overheat chip which may lead to decreasing CPU / DDR frequency or disabling one or more CPUs. Installing heatsink and using cpufreq should help to avoid this problem.
Locating the UART
Serial port is located near power jack, between SW3 and SW4 buttons. Pins are marked as Tx / Rx / GND on PCB. Please refer to UART Howto in case of any problems.
- The 1.6GHz seem to be specified mainly for marketing reasons. Expect problems when trying to run the device at this frequency under constant load, e.g. overheating. ~1.2GHz is probably a more realistic figure.
- Orange Pi Plus is pretty similar regarding USB/SATA but has half the amount of DRAM and eMMC storage
- Named pretty similar the cheaper Orange Pi Plus 2E adds Realtek RTL8189FTV SDIO-based WiFi directly on the board (as opposed to a soldered-on module), exposes all USB host ports without an internal hub and saves the slow GL830 USB-to-SATA bridge.
Optional. Add non-sunxi images in this section.