• The NanoPi NEO2 is a newly released super tiny ARM board by FriendlyElec. It uses Allwinner’s 64-bit H5 quad-core SoC (ARM Cortex-A53). It has internal hexa-core Mali450 GPU, 512M DDR3 RAM. A UbuntuCore and Armbian image files are ready for it.

  • The NanoPi NEO2 inherits NEO's form factor and has compatible interfaces and ports with NEO. In addition in such a small dimension it has Gbps Ethernet and one USB host port. These features make it especially suitable for applications that require high data throughput, speedy data transmission and high performance. Hobbyists and makers will just love it.

Technical specification

  • CPU: Allwinner H5, Quad-core 64-bit high-performance Cortex A53;
  • RAM: 512MB/1024MB DDR3;
  • Connectivity: 10/100/1000M Ethernet, RTL8211E-VB-CG chip;
  • USB Host: USB Type A x 1 and USB pin header x 2;
  • MicroSD Slot: MicroSD x 1 for system boot and storage;
  • LED: Power LED x 1, System LED x 1;
  • GPIO1: 2.54mm pitch 24 pin-header, compatible with Raspberry Pi's GPIO pin 1 - pin 24. It includes UART, SPI, I2C, IO etc;
  • GPIO2: 2.54mm pitch 12 pin-header. It includes USB, IR receiver, I2S, IO etc;
  • Serial Debug Port: 2.54mm pitch 4 pin-header;
  • Audio In/Out: 2.54mm pitch 4 pin-header;
  • MicroUSB: Power input(5V/2A) and OTG;
  • PCB Dimension: 40 x 40mm;
  • Working Temperature: -20℃ to 70℃;
  • Weight: 13g (without pin-headers);
  • OS/Software: u-boot, Ubuntu Core.

Unpacking and assembly

  • Glue the thermal conductive gasket in a special place on the bottom of the housing;

  • Peel off the transparent protective film from the gasket, carefully install the Board Nano NEO2 in the body and fasten the board to the body part using two small bolts (M1.6x3mm) from the kit;

  • Gently plug NanoHat OLED module on the NanoPi NEO2 board;

  • Put on the table the top of the body and install the three round buttons in special holes;

  • Remove the protective film from the screen, carefully connect the two parts of the body and screw both parts of the body with long bolts (M2.5x23mm) from the kit;

  • Then turn over the body and glue the rubber feet in special places on the body, by the way, pay attention to the thread M3 in these special places (if necessary, the body can be screwed somewhere).

  • The result is something like this:

Software

Open the link http://download.friendlyarm.com/nanopineo2 and click on the Google Drive icon. Then go to the folder official-ROMs and select the image file. Because I have version NanoPi NEO2 with OLED screen, I download the image nanopi-neo2_sd_ubuntu-oled-xenial_4.14_arm64_20181011.img.zip from accessory-ROMs folder.

$ unzip nanopi-neo2_sd_ubuntu-oled-xenial_4.14_arm64_20181011.img.zip
$ dd if=nanopi-neo2_sd_ubuntu-oled-xenial_4.14_arm64_20181011.img of=/dev/disk2
  • If you connect the microSD card that came with the kit (or that we just recorded) to another linux computer (Synology for example) and see what's on it, we'll see something like this:
NAS2:~# parted /dev/sdq print
Model: Generic- USB3.0 CRW -0 (scsi)
Disk /dev/sdq: 15.9GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      25.2MB  130MB   105MB   primary
 2      130MB   3900MB  3770MB  primary

NAS2:~# mount | grep /dev/sdq
/dev/sdq1 on /volumeUSB1/usbshare1-1 type vfat (rw,relatime,uid=1024,gid=100,fmask=0000,dmask=0000,allow_utime=0022,codepage=fault,iocharset=default,shortname=mixed,quiet,utf8,flush,errors=remount-ro)
/dev/sdq2 on /volumeUSB1/usbshare1-2 type ext4 (rw,relatime,nodelalloc,synoacl,data=ordered)

NAS2:~# df -h | grep /dev/sdq
/dev/sdq1       100M   18M   83M  18% /volumeUSB1/usbshare1-1
/dev/sdq2       2.4G  1.8G  623M  75% /volumeUSB1/usbshare1-2

NAS2:~# ls -alh /volumeUSB1/usbshare1-1/
total 18M
drwxrwxrwx  5 admin users  16K 2019-03-05 .
drwxr-xr-x 11 root  root  4.0K 2019-03-05 ..
-rwxrwxrwx  1 admin users 1.1K 2018-06-28 boot.cmd
-rwxrwxrwx  1 admin users 1.2K 2018-06-28 boot.scr
-rwxrwxrwx  1 admin users  14M 2018-06-28 Image
drwxrwxrwx  2 admin users 2.0K 2018-06-28 overlays
-rwxrwxrwx  1 admin users 4.3M 2018-06-28 rootfs.cpio.gz
-rwxrwxrwx  1 admin users  35K 2018-06-28 sun50i-h5-nanopi-k1-plus.dtb
-rwxrwxrwx  1 admin users  34K 2018-06-28 sun50i-h5-nanopi-m1-plus2.dtb
-rwxrwxrwx  1 admin users  33K 2018-06-28 sun50i-h5-nanopi-neo2.dtb
-rwxrwxrwx  1 admin users  33K 2018-06-28 sun50i-h5-nanopi-neo-core2.dtb
-rwxrwxrwx  1 admin users  34K 2018-06-28 sun50i-h5-nanopi-neo-plus2.dtb

NAS2:~# ls -alh /volumeUSB1/usbshare1-2/
total 92K
drwxrwxrwx  23 root root 4.0K 2019-03-05 .
drwxr-xr-x  11 root root 4.0K 2019-03-05 ..
drwxr-xr-x   2 root root 4.0K 2018-06-28 bin
drwxr-xr-x   2 root root 4.0K 2015-10-19 boot
drwxr-xr-x   4 root root 4.0K 2018-06-28 dev
drwxr-xr-x  89 root root 4.0K 2018-06-28 etc
drwxr-xr-x   4 root root 4.0K 2017-03-28 home
drwxr-xr-x  17 root root 4.0K 2018-06-28 lib
drwx------   2 root root 4.0K 1970-01-01 lost+found
drwxr-xr-x   2 root root 4.0K 2015-10-21 media
drwxr-xr-x   4 root root 4.0K 2018-06-28 mnt
drwxr-xr-x   3 root root 4.0K 2018-06-28 opt
drwxr-xr-x   2 root root 4.0K 2015-10-19 proc
drwxr-xr-x  12 root root 4.0K 2018-06-28 root
drwxr-xr-x   8 root root 4.0K 2017-03-15 run
drwxr-xr-x   2 root root 4.0K 2018-04-17 sbin
drwxr-xr-x   2 root root 4.0K 2015-10-21 srv
drwxr-xr-x   2 root root 4.0K 2015-10-16 sys
drwxrwxrwt   2 root root 4.0K 2018-06-28 tmp
drwxr-xr-x  11 root root 4.0K 2017-10-10 usr
drwxr-xr-x  11 root root 4.0K 2016-06-21 var

As we can see, the first partition has a size of 100 megabytes – FAT32 file system, on this partition there is a bootloader. And the second partition with size 2.4 GiB – file system ext4 with pre-installed Linux.

First switch on

NanoPi NEO2 connected to the network cable and the power cable with a micro USB connector. The device turns on, receives an IP address from the DHCP server after a few seconds, then the display lights up after a few seconds. The screen shows the wrong date and time, and after a couple of seconds, the date and time are corrected to the actual (adjusted for the wrong default time zone).

The default buttons work as standard:

  • F1 – displays the current date and time on the screen;
  • F2 – displays system information with IP address, CPU load, amount of free / installed RAM, disk space and CPU temperature;
  • F3 – shutdown NanoPi NEO2 (in this mode, pressing F1 changes the menu item Yes / No, and pressing F2 acts as the Enter button).

As we saw in parted section with pre-installed Linux was slightly less in size than 4GB, but after the first boot partition is expanded to 15GB. This is done in order to be able to take to install any microSD-card from 4GB and above, copy the image to it with preinstalled Linux, and boot. And then after the first boot, the size of the root partition increases to the maximum of the installed microSD card.

By the way, if NanoPi NEO2 is not connected to the power supply, but to any other computer, NanoPi NEO2 will be defined as a USB-device, and even the first partition with the bootloader will be available for reading:

$ dmesg -T
[Tue Mar  5 15:36:56 2019] usb 2-1.2: new high-speed USB device number 15 using ehci-pci
[Tue Mar  5 15:36:57 2019] usb 2-1.2: New USB device found, idVendor=0525, idProduct=a4a5, bcdDevice= 4.14
[Tue Mar  5 15:36:57 2019] usb 2-1.2: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[Tue Mar  5 15:36:57 2019] usb 2-1.2: Product: Mass Storage Gadget
[Tue Mar  5 15:36:57 2019] usb 2-1.2: Manufacturer: Linux 4.14.52 with musb-hdrc
[Tue Mar  5 15:36:57 2019] usb-storage 2-1.2:1.0: USB Mass Storage device detected
[Tue Mar  5 15:36:57 2019] usb-storage 2-1.2:1.0: Quirks match for vid 0525 pid a4a5: 10000
[Tue Mar  5 15:36:57 2019] scsi host34: usb-storage 2-1.2:1.0
[Tue Mar  5 15:36:58 2019] scsi 34:0:0:0: Direct-Access     Linux    File-Stor Gadget 0414 PQ: 0 ANSI: 2
[Tue Mar  5 15:36:58 2019] sd 34:0:0:0: Attached scsi generic sg3 type 0
[Tue Mar  5 15:36:58 2019] sd 34:0:0:0: Power-on or device reset occurred
[Tue Mar  5 15:36:58 2019] sd 34:0:0:0: [sdc] 204800 512-byte logical blocks: (105 MB/100 MiB)
[Tue Mar  5 15:36:58 2019] sd 34:0:0:0: [sdc] Write Protect is off
[Tue Mar  5 15:36:58 2019] sd 34:0:0:0: [sdc] Mode Sense: 0f 00 00 00
[Tue Mar  5 15:36:58 2019] sd 34:0:0:0: [sdc] Write cache: enabled, read cache: enabled, does not support DPO or FUA
[Tue Mar  5 15:36:58 2019] sd 34:0:0:0: [sdc] Attached SCSI disk

$ lsusb | grep 0525
Bus 002 Device 015: ID 0525:a4a5 Netchip Technology, Inc. Pocketbook Pro 903

$ sudo parted /dev/sdc print
Model: Linux File-Stor Gadget (scsi)
Disk /dev/sdc: 105MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags: 

Number  Start  End    Size   File system  Flags
 1      0.00B  105MB  105MB  fat16

After booting, you can connect to NanoPi NEO2 via ssh using the following accounts: pi@pi, fa@fa and root@fa:

$ ssh root@nanopi
root@nanopi password: 
 _____     _                _ _       _____ _     _____ ____ 
|  ___| __(_) ___ _ __   __| | |_   _| ____| |   | ____/ ___|
| |_ | '__| |/ _ \ '_ \ / _` | | | | |  _| | |   |  _|| |    
|  _|| |  | |  __/ | | | (_| | | |_| | |___| |___| |__| |___ 
|_|  |_|  |_|\___|_| |_|\__,_|_|\__, |_____|_____|_____\____|
                                |___/                        

Welcome to Ubuntu core 16.04 LTS 4.14.52
System load:   0.25             Up time:       6 min        Local users:   2                
Memory usage:  5 % of 992Mb     IP:            192.168.255.15
CPU temp:      21°C             
Usage of /:    13% of 15G       

 * Documentation: http://wiki.friendlyarm.com/Ubuntu
 * Forum: http://www.friendlyarm.com/Forum/

root@NanoPi-NEO2:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            462M     0  462M   0% /dev
tmpfs           100M  3.4M   96M   4% /run
/dev/mmcblk0p2   15G  1.8G   13G  13% /
tmpfs           497M     0  497M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           497M     0  497M   0% /sys/fs/cgroup
/dev/mmcblk0p1  100M   18M   83M  18% /boot
tmpfs           100M     0  100M   0% /run/user/1000
tmpfs           100M     0  100M   0% /run/user/0

root@NanoPi-NEO2:~# dmesg -T
[Tue Mar  5 12:36:36 2019] Booting Linux on physical CPU 0x0
[Tue Mar  5 12:36:36 2019] Linux version 4.14.52 (root@wwd) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02)) #94 SMP Thu Jun 28 18:34:19 CST 2018
[Tue Mar  5 12:36:36 2019] Boot CPU: AArch64 Processor [410fd034]
[Tue Mar  5 12:36:36 2019] Machine model: FriendlyElec NanoPi-NEO2
[Tue Mar  5 12:36:36 2019] cma: Reserved 64 MiB at 0x000000007c000000
[Tue Mar  5 12:36:36 2019] On node 0 totalpages: 262144
[Tue Mar  5 12:36:36 2019]   DMA zone: 4096 pages used for memmap
[Tue Mar  5 12:36:36 2019]   DMA zone: 0 pages reserved
[Tue Mar  5 12:36:36 2019]   DMA zone: 262144 pages, LIFO batch:31
[Tue Mar  5 12:36:36 2019] psci: probing for conduit method from DT.
[Tue Mar  5 12:36:36 2019] psci: PSCIv0.2 detected in firmware.
[Tue Mar  5 12:36:36 2019] psci: Using standard PSCI v0.2 function IDs
[Tue Mar  5 12:36:36 2019] psci: Trusted OS migration not required
[Tue Mar  5 12:36:36 2019] percpu: Embedded 21 pages/cpu @ffff80003bf72000 s46232 r8192 d31592 u86016
[Tue Mar  5 12:36:36 2019] pcpu-alloc: s46232 r8192 d31592 u86016 alloc=21*4096
[Tue Mar  5 12:36:36 2019] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[Tue Mar  5 12:36:36 2019] Detected VIPT I-cache on CPU0
[Tue Mar  5 12:36:36 2019] CPU features: enabling workaround for ARM erratum 845719
[Tue Mar  5 12:36:36 2019] Built 1 zonelists, mobility grouping on.  Total pages: 258048
[Tue Mar  5 12:36:36 2019] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0
[Tue Mar  5 12:36:36 2019] log_buf_len individual max cpu contribution: 4096 bytes
[Tue Mar  5 12:36:36 2019] log_buf_len total cpu_extra contributions: 12288 bytes
[Tue Mar  5 12:36:36 2019] log_buf_len min size: 16384 bytes
[Tue Mar  5 12:36:36 2019] log_buf_len: 32768 bytes
[Tue Mar  5 12:36:36 2019] early log buf free: 14828(90%)
[Tue Mar  5 12:36:36 2019] PID hash table entries: 4096 (order: 3, 32768 bytes)
[Tue Mar  5 12:36:36 2019] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[Tue Mar  5 12:36:36 2019] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[Tue Mar  5 12:36:36 2019] Memory: 945420K/1048576K available (9022K kernel code, 730K rwdata, 3072K rodata, 512K init, 413K bss, 37620K reserved, 65536K cma-reserved)
[Tue Mar  5 12:36:36 2019] Virtual kernel memory layout:
[Tue Mar  5 12:36:36 2019]     modules : 0xffff000000000000 - 0xffff000008000000   (   128 MB)
[Tue Mar  5 12:36:36 2019]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022 GB)
[Tue Mar  5 12:36:36 2019]       .text : 0xffff000008080000 - 0xffff000008950000   (  9024 KB)
[Tue Mar  5 12:36:36 2019]     .rodata : 0xffff000008950000 - 0xffff000008c60000   (  3136 KB)
[Tue Mar  5 12:36:36 2019]       .init : 0xffff000008c60000 - 0xffff000008ce0000   (   512 KB)
[Tue Mar  5 12:36:36 2019]       .data : 0xffff000008ce0000 - 0xffff000008d96808   (   731 KB)
[Tue Mar  5 12:36:36 2019]        .bss : 0xffff000008d96808 - 0xffff000008dfdf40   (   414 KB)
[Tue Mar  5 12:36:36 2019]     fixed   : 0xffff7dfffe7fb000 - 0xffff7dfffec00000   (  4116 KB)
[Tue Mar  5 12:36:36 2019]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16 MB)
[Tue Mar  5 12:36:36 2019]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048 GB maximum)
[Tue Mar  5 12:36:36 2019]               0xffff7e0000000000 - 0xffff7e0001000000   (    16 MB actual)
[Tue Mar  5 12:36:36 2019]     memory  : 0xffff800000000000 - 0xffff800040000000   (  1024 MB)
[Tue Mar  5 12:36:36 2019] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[Tue Mar  5 12:36:36 2019] Hierarchical RCU implementation.
[Tue Mar  5 12:36:36 2019] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[Tue Mar  5 12:36:36 2019] GIC: Using split EOI/Deactivate mode
[Tue Mar  5 12:36:36 2019] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[Tue Mar  5 12:36:36 2019] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[Tue Mar  5 12:36:36 2019] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[Tue Mar  5 12:36:36 2019] Console: colour dummy device 80x25
[Tue Mar  5 12:36:36 2019] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[Tue Mar  5 12:36:36 2019] pid_max: default: 32768 minimum: 301
[Tue Mar  5 12:36:36 2019] Security Framework initialized
[Tue Mar  5 12:36:36 2019] AppArmor: AppArmor disabled by boot time parameter
[Tue Mar  5 12:36:36 2019] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[Tue Mar  5 12:36:36 2019] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[Tue Mar  5 12:36:36 2019] ASID allocator initialised with 32768 entries
[Tue Mar  5 12:36:36 2019] Hierarchical SRCU implementation.
[Tue Mar  5 12:36:36 2019] smp: Bringing up secondary CPUs ...
[Tue Mar  5 12:36:36 2019] Detected VIPT I-cache on CPU1
[Tue Mar  5 12:36:36 2019] CPU1: Booted secondary processor [410fd034]
[Tue Mar  5 12:36:36 2019] Detected VIPT I-cache on CPU2
[Tue Mar  5 12:36:36 2019] CPU2: Booted secondary processor [410fd034]
[Tue Mar  5 12:36:36 2019] Detected VIPT I-cache on CPU3
[Tue Mar  5 12:36:36 2019] CPU3: Booted secondary processor [410fd034]
[Tue Mar  5 12:36:36 2019] smp: Brought up 1 node, 4 CPUs
[Tue Mar  5 12:36:36 2019] SMP: Total of 4 processors activated.
[Tue Mar  5 12:36:36 2019] CPU features: detected feature: 32-bit EL0 Support
[Tue Mar  5 12:36:36 2019] CPU features: detected feature: Kernel page table isolation (KPTI)
[Tue Mar  5 12:36:36 2019] CPU: All CPU(s) started at EL2
[Tue Mar  5 12:36:36 2019] alternatives: patching kernel code
[Tue Mar  5 12:36:36 2019] devtmpfs: initialized
[Tue Mar  5 12:36:36 2019] random: get_random_u32 called from bucket_table_alloc+0xf8/0x280 with crng_init=0
[Tue Mar  5 12:36:36 2019] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[Tue Mar  5 12:36:36 2019] futex hash table entries: 1024 (order: 5, 131072 bytes)
[Tue Mar  5 12:36:36 2019] pinctrl core: initialized pinctrl subsystem
[Tue Mar  5 12:36:36 2019] NET: Registered protocol family 16
[Tue Mar  5 12:36:36 2019] cpuidle: using governor menu
[Tue Mar  5 12:36:36 2019] vdso: 2 pages (1 code @ ffff000008956000, 1 data @ ffff000008ce4000)
[Tue Mar  5 12:36:36 2019] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[Tue Mar  5 12:36:36 2019] DMA: preallocated 256 KiB pool for atomic allocations
[Tue Mar  5 12:36:36 2019] Serial: AMBA PL011 UART driver
[Tue Mar  5 12:36:36 2019] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[Tue Mar  5 12:36:36 2019] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[Tue Mar  5 12:36:36 2019] gpio-regulator gpio-regulator: could not find pctldev for node /soc/pinctrl@01f02c00/regulator_pins@0, deferring probe
[Tue Mar  5 12:36:36 2019] SCSI subsystem initialized
[Tue Mar  5 12:36:36 2019] usbcore: registered new interface driver usbfs
[Tue Mar  5 12:36:36 2019] usbcore: registered new interface driver hub
[Tue Mar  5 12:36:36 2019] usbcore: registered new device driver usb
[Tue Mar  5 12:36:36 2019] media: Linux media interface: v0.10
[Tue Mar  5 12:36:36 2019] Linux video capture interface: v2.00
[Tue Mar  5 12:36:36 2019] pps_core: LinuxPPS API ver. 1 registered
[Tue Mar  5 12:36:36 2019] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[Tue Mar  5 12:36:36 2019] PTP clock support registered
[Tue Mar  5 12:36:36 2019] Advanced Linux Sound Architecture Driver Initialized.
[Tue Mar  5 12:36:36 2019] clocksource: Switched to clocksource arch_sys_counter
[Tue Mar  5 12:36:36 2019] VFS: Disk quotas dquot_6.6.0
[Tue Mar  5 12:36:36 2019] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[Tue Mar  5 12:36:36 2019] FS-Cache: Loaded
[Tue Mar  5 12:36:36 2019] CacheFiles: Loaded
[Tue Mar  5 12:36:36 2019] NET: Registered protocol family 2
[Tue Mar  5 12:36:36 2019] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[Tue Mar  5 12:36:36 2019] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[Tue Mar  5 12:36:36 2019] TCP: Hash tables configured (established 8192 bind 8192)
[Tue Mar  5 12:36:36 2019] UDP hash table entries: 512 (order: 2, 16384 bytes)
[Tue Mar  5 12:36:36 2019] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[Tue Mar  5 12:36:36 2019] NET: Registered protocol family 1
[Tue Mar  5 12:36:36 2019] RPC: Registered named UNIX socket transport module.
[Tue Mar  5 12:36:36 2019] RPC: Registered udp transport module.
[Tue Mar  5 12:36:36 2019] RPC: Registered tcp transport module.
[Tue Mar  5 12:36:36 2019] RPC: Registered tcp NFSv4.1 backchannel transport module.
[Tue Mar  5 12:36:36 2019] Unpacking initramfs...
[Tue Mar  5 12:36:36 2019] Initramfs unpacking failed: junk in compressed archive
[Tue Mar  5 12:36:36 2019] Freeing initrd memory: 5120K
[Tue Mar  5 12:36:36 2019] audit: initializing netlink subsys (disabled)
[Tue Mar  5 12:36:36 2019] audit: type=2000 audit(0.240:1): state=initialized audit_enabled=0 res=1
[Tue Mar  5 12:36:36 2019] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[Tue Mar  5 12:36:36 2019] FS-Cache: Netfs 'nfs' registered for caching
[Tue Mar  5 12:36:36 2019] NFS: Registering the id_resolver key type
[Tue Mar  5 12:36:36 2019] Key type id_resolver registered
[Tue Mar  5 12:36:36 2019] Key type id_legacy registered
[Tue Mar  5 12:36:36 2019] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[Tue Mar  5 12:36:36 2019] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[Tue Mar  5 12:36:36 2019] NET: Registered protocol family 38
[Tue Mar  5 12:36:36 2019] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[Tue Mar  5 12:36:36 2019] io scheduler noop registered
[Tue Mar  5 12:36:36 2019] io scheduler deadline registered
[Tue Mar  5 12:36:36 2019] io scheduler cfq registered (default)
[Tue Mar  5 12:36:36 2019] io scheduler mq-deadline registered
[Tue Mar  5 12:36:36 2019] io scheduler kyber registered
[Tue Mar  5 12:36:36 2019] sun4i-usb-phy 1c19400.phy: Could not request ID GPIO, pinctrl may not init
[Tue Mar  5 12:36:36 2019] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[Tue Mar  5 12:36:36 2019] sun50i-h5-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[Tue Mar  5 12:36:36 2019] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[Tue Mar  5 12:36:36 2019] console [ttyS0] disabled
[Tue Mar  5 12:36:36 2019] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 30, base_baud = 1500000) is a U6_16550A
[Tue Mar  5 12:36:37 2019] console [ttyS0] enabled
[Tue Mar  5 12:36:37 2019] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 31, base_baud = 1500000) is a U6_16550A
[Tue Mar  5 12:36:37 2019] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 32, base_baud = 1500000) is a U6_16550A
[Tue Mar  5 12:36:37 2019] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 33, base_baud = 1500000) is a U6_16550A
[Tue Mar  5 12:36:37 2019] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[Tue Mar  5 12:36:37 2019] [drm] No driver support for vblank timestamp query.
[Tue Mar  5 12:36:37 2019] sun4i-drm display-engine: bound 1100000.mixer (ops sun8i_mixer_ops)
[Tue Mar  5 12:36:37 2019] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[Tue Mar  5 12:36:37 2019] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops sun4i_tcon_ops)
[Tue Mar  5 12:36:37 2019] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[Tue Mar  5 12:36:37 2019] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[Tue Mar  5 12:36:37 2019] sun4i-drm display-engine: bound 1ee0000.hdmi (ops sun8i_dw_hdmi_ops)
[Tue Mar  5 12:36:37 2019] [drm] Cannot find any crtc or sizes - going 1920x1080
[Tue Mar  5 12:36:37 2019] Console: switching to colour frame buffer device 240x67
[Tue Mar  5 12:36:37 2019] sun4i-drm display-engine: fb0:  frame buffer device
[Tue Mar  5 12:36:37 2019] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[Tue Mar  5 12:36:37 2019] cacheinfo: Unable to detect cache hierarchy for CPU 0
[Tue Mar  5 12:36:37 2019] loop: module loaded
[Tue Mar  5 12:36:37 2019] libphy: Fixed MDIO Bus: probed
[Tue Mar  5 12:36:37 2019] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[Tue Mar  5 12:36:37 2019] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[Tue Mar  5 12:36:37 2019] ehci-platform: EHCI generic platform driver
[Tue Mar  5 12:36:37 2019] ehci-platform 1c1a000.usb: EHCI Host Controller
[Tue Mar  5 12:36:37 2019] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[Tue Mar  5 12:36:37 2019] ehci-platform 1c1a000.usb: irq 12, io mem 0x01c1a000
[Tue Mar  5 12:36:37 2019] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[Tue Mar  5 12:36:37 2019] hub 1-0:1.0: USB hub found
[Tue Mar  5 12:36:37 2019] hub 1-0:1.0: 1 port detected
[Tue Mar  5 12:36:37 2019] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[Tue Mar  5 12:36:37 2019] ohci-platform: OHCI generic platform driver
[Tue Mar  5 12:36:37 2019] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[Tue Mar  5 12:36:37 2019] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[Tue Mar  5 12:36:37 2019] ohci-platform 1c1a400.usb: irq 13, io mem 0x01c1a400
[Tue Mar  5 12:36:37 2019] hub 2-0:1.0: USB hub found
[Tue Mar  5 12:36:37 2019] hub 2-0:1.0: 1 port detected
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver uas
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver usb-storage
[Tue Mar  5 12:36:37 2019] mousedev: PS/2 mouse device common for all mice
[Tue Mar  5 12:36:37 2019] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[Tue Mar  5 12:36:37 2019] sun6i-rtc 1f00000.rtc: RTC enabled
[Tue Mar  5 12:36:37 2019] i2c /dev entries driver
[Tue Mar  5 12:36:37 2019] lirc_dev: IR Remote Control driver registered, major 244
[Tue Mar  5 12:36:37 2019] IR NEC protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR RC5(x/sz) protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR RC6 protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR JVC protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR Sony protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR SANYO protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR Sharp protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR MCE Keyboard/mouse protocol handler initialized
[Tue Mar  5 12:36:37 2019] IR LIRC bridge handler initialized
[Tue Mar  5 12:36:37 2019] IR XMP protocol handler initialized
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver ati_remote
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver imon
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver mceusb
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver redrat3
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver streamzap
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver igorplugusb
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver iguanair
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver ttusbir
[Tue Mar  5 12:36:37 2019] thermal thermal_zone0: failed to read out thermal zone (-16)
[Tue Mar  5 12:36:37 2019] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[Tue Mar  5 12:36:37 2019] sdhci: Secure Digital Host Controller Interface driver
[Tue Mar  5 12:36:37 2019] sdhci: Copyright(c) Pierre Ossman
[Tue Mar  5 12:36:37 2019] Synopsys Designware Multimedia Card Interface Driver
[Tue Mar  5 12:36:37 2019] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[Tue Mar  5 12:36:37 2019] sunxi-mmc 1c0f000.mmc: base:0xffff000008e4d000 irq:10
[Tue Mar  5 12:36:37 2019] sdhci-pltfm: SDHCI platform and OF driver helper
[Tue Mar  5 12:36:37 2019] ledtrig-cpu: registered to indicate activity on CPUs
[Tue Mar  5 12:36:37 2019] hidraw: raw HID events driver (C) Jiri Kosina
[Tue Mar  5 12:36:37 2019] usbcore: registered new interface driver usbhid
[Tue Mar  5 12:36:37 2019] usbhid: USB HID core driver
[Tue Mar  5 12:36:37 2019] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[Tue Mar  5 12:36:37 2019] ip_tables: (C) 2000-2006 Netfilter Core Team
[Tue Mar  5 12:36:37 2019] NET: Registered protocol family 10
[Tue Mar  5 12:36:37 2019] Segment Routing with IPv6
[Tue Mar  5 12:36:37 2019] NET: Registered protocol family 17
[Tue Mar  5 12:36:37 2019] mmc0: host does not support reading read-only switch, assuming write-enable
[Tue Mar  5 12:36:37 2019] 9pnet: Installing 9P2000 support
[Tue Mar  5 12:36:37 2019] Key type dns_resolver registered
[Tue Mar  5 12:36:37 2019] registered taskstats version 1
[Tue Mar  5 12:36:37 2019] Key type encrypted registered
[Tue Mar  5 12:36:37 2019] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[Tue Mar  5 12:36:37 2019] dwmac-sun8i 1c30000.ethernet: Will use external PHY
[Tue Mar  5 12:36:37 2019] mmc0: new high speed SDHC card at address aaaa
[Tue Mar  5 12:36:37 2019] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
[Tue Mar  5 12:36:37 2019]  mmcblk0: p1 p2
[Tue Mar  5 12:36:38 2019] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[Tue Mar  5 12:36:38 2019] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[Tue Mar  5 12:36:38 2019] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[Tue Mar  5 12:36:38 2019] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[Tue Mar  5 12:36:38 2019] dwmac-sun8i 1c30000.ethernet: COE Type 2
[Tue Mar  5 12:36:38 2019] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[Tue Mar  5 12:36:38 2019] libphy: stmmac: probed
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1b000.usb: EHCI Host Controller
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1b000.usb: irq 14, io mem 0x01c1b000
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[Tue Mar  5 12:36:38 2019] hub 3-0:1.0: USB hub found
[Tue Mar  5 12:36:38 2019] hub 3-0:1.0: 1 port detected
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1c000.usb: EHCI Host Controller
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1c000.usb: irq 16, io mem 0x01c1c000
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[Tue Mar  5 12:36:38 2019] hub 4-0:1.0: USB hub found
[Tue Mar  5 12:36:38 2019] hub 4-0:1.0: 1 port detected
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1d000.usb: EHCI Host Controller
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1d000.usb: irq 18, io mem 0x01c1d000
[Tue Mar  5 12:36:38 2019] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[Tue Mar  5 12:36:38 2019] hub 5-0:1.0: USB hub found
[Tue Mar  5 12:36:38 2019] hub 5-0:1.0: 1 port detected
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1b400.usb: irq 15, io mem 0x01c1b400
[Tue Mar  5 12:36:38 2019] hub 6-0:1.0: USB hub found
[Tue Mar  5 12:36:38 2019] hub 6-0:1.0: 1 port detected
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1c400.usb: irq 17, io mem 0x01c1c400
[Tue Mar  5 12:36:38 2019] hub 7-0:1.0: USB hub found
[Tue Mar  5 12:36:38 2019] hub 7-0:1.0: 1 port detected
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[Tue Mar  5 12:36:38 2019] ohci-platform 1c1d400.usb: irq 19, io mem 0x01c1d400
[Tue Mar  5 12:36:38 2019] hub 8-0:1.0: USB hub found
[Tue Mar  5 12:36:38 2019] hub 8-0:1.0: 1 port detected
[Tue Mar  5 12:36:38 2019] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[Tue Mar  5 12:36:38 2019] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[Tue Mar  5 12:36:38 2019] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[Tue Mar  5 12:36:38 2019] hub 9-0:1.0: USB hub found
[Tue Mar  5 12:36:38 2019] hub 9-0:1.0: 1 port detected
[Tue Mar  5 12:36:38 2019] input: r-gpio-keys as /devices/platform/r-gpio-keys/input/input0
[Tue Mar  5 12:36:38 2019] usb0-vbus: disabling
[Tue Mar  5 12:36:38 2019] ALSA device list:
[Tue Mar  5 12:36:38 2019]   #0: Dummy 1
[Tue Mar  5 12:36:38 2019]   #1: Loopback 1
[Tue Mar  5 12:36:38 2019]   #2: H3 Audio Codec
[Tue Mar  5 12:36:38 2019] Freeing unused kernel memory: 512K
[Tue Mar  5 12:36:38 2019] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[Tue Mar  5 12:36:38 2019] random: udevadm: uninitialized urandom read (16 bytes read)
[Tue Mar  5 12:36:38 2019] random: udevadm: uninitialized urandom read (16 bytes read)
[Tue Mar  5 12:36:39 2019] random: fast init done
[Tue Mar  5 12:36:39 2019] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[Tue Mar  5 12:36:39 2019] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
[Tue Mar  5 12:36:39 2019] systemd[1]: System time before build time, advancing clock.
[Tue Mar  5 12:36:39 2019] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[Tue Mar  5 12:36:39 2019] systemd[1]: Detected architecture arm64.
[Tue Mar  5 12:36:39 2019] systemd[1]: Set hostname to <NanoPi-NEO2>.
[Tue Mar  5 12:36:39 2019] systemd[1]: Listening on Journal Socket.
[Tue Mar  5 12:36:40 2019] systemd[1]: Reached target Encrypted Volumes.
[Tue Mar  5 12:36:40 2019] systemd[1]: Listening on Journal Socket (/dev/log).
[Tue Mar  5 12:36:40 2019] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[Tue Mar  5 12:36:40 2019] systemd[1]: Listening on udev Kernel Socket.
[Tue Mar  5 12:36:40 2019] systemd[1]: Created slice User and Session Slice.
[Tue Mar  5 12:36:40 2019] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[Tue Mar  5 12:36:40 2019] Mass Storage Function, version: 2009/09/11
[Tue Mar  5 12:36:40 2019] LUN: removable file: (no medium)
[Tue Mar  5 12:36:40 2019] LUN: file: /dev/mmcblk0p1
[Tue Mar  5 12:36:40 2019] Number of LUNs=1
[Tue Mar  5 12:36:40 2019] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[Tue Mar  5 12:36:40 2019] g_mass_storage gadget: userspace failed to provide iSerialNumber
[Tue Mar  5 12:36:40 2019] g_mass_storage gadget: g_mass_storage ready
[Tue Mar  5 12:36:40 2019] Adding 524284k swap on /mnt/512MB.swap.  Priority:-2 extents:5 across:1089556k SS
[Tue Mar  5 12:36:40 2019] systemd-journald[266]: Received request to flush runtime journal from PID 1
[Tue Mar  5 12:36:40 2019] g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage
[Tue Mar  5 12:36:41 2019] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[Tue Mar  5 12:36:43 2019] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[Tue Mar  5 12:36:43 2019] RTL8211E Gigabit Ethernet stmmac-0:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[Tue Mar  5 12:36:43 2019] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[Tue Mar  5 12:36:43 2019] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
[Tue Mar  5 12:36:43 2019] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[Tue Mar  5 12:36:43 2019] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[Tue Mar  5 12:36:43 2019] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[Tue Mar  5 12:36:44 2019] random: crng init done
[Tue Mar  5 12:36:44 2019] random: 7 urandom warning(s) missed due to ratelimiting
[Tue Mar  5 12:36:48 2019] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[Tue Mar  5 12:36:48 2019] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Password change:

NanoPi-NEO2:~# passwd 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
NanoPi-NEO2:~# passwd pi
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
NanoPi-NEO2:~# passwd fa
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully

Renaming default users pi and fa:

NanoPi-NEO2:~# ps --user pi
  PID TTY          TIME CMD
  742 ?        00:00:00 systemd
  744 ?        00:00:00 (sd-pam)
  748 tty1     00:00:00 bash
  749 ttyS0    00:00:00 bash

NanoPi-NEO2:~# systemctl stop getty@tty1.service
Warning: getty@tty1.service changed on disk. Run 'systemctl daemon-reload' to reload units.
NanoPi-NEO2:~# systemctl stop serial-getty@ttyS0.service
Warning: serial-getty@ttyS0.service changed on disk. Run 'systemctl daemon-reload' to reload units.
NanoPi-NEO2:~# systemctl daemon-reload
NanoPi-NEO2:~# ps --user pi
  PID TTY          TIME CMD

NanoPi-NEO2:~# usermod --login newuser --home /home/newuser --move-home pi
NanoPi-NEO2:~# groupmod --new-name newgroup pi
NanoPi-NEO2:~# find /etc/systemd/ -name autologin.conf -exec sed -i "s/\bpi\b/newuser/g" {} \;
NanoPi-NEO2:~# systemctl daemon-reload

In the same way, you must rename the user fa.

Locale configuring:

NanoPi-NEO2:~# echo en_US.UTF-8 UTF-8 >/var/lib/locales/supported.d/en
NanoPi-NEO2:~# nano -w /etc/locale.gen
en_US.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8
NanoPi-NEO2:~# locale-gen
Generating locales (this might take a while)...
  en_US.UTF-8... done
  ru_RU.UTF-8... done
Generation complete.

If not fix file /var/lib/locales/supported.d/en, then an additional 15 extra locales will be created.

Timezone configuring:

NanoPi-NEO2:~# dpkg-reconfigure tzdata

General setup with the official utility:

NanoPi-NEO2:~# npi-config

1 Change User Password Change password for the default user (pi)
2 Hostname             Set the visible name for this Pi on a network
3 Boot Options         Configure options for start-up
    B1 Autologin                Choose how to boot into text console, autologin or requiring user
    B2 Wait for Network at Boot Choose whether to wait for network connection during boot
    B3 Boot device              Choose the boot device
4 Localisation Options Set up language and regional settings to match your location
    I1 Change Locale          Set up language and regional settings to match your location
    I2 Change Timezone        Set up timezone to match your location
    I3 Change Keyboard Layout Set the keyboard layout to match your keyboard
    I4 Change Wi-fi Country   Set the legal channels used in your country
5 Interfacing Options  Configure connections to peripherals
    P1 SSH Enable/Disable remote command line access to your Pi using SSH
6 Advanced Options     Configure advanced settings
    A0 Display         Select system default display device
    A1 Audio           Select system default audio device
    A2 Welcome message Disable/Enable Linux welcome message
    A3 Serial          Enable/Disable Serial
    A4 I2C             Enable/Disable I2C
    A5 SPI             Enable/Disable SPI
    A6 PWM             Enable/Disable PWM
    A7 I2S             Enable/Disable I2S
    A8 IR              Enable/Disable IR
    A9 CPUFreq         Select CPU highest frequency
7 Update               Update this tool to the latest version
8 About npi-config     Information about this configuration tool

Update and restart the operating system:

NanoPi-NEO2:~# apt update
NanoPi-NEO2:~# apt upgrade
NanoPi-NEO2:~# reboot

Installing additional utilities and setting up a working environment in bash:

NanoPi-NEO2:~# apt install mc bash-completion curl htop pinfo screen usbutils

Next, you can configure the working environment in bash by this note. And if you need to connect to NanoPi NEO2 using the serial console port for debugging, use the information from this note.

Update: After a couple of weeks of using the device, it turned out that OLED-display has already started to burn out, so it is highly desirable immediately after purchase and installation to turn on the sleep timer for the display. Here describes how to do it.


Next Post Previous Post