编译imx6dl android4.2的镜像,记录编译的命令。

Build Android Image

# Build Android images for i.MX6 SABRE-SD boards
cd ~/myandroid
source build/envsetup.sh
lunch sabresd_6dq-user
make

Build U-Boot Images

After you set up U-Boot using the steps outlined above, you can find the tool (mkimage) under tools/.

cd ~/myandroid/bootable/bootloader/uboot-imx
export ARCH=arm
export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabiCommand to build for i.MX 6Dual/6Quad SABRE-SD or i.MX 6DualLite SABRE-SD board is:
make distclean # For i.MX 6Quad SABRE-SD:
make mx6q_sabresd_android_config
# For i.MX 6DualLite SABRE-SD:
make mx6dl_sabresd_android_config
make # Command to build for i.MX 6 series SABRE-AI boards is:
make distclean
# For i.MX 6Quad SABRE-AI SD:
make mx6q_sabreauto_android_config
make
# For i.MX 6Quad SABRE-AI NAND:
make mx6q_sabreauto_nand_android_config
make
# For i.MX 6DualLite SABRE-AI SD:
make mx6dl_sabreauto_android_config
make
# For i.MX 6DualLite SABRE-AI NAND:
make mx6dl_sabreauto_nand_android_config
make
# For i.MX 6Solo SABRE-AI SD:
make mx6solo_sabreauto_android_config
make
# For i.MX 6Solo SABRE-AI NAND:
make mx6solo_sabreauto_nand_android_config
make

Build Kernel Image

export PATH=~/myandroid/bootable/bootloader/uboot-imx/tools:$PATH
cd ~/myandroid/kernel_imx
echo $ARCH && echo $CROSS_COMPILE
# Make sure you have those two environment variables set. If the two variables are not set, set them as:
export ARCH=arm
export CROSS_COMPILE=~/myandroid/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
make imx6_android_defconfig
# Generate ".config" according to default config file under arch/arm/configs.
$ make uImage

Build boot.img

# Boot image for SABRE-SD board
cd ~/myandroid
source build/envsetup.sh
lunch sabresd_6dq-user
make bootimage

Build system.img

cd ~/myandroid
source build/envsetup.sh
lunch sabresd_6dq-user
make systemimage

Tony Liu

2017-2-23, Shenzhen

imx6 android4.2 编译的更多相关文章

  1. MTK6577+Android4.04编译

    MTK6577+Android4.04编译 编译命令 ./mk new 出错信息如下: **********checkingEnv************ Your building environm ...

  2. 内容分享-迅为IMX6开发板编译问题及解决方法

    [经验分享]IMX6开发板编译问题及解决方法本文转自迅为IMX6开发板售后讨论群,分享给大家~ 物理主机 win10 64 位专业版.虚拟机 VM12 Pro.开发环境采用迅为提供的开发环境: Ubu ...

  3. imx6 android5.1 编译

    imx6 android5.1 编译 记录一下编译imx6dl android的命令. Android build cd ~/myandroid source build/envsetup.sh lu ...

  4. 【经验分享】IMX6开发板编译问题及解决方法

    本文转自迅为IMX6开发板售后讨论群,分享给大家~物理主机 win10 64 位专业版.虚拟机 VM12 Pro.开发环境采用迅为提供的开发环境:Ubuntu12.04.2 .镜像采用最新的:iTOP ...

  5. QT210 android2.3 和android4.0 烧写编译日记

    QT210下载烧录编译android2.3过程 工作环境:ubuntu12.04.5 | QT210开发板光盘 | QT210开发板 android2.3编译环境:gcc version 4.4.7  ...

  6. Android编译环境折腾记

    题记:感觉是时候写点什么了=_=! 第一次安装了ubuntu14.04.5,官网下载的iso,官网下的jar,编译android4.x需要安装jdk6,更高的版本会有问题,baidu到很多搭建环境的步 ...

  7. android 编译模块

    android 编译模块 在写完.c文件之后,需要加载到android上进行测试.使用arm-linux-gcc编译,并添加到android开发板上运行失败. 由于android与linux不同,需要 ...

  8. 4412开发板升级4.2之后改了logo开机后屏幕闪解决办法

    荣品4412开发板升级到4.2请注意增加虚拟机内存. 问:荣品4412开发板升级到Android4.2之后,改了logo.4412板子开机后,过一会屏幕就一闪一闪,是什么原因? Android4.2编 ...

  9. android大项目运行中出现问题汇总

    Android 项目中,特别是当项目文件和规模达到一定的程度后,会引发一些平常不常见的问题. 下面对遇到的一些问题做一个汇总和总结. scenario 1: 在项目中,我们采用了chromimum内核 ...

随机推荐

  1. python标准库介绍——19 mmap 模块详解

    ==mmap 模块== (2.0 新增) ``mmap`` 模块提供了操作系统内存映射函数的接口, 如 [Example 2-13 #eg-2-13] 所示. 映射区域的行为和字符串对象类似, 但数据 ...

  2. LaTeX多文件编译的方法总结

    LaTeX多文件编译的方法总结 在编写LaTeX文档的时候,由于文档的section较多,或者section的编写时间各不相同,我们可能碰到如下问题: 1.由于想分开编写各个section 2.pre ...

  3. hdu4901The Romantic Hero

    #include<iostream> #include<map> #include<string> #include<cstring> #include ...

  4. winphone开发环境配置

    环境:操作系统win7 要进行winphone开发,必须进行一些环境的配置.下面是我的一些配置总结. 1.操作系统 winphone开发仅仅能在win8下开发.所以首先得安装win8.能够使用nt6 ...

  5. .net+jquery+ashx实现客户端模拟登陆扩展

    客户端实现:login namespace LoginApp { partial class Form1 { /// <summary> /// 必需的设计器变量. /// </su ...

  6. 【RapidIO相关】DSP与FPGA通信

    TI参考链接: http://www.ti.com.cn/general/cn/docs/gencontent.tsp?contentId=50741 ------------------------ ...

  7. Spark大师之路:广播变量(Broadcast)源码分析

    概述 最近工作上忙死了……广播变量这一块其实早就看过了,一直没有贴出来. 本文基于Spark 1.0源码分析,主要探讨广播变量的初始化.创建.读取以及清除. 类关系 BroadcastManager类 ...

  8. Windows10 64位 Python2.7 Matplotlib安装

    为了安装Matplotlib 百度了一大堆,也下载了一大堆安装包,结果还是报错ImportError: DLL load failed: %1 不是有效的 Win32 应用程序. 后来直接从官网看怎么 ...

  9. Spring4.0系列9-websocket简单应用

    http://wiselyman.iteye.com/blog/2003336 ******************************************* Spring4.0系列1-新特性 ...

  10. 【转】linux configure报错configure: error: C++ preprocessor “/lib/cpp” fails sanity 的解决办法

    /lib/cpp fails sanity check的解决 在某些软件的时候,运行./configure 会报错,错误提示为: configure: error: C++ preprocessor ...