Orange Pi 2G-IOT User Manual
Copy right by Shenzhen Xunlong Software Co., Ltd
www.orangepi.org
www.xunlong.tv
57
300
Switch to java version and select version 1.6, use the following command:
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config jar
sudo update-alternatives --config javap
sudo update-alternatives --config javaws
sudo update-alternatives --config javadoc
After confirmed it is version 1.6, you could use the following command:
java -version
2.
Install Platform Supported Software
$ 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
3.
Download the Source Package and Unzip it
Download website: http://www.orangepi.org/downloadresources/
Downloaded source package and use the following command:
$cat OrangePi_2G-IOT* > tar.tar.gz
$ tar –xvzf tar.tar.gz
Unzip the file you will get the trunk directory, enter it via the terminal.
4.
Android source code compiler
Before compiling Android source code, please make sure you have already installed
JAVA 1.6 version, if not, please refer to previous charter to install first. After you install
jave 1.6 successfully, you could begin to compile Android source code.
Before compile Android source code, you need to first compile modem kernel for
both Tcard Startup and Nand Startup. modem kernel is misp framework, you need to use
corresponding cross compilation tool.Youo could use the following command to unzip
the cross compilation tool file:
Содержание Orange Pi 2G-IOT
Страница 34: ...Orange Pi 2G IOT User Manual Copy right by Shenzhen Xunlong Software Co Ltd www orangepi org www xunlong tv 32...
Страница 56: ...Orange Pi 2G IOT User Manual Copy right by Shenzhen Xunlong Software Co Ltd www orangepi org www xunlong tv 54...
Страница 57: ...Orange Pi 2G IOT User Manual Copy right by Shenzhen Xunlong Software Co Ltd www orangepi org www xunlong tv 55...