Xunlong Orange Pi Zero Plus 2
|Xunlong Orange Pi Zero Plus 2|
|Dimensions||46mm x 48mm|
|Release Date||March 2017|
|Website||Orange Pi Zero Plus 2 Product Page|
|DRAM||512 MiB DDR3|
|Power||DC 5V via µUSB or pin headers|
|Video||HDMI, CVBS on pin headers|
|Audio||microphone, stereo line-out on pin headers|
|Network||AP6212 Wi-Fi sdio-id:02D0:A9A6|
|Storage||µSD, 8GB eMMC on board|
|USB||1 USB 2.0 OTG, 2 x USB 2.0 on pin headers|
The PCB has the following silkscreened on it:
Orange Pi Zero Plus 2 V1.0
The H3 chipset support for Orange Pi Zero Plus 2 has been included in mainline kernels since 4.2. Most of the board functionality works out of the box, but support for many features has been added rather recently, which means that a fairly recent kernel version is required. Some features (hw accelerated crypto, graphics/video features, thermal, and DVFS) are still being worked on. For a more comprehensive list of supported features, see the status matrix for mainline kernels. In addition, legacy 3.4 kernels are available in various work-in-progress git branches.
See the Manual build section for more details.
You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.
Use the orangepi_zero_plus2 (H5 version, supported since v2017.07) build target. The U-Boot repository and toolchain is described in the Mainline U-Boot howto.
The H3 boards can boot from SD, eMMC, 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.
The H3 SoC is supported by the mainline kernels. For cpufreq and thermal, a) third party patches or b) a pre-patched distro (e.g. Armbian) is needed. Although the ethernet port is accessible in U-Boot, the kernel support has stabilized only recently in kernel 4.15. HDMI support will be available in kernel 4.17.
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:
- Ondřej Jirman's branch for H3 based orange Pi (kernel 4.16) (work-in-progress DVFS)
- CPU frequency and voltage scaling (cpufreq)
- Thermal regulation (if CPU heats above certain temperature, it will try to cool itself down by reducing CPU frequency)
- HDMI output support (pulled from linux-next/master)
- Configure on-board micro-switches to perform system power off function
- Wireguard (https://www.wireguard.com/)
Use the sun50i-h5-orangepi-zero-plus2.dtb (H5 version) device-tree binary.
The Orange Pi Zero Plus 2 has a 26-pin, 0.1" unpopulated connector with several low-speed interfaces. It's marketed as Raspberry Pi-compatible. Please refer to the Orange Pi Zero wiki page for now, as the Orange Pi Zero Plus 2 details are still TODO.
The Orange Pi Zero Plus 2 has another 13-pin, 0.1" header with several low-speed interfaces.
TODO: This table was taken from the Orange Pi Zero's wiki page. It's probably the same for the Zero Plus 2. Use at your own risk.
Tips, Tricks, Caveats
Powering the board
Unlike most other Orange Pi boards, the Orange Pi Zero Plus 2 can be powered through the Micro USB jack (being a normal USB OTG port otherwise) or via one of the Expansion Port pin headers (using 5V/GND pins).
There is no power on/off switch or reboot switch on the board.
An 8GB onboard eMMC is present and supported by the Armbian image.
Benchmark: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2
random random kB reclen write rewrite read reread read write 102400 4 5350 5923 12191 12233 9453 5861 102400 16 17258 19735 28225 27445 24999 18945 102400 512 36332 34508 59980 60008 59936 33483 102400 1024 34079 35472 61459 61508 61546 33952 102400 16384 36899 36954 67638 67631 67605 36413
Locating the UART
The UART pins are located next to unpopulated 26-pin header on the board. They are marked as TX, RX and GND on the PCB with barely visible letters. Just attach some leads according to our UART Howto.
The board has two LEDs next to DRAM:
- A green LED, connected to PL10.
- A red LED, connected to PA17.
vip_dev0_power_en = PA08
To make a trivial adapter you can use "pc case usb port" but you will need to rearrange the pins:
1 - 5V - red 2 - GND - black 3 - dm - white 4 - dp - green
Also known as
- opi0+2h3 schematics File:ORANGE PI-ZERO-PLUS2 V1 0.pdf
- Xunlong Orange Pi site
- Official Github Repository
- Official Orange Pi Forums