H3

Allwinner H3 (sun8iw7p1) SoC features a Quad-Core Cortex-A7 ARM CPU, and a Mali400 MP2 GPU from ARM. The Allwinner H3 is a highly cost-efficient quad-core OTT box processor, primarily marketed as being for "home entertainment" systems.

It has a nearly-compatible variant known now, H2+.

'''It's rated to run at 1.296GHz, anything higher is overclocking (and usually overvolting). If you run it without heatsink, fan and proper dvfs settings, you risk overheating.'''

=Overview= See Mainlining Effort and Mainline U-Boot for support status.

=H3 SoC Features=
 * CPU
 * ARM Cortex-A7 Quad-Core
 * 512KB L2-Cache (shared between four cores)
 * 32 KB (Instruction) / 32KiB (Data) L1-Cache per core
 * SIMD NEON, VFP4
 * Virtualization
 * Large Physical Address Extensions (LPAE) 1TB
 * GPU
 * ARM Mali400 MP2
 * Featuring 1 vertex shader (GP) and 2 fragment shaders (PP).
 * Complies with OpenGL ES 2.0
 * Memory
 * DDR2/DDR2L-DDR3/DDR3L controller
 * NAND Flash controller and 64-bit ECC
 * Video
 * Ultra HD 4k and Full HD 1080p video decoding of MPEG-2, MPEG-4 SP/ASP GMC, H.263, H.264, H.265, WMV9/VC-1, and VP8
 * BD Directory, BD ISO and BD m2ts video decoding
 * H.264 High Profile 1080P@30fps encoding
 * 3840×1080,1920x2160 3D decoding
 * Complies with RTSP, HTTP,HLS,RTMP,MMS streaming media protocol
 * Display
 * Integrated HDMI V1.4 with HDCP1.2 4K@30fps
 * TV CVBS output
 * Camera
 * Integrated parallel 8-bit I/F YUV422 sensor
 * Support CCIR656 protocol fot NTSC and PAL
 * 5M CMOS sensor support
 * Support video capture resolution up to 1080p@30fps
 * Audio
 * Two audio digital-to-analog(DAC) channels 92dB SNR
 * Two differential microphone inputs (one low-noise)
 * Stereo Linein input
 * Embedded Controller:
 * AR100, an OpenRISC controller. Manages deep powersave modes.
 * Thermal Sensor Controller (TSC) providing over-temperature protection interrupt and over-temperature alarm interrupt
 * no PMU (According to arisc_dvfs.c pmuic_type defines 0~2, 0:none, 1:gpio, 2:i2c)
 * package: FBGA347, 14 mm x 14 mm, 0.65 mm Pitch

= Variants = H2+ is a variant of H3, targeted at low-end OTT boxes, which lacks Gigabit MAC and 4K HDMI output support.

H3 images are proven to run on H2+.

According to the source code of BSP, variants differ by the last byte of the first word of SID. 0x42 and 0x83 indicates H2+, 0x00 and 0x81 indicates H3, and 0x58 indicates H3D (a still unknown variant).

= Documentation =


 * H3 datasheet v1.0 (PDF, 618 pages, 2014-11-18) ]
 * H3 datasheet v1.1 (PDF, 616 pages, 2015-01-26) ]
 * [[File:Allwinner_H3_Datasheet_V1.2.pdf]] (PDF, 614 pages, 2015-04-23)

= Software =

Original SDK

 * SDK (External link, 3.3GB zip)
 * H2+ SDK (External link, 4.9GB tar.bz2)

= Devices =

= See also =

=References=

= Mainline status =

U-Boot
U-Boot supports these H3 boards via defconfigs: * NanoPi Neo (since v2016.11) * Orange Pi 2 (since v2016.05) * Orange Pi Lite (since v2016.09) * Orange Pi One (since v2016.05) * Orange Pi PC (since v2016.01) * Orange Pi PC Plus (since v2016.09) * Orange Pi Plus (since v2016.01) * Orange Pi Plus 2E (since v2016.09)

Official U-Boot support still missing for these H3 boards: * Banana Pi M2+ (as a workaround, please use orangepi_plus defconfig) * NanoPi M1 (as a workaround, please use orangepi_one defconfig) * NanoPi Neo Air (as a workaround, a patch to a board configuration is provided on the device page) * Orange Pi Mini 2 (as a workaround, please use orangepi_2 defconfig) * Orange Pi Plus 2 (as a workaround, please use orangepi_plus defconfig) * pcDuino4 Nano (as a workaround, please use orangepi_one defconfig)

Linux kernel
Several H3 boards are also supported by the mainline kernel, but not all features are yet available in the mainline.

The kernel supports these H3 boards via defconfigs: * Banana Pi M2+ * NanoPi Neo * Orange Pi 2 * Orange Pi Lite * Orange Pi One * Orange Pi PC * Orange Pi PC Plus * Orange Pi Plus * Orange Pi Plus 2E

The kernel support still missing for these H3 boards: * NanoPi M1 (as a workaround, please use sun8i-h3-orangepi-one.dtb) * NanoPi Neo Air * Orange Pi Mini 2 (as a workaround, please use sun8i-h3-orangepi-2.dtb) * Orange Pi Plus 2 (as a workaround, please use sun8i-h3-orangepi-plus.dtb) * pcDuino4 Nano (as a workaround, please use sun8i-h3-orangepi-one.dtb)

Features with work-in-progress implementations coming in the future kernels (4.9 and later) include: * Audio codec (4.11) * Crypto * CSI * Display (drm) * EMAC * HW spinlocks * NAND flash * Touch / Thermal / GPADC * USB OTG

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.

= External links =
 * Allwinner Product Page H3