This project is for banana-pi W2 board, including U-boot 2015.7 and Linux Kernel 4.9.119.
Get the docker image from Sinovoip Docker Hub , Build the source code with this docker image to avoid environment issues.
./build.sh
If you don't have tools for banana-pi products, please run below commands to install them:
apt-get install pv
curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash
bpi-update -c bpi-w2.conf -d /dev/sdX
or
bpi-update -d /dev/sdX
and update u-boot (if changed or first time)
bpi-bootsel 100MB/BPI-W2-720P-2k.img.gz /dev/sdX
4. After it completes, move SD to W2 board
5. Press power button to activate this board
How to install images on SD card
------------------------------------------
1. Downloading image for W2 board from http://forum.banana-pi.org/c/Banana-pi-BPI-W2/BPI-W2-image
2. Running below command to burn this image to SD card which must be larger than 8GB
bpi-copy
Example: bpi-copy ubuntu.img /dev/sdf
3. Install this SD to W2 board
4. Press power button a few seconds to activate this board. The default baud rate of serial port is 115200, the default username/password are root/bananapi