BPI-M3 fix rootmydevice issue for Security Alert
BPI-M3: 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-m3-kernel3_1.2.9_armhf.deb
MD5: aeb90ff97a536c2c31fccfedd6d1c164
# sudo dpkg -i linux-bananapi-bpi-m3-kernel3_1.2.9_armhf.deb
on other system :
download file: 3.4.39-BPI-M3-Kernel.tgz
MD5: aef73f35266e78957066dd5be2bab3b2
# sudo tar xvf 3.4.39-BPI-M3-Kernel.tgz -C /
=======================STEP 2:==========================
# sudo su
# ls -l /usr/lib/u-boot/bananapi/bpi-m3/linux/
total 5908
-rwxr-xr-x 1 root root 55408 4月 27 06:11 script.bin
-rwxr-xr-x 1 root root 55408 4月 30 05:01 script.bin.emmc
-rwxr-xr-x 1 root root 55408 2月 23 06:27 script.bin.otg
-rwxr-xr-x 1 root root 74463 4月 27 04:07 sys_config.fex
-rwxr-xr-x 1 root root 74529 4月 30 04:55 sys_config.fex.emmc
-rwxr-xr-x 1 root root 2254 5月 4 07:49 uEnv.txt
-rw-r--r-- 1 root root 5717352 5月 3 21:47 uImage
# mount /dev/mmcblk0p1 /boot
# cp -a /usr/lib/u-boot/bananapi/bpi-m3/linux/* /boot/bananapi/bpi-m3/linux
# bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_720P.img.gz
# reboot
Copy link