Main Page
| Languages: |
English • العربية • български • česky • dansk • Deutsch • Esperanto • eesti • español • فارسی • suomi • français • עברית • magyar • italiano • 한국어 • Nederlands • norsk (bokmål) • polski • português • română • русский • svenska • slovenčina • Українська • 中文(中国大陆) • 中文(台灣) • euskara • català |
Sunxi represents the family of ARM SoC (System on Chip) designed for embedded systems, and made by Allwinner Tech. in Zhuhai (Guangdong, China). The most popular sunxi SoC model is the Allwinner A10 and the Allwinner A13. Their predecessor was an ARM9 named Boxchip F20 (sun3i) and their successors are A20 and Allwinner A31.
This wiki is dedicated to software and hardware documentation related to hacking sunxi based devices and to the devices themselves and is maintained by the linux-sunxi community.
Allwinner SoC's family
"F"-Series
Based on ARMv6 ARM926-EJS core targeted for low market devices such as cheap ebook readers, etc.
- Boxchip C100 (sun3i)
- Boxchip E200 (sun3i)
- Boxchip F20 (sun3i)
- Boxchip F10 (sun3i)
- Boxchip F13 (sun3i)
- Boxchip F18 (sun3i)
"A"-Series
Based on ARMv7 Cortex-A cores (Cortex-A7 and Cortex-A8) targeted for hi-end devices like tablet PC, smartphones, netbooks
- Allwinner A10 (sun4i) (Cortex-A8)
- Allwinner A13 (sun5i) (Cortex-A8)
- Allwinner A10s(sun5i)(Cortex-A8)
- Allwinner A31 (sun6i) 4x(Cortex-A7)
- Allwinner A31s (sun6i) 4x(Cortex-A7)
- Allwinner A20 (sun7i) 2x(Cortex-A7)
"A"- Series features:
- CPU: ARMv7 Cortex-A7 or Cortex-A8 Central Processor Unit which have NEON, VFP, TrustZone, and Thumb-2 co-processor extensions:
- Advanced SIMD: NEON (ARM's extended general-purpose advanced SIMD vector processing extension engine)
- Vector FPU: Vector Floating Point Unit - standard ARM VFPv3 / VFPv4 VFPU (Vector Floating Point Unit)
- Security Extensions: TrustZone cryptographic engine and security accelerator supporting AES, DES, 3DES, SHA-1, and MD5
- Thumb2 intruction set extension for optimized code to reduce memory footprint and improve performance
- GPU: Mali400 or SGX544 Graphics Procesor Unit, supporting OpenGL ES and Framebuffer
- VPU: CedarX (Video Processor Unit for audio and video hardware decoding or encoding)
- HDMI-transmitter with HDMI CEC (Consumer Electronics Control), (with exception of A13 which lacks HDMI-transmitter and SATA-controller[1])
Comparison table for "A"-Series Allwinner SoC's
| A10 | A10s | A13 | A20 | A31 | |
|---|---|---|---|---|---|
| Generation | sun4i | sun5i | sun5i | sun7i | sun6i |
| CPU | Cortex-A8 | Cortex-A8 | Cortex-A8 | Cortex-A7 | Cortex-A7 |
| CPU Maximum frequency | 1GHz | 1GHz | 1GHz | ?GHz | ?GHz |
| Cores | 1 | 1 | 1 | 2 | 4 |
| Extensions | NEON, VFPv3, Thumb-2 | NEON, VFPv3, Thumb-2 | NEON, VFPv3, Thumb-2 | NEON, VFPv3 / VFPv4, Thumb-2 | NEON, VFPv3 / VFPv4, Thumb-2 |
| Memory | DDR2, DDR3 (max 2GB @ DDR800) | DDR2, DDR3 (max 2GB @ DDR800) | DDR2, DDR3 (max 512MB @ DDR800) | LPDDR3/DDR3/LPDDR2 | 2-channel DDR3/LPDDR2, 2-channel DDR3L |
| GPU | Mali400 @ 320Mhz | Mali400 @ 320Mhz | Mali400 @ 320Mhz | Mali400 MP2 @ 350Mhz per shader engine | SGX544 @ 200Mhz per shader engine |
| GPU API | OpenGL ES 2.0, OpenVG 1.1 | OpenGL ES 2.0, OpenVG 1.1 | OpenGL ES 2.0, OpenVG 1.1 | OpenGL ES 2.0, OpenVG 1.1 | OpenGL ES 2.0, OpenVG 1.1, OpenCL 1.1, and DirectX 9.3 |
| Video decoder | 2160P | 1080P | 1080P | 2160p, 4K×2K, 1080p 3D | 2160p, 4K×2K, 1080p 3D |
| Video encoder | H.264 1080P@30fps | H.264 1080P@30fps | H.264 1080P@30fps | H.264 1080P@30fps | H.264 1080P@30fps |
| Video interfaces | HDMI 1.3, YPbPr, VGA, CPU/RGB/LVDS LCD | HDMI 1.3, RGB/LVDS LCD | RGB LCD | HDMI 1.4, CVBS, YPbPr, VGA, CPU/RGB/LVDS LCD | HDMI 1.4, MIPI DSI, 2-channel LVDS, 2-channel RGB LCD |
| Audio interfaces | I2S, SPDIF, AC97 | I2S, AC97 | I2S, AC97 | I2S, PCM, AC97 | I2S, PCM |
| USB OTG | 1 | 1 | 1 | 1 | 1 |
| USB Host | 2 | 1 | 1 | 2 | 2 |
| Storage | NAND (max 64GB), SATA II, SD Card 3.0 | NAND (max 64GB), SD Card 3.0 | NAND (max 64GB), SD Card 3.0 | NAND, MMC | 4x SD Card, eMMC NAND, 2-channel raw NAND |
HOWTOs
This wiki includes some fine tutorials. Feel free to improve them if they turn out to be not so fine or outdated.
The support for sunxi devices is still under development so things may change quite rapidly at times.
Software
- The first steps: Getting u-boot, a kernel, and a rootfs on an SD card.
- Bootable OS images: alternatively, you can use a complete ready-to-use SD card image.
- sunxi-tools (tools to help hacking sunxi devices)
Hardware
Generic Hardware Hacking of Allwinner SoCs:
- JTAG on A10 devices through µSD port
- UART - Universal Asynchronous Receiver/Transmitter on devices based on Allwinner SoCs
- GPIO - General Purpose Input/Output on devices based on Allwinner SoCs
- SPI - Serial Peripheral Interface Bus on devices based on Allwinner SoCs
- PIO - Programmed input/output (PIO) on devices based on Allwinner SoCs
- MicroSD Breakout
- Audio Codec - Audio Codec on devices based on Allwinner SoCs
- CSI - Camera Sensor Interface on devices based on Allwinner SoCs
- Cpufreq - cpufreq support on devices based on Allwinner SoCs
- Benchmarks
- Wifi - 8192cu dropping connection workaround
Featured Community Hardware:
- EOMA68-A10
- RhombusTech aims to create an Open Hardware EOMA68 compliant CoM with an Allwinner A10 CPU inside to be the user replaceable heart of different devices.
- Cubieboard
- A mini (10x6cm), hacker friendly, extendable and very low-cost while powerful ARM board with A10.
- Hackberry
- An alternative low-cost board to cubieboard with very similar hardware and integrated wifi, but with less external headers.
- pcDuino
- An alternative low-cost board to cubieboard with Arduino-compatible headers.
- MarsBoard
- A low cost, really small board (8x5.5cm), with 140 extension pins on 2.0mm headers.
Open Source Hardware:
- A13-OLinuXino
- Open Hardware SBC with an Allwinner A13 CPU inside developed by Olimex with 512MB RAM, 4GB NAND Flash, VGA, Audio In/Out, WIFI, 3x USB Hosts, USB-OTG, LiPo, SD-card, 72 GPIOs, 6-16VDC power input
- A10-OLinuXino
- Open Hardware SBC with an Allwinner A10 CPU inside developed by Olimex with 1GB RAM, 4GB NAND Flash, VGA, HDMI, RS232, JTAG, SATA, 100MBit Ethernet, SD and micro-SD cards, 2x USB hosts, USB-OTG, LiPo, 132 GPIOs, 6-16VDC power input
- A10S-OLinuXino
- Open Hardware SBC with an Allwinner A10S CPU inside developed by Olimex with 512MB RAM, 4GB NAND Flash, HDMI, JTAG, 100MBit Ethernet, micro-SD cards, USB host, USB-OTG, 50 GPIOs, 5VDC power input
- A20-OLinuXino
- Open Hardware SBC with an Allwinner A20 CPU inside developed by Olimex with 1GB RAM, 4GB NAND Flash, VGA, HDMI, SATA, 100MBit Ethernet, SD and micro-SD cards, 2x USB hosts, USB-OTG, LiPo, 160 GPIOs, 6-16VDC power input
Devices:
References
- ↑ "Cortex A8 in TQFP? sure Allwinner A13" Retrieved 23 September 2012
- ↑ http://blog.thinkteletronics.com/all-mobile-socsolutions/ All Mobile Soc/Solutions.