Skip to content

Releases: avafinger/nanopi-m4-ubuntu-base-minimal

Ubuntu 20.04 LTS - Kernel 5.11.0 - linux-headers

20 Feb 12:44
cbc05b3
Compare
Choose a tag to compare

Ubuntu 20.04 LTS - Kernel 5.11.0 - linux-headers

  • Extract the file in '/'

Ubuntu 20.04 LTS - Kernel 5.11.0 - NanoPi M4 v1 (2GB and 4GB) - dual-camera

17 Feb 18:00
1b4fb28
Compare
Choose a tag to compare

Ubuntu 20.04 LTS - Kernel 5.11.0 Image

This is an 8GB SD card Image for NanoPi M4 v1 with support for dual-camera (OV13850 and OV4689).
Ubuntu Server LTS 20.04 minimal image with CLI (command line interface)

  • Mainline Kernel 5.11.0
  • OV13850 (single or dal-camera)
  • OV4689 (single or dal-camera)
  • hdmi sound
  • hdmi
  • rt5651 sound
  • wlan
  • eth
  • panfrost
  • Bluetooth

Instructions

Use 7z to unzip the nanopim4-v1_sdcard-8GB-ubuntu_20.04LTS_kernel_5.11.0-final-dual-camera.img.7z and flash it to an 8GB (or more) sd card, using dd , usbimager or Win32DiskImager.

Pre-built application

To make use of the sensor, there is a pre-built cam application ready to be used.

  • Show the camera(s)

      cam -l
    
  • Show Info about your camera

      cam --camera=1 -I
      cam --camera=2 -I (if dual-camera)
    

Enabling the camera

Default Image has no camera enabled, you need to enable the correct sensor you have attached to CSI-1 our CSI-1 and CSI-2

cd /boot:

Camera sensor enable how to enable
nanopi-m4.dtb_5.11.0_csi1-ov13850 OV13850 in CSI-1 slot sudo ln -sf nanopi-m4.dtb_5.11.0_csi1-ov13850 dtb
nanopi-m4.dtb_5.11.0_csi1-ov4689 OV4689 in CSI-1 slot sudo ln -sf nanopi-m4.dtb_5.11.0_csi1-ov4689 dtb
nanopi-m4-dual-camera.dtb_5.11.0-ov13850 dual OV13850 in CSI-1 and CSI-2 sudo ln -sf nanopi-m4-dual-camera.dtb_5.11.0-ov13850 dtb
nanopi-m4-dual-camera.dtb_5.11.0-ov4689 dual OV4689 in CSI-1 and CSI-2 sudo ln -sf nanopi-m4-dual-camera.dtb_5.11.0-ov4689 dtb

Login credentials

User: ubuntu
Password: ubuntu

First logon

    sudo apt-get update
    sudo apt-get dist-upgrade

Wifi

Wifi is disabled, in order to get Wifi you need to enable wlan0i in /etc/network/interfaces or install and configure netplan or any other way you like

    iface wlan0 inet dhcp
    	wpa-ssid "FIBER-5G"
    	wpa-psk "Pw"
    wireless-power off

Ubuntu 20.04 LTS - Kernel 5.9.0 - NanoPi M4 v1 (2GB and 4GB)

12 Oct 22:54
8436a69
Compare
Choose a tag to compare

Ubuntu 20.04 LTS - Kernel 5.9.0 NanoPi M4 v1

OS Image file for NanoPi M4 v1

Installation procedure

  • Download nanopim4_v1_sdcard-ubuntu_20.04LTS_kernel_5.9.0-final.img.7z
  • Unzip with 7z
  • Flash the Image file nanopim4_v1_sdcard-ubuntu_20.04LTS_kernel_5.9.0-final.img to the SD CARD using USBImager, dd or win32DiskImager

First Login

Credentials: ubuntu / ubuntu
and after login type in the shell:

    sudo apt-get update

Wifi configuration

Edit the file /etc/network/interfaces and fill in your ssi and psk encrypted password:

#auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
	wpa-ssid "FIB-8784-5G"
	wpa-psk "3qFd6GwzPwAf5"
##address 192.168.254.55
##netmask 255.255.0.0
##gateway 192.168.254.254
##dns-nameservers 8.8.8.8 8.8.4.4
#####wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
## Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
##wireless-mode Managed
wireless-power off

Ubuntu 20.04 LTS - Kernel 5.9.0-rc7 - NanoPi M4 v1 (2GB and 4GB)

30 Sep 19:13
de31e9d
Compare
Choose a tag to compare

OS Image file for NanopPi M4 v1 ( 2GB and 4GB)

This single Image boots up on 2GB DRAM version and 4 GB DRAM version (rev1)

  • hdmi
  • hdmi sound out
  • analog sound
  • eth0
  • wifi 5G
  • BT
  • Workaround for the reboot issue

Ubuntu 20.04 LTS - Kernel 5.9.0-rc7 - NanoPi M4 v1

29 Sep 01:21
0666606
Compare
Choose a tag to compare

Kernel 5.9.0-rc7 for NanoPi M4 - v1 (2GB)

This is the Image file with working:

  • hdmi
  • hdmi sound out
  • analog sound out (Jack)
  • reboot (fix)
  • u-boot (mainline)

Installation procedure

  • Download nanopim4_v1_2GB_sdcard-ubuntu_20.04LTS_kernel_5.9.0-rc7.img.7z
  • Unzip with 7z
  • Flash the Image file nanopim4_v1_2GB_sdcard-ubuntu_20.04LTS_kernel_5.9.0-rc7.img to the SD CARD using USBImager, dd or win32DiskImager

First Login

Credentials: ubuntu / ubuntu
and after login type in the shell:

    sudo apt-get update

Wifi configuration

Edit the file /etc/network/interfaces and fill in your ssi and psk encrypted password:

#auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
	wpa-ssid "FIB-8784-5G"
	wpa-psk "3qFd6GwzPwAf5"
##address 192.168.254.55
##netmask 255.255.0.0
##gateway 192.168.254.254
##dns-nameservers 8.8.8.8 8.8.4.4
#####wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
## Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
##wireless-mode Managed
wireless-power off

NanoPi M4 4GB DRAM v1

Use this Image: https://github.com/avafinger/nanopi-m4-ubuntu-base-minimal/releases/tag/v1.40

Ubuntu 20.04 LTS - Kernel 5.9.0-rc6 - NanoPi M4 v1

27 Sep 17:45
5e7f4ed
Compare
Choose a tag to compare

Kernel 5.9.0-rc6 - Ubuntu 20.04 LTS

8GB Image file with Ubuntu 20.04 LTS Server with Mainline Kernel 5.9.0-rc6

Ubuntu 20.04 LTS - Kernel 5.9.0-rc3 - nanoPi M4 v1

01 Sep 01:22
5e7f4ed
Compare
Choose a tag to compare

Ubuntu 20.04 LTS

  • kernel 5.9.0-rc3

  • bootloader is for nanoPi M4 v1 - 2GB

  • credentials:
    ubuntu / ubuntu

install

  • download the files

  • make it exec:

      sudo chmod  +x /flash_focal_rk3399_sd.sh
    
  • run:

      sudo ./flash_focal_rk3399_sd.sh /dev/sdX (where X is your device number) or  /dev/mmcblkY (where Y is your device letter)
    

Ubuntu 19.10 - Kernel 5.7.9 - Nanopi M4 v1

19 Jul 14:25
9d67f7d
Compare
Choose a tag to compare

OS Image (.img) - Kernel 5.7.9

You may need to unzip .7z to get the image file (.img) to write to your SD card.

An image file with Ubuntu 19.10, CLI (command line interface) with GBM / GPU / VPU.

Instructions

  • Unzip the img.7z file
  • Burn with etcher, dd or win32diskImager (8 GB sd card)

SHA256
4ddc0593f6aef1cdd20f4e95e76ef58f6402f31fe984b67c78695a5cba1baf8e nanopim4-8GB-sd-ubuntu_eoan_gbm_kernel_5.7.9.img.7z

make sure you get a good SD CARD

4K display support

You may need this dtb to support 4K display

  • download nanopi-m4.dtb_4K.tar.gz to /boot

  • untar the file

  • run:

      sudo ln -sf nanopi-m4.dtb dtb
      sudo shutdown -h now
    
  • power cycle the board

Ubuntu 19.10 - Kernel 5.7.0 - Nanopi M4

07 Jun 20:19
bd6ed4c
Compare
Choose a tag to compare
Pre-release

Mainline Kernel 5.7.0

Linux Image with support for:

  • gpu (panfrost)
  • vpu (hantro / rkvdec)
  • rt5651 sound
  • wifi
  • BT

the rkvdec does not contain the latest Kwiboo's work. It will be applied to 5.7.1 (stable)

Ubuntu 19.10 - Kernel 5.7.0-rc4 - Nanopi M4

07 May 22:33
3122067
Compare
Choose a tag to compare

Mainline Kernel 5.7.0-rc4

  • brcm firmware
  • kernel 5.7.0-rc4
  • u-boot