How to compile Android 4.4.2 Image for banana pie Banana Pi bpi-m2

Source: Internet
Author: User

BPI-M2 Android 4.4.2 Compilation tutorial
================================
Copyright 2014-2015 sinovoip,lnc Leo Xu ([email protected])

1. Install the Linux system required for compiling, we recommend using ' Ubuntu 12.04.x LTS '.
The installation process is no longer described.

2. Use the command to install the required packages for the build environment.

    1. sudo apt-get install Python-software-propertiessudo add-apt-repository ppa:webupd8team/javasudo apt-get Updatesudo Apt-get Install oracle-java6-installersudo apt-get install libglapi-mesa:i386sudo apt-get install git GnuPG Flex Bison GPE RF build-essential Zip Curl Libc6-dev libncurses5-dev:i386 X11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc Zlib1g-dev: I386sudo ln-s/usr/lib/i386-linux-gnu/mesa/libgl.so.1/usr/lib/i386-linux-gnu/libgl.sosudo apt-get Install Uboot-mkimagesudo Apt-get Install xserver-xorg


Attention! : The installation environment may cause problems with the inability to enter the desktop, so be sure not to restart the installation process, and at the end you run a command to install ' xserver-xorg ' (important).

3. Obtain the latest source package from http://dev.banana-pi.org.cn and perform the unpacking operation.

4. Compile.
4.1 Use the following command for HDMI compilation.

    1. ./build_hdmi.sh

4.2 Compile the 7 ' LCD using the following command.

    1. ./build_lcd.sh


4.3 Use the following command to clear the last compiled file and be sure to do so before compiling for another output (very important).

    1. ./make_clean.sh


4.4 To learn about the details of the compilation, please refer to the source directory of the ' Build_code_command.txt '.


How to compile Android 4.4.2 Image for banana pie Banana Pi bpi-m2

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.