安裝編譯所需的套件:
$ sudo apt-get install build-essential u-boot-tools binutils-arm-linux-gnueabihf \ gcc-arm-linux-gnueabihf cpp-arm-linux-gnueabihf g++-arm-linux-gnueabihf安裝usblib套件,因為在編譯sunxi-tool需要這個libary:
$ sudo apt-get install libusb-1.0-0 libusb-1.0-0-dev安裝其他工具:
$ sudo apt-get install git wget vim libncurses5-dev下載source code:
$ git clone https://github.com/LeMaker/bananapro-bsp.git編譯source code:
$ cd bananapro-bsp $ ./configure BananaPi $ make