Banana Pi BPI-M2P/M2Z/P2/P2Z bsp (u-boot 2014.7 & Kernel 4.4)
Install Docker Engine on your platform.
Get the docker image from Sinovoip Docker Hub , Build the source code with this docker environment.
Build M2P
#./build.sh BPI-M2P-720P 1
Build M2Z/P2/P2Z
#./build.sh BPI-M2Z-720P 1
Target download packages in SD/ after build. Please check the build.sh and Makefile for detail compile options. If you have any compile environment issue, please try to build with sinovoip docker image.
Get the image from bpi and download it to the SD card. After finish, insert the SD card to PC
M2P
# ./build.sh BPI-M2P-720P 6
M2Z/P2/P2Z
# ./build.sh BPI-M2Z-720P 6
Choose the type, enter the SD dev, and confirm yes, all the build packages will be installed to target SD card.