how to use banana pi BPI-M3 image on BPI-M2+ , use bpi-bootsel
on BPI-M3 board: (login as root) step 0: download https://github.com/BPI-SINOVOIP/BPI-files/blob/master/debs/linux-bananapi-bpi-m2p-kernel3_1.2.3_armhf.deb step 1: dpkg -i linux-bananapi-bpi-m2p-kernel3_1.2.3_armhf.deb step 2: bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m2p/BPI_M2P_720P.img.gz step 3: mkdir -p /boot/bananapi/bpi-m2p step 4: cp -a /usr/lib/u-boot/bananapi/bpi-m2p/linux /boot/bananapi/bpi-m2p step 5: cd /boot/bananapi/bpi-m2p/linux ; vi uEnv.txt (if you want to change) step 6: poweroff & remove SD card.
on BPI-M2+ board: step 7: insert SD card and power on
log on BPI-M3:
root@bananapi:/# dpkg -l | grep bananapi
ii bananapi-bpi-tools 1.0.1
armhf Banaan Pi: tools
ii linux-bananapi-bpi-m2-kernel3 1.2
armhf Banaan Pi BPI-M2: linux kernel 3.3 image & modules
ii linux-bananapi-bpi-m3-kernel3 1.2.6
armhf Banaan Pi BPI-M3: linux kernel 3.4 image & modules
ii linux-firmware-bananapi-bpi-wifi 1.0
armhf Banaan Pi: linux kernel firmware for wifi ap6181 & ap6212
root@bananapi:/# dpkg -i linux-bananapi-bpi-m2p-kernel3_1.2.3_armhf.deb
Selecting previously unselected package linux-bananapi-bpi-m2p-kernel3.
(Reading database ... 213272 files and directories currently installed.)
Preparing to unpack linux-bananapi-bpi-m2p-kernel3_1.2.3_armhf.deb ...
Unpacking linux-bananapi-bpi-m2p-kernel3 (1.2.3) ...
Setting up linux-bananapi-bpi-m2p-kernel3 (1.2.3) ...
root@bananapi:/# dpkg -l | grep bananapi
ii bananapi-bpi-tools 1.0.1
armhf Banaan Pi: tools
ii linux-bananapi-bpi-m2-kernel3 1.2
armhf Banaan Pi BPI-M2: linux kernel 3.3 image & modules
ii linux-bananapi-bpi-m2p-kernel3 1.2.3
armhf Banaan Pi BPI-M2P: linux kernel 3.4 image & modules
ii linux-bananapi-bpi-m3-kernel3 1.2.6
armhf Banaan Pi BPI-M3: linux kernel 3.4 image & modules
ii linux-firmware-bananapi-bpi-wifi 1.0
armhf Banaan Pi: linux kernel firmware for wifi ap6181 & ap6212
root@bananapi:/# bpi-bootsel
usage: bpi-bootsel v1.0.1
bpi-bootsel IMGFILE
bpi images:
/usr/lib/u-boot/bananapi/bpi-m2/BPI_M2_USB_LCD7.img.gz
/usr/lib/u-boot/bananapi/bpi-m2/BPI_M2_720P.img.gz
/usr/lib/u-boot/bananapi/bpi-m2/BPI_M2_USB_1080P.img.gz
/usr/lib/u-boot/bananapi/bpi-m2/BPI_M2_1080P.img.gz
/usr/lib/u-boot/bananapi/bpi-m2/BPI_M2_USB_720P.img.gz
/usr/lib/u-boot/bananapi/bpi-m2/BPI_M2_LCD7.img.gz
/usr/lib/u-boot/bananapi/bpi-m2p/BPI_M2P_720P.img.gz
/usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_USB_720P.img.gz
/usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_LCD7.img.gz
/usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_720P.img.gz
/usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_1080P.img.gz
/usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_USB_LCD7.img.gz
/usr/lib/u-boot/bananapi/bpi-m3/BPI_M3_USB_1080P.img.gz
root@bananapi:/# bpi-bootsel /usr/lib/u-boot/bananapi/bpi-m2p/BPI_M2P_720P.img.gz
Warning: Try to write /usr/lib/u-boot/bananapi/bpi-m2p/BPI_M2P_720P.img.gz to BO
OTDISK /dev/mmcblk0
OK!! You can reboot the system now!!
root@bananapi:/# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 7156088 5833956 958612 86% /
devtmpfs 767752 0 767752 0% /dev
tmpfs 1030072 676 1029396 1% /dev/shm
tmpfs 1030072 11404 1018668 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 1030072 0 1030072 0% /sys/fs/cgroup
/dev/mmcblk0p1 261868 67512 194356 26% /boot
tmpfs 206016 36 205980 1% /run/user/1000
/dev/mmcblk1p2 7156088 5064340 1728228 75% /media/pi/BPI-ROOT
/dev/mmcblk1p1 261868 29556 232312 12% /media/pi/BPI-BOOT
tmpfs 206016 0 206016 0% /run/user/0
root@bananapi:/# ls -l /boot/bananapi/
bpi-m2p/ sun7i-a20-bananapi-m1-plus.dtb
bpi-m3/ sun7i-a20-bananapi-r1.dtb
sun6i-a31s-bananapi-m2.dtb uboot/
sun6i-a31s-sinovoip-bpi-m2.dtb uImage
sun7i-a20-bananapi.dtb
root@bananapi:/# rm -rf /boot/bananapi/bpi-m2p/
root@bananapi:/# ls -l /boot/bananapi/
bpi-m3/ sun7i-a20-bananapi-m1-plus.dtb
sun6i-a31s-bananapi-m2.dtb sun7i-a20-bananapi-r1.dtb
sun6i-a31s-sinovoip-bpi-m2.dtb uboot/
sun7i-a20-bananapi.dtb uImage
root@bananapi:/# mkdir -p /boot/bananapi/bpi-m2p
root@bananapi:/# cp -a /usr/lib/u-boot/bananapi/bpi-m2p/linux /boot/bananapi/bpi
-m2p
cp: failed to preserve ownership for ��‘/boot/bananapi/bpi-m2p/linux/script.bin
�’: Operation not permitted
cp: failed to preserve ownership for ��‘/boot/bananapi/bpi-m2p/linux/uEnv.txt ’
: Operation not permitted
cp: failed to preserve ownership for ��‘/boot/bananapi/bpi-m2p/linux��’: Operati
on not permitted
root@bananapi:/# poweroff
[ 1715.941103] Power down.
this way is same as below link:
we can easy to use this way support all BPI SBC board. just need 100M space.