785 views|0 replies

290

Posts

0

Resources
The OP
 

MY-I.MX6-DEMOAndroid4.2.2 environment construction [Copy link]

1 Installubuntu12.04
(If you use the virtual machine downloaded from Mingyuan Zhirui, please jump directly to the section Download the source code and unzip it) Here we recommend that users use the 64-bit Ubuntu 12.04 operating system, which has been compiled and verified on a real machine. , 宋体, sans-serif]
2 InstallJDK1.6 SE
Log in to http://www.myzr.com. cn’s download area, download the jdk-6u45-linux-x64.bin file $ cd /usr $ sudo mkdir java $ cd java $ sudo cp ~ /jdk-6u45-linux-x64.bin ./ $ sudo chmod 777 ./jdk-6u45-linux-x64.bin $ sudo ./jdk-6u45-linux-x64.bin $ sudo gedit /etc/profile Add the following environment variables export JAVA_HOME=/usr/java/jdk1.6.0_45 export JRE_HOME=$JAVA_HOME/jre export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH export PATH=$JAVA_HOME/bin:$PATH:$JRE_HOME/bin $ source /etc/profile $ java –version , 宋体, sans-serif]
3 Install and compile the libraries required for the Android system
$ 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 gcc:i386 linux-libc-dev:i386 $ sudo apt-get install uuid uuid-dev $ sudo apt-get install zlib1 g-dev liblz-dev $ sudo apt-get install liblzo2-2 liblzo2-dev $ sudo apt-get install uuid-dev:i386 $ sudo apt-get install liblzo2-dev:i386 $ sudo ln -sf /lib/i386-linux-gnu/libuuid.so.1 /usr/lib/libuuid.so[/align ]
4 Download the source code and unzip the source code4.1 Download the source code
Log in to http://www.myzr.com. cn Download Zone Download Android4.2 source code Android4.2 source code package: myzr_android4_2_2_1_1_0.tar.bz2
4.2 Unzip the source code
$ mkdir ~/myandroid $ cd ~ $ tar -jxvf myzr_android4_2_2_1_1_0.tar.bz2 –C ~/myandroid
4.3 Compile source code (Android system)4.3.1 Set environment variables
$ export ARCH=arm $ export 102, 102, 102)]
4.3.2 编译uboot
4.3.2 102)]$ cd ~/myandroid/bootable/bootloader/uboot-imx $ make distclean $ make mx6q_sabresd_android_config $ make
4.3.3 Compilekernel
$ cd ~/myandroid/kernel_imx $ make imx6_android_defconfig $ make uImage
4.3.4 Compilebootimg (uImagel and ramdisk)
$ cd ~/myandroid $ source build/envsetup.sh $ lunch sabresd_6dq-eng (this is the debug version, the release version is changed to lunch sabresd_6dq-usr) $ make bootimage
4.3.5 Compilesystem
$ cd ~/myandroid $ source build/envsetup.sh $ lunch sabresd_6dq-eng (this is the debug version, the release version is changed to lunch sabresd_6dq-usr) $ make

This post is from ARM Technology
Personal signature明远智睿 您的一站式 嵌入式 方案提供商
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list