Skip to content

Releases: avafinger/nanopi-r4s-minimal-image

pre-built img

04 Feb 00:06
9e38944
Compare
Choose a tag to compare

IMG files

  • nanopi_r4s_ubuntu_20.04_kernel_5.10.43-16GB.img.7z
  • nanopi_4rs_5GB.img.7z (kernel 5.13.3)

Use 7z tool to decompress the files and burn the mSD card. Resize the partition to get all available space.

NanoPi R4S - Ubuntu 20.04 LTS - Mainline Kernel 5.13.3

19 Jul 22:01
74849d1
Compare
Choose a tag to compare

Linux-image 5.13.3

Linux-image 5.13.3 for NanoPi R4S

  • built on NanoPi R4S (on top of kernel version 5.13.2 - CPU Freq: 2.0 GHz / 1.5 GHz) - PASSED

Install

Unfortunately, to be able to upgrade from 5.13.2 to 5.13.3 you have to remove it prior to installing 5.13.3. This is not necessary if you are on 5.13.1 or 5.10.43.

if you are in 5.13.2

    sudo apt-get remove --purge linux-image-5.13.2

install kernel 5.13.3

    sudo dpkg -i linux-image-5.13.3_5.13.3-1_arm64.deb 
    sudo reboot

install kernel-headers 5.13.3

    sudo dpkg -i linux-headers-5.13.3_5.13.3-1_arm64.deb

NanoPi R4S - Ubuntu 20.04 LTS - Mainline Kernel 5.13.2

19 Jul 03:00
cf5b1e5
Compare
Choose a tag to compare

Linux-image upgrade to 5.13.2

Linux-image 5.3.2 for testing only.

  • built on-board
  • built with gcc 10.3.0
  • focal
  • Freq. 2.0 GHz / 1.5 GHz

Install

    sudo dpkg -i ./linux-image-5.13.2_5.13.2-1_arm64.deb
    sudo dpkg -i ./linux-headers-5.13.2_5.13.2-1_arm64.deb

NanoPi R4S - Ubuntu 20.04 LTS - Mainline Kernel 5.13.1

14 Jul 02:01
4db3dee
Compare
Choose a tag to compare

NanoPi R4S - Ubuntu 20.04 LTS - Minimal

SD card Image for NanoPi R4S with Kernel 5.13.1 based on Kernel.org
This is the minimal Image with the following:

  • eth0 (WAN)
  • eth1 (enp1s0) (LAN)
  • USB
  • 4 GB dram mem.
  • Leds
  • server like with the minimum size, suitable for mini router / testing / fun
  • CPU Freq Gov CONSERVATIVE (1.4 / 1.8 GHz) , with a new DTB you can run 1.5 / 2.0 GHz
  • ARM Cortex-R/M processors build tools installed
  • latest gcc compiler/tools (stable)

Credentials

ubuntu / ubuntu

Network

Initial setup:

  • eth0 as DHCP (WAN)
  • eth1 as static but disabled in /etc/network/interfaces (LAN)
    eth1 is renamed to enp1s0

Install

The installation process requires a Linux box (or a VM) and is not necessary to resize the SD card (any size).
The minimum sd card size possible to be flashed is 8 GB. 16 GB is recommended if you will install dev tools.
Download the files, make the install script with exec permissions and run with sudo
Find the device name when you insert the sd card, careful not to pass your current HDD device, it will be erased.

  • if you have a USB card reader it will be like /dev/sdX where X is a letter (b,c,d...),
  • if you have an embedded sd card reader like those in the notebooks it will be something like /dev/mmcblkY where Y is a number (1,2,3...)

Finding device name

use dmesg|tail after inserting the SD CARD:

    [358836.445747] sd 6:0:0:0: [sdd] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
    [358836.478751]  sdd: sdd1 sdd2
    [358841.257810] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
    [358841.532920] EXT4-fs (sdd2): mounted filesystem without journal. Opts: (null)

Flashing

    sudo chmod +x ./flash_mainline_sdcard.sh
    sudo ./flash_mainline_sdcard.sh /dev/sdX (where X is the letter found above as an example)

Before you boot

Network configuration is done by the /etc/network/interfaces, edit the file and uncomment the ### for the enp1s0 interface.
Update with your IP, gateway, etc...
This is not required, you can log in the first time with ssh and use mcedit to change the /etc/network/interfaces file content and reboot

First login

Use the WAN interface on the first time to ssh to the board. user and password: ubuntu / ubuntu

Obs: mcedit is a nice file editor

NanoPi R4S - Ubuntu 20.04 LTS - Mainline Kernel 5.10.43

13 Jul 23:38
68c3d25
Compare
Choose a tag to compare

NanoPi R4S - Ubuntu 20.04 LTS - Minimal

SD card Image for NanoPi R4S with Kernel 5.10.43 based on FriendlyElec kernel.
This is the minimal Image with the following:

  • eth0 (WAN)
  • eth1 (enp1s0) (LAN)
  • USB
  • 4 GB dram mem.
  • Leds
  • server like with the minimum size, suitable for mini router / testing / fun
  • CPU Freq Gov CONSERVATIVE (1.4 / 1.8 GHz)

Credentials

ubuntu / ubuntu

Network

Initial setup:

  • eth0 as DHCP (WAN)
  • eth1 as static but disabled in /etc/network/interfaces (LAN)
    eth1 is renamed to enp1s0

Install

The installation process requires a Linux box (or a VM) and is not necessary to resize the SD card (any size).
The minimum sd card size possible to be flashed is 4 GB. 8 GB is recommended if you will install dev tools.
Download the files, make the install script with exec permissions and run with sudo
Find the device name when you insert the sd card, careful not to pass your current HDD device, it will be erased.

  • if you have a USB card reader it will be like /dev/sdX where X is a letter (b,c,d...),
  • if you have an embedded sd card reader like those in the notebooks it will be something like /dev/mmcblkY where Y is a number (1,2,3...)

Finding device name

use dmesg|tail after inserting the SD CARD:

    [358836.445747] sd 6:0:0:0: [sdd] 31116288 512-byte logical blocks: (15.9 GB/14.8 GiB)
    [358836.478751]  sdd: sdd1 sdd2
    [358841.257810] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null)
    [358841.532920] EXT4-fs (sdd2): mounted filesystem without journal. Opts: (null)

Flashing

    sudo chmod +x ./flash_mainline_sdcardx.sh
    sudo ./flash_mainline_sdcardx.sh /dev/sdX (where X is the letter found above as an example)

Before you boot

Network configuration is done by the /etc/network/interfaces, edit the file and uncomment the ### for the enp1s0 interface.
Update with your IP, gateway, etc...
This is not required, you can log in first time with ssh and use mcedit to change the /etc/network/interfaces file content and reboot

First login

Use the WAN interface on the first time to ssh to the board. user and password: ubuntu / ubuntu

Obs: mcedit is a nice file editor