Skip to content

BananaPi M2 Zero - Ubuntu 19.10 - Kernel 5.6.13 Server

Compare
Choose a tag to compare
@avafinger avafinger released this 18 May 11:18
· 12 commits to master since this release
a785206

BananaPi M2 Zero - Kernel 5.6.13 Server

Linux Image for BananaPi M2Z (Ubuntu 19.10) with Kernel 5.6.13 Server

Server edition is optimized for memory-intensive programs , no VPU / GPU (hardware accelerations)

Fix:

  • CPU Temp
  • DVFS
  • BT
  • minor fixes

Install

sudo dpkg -i linux-image-5.6.13-server_1.0-44.deb

Info

ubuntu@192.168.254.35's password: 
Welcome to Ubuntu 19.10 (GNU/Linux 5.6.13-server armv7l)

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

Last login: Sun May 17 22:40:03 2020
ubuntu@bpi-m2z:~$ uptime
 11:12:30 up 12:33,  2 users,  load average: 0.10, 0.03, 0.01
ubuntu@bpi-m2z:~$ sudo htop
[sudo] password for ubuntu: 
ubuntu@bpi-m2z:~$ play file_example_MP3_700KB.mp3 

file_example_MP3_700KB.mp3:

 File Size: 764k      Bit Rate: 224k
  Encoding: MPEG audio    
  Channels: 2 @ 16-bit   
Samplerate: 32000Hz      Album: YouTube Audio Library
Replaygain: off         Artist: Kevin MacLeod
  Duration: 00:00:27.29  Title: Impact Moderato

In:8.44% 00:00:02.30 [00:00:24.98] Out:73.7k [======|======] Hd:1.5 Clip:0    
Aborted.
ubuntu@bpi-m2z:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.254.35  netmask 255.255.0.0  broadcast 192.168.255.255
        inet6 fe80::409a:81ff:fe91:db56  prefixlen 64  scopeid 0x20<link>
        inet6 2804:7f4:3581:a966:409a:81ff:fe91:db56  prefixlen 64  scopeid 0x0<global>
        ether 42:9a:81:91:db:56  txqueuelen 1000  (Ethernet)
        RX packets 11424  bytes 964544 (964.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5287  bytes 493016 (493.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 38  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 40  bytes 2960 (2.9 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 40  bytes 2960 (2.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.254.103  netmask 255.255.0.0  broadcast 192.168.255.255
        inet6 fe80::ceb8:a8ff:fea9:e566  prefixlen 64  scopeid 0x20<link>
        inet6 2804:7f4:3581:a966:f949:6ed1:3552:515b  prefixlen 64  scopeid 0x0<global>
        inet6 2804:7f4:3581:a966:ceb8:a8ff:fea9:e566  prefixlen 64  scopeid 0x0<global>
        ether cc:b8:a8:a9:e5:66  txqueuelen 1000  (Ethernet)
        RX packets 10434  bytes 681502 (681.5 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4525  bytes 605999 (605.9 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ubuntu@bpi-m2z:~$ 

ubuntu@bpi-m2z:~$ hciconfig all
hci0:	Type: Primary  Bus: UART
	BD Address: CC:B8:A8:A9:E5:67  ACL MTU: 1021:8  SCO MTU: 64:1
	UP RUNNING PSCAN 
	RX bytes:2184 acl:0 sco:0 events:214 errors:0
	TX bytes:36815 acl:0 sco:0 commands:215 errors:0

ubuntu@bpi-m2z:~$ 

bpi-m2z

CPU Temp Optimization

The CPU Temp throttling occurs at 75ºC in order to be run inside a case but if you have a good heat-sink you can use the new bpi-m2-zero-v4.dtb_5.6.13-server that starts throttling at 80ºC which has a better performance. Thermal throttling is now at 80ºC.

instructions

1 - Login (shell cmd)
2 - cd /boot
3 - sudo mv bpi-m2-zero-v4.dtb_5.6.13-server bpi-m2-zero-v4.dtb_5.6.13-server-BAK
4 - sudo wget https://github.com/avafinger/bananapi-zero-ubuntu-base-minimal/releases/download/v3.6/bpi-m2-zero-v4.dtb_5.6.13-server
5 - sync && sudo reboot