banana pi BPI-M2 A31s quad core single board compu
  • Initial page
  • LANGS
  • Banana pi BPI-M2
    • BPI-M2 hardware interface:
    • Summary
    • Armbian linux for BPI-M2
    • BPI-M2 source code on github
    • BPI-M2 WiringPi
    • BPI-M2 3.7V lithium battery interface
    • How to setup docker env. to build github source code
    • A31 Manual build howto
    • BPI-M2 GigE LAN
    • All Banana Pi SBC Comparison
    • OpenSuse for BPI-M2
    • BPI-M2 software
    • BPI-M2 Camera interface
    • BPI-M2 Building a Minimal linux System
    • BPI-M2 schematic diagram
    • Bananian linux
    • BPI-M2 IR interface
    • NetBSD/evbarm on Allwinner Technology SoCs
    • Android software
    • BPI-M2 wifi antenna slot
    • BPI-M2 RGB DSI interface
    • BPI-M2 quick start
    • BPI-M2 CE FCC RoHS Certification
    • BPI-M2 linux-sunxi wiki
    • BPI-M2 DXF and 3D design
    • linuxkernel33
    • BPI-M2 OTG interface
    • mainline kernel
    • OpenWRT
    • BPI-M2 GPIO Pin define
    • Reference documents for BPI-M2
    • Allwinner chip documents
    • How to building a Minimal system for BPI-M2
    • BPI-M2 USB interface
    • BPI-M2 WIFI interface
    • BPI-M2 DC Power interface
    • BPI-M2 micro SD card slot
    • How to build Android 4.4.2 Image for BPI-M2
    • ABD driver
    • Linux mainlining effort
    • BPI-M2 HDMI interface
    • BPI-M2 hardware spec:
    • uboot
  • Banana pi BPI-M2
    • ABD driver
    • All Banana Pi SBC Comparison
    • BPI-M2 hardware spec:
    • Summary
    • BPI-M2 schematic and gerber file
    • A31 Manual build howto
    • bpi-m2-hardware
    • BPI-M2 CE FCC RoHS Certification
    • All banana pi product
    • BPI-M2 DXF and 3D design
    • Bananian linux
    • BPI-M2 GPIO Pin define
    • Allwinner chip documents
    • Android software
    • Armbian linux for BPI-M2
    • BPI-M2 3.7V lithium battery interface
Powered by GitBook
On this page

Was this helpful?

  1. Banana pi BPI-M2

How to build Android 4.4.2 Image for BPI-M2

PreviousBPI-M2 micro SD card slotNextABD driver

Last updated 5 years ago

Was this helpful?

  1. Install the Linux system for building,'Ubuntu 12.04.x LTS'is recommended.

  2. Install the needed software packages.

    sudo apt-get install python-software-properties
    sudo add-apt-repository ppa:webupd8team/java
    sudo apt-get update
    sudo apt-get install oracle-java6-installer
    sudo apt-get install libglapi-mesa:i386
    sudo apt-get install git gnupg flex bison gperf 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:i386
    sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so
    sudo apt-get install uboot-mkimage
    sudo apt-get install xserver-xorg

    Do NOT reboot system during the process! (IMPORTANT!)

  3. Download the latest source code pack from our developer website .And unpack.

4.Building. Build for hdmi.

Build for 7' LCD.

``` ./build_LCD.sh

If you have finished building one of versions(hdmi OR LCD).Please run following commmand before building another!(IMPORTANT!)

./make_clean.sh

For more information of buileding,pleace view 'Build_Code_Command.txt' in code package.

discuss on forum:

http://dev.banana-pi.org.cn
http://forum.banana-pi.org/t/how-to-build-android-4-4-2-image-for-bpi-m2/467