BPI-M2+ how to fixed fix rootmydevice issue for Security Alert

BPI-M2P+: fix rootmydevice issue

STEP 1. download update file & install STEP 2. update boot files

=======================STEP 1:========================== on ubuntu / raspbian / debian :

download file: linux-bananapi-bpi-m2p-kernel3_1.2.5_armhf.deb

github: https://github.com/BPI-SINOVOIP/BPI-files/raw/master/debs/linux-bananapi-bpi-m2p-kernel3_1.2.5_armhf.deb

google drive:

MD5: a85b36bae432516bfeee4bdc930073b9

# sudo dpkg -i linux-bananapi-bpi-m2p-kernel3_1.2.5_armhf.deb

on other system :

download file: 3.4.39-BPI-M2P-Kernel.tgz

google drive:

MD5: 827b9e0e0dc9b73dde816ff2bc86ae32

# sudo tar xvf 3.4.39-BPI-M2P-Kernel.tgz -C /

=======================STEP 2:==========================

# sudo su
# ls -l /usr/lib/u-boot/bananapi/bpi-m2p/linux
total 5224
-rw-r--r-- 1 root root   37704  5月  4 14:06 script.bin
-rw-r--r-- 1 root root   51683  5月  4 14:02 sys_config.fex
-rw-r--r-- 1 root root    1956  5月  6 08:43 uEnv.txt
-rw-r--r-- 1 root root 5247648  5月  4 11:39 uImage

# mount /dev/mmcblk0p1 /boot
# cp -a /usr/lib/u-boot/bananapi/bpi-m2p/linux/* /boot/bananapi/bpi-m2p/linux
# bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m2p/BPI_M2P_720P.img.gz
# reboot