Xunlong Orange Pi 3

= Identification =

The currently sold board has the following text on top: Orange Pi 3 v1.5.

= Sunxi support =

Current status
USB, Ethernet, WiFi, Bluetooth, HDMI, DVFS and thermal regulation works on mainline linux with some trivial out-of-tree patches.

Manual build
You can build things for yourself by following our Manual build howto and by choosing from the configurations available below.

Sunxi/Legacy U-Boot

 * https://github.com/orangepi-xunlong/OrangePiH6_uboot - BSP U-Boot

Mainline U-Boot
Direct support for this board is not yet in the mainline U-Boot, but it is possible to use U-Boot built for Orange Pi One Plus combined with ATF built with PLAT=sun50i_h6.

Sunxi/Legacy Kernel

 * https://github.com/orangepi-xunlong/OrangePiH6_external - FEX/WiFi firmware files
 * https://github.com/orangepi-xunlong/OrangePiH6_Linux4_9 - BSP kernel

Config name is OrangePiH6_3_defconfig

Mainline kernel
Use the sun50i-h6-orangepi-3.dts device-tree binary (available since kernel 5.2).

Mainline Linux kernel device tree file for this board is being prepared in this Linux tree:


 * https://megous.com/git/linux/log/?h=opi3-5.1

The tree contains support for USB ports, Ethernet, WiFi, Bluetooth, RTC, HDMI, DVFS and thermal regulation.

Firmware files
For WiFi, you'll need a fw_bcm43456c5_ag.bin firmware file and nvram.txt configuration that can be found in the Xulongs's repository for H6:


 * https://github.com/orangepi-xunlong/OrangePiH6_external/tree/master/ap6256

Mainline brcmfmac driver expects the firmware and nvram at the following paths relative to the firmware directory:


 * brcm/brcmfmac43456-sdio.bin
 * brcm/brcmfmac43456-sdio.txt

For Bluetooth 5.0, you'll need a BCM4345C5.hcd firmware file that can be found in the Xulongs's repository for H6:


 * https://github.com/orangepi-xunlong/OrangePiH6_external/tree/master/ap6256

The driver expects the firmware at the following path relative to the firmware directory:


 * brcm/BCM4345C5.hcd

= Tips, Tricks, Caveats =


 * USB power rails are directly connected to the 5V input power, including on the micro USB connector (you'll have trouble powering the board from the DC jack, and using the microUSB port to connect the board to a PC at the same time). OTOH, the board can probably be powered from a USB 3 port via microUSB (untested).
 * The schematic specifies a total current limit of 1.5A per the double USB 3.0 connector.
 * The schematic shows optional polyfuse circuit to limit the USB current, but there's no polyfuse on the v1.5 of the board.

FEL mode

 * If you try this, beware of the direct conenction between microUSB VBUS and DCIN.

= Adding a serial port (voids warranty) =

Like with other Orange Pi boards, UART uses 3.3V signalling and is 5V tolerant so you can use any of the usual USB-UART dongles. UART pin header is easily accessible.

Locating the UART
UART is located between the mic and the power on key. Pin order: GND-RX-TX. GND is marked by a white arrow.

= Pictures =

= Also known as =

= See also =


 * AXP805 Datasheet: [[File:AXP805_Datasheet_V1.0_en.pdf]]
 * H6 Datasheet: [[File:Allwinner_H6_V200_Datasheet_V1.1.pdf]]
 * H6 User Manual: [[File:Allwinner_H6_V200_User_Manual_V1.1.pdf]]
 * Schematics 1.5: [[File:OrangePi_3_Schematics_v1.5.pdf]]