FriendlyARM NanoPi Duo2

Compared to other boards, the main selling point here is extremely compact size and ability to be plugged into a breadboard. USB OTG, functional wifi+bt, and a footprint for SPI flash round out the distinguishing features.

= Identification = The Duo2 is a small narrow black PCB, densely packed, with "NanoPi Duo2" in very small silkscreen.

The PCB has the following silkscreened on it: NanoPi Duo2 v1.0 1807

= Sunxi support =

Current status
Supported in mainline from 5.5

Images
[| FriendlyARM provides linux 4.14 based images]

BSP
FriendlyARM provides both 4.14 and 3.4 legacy trees.

4.14 tree

 * https://github.com/friendlyarm/linux.git -b sunxi-4.14.y

3.4 tree
There's very little reason to use this tree. The board is supported by 4.14 from FriendlyARM themselves, and in mainline from 5.5. The tree is available at https://github.com/friendlyarm/h3_lichee.git with [| documentation on the FriendlyARM wiki]

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

Mainline U-Boot
There's no explicit duo2 support in U-Boot, and it's unclear if that's valuable. The FriendlyARM_NanoPi_Air is equivalent for most purposes. Providing a separate name for the duo2 would be a trivial patch if desired.

Mainline kernel
Use the  device-tree binary.

Sunxi/Legacy Kernel
Not documented as not considered useful at this stage.

FEL mode
No FEL button, the UBOOT pin is pulled up via 10K.

LEDS
A red and green led are available. The red is pulled up, and intended as a power indicator. Green is free for use.

WIFI/Bluetooth
The Ampak AP6212 is quite well supported by linux, but it does require suitable firmware files, both for the wifi portion, and the bluetooth portion.

Locating the UART
The primary debug uart (uart0) is on the GPIO2 header, at the end nearest the USB connector. There is silk marking RX/TX/Ground.

= Pictures =

= See also =
 * FriendlyARM_NanoPi_Air Very similar device, largely just a form factor change
 * Schematic for PCB rev 1.0
 * board mechanical drawings (dxf)

Manufacturer images
See the manufacturer's device pages above since links change from time to time.