Banana Pi M5/M2Pro board bsp (u-boot 2015.1 & Kernel 4.9.312)
Prepare
Install Docker Engine on your platform.
Get the docker image from Sinovoip Docker Hub , Build the source code with this docker environment.
Download source code
$ git clone https://github.com/BPI-SINOVOIP/BPI-M5-bsp
$ cd BPI-M5-bsp
$ git submodule update --init --recursive
Build
Build all bsp packages, please run
# ./build.sh bpi-m5 1
Target download packages in SD/bpi-m5 after build. Please check the build.sh and Makefile for detail
Install
Get the image from bpi and download it to the SD card. After finish, insert the SD card to PC
# ./build.sh bpi-m5 6
Choose the type, enter the SD dev, and confirm yes, all the build packages will be installed to target SD card.