How to update both u-boot and Linux kernel
--------------------------------------------
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
```
1. Install SD card to this host PC, please ensure Ubuntu 16.04 R2 image is installed on this SD card
2. Enter folder SD which is generated after building
3. Run below command to update u-boot and Linux kernel
```
bpi-update -c bpi-r2.conf
```
4. After it completes, move SD to R2 board
5. Press power button to activate this board
执行第3步时,命令默认的sd卡的路径是/dev/mmcblk0,如果这个路径不对的话,可以用-d参数,如
bpi-update -c bpi-r2.conf -d /dev/sdx sdx是指SD卡
reference: http://forum.banana-pi.org/t/bpi-r2-new-image-ubuntu-16-04-v1-2-1-bt-and-wifi-ap-mode-are-working-fine-2017-11-27/4291/12