Step1: Update bpi-tools
$ git clone https://github.com/BPI-SINOVOIP/bpi-tools.git50
$ cd bpi-tools
$ sudo ./bpi-tools -u -U
Step 2: Check bpi-tools version
$ bpi-tools -v
Step 4: Go to BPI source code and run build command
$./bulid.sh
Step 5: Run bpi-tools command to update uimage and kernel built by yourself
$ sudo bpi-update -d /dev/sdX