Nanopi R2s Ubuntu Server Minimal Image Versions Save

Ubuntu 20.04 LTS Server for NanoPi R2S - Mainline Kernel 5.7.y / 5.8.y / 5.9.y / 5.10.y

v0.99

3 years ago

Kernel 5.10.0-rc2 for nanoPi R2S

Linux Image for testing with Ubuntu 20.04 LTS

Install

  • Backup your data

  • Make sure you have 50 MB free in /boot partition

  • Download and install

      sudo dpkg -i linux-image-5.10.0-rc2_1.0-12.deb
    

v0.98

3 years ago

NanoPi R2S Kernel 5.9.0-rc8 linux-image

This is the Linux Kernel Image 5.9.0-rc8 deb package for NanoPi R2S Ubuntu 20.04 LTS for testing.

Install

  • Backup your data as usual

  • Download and install linux-image-5.9.0-rc8_1.0-8.deb

      sudo dpkg -i ./linux-image-5.9.0-rc8_1.0-8.deb
    

and reboot:

    sudo reboot

Before you reboot

Check /boot for the Image and dtb that should be now like this:

    lrwxrwxrwx  1 root root       24 out  7 00:02 dtb -> nanopi-r2s.dtb_5.9.0-rc8
    lrwxrwxrwx  1 root root       15 out  7 00:01 Image -> Image_5.9.0-rc8

v0.96

3 years ago

NanoPi R2S Kernel 5.8.1

Linux-image 5.8.1 for NanoPi R2S

Install instructions

Download the linux-image-5.8.1_1.0-11.deb

  • Make sure you have enough free space in /boot (Image size is 26 MB)

  • remove (de-install) old kernels

      sudo dpkg -r linux-image-5.8.0-rc1
      sudo dpkg -r linux-image-5.8.0-rc3
      sudo dpkg -r linux-image-5.7.1
      sudo dpkg -r linux-image-5.6.7
      sudo dpkg -r linux-image-5.7.0-rc3
    
  • do some housekeeping

     sudo apt-get update
     sudo apt-get dist-upgrade
     sudo apt-get clean all
     sudo apt-get purge $(dpkg -l | awk '/^rc/ { print $2 }')
    
  • Install

     ubuntu@nanopi-r2s:~$ sudo dpkg -i linux-image-5.8.1_1.0-11.deb 
     Selecting previously unselected package linux-image-5.8.1.
     (Reading database ... 35084 files and directories currently installed.)
     Preparing to unpack linux-image-5.8.1_1.0-11.deb ...
     INFO: Updating Kernel 5.8.0+ to 5.8.1
     INFO: Updating...
     Unpacking linux-image-5.8.1 (1.0-11) ...
     Setting up linux-image-5.8.1 (1.0-11) ...
     OK: Kernel update success! Please reboot with: sync && sudo reboot
     ubuntu@nanopi-r2s:~$ sync && sudo reboot
     Connection to 192.168.254.48 closed by remote host.
     Connection to 192.168.254.48 closed.
     alex@svn:/apps/backup_sdcard$ ssh [email protected]
     [email protected]'s password: 
     Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.8.1 aarch64)
    
      * Documentation:  https://help.ubuntu.com
      * Management:     https://landscape.canonical.com
      * Support:        https://ubuntu.com/advantage
    
     Last login: Fri Aug 14 00:06:43 2020 from 192.168.254.13
     ubuntu@nanopi-r2s:~$ uname -ra
     Linux nanopi-r2s 5.8.1 #1 SMP PREEMPT Thu Aug 13 00:21:06 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
     ubuntu@nanopi-r2s:~$ 
    

v0.95

3 years ago

Kernel 5.8.0 (mainline)

  • DVFS
  • eth0
  • eth1
  • realtek rtl8821CU / rtl8822BU compatibility with linux-5.8
  • built on-board with gcc 9.3.0

Install

  • Make sure you have free space in /boot partition (Image size is 26 MB)

  • Download linux-image deb file and install

      ubuntu@nanopi-r2s:~$ sudo dpkg -i linux-image-5.8.0_1.0-10.deb 
      [sudo] password for ubuntu: 
      Selecting previously unselected package linux-image-5.8.0.
      (Reading database ... 27401 files and directories currently installed.)
      Preparing to unpack linux-image-5.8.0_1.0-10.deb ...
      INFO: Updating Kernel 5.6.7 to 5.8.0
      INFO: Updating...
      Unpacking linux-image-5.8.0 (1.0-10) ...
      Setting up linux-image-5.8.0 (1.0-10) ...
      OK: Kernel update success! Please reboot with: sync && sudo reboot
      ubuntu@nanopi-r2s:~$ 
      ubuntu@nanopi-r2s:~$ sync && sudo reboot
      Connection to 192.168.254.28 closed by remote host.
      Connection to 192.168.254.28 closed.
      alex@svn:~$ ssh [email protected]
      [email protected]'s password: 
      Welcome to Ubuntu 19.10 (GNU/Linux 5.8.0 aarch64)
    
       * Documentation:  https://help.ubuntu.com
       * Management:     https://landscape.canonical.com
       * Support:        https://ubuntu.com/advantage
    
      Last login: Tue Aug  4 22:20:25 2020 from 192.168.254.13
      ubuntu@nanopi-r2s:~$ uname -ra
      Linux nanopi-r2s 5.8.0 #1 SMP PREEMPT Tue Aug 4 13:30:59 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
      ubuntu@nanopi-r2s
    

v0.94

3 years ago

Mainline Kernel 5.8.0-rc3

Kernel 5.8.0-rc3 to be installed on NanoPi R2S Ubuntu 20.04 LTS / Ubuntu 19.10

Installation

  • Make sure you have enough space in /boot partition

  • Download the file linux-image-5.8.0-rc3_1.0-8.deb

      wget https://github.com/avafinger/nanopi-r2s-ubuntu-server-minimal-image/releases/download/v0.94/linux-image-5.8.0-rc3_1.0-8.deb
    
  • install with:

      sudo dpkg -i  linux-image-5.8.0-rc3_1.0-8.deb
    
  • wait to complete the install

      sync && sudo reboot
    

Like this:

alex@svn:~$ ssh [email protected]
[email protected]'s password: 
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.8.0-rc1 aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Last login: Mon Jun 29 14:41:03 2020 from 192.168.254.253
ubuntu@nanopi-r2s:~$ uname -ra
Linux nanopi-r2s 5.8.0-rc1 #3 SMP PREEMPT Mon Jun 15 10:07:48 -03 2020 aarch64 aarch64 aarch64 GNU/Linux
ubuntu@nanopi-r2s:~$ sudo dpkg -i linux-image-5.8.0-rc3_1.0-8.deb 
[sudo] password for ubuntu: 
Selecting previously unselected package linux-image-5.8.0-rc3.
(Reading database ... 37569 files and directories currently installed.)
Preparing to unpack linux-image-5.8.0-rc3_1.0-8.deb ...
INFO: Updating Kernel 5.8.0-rc1 to 5.8.0-rc3
INFO: Updating...
Unpacking linux-image-5.8.0-rc3 (1.0-8) ...
Setting up linux-image-5.8.0-rc3 (1.0-8) ...
OK: Kernel update success! Please reboot with: sync && sudo reboot

v0.93

3 years ago

Kernel 5.8.0-rc1

This is the mainline kernel 5.8.0-rc1 for the NanoPi R2S

A mainline kernel with ext4 BUG fix for testing.

Install

  • Make sure you have free space in /boot partition

  • Install with:

      sudo dpkg -i linux-image-5.8.0-rc1_1.0-7.deb
    

Bootlog

https://gist.github.com/avafinger/0e4330e41f3474a77b8922144e98a1b3

v0.9

3 years ago

Kernel 5.7.1

NanoPi R2S Kernel 5.7.1 - Ubuntu Focal 20.04 LTS / Ubuntu 19.10

Install:

sudo dpkg -i linux-image-5.7.1_1.0-5.deb

v0.92

3 years ago

Kernel 5.7.2

Kernel image 5.7.2 for Ubuntu 20.04 LTS and Ubuntu 19.10

How to update

sudo dpkg -i linux-image-5.7.2_1.0-6.deb

v0.8

3 years ago

Mainline Kernel 5.7.0

Stable Kernel 5.7.0 for NanoPi R2S

Installation

sudo dpkg -i linux-image-5.7.0_1.0-4.deb

PS: Can be installed on Ubuntu 19.10

v0.7s

3 years ago

NanoPi R2S 1.5GHz

Boost NanoPi R2S Kernel 5.7.0-rc3 speed to 1.5 GHz

openssl speed sha256 aes-128-cbc rsa2048

type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
aes-128 cbc      54923.62k    59475.82k    61217.88k    61586.09k    61982.48k    61751.30k
sha256           48731.15k   149795.18k   359197.87k   550039.03k   651436.03k   659761.83k
                  sign    verify    sign/s verify/s
rsa 2048 bits 0.007223s 0.000193s    138.4   5194.4

Install

type in the shell:

cd /boot
sudo wget https://github.com/avafinger/nanopi-r2s-ubuntu-server-minimal-image/releases/download/v0.7s/nanopi-r2s.dtb_5.7.0-rc3_1.5GHz
sudo ln -sf nanopi-r2s.dtb_5.7.0-rc3_1.5GHz dtb

check if everything is OK before reboot:

ls -la
lrwxrwxrwx   1 root root       31 mai 29 10:54 dtb -> nanopi-r2s.dtb_5.7.0-rc3_1.5GHz
lrwxrwxrwx   1 root root       15 mai  1 18:29 Image -> Image_5.7.0-rc3*
-rwxr-xr-x   1 root root 21510656 mai  1 17:26 Image_5.7.0-rc3*
-rw-rw-r--   1 alex alex  1105188 set 24  2017 initrd.img
drwx------   2 root root    16384 set 24  2017 lost+found/
-rw-r--r--   1 root root    49810 mai  1 17:26 nanopi-r2s.dtb_5.7.0-rc3
-rw-r--r--   1 root root    49654 mai 29 10:54 nanopi-r2s.dtb_5.7.0-rc3_1.5GHz

then reboot with:

sync && sudo reboot