Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docs:techref:hardware:soc:soc.allwinner.sunxi [2018/03/31 23:22] – ↷ Page moved from docs:hardware:soc:soc.allwinner.sunxi to docs:techref:hardware:soc:soc.allwinner.sunxi bobafetthotmaildocs:techref:hardware:soc:soc.allwinner.sunxi [2024/02/12 11:43] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Allwinner Sun4i/5i/6i/7i/9i (sunxi) ====== ====== Allwinner Sun4i/5i/6i/7i/9i (sunxi) ======
- 
 Various vendors are offering development boards / [[wp>single-board computer]] based on the [[wp>Allwinner Technology|Allwinner]] SoCs. These are running various flavors of the A1x, A20, A31, and soon H3 SoCs, with different buildouts. The mach is called "sunxi". Various vendors are offering development boards / [[wp>single-board computer]] based on the [[wp>Allwinner Technology|Allwinner]] SoCs. These are running various flavors of the A1x, A20, A31, and soon H3 SoCs, with different buildouts. The mach is called "sunxi".
  
Line 14: Line 13:
 | A31             | -                        trunk            | Quad Cortex-A7                       | | A31             | -                        trunk            | Quad Cortex-A7                       |
 | A33             | -                         na              | Quad Cortex-A7                       | | A33             | -                         na              | Quad Cortex-A7                       |
 +| A64             | -                        trunk            | Quad-core Cortex-A53                 |
 | A80             | -                         na              | 8-core big.LITTLE (4x A15 + 4x A7)   | | A80             | -                         na              | 8-core big.LITTLE (4x A15 + 4x A7)   |
 | H3              | -                        trunk            | Quad-core Cortex-A7                  | | H3              | -                        trunk            | Quad-core Cortex-A7                  |
 +| H5              | -                        trunk            | Quad-core Cortex-A53                 |
 | H8              | -                         na              | 8-core Cortex-A7                     | | H8              | -                         na              | 8-core Cortex-A7                     |
  
-See also [[toh/views/toh_standard_all?datasrt=platform&dataflt[Platform*~]=Allwinner|Table of Hardware]] for supported devices and their basic technical data.+See also [[toh:views:toh_standard_all?datasrt=cpu&dataflt[CPU*~]=Allwinner|Table of Hardware]] for supported devices and their basic technical data. 
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
-^ Model ^ SoC ^ RAM ^ [[docs:techref:flash.layout|Storage]] ^ Network ^ USB ^ [[docs:hardware:port.serial|Serial]] ^ [[docs:hardware:port.jtag|JTAG]] ^ [[wp>UEXT]] ^ Other ^ linux-sunxi page ^ +^ Model ^ SoC ^ RAM ^ [[docs:techref:flash.layout|Storage]] ^ Network ^ USB ^ [[docs:techref:hardware:port.serial|Serial]] ^ [[docs:techref:hardware:port.jtag|JTAG]] ^ [[wp>UEXT]] ^ Other ^ linux-sunxi page ^ 
-| [[toh/lemaker/bananapi|BananaPi]] | A20 | 1024MiB | μSD | Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI, SATA, audio, IR, RCA video out, CSI | [[http://linux-sunxi.org/LeMaker_Banana_Pi|Page]] | +| [[toh:lemaker:banana_pi|BananaPi]] | A20 | 1024MiB | μSD | Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI, SATA, audio, IR, RCA video out, CSI | [[http://linux-sunxi.org/LeMaker_Banana_Pi|Page]] | 
-| [[toh/lemaker/bananapro|BananaPro]] | A20 | 1024MiB | μSD | Gigabit Ethernet, AP6181 BT+WLAN | 2x USB2 | yes | n/a | n/a | HDMI, SATA, audio, IR, RCA video out, CSI | [[http://linux-sunxi.org/LeMaker_Banana_Pro|Page]] |+| [[toh:sinovoip:banana_pi_m2_plus|BananaPi M2 Plus]] | H3 | 1024MiB | μSD, 8GB eMMC | Gigabit Ethernet, Ampak AP6212 | 2x USB2, 1x USB OTG | yes | n/a | n/a | HDMI, IR, GPIO, CSI | [[http://linux-sunxi.org/Sinovoip_Banana_Pi_M2%2B|Page]] | 
 +| [[toh:lemaker:banana_pro|BananaPro]] | A20 | 1024MiB | μSD | Gigabit Ethernet, AP6181 BT+WLAN | 2x USB2 | yes | n/a | n/a | HDMI, SATA, audio, IR, RCA video out, CSI | [[http://linux-sunxi.org/LeMaker_Banana_Pro|Page]] |
 | [[toh/cubietech/cubieboard|Cubieboard]] | A10 | 1024MiB | μSD, 4GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA, audio | [[http://linux-sunxi.org/Cubieboard|Page]] | | [[toh/cubietech/cubieboard|Cubieboard]] | A10 | 1024MiB | μSD, 4GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA, audio | [[http://linux-sunxi.org/Cubieboard|Page]] |
 | [[toh/cubietech/cubieboard2|Cubieboard2]] | A20 | 1024MiB | μSD, 4GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA, audio | [[http://linux-sunxi.org/Cubieboard2|Page]] | | [[toh/cubietech/cubieboard2|Cubieboard2]] | A20 | 1024MiB | μSD, 4GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA, audio | [[http://linux-sunxi.org/Cubieboard2|Page]] |
-| [[toh/merrii/hummingbird/Hummingbird]] | A31 | 1024/2048MiB | μSD, 8/16GB NAND | BCM WiFi, Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI, audio, IR | [[http://linux-sunxi.org/Merrii_Hummingbird_A31|Page]] |+| [[toh:merrii:hummingbird]] | A31 | 1024/2048MiB | μSD, 8/16GB NAND | BCM WiFi, Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI, audio, IR | [[http://linux-sunxi.org/Merrii_Hummingbird_A31|Page]] |
 | [[toh/cubietech/cubietruck|Cubietruck]] | A20 | 2048MiB | μSD, 8GB NAND | BCM WiFi, Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI, VGA, SATA, audio, IR, TOSlink | [[http://linux-sunxi.org/Cubietruck|Page]] | | [[toh/cubietech/cubietruck|Cubietruck]] | A20 | 2048MiB | μSD, 8GB NAND | BCM WiFi, Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI, VGA, SATA, audio, IR, TOSlink | [[http://linux-sunxi.org/Cubietruck|Page]] |
 | [[toh:lamobo:bananapi_r1|Lamobo R1]] | A20 | 1024MiB | μSD | RTL8192CU 802.11bgn 2T2R WiFi \\ BCM53125 Gigabit Ethernet switch with 5 ports | 1x USB2 Host, 1x USB2 OTG | yes | n/a | n/a | HDMI, SATA, audio, IR, CSI | [[http://linux-sunxi.org/Lamobo_R1|Page]] | | [[toh:lamobo:bananapi_r1|Lamobo R1]] | A20 | 1024MiB | μSD | RTL8192CU 802.11bgn 2T2R WiFi \\ BCM53125 Gigabit Ethernet switch with 5 ports | 1x USB2 Host, 1x USB2 OTG | yes | n/a | n/a | HDMI, SATA, audio, IR, CSI | [[http://linux-sunxi.org/Lamobo_R1|Page]] |
-| [[toh/olimex/a10-olinuxino|Olimex A10-OLinuXino-LIME]] | A10 | 512MiB | μSD | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA | [[http://linux-sunxi.org/A10-OLinuXino-LIME|Page]] |+| [[toh:olimex:a10-olinuxino-lime|Olimex A10-OLinuXino-LIME]] | A10 | 512MiB | μSD | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA | [[http://linux-sunxi.org/A10-OLinuXino-LIME|Page]] |
 | [[toh/olimex/a13-olinuxino|Olimex A13-OLinuXino-WIFI]] | A13 | 512MiB | μSD | RTL WiFi | 3x USB2 | yes | n/a | yes | VGA | [[http://linux-sunxi.org/A13-OLinuXino|Page]] | | [[toh/olimex/a13-olinuxino|Olimex A13-OLinuXino-WIFI]] | A13 | 512MiB | μSD | RTL WiFi | 3x USB2 | yes | n/a | yes | VGA | [[http://linux-sunxi.org/A13-OLinuXino|Page]] |
-| [[toh/olimex/a13-olinuxino-som|Olimex A13-SOM]] | A13 | 256/512MiB | μSD, 4GB NAND | RTL WiFi | n/a | yes | n/a | n/a | n/a | | +| [[toh:olimex:a13-som|Olimex A13-SOM]] | A13 | 256/512MiB | μSD, 4GB NAND | RTL WiFi | n/a | yes | n/a | n/a | n/a | | 
-| [[toh/olimex/a20-olinuxino|Olimex A20-OLinuXino-MICRO]] | A20 | 1024MiB | SD, μSD, 4GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA, audio | [[http://linux-sunxi.org/A20-olinuxino-micro|Page]] | +| [[toh:olimex:a20-olinuxino-micro|Olimex A20-OLinuXino-MICRO]] | A20 | 1024MiB | SD, μSD, 4GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | yes | HDMI, SATA, audio | [[http://linux-sunxi.org/A20-olinuxino-micro|Page]] | 
-| [[toh//xunlong/orangepiplus|Orange Pi Plus]] | H3 | 1024MiB | μSD | Gigabit Ethernet | 4x USB2 | yes | n/a | n/a | n/a | [[http://linux-sunxi.org/Xunlong_Orange_Pi_Plus|Page]] | +| [[toh:xunlong:orange_pi_plus|Orange Pi Plus]] | H3 | 1024MiB | μSD | Gigabit Ethernet | 4x USB2 | yes | n/a | n/a | n/a | [[http://linux-sunxi.org/Xunlong_Orange_Pi_Plus|Page]] | 
-| [[Orange Pi Zero]] | H2+ | 256/512MiB | μSD | Fast Ethernet, [[http://linux-sunxi.org/Wifi#Allwinner|XR819 Wi-Fi]] | 1x USB2 | yes | n/a | n/a | u.FL | [[http://linux-sunxi.org/Xunlong_Orange_Pi_Zero|Page]] | +| [[toh:xunlong:orange_pi_pc|Orange Pi PC]] | H3 | 512/1024MiB | μSD | Fast Ethernet | 3x USB2 | yes | n/a | n/a | n/a | [[http://linux-sunxi.org/Xunlong_Orange_Pi_PC|Page]] | 
-| [[toh/pcduino/pcduino|pcDuino/pcDuinoV2]] | A10 | 1024MiB | μSD, 2GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | n/a | HDMI / Arduino headers| [[http://linux-sunxi.org/LinkSprite_pcDuino_V2|Page]] | +| [[toh:xunlong:orange_pi_zero|Orange Pi Zero]] | H2+ | 256/512MiB | μSD | Fast Ethernet, [[http://linux-sunxi.org/Wifi#Allwinner|XR819 Wi-Fi]] | 1x USB2 | yes | n/a | n/a | u.FL | [[http://linux-sunxi.org/Xunlong_Orange_Pi_Zero|Page]] | 
-| [[toh/pcduino/pcduino3|pcDuino3]] | A20 | 1024MiB | μSD, 4GB NAND | Fast Ethernet, RTL8188EU WiFi | 1x USB2 | yes | n/a | n/a | HDMI / Arduino headers, SATA, IR | [[http://linux-sunxi.org/LinkSprite_pcDuino_V3|Page]] |+| [[toh/xunlong/orangepizeroplus|Orange Pi Zero Plus]] | H5 | 512MiB | μSD | Gigabit Ethernet, [[http://linux-sunxi.org/Wifi#RTL8189FTV|RTL8189FTV]] (WiFi [[http://lists.openwrt.org/pipermail/openwrt-devel/2018-March/011517.html|Unsupported]]) | 1x USB2 | yes | n/a | n/a | u.FL | [[http://linux-sunxi.org/Xunlong_Orange_Pi_Zero_Plus|Page]] | 
 +| [[toh:linksprite:pcduino|pcDuino/pcDuinoV2]] | A10 | 1024MiB | μSD, 2GB NAND | Fast Ethernet | 2x USB2 | yes | n/a | n/a | HDMI / Arduino headers| [[http://linux-sunxi.org/LinkSprite_pcDuino_V2|Page]] | 
 +| [[toh:linksprite:pcduino3|pcDuino3]] | A20 | 1024MiB | μSD, 4GB NAND | Fast Ethernet, RTL8188EU WiFi | 1x USB2 | yes | n/a | n/a | HDMI / Arduino headers, SATA, IR | [[http://linux-sunxi.org/LinkSprite_pcDuino_V3|Page]] |
 | [[toh/pcduino/pcduino8|pcDuino8 / Arches]] | A80 | 2048MiB | μSD, 8GB NAND | BCM WiFi (AMPAK 6330), Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI /  IR | [[http://linux-sunxi.org/Pcduino8_A80_Board|Page]] | | [[toh/pcduino/pcduino8|pcDuino8 / Arches]] | A80 | 2048MiB | μSD, 8GB NAND | BCM WiFi (AMPAK 6330), Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI /  IR | [[http://linux-sunxi.org/Pcduino8_A80_Board|Page]] |
 +| [[toh:pine64:pine_a64plus|Pine64 / PINE A64]] | A64 | 512MiB | μSD | Fast Ethernet | 2x USB2 | yes | n/a | n/a | HDMI /  Audio / GPIO | [[http://linux-sunxi.org/Pine64|Page]] |
 +| [[toh:pine64:pine_a64plus|Pine64 / PINE A64+]] | A64 | 1024/2048MiB | μSD | Gigabit Ethernet | 2x USB2 | yes | n/a | n/a | HDMI /  Audio / GPIO | [[http://linux-sunxi.org/Pine64|Page]] |
  
 [[wp>UEXT]] is an open standard port to provide serial, I²C and SPI expansion ports. [[wp>UEXT]] is an open standard port to provide serial, I²C and SPI expansion ports.
  
 ===== Status ===== ===== Status =====
- 
 Patches have been back-ported from the [[http://linux-sunxi.org/]] community, including device trees, clocks, timers, PIO, ethernet, USB, and, MMC. Patches have been back-ported from the [[http://linux-sunxi.org/]] community, including device trees, clocks, timers, PIO, ethernet, USB, and, MMC.
 These patches are being mainlined as they come online by the community.  These patches are being mainlined as they come online by the community. 
Line 53: Line 59:
  
 ==== Working ==== ==== Working ====
- 
   * SD/MMC   * SD/MMC
   * USB EHCI/OHCI   * USB EHCI/OHCI
Line 65: Line 70:
  
 ==== Being worked on ==== ==== Being worked on ====
- 
   * NAND (have some snippets already)   * NAND (have some snippets already)
   * Audio   * Audio
   * SPI (need integration)   * SPI (need integration)
- 
  
 ===== Installing OpenWrt ===== ===== Installing OpenWrt =====
-This section details what is required to install and upgrade OpenWrt. The generic procedure is described here: [[docs:guide-user:installation:generic.flashing]]; this devices don't have a flash chip soldered to the PCB but an SD-Card slot.+This section details what is required to install and upgrade OpenWrt. The generic procedure is described here: [[docs:guide-user:installation:generic.flashing]]; these devices don't have a flash chip soldered to the PCB but an SD-Card slot. 
 + 
 +==== Pre-built release and snapshot images ==== 
 +++++ OpenWrt firmware downloads for sunxi| 
 +<!-- ToH: { 
 +  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "unsupported_functions", "cpu", "target", "subtarget", "firmwareopenwrtinstallurl", "firmwareopenwrtsnapshotinstallurl", "deviceid"], 
 +  "filterColumns": {"target": "^sunxi$"
 +} --> 
 +++++
  
 ==== Trunk - Pre-built SD card images ==== ==== Trunk - Pre-built SD card images ====
 +{{page>meta:infobox:outdated&noheader&nofooter&noeditbtn}}
  
 You can build an SD card image directly from buildroot for your device. You can build an SD card image directly from buildroot for your device.
  
-  * Check out trunk - https://dev.openwrt.org/wiki/GetSource +  * Check out trunk - [[https://dev.openwrt.org/wiki/GetSource]] 
-  * Run make menuconfig+  * Run ''make menuconfig''
   * Select device profile - f.e. BananaPi   * Select device profile - f.e. BananaPi
   * Start the build   * Start the build
   * The built SD card images will be in bin/sunxi   * The built SD card images will be in bin/sunxi
-  * dd if=bin/sunxi/openwrt-sunxi-Bananapi-sdcard-vfat-ext4.img of=/dev/sdc +  * ''dd if=bin/sunxi/openwrt-sunxi-Bananapi-sdcard-vfat-ext4.img of=/dev/sdc''
  
 ==== Chaos Calmer - Assembling the SD card image yourself ==== ==== Chaos Calmer - Assembling the SD card image yourself ====
- +OpenWrt CC trunk images are located in [[http://downloads.openwrt.org/snapshots/trunk/sunxi/|snapshots/trunk/sunxi/]] folder. 
-OpenWrt trunk images are located in [[http://downloads.openwrt.org/snapshots/trunk/sunxi/|snapshots/trunk/sunxi/]] folder. +
  
 For example if you have Cubieboard3/Cubietruck then download these files from the server: For example if you have Cubieboard3/Cubietruck then download these files from the server:
Line 98: Line 111:
  
 ==== SD layout ==== ==== SD layout ====
 +SD layout with 512 byte blocks: 
  
-SD layout with 512 byte blocks:  
 ^ NAME                  ^ start block     ^ size      ^ ^ NAME                  ^ start block     ^ size      ^
 | MBR                   | 0               | 1 block   | | MBR                   | 0               | 1 block   |
Line 107: Line 120:
  
 ==== SD preparation ==== ==== SD preparation ====
- 
 We assume **/dev/mmcblk0** is the SD card and **Cubietruck** is the board. We assume **/dev/mmcblk0** is the SD card and **Cubietruck** is the board.
  
Line 192: Line 204:
 ->[[docs:guide-user:installation:generic.sysupgrade]] ->[[docs:guide-user:installation:generic.sysupgrade]]
  
-*WiP* +sysupgrade works out of the box, using (at least) the ext4-sdcard.img.gz files.
- +
-If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line toolIt is important that you put the firmware image into the ramdisk (/tmp) before you start flashing. +
  
 ===== Links ===== ===== Links =====
- 
 For further information about the SoCs, go to [[http://linux-sunxi.org/Main_Page]] For further information about the SoCs, go to [[http://linux-sunxi.org/Main_Page]]
  
 ===== How can you help ===== ===== How can you help =====
- 
   * We're looking for any A31 / A80 / H3 hardware at the moment   * We're looking for any A31 / A80 / H3 hardware at the moment
   * Hardware donations - https://dev.openwrt.org/wiki/WantedHardware   * Hardware donations - https://dev.openwrt.org/wiki/WantedHardware
   * Test GPIOs and peripherals on A13/A20 and provide feedback   * Test GPIOs and peripherals on A13/A20 and provide feedback
  
-===== Tags ===== +===== Devices ===== 
-[[meta:tags|How to add tags]] +List of related devices: {{tagpage>sunxi}} 
-{{tag>FastEthernet no_switch 0NIC 1NIC 0WNIC 1WNIC Serial ARM devboard Cortex-A7 Cortex-A8 ARMv7 sunxi}}+
  • Last modified: 2018/03/31 23:22
  • by bobafetthotmail