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:==========================
1
# sudo su
2
# ls -l /usr/lib/u-boot/bananapi/bpi-m3/linux/
3
total 5908
4
-rwxr-xr-x 1 root root 55408 4月 27 06:11 script.bin
5
-rwxr-xr-x 1 root root 55408 4月 30 05:01 script.bin.emmc
6
-rwxr-xr-x 1 root root 55408 2月 23 06:27 script.bin.otg
7
-rwxr-xr-x 1 root root 74463 4月 27 04:07 sys_config.fex
8
-rwxr-xr-x 1 root root 74529 4月 30 04:55 sys_config.fex.emmc
9
-rwxr-xr-x 1 root root 2254 5月 4 07:49 uEnv.txt
10
-rw-r--r-- 1 root root 5717352 5月 3 21:47 uImage
11
12
# mount /dev/mmcblk0p1 /boot
13
# cp -a /usr/lib/u-boot/bananapi/bpi-m3/linux/* /boot/bananapi/bpi-m3/linux
14
# bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_720P.img.gz
15
# reboot
Copied!
Last modified 1yr ago
Copy link