查看“MYZR-IMX6 Android-4.4.2 Build Manual”的源代码
←
MYZR-IMX6 Android-4.4.2 Build Manual
跳转至:
导航
、
搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<div> = Install ubuntu12.04= (If virtual machine downloaded from MYZR is going to be used,please skip to the section"download source code and decompress").<br> Here it is recommended to users to use operating system of 64bit ubuntu12.04 of which has been proven in compilation by real machine.<br> =Install JDK1.6 SE= Login in downloads of http://www.myzr.com.cn, to download jdk-6u45-linux-x64.bin <br> $ cd /usr<br> $ sudo mkdir java<br> $ cd java<br> $ sudo cp ~ /jdk-6u45-linux-x64.bin ./<br> $ sudo chmod 777 ./jdk-6u45-linux-x64.bin<br> $ sudo ./jdk-6u45-linux-x64.bin<br> $ sudo gedit /etc/profile<br> Add the following environment variables<br> export JAVA_HOME=/usr/java/jdk1.6.0_45<br> export JRE_HOME=$JAVA_HOME/jre<br> export CLASSPATH=$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH<br> export PATH=$JAVA_HOME/bin:$PATH:$JRE_HOME/bin<br> $ source /etc/profile<br> $ java –version<br> (When version 1.6.0_45 is seen,which represent a success)<br> =Install libraries needed to compile Android system= For detailed information, please visit [http://source.android.com/source/initializing.html http://source.android.com/source/initializing.html]<br> $ 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<br> $ sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so<br> $ sudo apt-get install uuid uuid-dev<br> $ sudo apt-get install zlib1g-dev liblz-dev<br> $ sudo apt-get install liblzo2-2 liblzo2-dev<br> $ sudo add-apt-repository ppa:git-core/ppa<br> $ sudo apt-get update<br> $ sudo apt-get install git-core curl<br> =Download source code and decompress= ==Download source code== Login downloads in http://www.myzr.com.cn to download source code of Android4.2 <br> Source code package of Android4.4 sub-volume compression decompressed is :<br> ==Decompress source code== $ mkdir ~/myandroid<br> $ cd ~<br> $ tar -jxvf myzr_android-4.4.2_r1.tar.bz2 –C ~/myandroid<br> ==Compile source code(Android system)== ===Set environment variables=== $ export ARCH=arm<br> $ export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi- $ export PATH=~/myandroid/bootable/bootloader/uboot-imx/tools:$PATH<br> ===Compile uboot=== $ cd ~/myandroid/bootable/bootloader/uboot-imx<br> $ make distclean<br> $ make mx6q_sabresd_android_config (quadruple core configuration)<br> or $ make mx6dl_sabresd_android_config (dual core tile configuration)<br> or $ make mx6solo_sabresd_android_config (single core configuration)<br> $ make<br> ===Compile kernel=== $ cd ~/myandroid/kernel_imx<br> $ make imx6_android_defconfig<br> $ make uImage<br> ===Compile bootimg (uImagel and ramdisk)=== $ cd ~/myandroid<br> $ source build/envsetup.sh<br> $ lunch sabresd_6dq-user (this is release version,debug version is changed to be lunch sabresd_6dq-eng)<br> $ make bootimage<br> ===Compile system=== $ cd ~/myandroid<br> $ source build/envsetup.sh<br> $ lunch sabresd_6dq-user (this is release version,debug version is changed to be lunch sabresd_6dq-eng)<br> $ make<br> Note: u-boot.bin generated is in the directory of ~/myandroid/bootable/bootloader/uboot-imx,boot.img and recovery.img and system.img are in the directory of ~/myandroid/out/target/product/sabresd_6dq<br> </div>
返回至
MYZR-IMX6 Android-4.4.2 Build Manual
。
导航菜单
个人工具
登录
命名空间
页面
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
[-_-]
NXP平台:
MYZR-IMX6-EK200
MYZR-IMX6-EK200(EN)
MYZR-IMX6-EK314
MYZR-IMX6-EK314(EN)
MYZR-IMX6-EK336
MYZR-IMX6-EK336(EN)
MYZR-IMX6-EK140
MYZR-IMX6-EK140(EN)
MYZR-IMX6-EK140P
MYZR-IMX6-EK140P(EN)
MYZR-IMX8M-EK300
MYZR-IMX8M-EK300(EN)
MYZR-IMX8M-EVK
MYZR-IMX8Mmini-EK240
MYZR-IMX8Mmini-EK240(EN)
MYZR-IMX28-EK142
MYZR-IMX28-EK142(EN)
MYZR-LS1012A-EK200
MYZR-LS1012A-EK200(EN)
Rockchip平台:
MYZR-RK3288-EK314
MYZR-RK3288-EK314(EN)
MYZR-RK3399-EK314
MYZR-RK3399-EK314(EN)
Allwinner平台:
MYZR-R16-EK166
MYZR-R16-EK166(EN)
Microchip平台:
MYZR-SAMA5-EK200
MYZR-SAMA5-EK200(EN)
网关产品:
GW200
GW300
GW310/GW311
ST平台:
MYZR-STM32-EK152
所有页面
工具
链入页面
相关更改
特殊页面
页面信息