NanoPi R2S first look

This post was drafted shortly after the R2S's release

Much anticipated and now it's finally arrived. First impression is: very tiny
I ordered the R2S with the plastic case. The R2S was pre-assembled into the case. It's a good looking case with all the ports, button, leds and SD card reader accessible. Overheating has been noted for the R2S in the forums.





As I intend this to be a network router, I installed latest FriendlyWRT (friendlywrt-5.4-20200707). As per the FA wiki, WAN port is DHCP and will allow root to log in without a password. Connected WAN port to my home LAN, logged into FriendlyWrt, set root password, looked around the menus for a minute or two and then left the r2s running idle. Within 10minutes the case feels warm to the back of my hand. Not a good sign.

I move onto Armbian focal as I can debug better in ubuntu.
dd bs=4M if=Armbian_20.05.4_Nanopi-r2s_focal_current_5.4.46_minimal.img of=/dev/sdg conv=fsync
233+0 records in
233+0 records out
977272832 bytes (977 MB, 932 MiB) copied, 47.0292 s, 20.8 MB/s

When I plug in the power this time, I notice a noise. Listening closely to the R2S and feeling the case vibrate - there must be a fan in there. I've already ordered a heatsink case, but I don't think I'll be able to wait that long before opening the case to check it out.

Again, connect R2S WAN port to home LAN. Log in as root, change password and create new user.

root@nanopi-r2s:~# cat /proc/cpuinfo
processor : 0
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 1
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 2
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

processor : 3
BogoMIPS : 48.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

root@nanopi-r2s:~# lscpu
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          4
On-line CPU(s) list:             0-3
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       ARM
Model:                           4
Model name:                      Cortex-A53
Stepping:                        r0p4
CPU max MHz:                     1512.0000
CPU min MHz:                     408.0000
BogoMIPS:                        48.00
NUMA node0 CPU(s):               0-3
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid

root@nanopi-r2s:~# free -m
              total        used        free      shared  buff/cache   available
Mem:            983         108         350           2         524         785
Swap:           491           7         484

root@nanopi-r2s:~# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"




apt update
apt full-upgrade
apt install tmux joe iotop fio iperf3 stress atop sysstat

systemctl stop atop
systemctl stop atopacct
systemctl stop wpa_supplicant


Read the temperature: cat /sys/class/thermal/thermal_zone0/temp|cut -c1-2

armbian focal: idle: 52
armbian focal: stress -c 4: 81
temperature drops quickly

armbian focal: openssl speed -multi 4: 82-85


apt full-upgrade
reboot


back to friendlywrt
there is definitely a fan in there. friendlywrt is configured to start and stop the fan by temperature. 
installed stress package 
from idle, temps around 50C, i started stress -c 2, then let it idle for a while, then hit it with stress -c 4. The fan is running while it's hot.
idle came back down to around 50C and no fan


Fan control service is provided by /etc/init.d/fa-rk3328-pwmfan
calling /usr/bin/start-rk3328-pwm-fan.sh



Comments