Mainline Kernel 5.3.1 BananaPi M2 Zero
Mainline Kernel 5.3.1 BananaPi M2 Zero
This is the Mainline stable kernel 5.3.1 for BananaPi M2 Zero with the following working:
- HDMI
- sound
- Bluetooth
- cedrus
- wifi
- eth
The instructions below are for the Kernel 5.3.1 upgrade from a previous kernel, if you already have kernel 5.3.1 running you must downgrade before you proceed.
Instructions
-
make a backup of your SD CARD
-
Update the firmware for the Bluetooth to work
sudo tar -xvpzf firmware-v3.tar.gz -C /lib/firmware --numeric-ow
-
Update the Kernel
sudo dpkg -i linux-image-5.3.1_1.0-31.deb
Before you update
If you already have the kernel 5.3.1 running that had HDMI and BT broken you must downgrade before you run dpkg -i or it will display you are already at 5.3.1.
-
find the available kernels
cd /boot ls -la zImage lrwxrwxrwx 1 root root 12 Set 24 14:25 zImage -> zImage_5.3.1 -rwxr-xr-x 1 root root 5539040 Jun 19 11:19 zImage_4.20.17 -rwxr-xr-x 1 root root 5684040 Ago 7 14:37 zImage_5.2.7 -rwxr-xr-x 1 root root 5736640 Ago 7 21:10 zImage_5.3.0-rc3 -rwxr-xr-x 1 root root 5736456 Ago 19 15:49 zImage_5.3.0-rc5 -rwxr-xr-x 1 root root 5749256 Set 1 14:28 zImage_5.3.0-rc6-m2z -rwxr-xr-x 1 root root 5749816 Set 3 09:09 zImage_5.3.0-rc7-m2z
-
choose the previous working kernel and type
sudo ln -sf zImage_5.3.0-rc7-m2z zImage sudo ln -sf bpi-m2-zero-v4.dtb_5.3.0-rc7-m2z bpi-m2-zero.dtb
-
reboot to the downgraded kernel
sudo reboot
-
upgrade to Kernel 5.3.1 as described above
remove the 5.3.1 kernel if necessary to re-install the fix