NanoPi NEO from friendlyarm

nanopineo
raspi

#1

Hardware

  • CPU: Allwinner H3, Quad-core Cortex-A7 Up to 1.2GHz
  • DDR3 RAM: 256MB/512MB
  • Connectivity: 10/100M Ethernet
  • USB Host: Type-A x 1, 2.54 mm pin x 2
  • MicroSD Slot x 1
  • MicroUSB: OTG, for power input
  • Debug Serial Port: 4Pin, 2.54 mm pitch pin header
  • Audio input/output Port: 5Pin, 2.0mm pitch pin header
  • GPIO: 2.54mm pitch 36pin. It includes UART, SPI, I2C, IO etc
  • Power Supply: DC 5V/2A
  • PCB Dimension: 40 x 40 mm
  • Working Temperature: -40℃ to 80℃
  • Weight: 14g(WITHOUT Pin-headers)

Pinning

  • GPIO Pin Description
| Pin# 	| Name             	| Linux gpio 	| Pin# 	| Name             	| Linux gpio 	|
|------	|------------------	|------------	|------	|------------------	|------------	|
| 1    	| SYS_3.3V         	|            	| 2    	| VDD_5V           	|            	|
| 3    	| I2C0_SDA         	|            	| 4    	| VDD_5V           	|            	|
| 5    	| I2C0_SCL         	|            	| 6    	| GND              	|            	|
| 7    	| GPIOG11          	| 203        	| 8    	| UART1_TX/GPIOG6  	| 198        	|
| 9    	| GND              	|            	| 10   	| UART1_RX/GPIOG7  	| 199        	|
| 11   	| UART2_TX/GPIOA0  	| 0          	| 12   	| GPIOA6           	| 6          	|
| 13   	| UART2_RTS/GPIOA2 	| 2          	| 14   	| GND              	|            	|
| 15   	| UART2_CTS/GPIOA3 	| 3          	| 16   	| UART1_RTS/GPIOG8 	| 200        	|
| 17   	| SYS_3.3V         	|            	| 18   	| UART1_CTS/GPIOG9 	| 201        	|
| 19   	| SPI0_MOSI/GPIOC0 	| 64         	| 20   	| GND              	|            	|
| 21   	| SPI0_MISO/GPIOC1 	| 65         	| 22   	| UART2_RX/GPIOA1  	| 1          	|
| 23   	| SPI0_CLK/GPIOC2  	| 66         	| 24   	| SPI0_CS/GPIOC3   	| 67         	|

  • USB/Audio/IR Pin Description
| NanoPi-NEO 	|                   	|                               	|      	| NanoPi-NEO V1.1/V1.2 	|                                	|
|------------	|-------------------	|-------------------------------	|------	|----------------------	|--------------------------------	|
| Pin#       	| Name              	| Description                   	| Pin# 	| Name                 	| Description                    	|
| 1          	| VDD_5V            	| 5V Power Out                  	| 1    	| VDD_5V               	| 5V Power Out                   	|
| 2          	| USB-DP1           	| USB1 DP Signal                	| 2    	| USB-DP1              	| USB1 DP Signal                 	|
| 3          	| USB-DM1           	| USB1 DM Signal                	| 3    	| USB-DM1              	| USB1 DM Signal                 	|
| 4          	| USB-DP2           	| USB2 DP Signal                	| 4    	| USB-DP2              	| USB2 DP Signal                 	|
| 5          	| USB-DM2           	| USB2 DM Signal                	| 5    	| USB-DM2              	| USB2 DM Signal                 	|
| 6          	| GPIOL11/IR-RX     	| GPIOL11 or IR Receive         	| 6    	| GPIOL11/IR-RX        	| GPIOL11 or IR Receive          	|
| 7          	| SPDIF-OUT/GPIOA17 	| GPIOA17 or SPDIF-OUT          	| 7    	| SPDIF-OUT/GPIOA17    	| GPIOA17 or SPDIF-OUT           	|
| 8          	| MICIN1P           	| Microphone Positive Input     	| 8    	| PCM0_SYNC/I2S0_LRC   	| I2S/PCM Sample Rate Clock/Sync 	|
| 9          	| MICIN1N           	| Microphone Negative Input     	| 9    	| PCM0_CLK/I2S0_BCK    	| I2S/PCM Sample Rate Clock      	|
| 10         	| LINEOUTR          	| LINE-OUT Right Channel Output 	| 10   	| PCM0_DOUT/I2S0_SDOUT 	| I2S/PCM Serial Data Output     	|
| 11         	| LINEOUTL          	| LINE-OUT Left Channel Output  	| 11   	| PCM0_DIN/I2S0_SDIN   	| I2S/PCM Serial Data Input      	|
| 12         	| GND               	| 0V                            	| 12   	| GND                  	| 0V                             	|
  • V1.1/V1.2 Audio
| Pin# 	| Name     	| Description                   	|
|------	|----------	|-------------------------------	|
| 1    	| MICIN1P  	| Microphone Positive Input     	|
| 2    	| MICIN1N  	| Microphone Negative Input     	|
| 3    	| LINEOUTR 	| LINE-OUT Right Channel Output 	|
| 4    	| GND      	| 0V                            	|
| 5    	| LINEOUTL 	| LINE-OUT Left Channel Output  	|
  • Debug Port(UART0)
| Pin# 	| Name      	|
|------	|-----------	|
| 1    	| GND       	|
| 2    	| VDD_5V    	|
| 3    	| UART_TXD0 	|
| 4    	| UART_RXD0 	|
  1.      SYS_3.3V: 3.3V power output
    
  2.     VVDD_5V: 5V power input/output. When the external device’s power is greater than the MicroUSB's the external device is charging the board otherwise the board powers the external device. The input range is 4.7V ~ 5.6V
    
  3.     All pins are 3.3V, output current is 5mA
    
  4.     For more details refer to the document: [nanopi neo schematic]
    

Software

uboot

mainline uboot released on May 2017
supports fastboot to update uboot

UbuntuCore 16.04

mainline kernel: Linux-4.11.2
rpi-monitor: check system status and information
npi-config: system configuration utility for setting passwords, language, timezone, hostname, SSH and auto-login,and enabling/disabling i2c, spi, serial and PWM
software utility: wiringNP to access GPIO pins
software utility: RPi.GPIO_NP to access GPIO pins
networkmanager: manage network
system log output from serial port
nano editor
welcome window with basic system information and status
auto-login with user account "pi" with access to npi-config
sudoers include "fa"
on first system boot file system will be automatically extended.
supports file system auto check and repair on system boot.
supports FriendlyElec's NanoHat-PCM5102A
supports USB WiFi module: refer to #Connect USB WiFi to NEO
supports audio recording and playing with 3.5mm audio jack
supports USB Host and 100M Ethernet
supports FriendlyElec BakeBit modules
supports dynamic frequency scaling and voltage regulation
relieves overheat compared to kernel Linux-3.4
fixed MAC address

Ubuntu OLED

mainline kernel: Linux-4.11.2
supports FriendlyElec's OLED module

Debian

welcome window with basic system information and status

Debian for NAS Dock

mainline kernel: Linux-4.11.2
supports FriendlyElec's NAS Dock
optimized OpenMediaVault configuration options
allocated swap section

Android

basic system

Links:



Rate vitality of bee colony via analysing its sound
#2

Now LEDE has also support for this target:

commit 34b153d7adc0aa9c34db75a5d324bf03c4159b4b
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Wed Sep 20 19:32:01 2017 +0200

    sunxi: build image for the NanoPi NEO
    
    The NanoPi NEO is a small Allwinner H3 based board available with
    different DRAM configurations.
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit 333f90347e76e6c0c121c1c7df917780eef8b59e
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Tue Sep 26 20:05:31 2017 +0200

    sunxi: kernel: add patches for NanoPi NEO
    
    Enable dwmac-sun8i Ethernet core to use the built-in FastEthernet port.
    Enable exposed UART, USB and I2C pins.
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

commit b80f6a5876086afebde1b80383219504863636fc
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Sat Sep 23 02:47:19 2017 +0200

    uboot-sunxi: build for NanoPi NEO
    
    Signed-off-by: Daniel Golle <daniel@makrotopia.org>

link to target image:
http://downloads.lede-project.org/snapshots/targets/sunxi/cortexa7/lede-sunxi-cortexa7-sun8i-h3-nanopi-neo-squashfs-sdcard.img.gz

(see http://downloads.lede-project.org/snapshots/targets/sunxi/cortexa7/)