<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 MY-IMX6 Linux-3.0.35 compilation manual</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/MY-IMX6-Linux-3-0-35-compilation-manual/m-p/736437#M114613</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;prepare source code pacakge&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;3.0.35 version code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;u-boot source code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;name of file：u-boot-2009.08--svn*.tar.xz&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;kernel source code&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;name of file：linux-3.0.35--svn*.tar.xz&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;cross compifer tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;name of file：gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.bz2&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;STRONG&gt;configuration of compifer environment&lt;/STRONG&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;prepare source code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;prepare source code package&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;create working directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create ~/my-imx6 as working directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.1.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.1.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/0/0c/Myimx6l3035_build_2.1.1.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create ~/my-imx6/02_source/imx_3.0.35_4.1.0 as source code directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/02_source/imx_3.0.35_4.1.0 -p&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.1.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.1.2.jpg" height="28" src="http://wiki.myzr.com.cn/images/b/bf/Myimx6l3035_build_2.1.1.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create ~/my-imx6/03_tools as tool directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/03_tools -p&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.1.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.1.3.jpg" height="28" src="http://wiki.myzr.com.cn/images/4/41/Myimx6l3035_build_2.1.1.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;copy source code package to the development host&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;do it in this step in your own way。&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tip：this step is to copy “02_source code”from network disk to “~/my-imx6/02_source/imx_3.0.35_4.1.0”in development host，and copy “03_tool/toolchain”to “~/my-imx6/03_tools”。&lt;EM&gt;in development host&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;Decompress source code package&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;decompress u-boot source code and kernel source code&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/02_source/imx_3.0.35_4.1.0&lt;BR /&gt;$ tar xf u-boot-2009.08--svn*.tar.xz&lt;BR /&gt;$ tar xf linux-3.0.35--svn*.tar.xz&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.2.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.2.1.jpg" height="54" src="http://wiki.myzr.com.cn/images/c/c2/Myimx6l3035_build_2.1.2.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;decompress cross compiler tool&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/03_tools/&lt;BR /&gt;$ tar jxf gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.bz2&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.2.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.2.2.jpg" height="41" src="http://wiki.myzr.com.cn/images/d/d3/Myimx6l3035_build_2.1.2.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;development environment configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;install package needed&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;list of updated source&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo apt-get update&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.1.jpg" height="54" src="http://wiki.myzr.com.cn/images/1/14/Myimx6l3035_build_2.2.1.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;after update,it will look like below：&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.2.jpg" height="54" src="http://wiki.myzr.com.cn/images/c/c0/Myimx6l3035_build_2.2.1.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;install aptitude package management tool and ia32-libs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：if Linux of compiler host is 32bit，you can skip this step。&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;install aptitude package management tool&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.3.jpg" height="106" src="http://wiki.myzr.com.cn/images/9/9a/Myimx6l3035_build_2.2.1.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo apt-get –y install aptitude&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;install ia32-libs with aptitude&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo aptitude –y install ia32-libs&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：following is the screenshots with re-execution of installation command after installation of aptitude and ia32-libs is finished。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.4.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.4.jpg" height="80" src="http://wiki.myzr.com.cn/images/e/ef/Myimx6l3035_build_2.2.1.4.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3）&lt;SPAN style="background: #cccccc;"&gt;install mkimage tool&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo apt-get -y install uboot-mkimage&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：following is the screenshots with re-execution of installation command after installation of mkimage tool is finished。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.5.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.5.jpg" height="106" src="http://wiki.myzr.com.cn/images/f/f6/Myimx6l3035_build_2.2.1.5.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;4）&lt;SPAN style="background: #cccccc;"&gt;install ncurses-dev&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: red; background: #cccccc;"&gt;instruction：make menuconfig is dependent on it。&lt;/SPAN&gt;&lt;BR /&gt;$ sudo aptitude -y install ncurses-dev&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：following is the screenshots with re-execution of installation command after installation of ncurses-dev tool is finished。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.6.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.6.jpg" height="80" src="http://wiki.myzr.com.cn/images/a/ad/Myimx6l3035_build_2.2.1.6.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;configure environment variables of MY-IMX6 compilation&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;write platform information to a new configured file&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo "export ARCH=arm" &amp;gt; ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;write compiler tool chain path to configured file&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;enter cross compiler tool directory&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/03_tools/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;write path to configured file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sed -i "\$a IMX6_GCC462_PATH=$PWD" ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;write cross compiler tool to configured file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sed -i "\$a export CROSS_COMPILE=\$IMX6_GCC462_PATH/arm-none-linux-gnueabi-" ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3）&lt;SPAN style="background: #cccccc;"&gt;view configured file&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cat ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;4）&lt;SPAN style="background: #cccccc;"&gt;figures&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.2.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.2.1.jpg" height="171" src="http://wiki.myzr.com.cn/images/1/13/Myimx6l3035_build_2.2.2.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;note：if an error occurs in any step, need to delect ~/my-imx6/03_tools/myimx6_3035_build_env ，and operate again all steps of this segment。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;STRONG&gt;compile u-boot&lt;/STRONG&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;enter u-boot source code directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/02_source/imx_3.0.35_4.1.0/u-boot-2009.08/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.1.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.1.0.1.jpg" height="41" src="http://wiki.myzr.com.cn/images/8/81/Myimx6l3035_build_3.1.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;validate configured file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute source command&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ source ~/my-imx6/03_tools/myimx6_3035_build_env&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.2.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/8/87/Myimx6l3035_build_3.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;view compiler configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo $ARCH&lt;BR /&gt;$ echo $CROSS_COMPILE&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see that ARCH和CROSS_COMPILE is configured&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.2.0.2.jpg" height="80" src="http://wiki.myzr.com.cn/images/3/37/Myimx6l3035_build_3.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;verify cross compiler tool configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$${CROSS_COMPILE}gcc –v&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see version information of cross compiler tool shown on terminal after execution of command.as below：&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.2.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.2.0.3.jpg" height="366" src="http://wiki.myzr.com.cn/images/0/08/Myimx6l3035_build_3.2.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;remove u-boot configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make distclean&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/9/9a/Myimx6l3035_build_3.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;u-boot configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;evaluation board and its corresponding u-boot compiler configuration：&lt;/LI&gt;&lt;/UL&gt;&lt;TABLE style="color: black; background-color: #f9f9f9; border: 1px solid #aaaaaa; font-size: 14px; margin: 1em 0px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="background-color: #f2f2f2; border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;evaluation board main model)&lt;/TH&gt;&lt;TH style="background-color: #f2f2f2; border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;CPU type-memory capacity&lt;/TH&gt;&lt;TH style="background-color: #f2f2f2; border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;corresponding u-boot configuration&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="4" style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;MY-IMX6-EK200&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad. core）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6q_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad core）- 2G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6q_2g_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6U（dual core tile）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6u_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6S（single core）- 512M&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6s_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="4" style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;MY-IMX6-EK314&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad.core）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6q_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad.core）- 2G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6q_2g_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6U（dual core tile）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6u_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6S（single core）- 512M&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6s_config&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;MYIMX6EK200-6Qxx-1G configuration example：&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make myimx6ek200_6q_config&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.3.0.2.jpg" height="41" src="http://wiki.myzr.com.cn/images/8/89/Myimx6l3035_build_3.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compilation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;Tips：To speed up the compilation，add "-j4" after make.The Linux host used to compile is dual-core ,4 threads .So "-j" is followed by 4, which takes 4 threads to compile. The number behind "-j" is allocated based on system resources,but It should not exceed the maximum threads the host support。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.5.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.5.0.1.jpg" height="106" src="http://wiki.myzr.com.cn/images/e/e6/Myimx6l3035_build_3.5.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;complete compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：u-boot compilation process will take a few minustes or so。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.5.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.5.0.2.jpg" height="106" src="http://wiki.myzr.com.cn/images/e/e6/Myimx6l3035_build_3.5.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;target file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;you can get the compiled file u-boot.bin with ls command after compilation&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ls&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.6.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.6.0.1.jpg" height="184" src="http://wiki.myzr.com.cn/images/8/80/Myimx6l3035_build_3.6.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile kernel&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;enter kernel source directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/02_source/imx_3.0.35_4.1.0/linux-3.0.35/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.1.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.1.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/e/ee/Myimx6l3035_build_4.1.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;validate configured file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute source command&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ source ~/my-imx6/03_tools/myimx6_3035_build_env&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.2.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/2/26/Myimx6l3035_build_4.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;view compiler configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo $ARCH&lt;BR /&gt;$ echo $CROSS_COMPILE&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see that ARCH和CROSS_COMPILE is configured&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.2.0.2.jpg" height="80" src="http://wiki.myzr.com.cn/images/e/ed/Myimx6l3035_build_4.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;verify cross compiler tool configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ${CROSS_COMPILE}gcc –v&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see version information of cross compiler tool shown on terminal after execution of command.as below：&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.2.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.2.0.3.jpg" height="366" src="http://wiki.myzr.com.cn/images/0/06/Myimx6l3035_build_4.2.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;prepare for kernel configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;remove kernel configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make distclean&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/e/ec/Myimx6l3035_build_4.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;generated.config file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;instructions：configuration files used for MY-IMX6-EK200 seires of evaluation board and MY-IMX6-EK314 series of evaluation board is myimx6_defconfig&lt;/SPAN&gt;&lt;BR /&gt;$ make myimx6_defconfig&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.3.0.2.jpg" height="158" src="http://wiki.myzr.com.cn/images/1/17/Myimx6l3035_build_4.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile kernel&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;compile uImage&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make uImage&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;instruction：4 threads compilation is used in the screenshots。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.4.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.4.0.1.jpg" height="93" src="http://wiki.myzr.com.cn/images/f/f6/Myimx6l3035_build_4.4.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;complete compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.4.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.4.0.2.jpg" height="171" src="http://wiki.myzr.com.cn/images/6/62/Myimx6l3035_build_4.4.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;target file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;arch/arm/boot/uImage is the target file through compilation，you can view the file information with ls command。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ls arch/arm/boot/uImage –la&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.4.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.4.0.3.jpg" height="41" src="http://wiki.myzr.com.cn/images/5/58/Myimx6l3035_build_4.4.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile module&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;compile&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;instruction：4 threads compilation is used in the screenshots。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.5.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.5.0.1.jpg" height="93" src="http://wiki.myzr.com.cn/images/1/1d/Myimx6l3035_build_4.5.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;complete compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.5.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.5.0.2.jpg" height="67" src="http://wiki.myzr.com.cn/images/4/4c/Myimx6l3035_build_4.5.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;target file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;.ko file of each module is in the directory where code is located after compilation ，you can find the module compiled with find command after compilation,refering command as below：&lt;/SPAN&gt;&lt;BR /&gt;$ find -name *.ko&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.5.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.5.0.3.jpg" height="93" src="http://wiki.myzr.com.cn/images/a/ad/Myimx6l3035_build_4.5.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Linux application compilation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;write application&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1)&lt;SPAN style="background: #cccccc;"&gt;create application directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/02_source/application/ -p &lt;BR /&gt;$ cd ~/my-imx6/02_source/application/ &lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.1.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.1.0.1.jpg" height="41" src="http://wiki.myzr.com.cn/images/a/a1/Myimx6l3035_build_5.1.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2) &lt;SPAN style="background: #cccccc;"&gt;write application（here take hello.c as example&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create hello.c and write following code and save：&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 3.2em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;include &amp;lt;stdio.h&amp;gt; &lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;int main(int argc, char **argv) &lt;BR /&gt;{ &lt;BR /&gt;　　　printf("Hello, MYZR!\n"); &lt;BR /&gt;　　　&lt;BR /&gt;　　　return; &lt;BR /&gt;} &lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3) &lt;SPAN style="background: #cccccc;"&gt;view code&lt;/SPAN&gt;&lt;BR /&gt;$ cat hello.c &lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.1.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.1.0.2.jpg" height="132" src="http://wiki.myzr.com.cn/images/2/21/Myimx6l3035_build_5.1.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;validate compiler configured file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute source command&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ source ~/my-imx6/03_tools/myimx6_3035_build_env&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.2.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/1/1e/Myimx6l3035_build_5.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;view compiler configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo $ARCH&lt;BR /&gt;$ echo $CROSS_COMPILE&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see that ARCH和CROSS_COMPILE is configured&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.2.0.2.jpg" height="80" src="http://wiki.myzr.com.cn/images/8/80/Myimx6l3035_build_5.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;verify cross compiler tool configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ${CROSS_COMPILE}gcc –v&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see version information of cross compiler tool shown on terminal after execution of command.as below：&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.2.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.2.0.3.jpg" height="366" src="http://wiki.myzr.com.cn/images/5/52/Myimx6l3035_build_5.2.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile application&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2) &lt;SPAN style="background: #cccccc;"&gt;compile&lt;/SPAN&gt;&lt;BR /&gt;$ ${CROSS_COMPILE}gcc hello.c -o hello.out &lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;note：the above commands contain charater“$”，e.g“${CROSS_COMPILE}gcc”，which is the environment variable generated when referring to our source。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/4/43/Myimx6l3035_build_5.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3) &lt;SPAN style="background: #cccccc;"&gt;view type of target file&lt;/SPAN&gt;&lt;BR /&gt;$ file hello.out &lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;you can get the property of target file hello.out。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.3.0.2.jpg" height="54" src="http://wiki.myzr.com.cn/images/6/68/Myimx6l3035_build_5.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;file system&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;file system instruction&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;file system package is located in image file folder in the network disk。as to type of file system supported and way of download please refer to《MY-IMX6 buring guide》。&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;decompress file system to compiler host&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;create directory of file system and enter&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/04_rootfs/ -p&lt;BR /&gt;$ cd ~/my-imx6/04_rootfs/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.2.0.1.jpg" height="41" src="http://wiki.myzr.com.cn/images/1/16/Myimx6l3035_build_6.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;copy file system to ~/my-imx6/04_rootfs/directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;this step sbould be done in your own way&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3）&lt;SPAN style="background: #cccccc;"&gt;decompress file system to specified directory&lt;/SPAN&gt;&lt;BR /&gt;$ mkdir rootfs&lt;BR /&gt;$ sudo tar jxf rootfs-linux.tar.bz2 -C rootfs&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.2.0.2.jpg" height="41" src="http://wiki.myzr.com.cn/images/8/89/Myimx6l3035_build_6.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;add application to file system&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cp ~/my-imx6/02_source/application/hello.out rootfs/app_test/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/8/89/Myimx6l3035_build_6.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;5）&lt;SPAN style="background: #cccccc;"&gt;re-pakcage file system&lt;/SPAN&gt;&lt;BR /&gt;$ rm -rf rootfs-linux.tar.bz2&lt;BR /&gt;$ cd rootfs/&lt;BR /&gt;$ sudo tar cjf ../rootfs-linux.tar.bz2 *&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.3.0.2.jpg" height="54" src="http://wiki.myzr.com.cn/images/0/02/Myimx6l3035_build_6.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;add module to file system&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;prepare .ko file of module needed,as to other operations please refer to“add application to file system”。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;If you would like to you know more about our products, please visit &lt;A href="http://www.myzr.com.cn"&gt;www.myzr.com.cn&lt;/A&gt;&amp;nbsp;for email to &lt;A href="mailto:enquiry@myzr.com.cn"&gt;enquiry@myzr.com.cn&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Apr 2018 07:18:25 GMT</pubDate>
    <dc:creator>cherryzheng</dc:creator>
    <dc:date>2018-04-16T07:18:25Z</dc:date>
    <item>
      <title>MY-IMX6 Linux-3.0.35 compilation manual</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/MY-IMX6-Linux-3-0-35-compilation-manual/m-p/736437#M114613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;prepare source code pacakge&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;3.0.35 version code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;u-boot source code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;name of file：u-boot-2009.08--svn*.tar.xz&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;kernel source code&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;name of file：linux-3.0.35--svn*.tar.xz&lt;/SPAN&gt;&lt;/P&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;cross compifer tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;name of file：gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.bz2&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;STRONG&gt;configuration of compifer environment&lt;/STRONG&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;prepare source code&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;prepare source code package&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;create working directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create ~/my-imx6 as working directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.1.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.1.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/0/0c/Myimx6l3035_build_2.1.1.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create ~/my-imx6/02_source/imx_3.0.35_4.1.0 as source code directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/02_source/imx_3.0.35_4.1.0 -p&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.1.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.1.2.jpg" height="28" src="http://wiki.myzr.com.cn/images/b/bf/Myimx6l3035_build_2.1.1.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create ~/my-imx6/03_tools as tool directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/03_tools -p&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.1.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.1.3.jpg" height="28" src="http://wiki.myzr.com.cn/images/4/41/Myimx6l3035_build_2.1.1.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;copy source code package to the development host&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;do it in this step in your own way。&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tip：this step is to copy “02_source code”from network disk to “~/my-imx6/02_source/imx_3.0.35_4.1.0”in development host，and copy “03_tool/toolchain”to “~/my-imx6/03_tools”。&lt;EM&gt;in development host&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;Decompress source code package&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;decompress u-boot source code and kernel source code&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/02_source/imx_3.0.35_4.1.0&lt;BR /&gt;$ tar xf u-boot-2009.08--svn*.tar.xz&lt;BR /&gt;$ tar xf linux-3.0.35--svn*.tar.xz&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.2.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.2.1.jpg" height="54" src="http://wiki.myzr.com.cn/images/c/c2/Myimx6l3035_build_2.1.2.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;decompress cross compiler tool&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/03_tools/&lt;BR /&gt;$ tar jxf gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12.tar.bz2&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.1.2.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.1.2.2.jpg" height="41" src="http://wiki.myzr.com.cn/images/d/d3/Myimx6l3035_build_2.1.2.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;development environment configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;install package needed&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;list of updated source&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo apt-get update&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.1.jpg" height="54" src="http://wiki.myzr.com.cn/images/1/14/Myimx6l3035_build_2.2.1.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;after update,it will look like below：&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.2.jpg" height="54" src="http://wiki.myzr.com.cn/images/c/c0/Myimx6l3035_build_2.2.1.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;install aptitude package management tool and ia32-libs&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：if Linux of compiler host is 32bit，you can skip this step。&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;install aptitude package management tool&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.3.jpg" height="106" src="http://wiki.myzr.com.cn/images/9/9a/Myimx6l3035_build_2.2.1.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo apt-get –y install aptitude&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;install ia32-libs with aptitude&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo aptitude –y install ia32-libs&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：following is the screenshots with re-execution of installation command after installation of aptitude and ia32-libs is finished。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.4.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.4.jpg" height="80" src="http://wiki.myzr.com.cn/images/e/ef/Myimx6l3035_build_2.2.1.4.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3）&lt;SPAN style="background: #cccccc;"&gt;install mkimage tool&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sudo apt-get -y install uboot-mkimage&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：following is the screenshots with re-execution of installation command after installation of mkimage tool is finished。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.5.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.5.jpg" height="106" src="http://wiki.myzr.com.cn/images/f/f6/Myimx6l3035_build_2.2.1.5.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;4）&lt;SPAN style="background: #cccccc;"&gt;install ncurses-dev&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: red; background: #cccccc;"&gt;instruction：make menuconfig is dependent on it。&lt;/SPAN&gt;&lt;BR /&gt;$ sudo aptitude -y install ncurses-dev&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：following is the screenshots with re-execution of installation command after installation of ncurses-dev tool is finished。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.1.6.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.1.6.jpg" height="80" src="http://wiki.myzr.com.cn/images/a/ad/Myimx6l3035_build_2.2.1.6.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;H3 style="color: black; background: none #ffffff; border-bottom: none; font-weight: bold; font-size: 1.2em; margin: 0.3em 0px 0px; padding-top: 0.5em;"&gt;&lt;SPAN class=""&gt;configure environment variables of MY-IMX6 compilation&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;write platform information to a new configured file&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo "export ARCH=arm" &amp;gt; ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;write compiler tool chain path to configured file&lt;/SPAN&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;enter cross compiler tool directory&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/03_tools/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;write path to configured file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sed -i "\$a IMX6_GCC462_PATH=$PWD" ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;write cross compiler tool to configured file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ sed -i "\$a export CROSS_COMPILE=\$IMX6_GCC462_PATH/arm-none-linux-gnueabi-" ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3）&lt;SPAN style="background: #cccccc;"&gt;view configured file&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cat ~/my-imx6/03_tools/myimx6_3035_build_env&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;4）&lt;SPAN style="background: #cccccc;"&gt;figures&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_2.2.2.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 2.2.2.1.jpg" height="171" src="http://wiki.myzr.com.cn/images/1/13/Myimx6l3035_build_2.2.2.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;note：if an error occurs in any step, need to delect ~/my-imx6/03_tools/myimx6_3035_build_env ，and operate again all steps of this segment。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;STRONG&gt;compile u-boot&lt;/STRONG&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;enter u-boot source code directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/02_source/imx_3.0.35_4.1.0/u-boot-2009.08/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.1.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.1.0.1.jpg" height="41" src="http://wiki.myzr.com.cn/images/8/81/Myimx6l3035_build_3.1.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;validate configured file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute source command&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ source ~/my-imx6/03_tools/myimx6_3035_build_env&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.2.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/8/87/Myimx6l3035_build_3.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;view compiler configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo $ARCH&lt;BR /&gt;$ echo $CROSS_COMPILE&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see that ARCH和CROSS_COMPILE is configured&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.2.0.2.jpg" height="80" src="http://wiki.myzr.com.cn/images/3/37/Myimx6l3035_build_3.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;verify cross compiler tool configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$${CROSS_COMPILE}gcc –v&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see version information of cross compiler tool shown on terminal after execution of command.as below：&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.2.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.2.0.3.jpg" height="366" src="http://wiki.myzr.com.cn/images/0/08/Myimx6l3035_build_3.2.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;remove u-boot configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make distclean&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/9/9a/Myimx6l3035_build_3.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;u-boot configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;evaluation board and its corresponding u-boot compiler configuration：&lt;/LI&gt;&lt;/UL&gt;&lt;TABLE style="color: black; background-color: #f9f9f9; border: 1px solid #aaaaaa; font-size: 14px; margin: 1em 0px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="background-color: #f2f2f2; border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;evaluation board main model)&lt;/TH&gt;&lt;TH style="background-color: #f2f2f2; border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;CPU type-memory capacity&lt;/TH&gt;&lt;TH style="background-color: #f2f2f2; border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;corresponding u-boot configuration&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="4" style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;MY-IMX6-EK200&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad. core）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6q_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad core）- 2G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6q_2g_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6U（dual core tile）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6u_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6S（single core）- 512M&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek200_6s_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD rowspan="4" style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;MY-IMX6-EK314&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad.core）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6q_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6Q（quad.core）- 2G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6q_2g_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6U（dual core tile）- 1G&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6u_config&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;6S（single core）- 512M&lt;/TD&gt;&lt;TD style="border: 1px solid #aaaaaa; padding: 0.2em 0.4em;"&gt;myimx6ek314_6s_config&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;MYIMX6EK200-6Qxx-1G configuration example：&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make myimx6ek200_6q_config&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.3.0.2.jpg" height="41" src="http://wiki.myzr.com.cn/images/8/89/Myimx6l3035_build_3.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compilation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;Tips：To speed up the compilation，add "-j4" after make.The Linux host used to compile is dual-core ,4 threads .So "-j" is followed by 4, which takes 4 threads to compile. The number behind "-j" is allocated based on system resources,but It should not exceed the maximum threads the host support。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.5.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.5.0.1.jpg" height="106" src="http://wiki.myzr.com.cn/images/e/e6/Myimx6l3035_build_3.5.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;complete compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：u-boot compilation process will take a few minustes or so。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.5.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.5.0.2.jpg" height="106" src="http://wiki.myzr.com.cn/images/e/e6/Myimx6l3035_build_3.5.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;target file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;you can get the compiled file u-boot.bin with ls command after compilation&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ls&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_3.6.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 3.6.0.1.jpg" height="184" src="http://wiki.myzr.com.cn/images/8/80/Myimx6l3035_build_3.6.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile kernel&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;enter kernel source directory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cd ~/my-imx6/02_source/imx_3.0.35_4.1.0/linux-3.0.35/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.1.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.1.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/e/ee/Myimx6l3035_build_4.1.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;validate configured file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute source command&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ source ~/my-imx6/03_tools/myimx6_3035_build_env&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.2.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/2/26/Myimx6l3035_build_4.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;view compiler configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo $ARCH&lt;BR /&gt;$ echo $CROSS_COMPILE&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see that ARCH和CROSS_COMPILE is configured&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.2.0.2.jpg" height="80" src="http://wiki.myzr.com.cn/images/e/ed/Myimx6l3035_build_4.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;verify cross compiler tool configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ${CROSS_COMPILE}gcc –v&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see version information of cross compiler tool shown on terminal after execution of command.as below：&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.2.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.2.0.3.jpg" height="366" src="http://wiki.myzr.com.cn/images/0/06/Myimx6l3035_build_4.2.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;prepare for kernel configuration&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;remove kernel configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make distclean&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/e/ec/Myimx6l3035_build_4.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;generated.config file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;instructions：configuration files used for MY-IMX6-EK200 seires of evaluation board and MY-IMX6-EK314 series of evaluation board is myimx6_defconfig&lt;/SPAN&gt;&lt;BR /&gt;$ make myimx6_defconfig&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.3.0.2.jpg" height="158" src="http://wiki.myzr.com.cn/images/1/17/Myimx6l3035_build_4.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile kernel&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;compile uImage&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make uImage&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;instruction：4 threads compilation is used in the screenshots。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.4.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.4.0.1.jpg" height="93" src="http://wiki.myzr.com.cn/images/f/f6/Myimx6l3035_build_4.4.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;complete compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.4.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.4.0.2.jpg" height="171" src="http://wiki.myzr.com.cn/images/6/62/Myimx6l3035_build_4.4.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;target file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;arch/arm/boot/uImage is the target file through compilation，you can view the file information with ls command。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ls arch/arm/boot/uImage –la&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.4.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.4.0.3.jpg" height="41" src="http://wiki.myzr.com.cn/images/5/58/Myimx6l3035_build_4.4.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile module&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;compile&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ make&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;instruction：4 threads compilation is used in the screenshots。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.5.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.5.0.1.jpg" height="93" src="http://wiki.myzr.com.cn/images/1/1d/Myimx6l3035_build_4.5.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;complete compilation&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.5.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.5.0.2.jpg" height="67" src="http://wiki.myzr.com.cn/images/4/4c/Myimx6l3035_build_4.5.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;target file&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;.ko file of each module is in the directory where code is located after compilation ，you can find the module compiled with find command after compilation,refering command as below：&lt;/SPAN&gt;&lt;BR /&gt;$ find -name *.ko&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_4.5.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 4.5.0.3.jpg" height="93" src="http://wiki.myzr.com.cn/images/a/ad/Myimx6l3035_build_4.5.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;Linux application compilation&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;write application&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1)&lt;SPAN style="background: #cccccc;"&gt;create application directory&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/02_source/application/ -p &lt;BR /&gt;$ cd ~/my-imx6/02_source/application/ &lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.1.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.1.0.1.jpg" height="41" src="http://wiki.myzr.com.cn/images/a/a1/Myimx6l3035_build_5.1.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2) &lt;SPAN style="background: #cccccc;"&gt;write application（here take hello.c as example&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;create hello.c and write following code and save：&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 3.2em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;include &amp;lt;stdio.h&amp;gt; &lt;/LI&gt;&lt;/OL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;int main(int argc, char **argv) &lt;BR /&gt;{ &lt;BR /&gt;　　　printf("Hello, MYZR!\n"); &lt;BR /&gt;　　　&lt;BR /&gt;　　　return; &lt;BR /&gt;} &lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3) &lt;SPAN style="background: #cccccc;"&gt;view code&lt;/SPAN&gt;&lt;BR /&gt;$ cat hello.c &lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.1.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.1.0.2.jpg" height="132" src="http://wiki.myzr.com.cn/images/2/21/Myimx6l3035_build_5.1.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;validate compiler configured file&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;execute source command&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ source ~/my-imx6/03_tools/myimx6_3035_build_env&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.2.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/1/1e/Myimx6l3035_build_5.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;view compiler configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ echo $ARCH&lt;BR /&gt;$ echo $CROSS_COMPILE&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see that ARCH和CROSS_COMPILE is configured&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.2.0.2.jpg" height="80" src="http://wiki.myzr.com.cn/images/8/80/Myimx6l3035_build_5.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;UL style="background-color: #ffffff; font-size: 14px; margin: 0.3em 0px 0px 1.6em;"&gt;&lt;LI style="margin-bottom: 0.1em;"&gt;verify cross compiler tool configuration&lt;/LI&gt;&lt;/UL&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ ${CROSS_COMPILE}gcc –v&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;tips：you can see version information of cross compiler tool shown on terminal after execution of command.as below：&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.2.0.3.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.2.0.3.jpg" height="366" src="http://wiki.myzr.com.cn/images/5/52/Myimx6l3035_build_5.2.0.3.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;compile application&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2) &lt;SPAN style="background: #cccccc;"&gt;compile&lt;/SPAN&gt;&lt;BR /&gt;$ ${CROSS_COMPILE}gcc hello.c -o hello.out &lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;note：the above commands contain charater“$”，e.g“${CROSS_COMPILE}gcc”，which is the environment variable generated when referring to our source。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/4/43/Myimx6l3035_build_5.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3) &lt;SPAN style="background: #cccccc;"&gt;view type of target file&lt;/SPAN&gt;&lt;BR /&gt;$ file hello.out &lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;you can get the property of target file hello.out。&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_5.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 5.3.0.2.jpg" height="54" src="http://wiki.myzr.com.cn/images/6/68/Myimx6l3035_build_5.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H1 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.8em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;file system&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H1&gt;&lt;HR style="color: #aaaaaa; background-color: #aaaaaa; border: 0px; font-size: 14px; margin: 0.2em 0px;" /&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;file system instruction&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;file system package is located in image file folder in the network disk。as to type of file system supported and way of download please refer to《MY-IMX6 buring guide》。&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;decompress file system to compiler host&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;1）&lt;SPAN style="background: #cccccc;"&gt;create directory of file system and enter&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ mkdir ~/my-imx6/04_rootfs/ -p&lt;BR /&gt;$ cd ~/my-imx6/04_rootfs/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.2.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.2.0.1.jpg" height="41" src="http://wiki.myzr.com.cn/images/1/16/Myimx6l3035_build_6.2.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;2）&lt;SPAN style="background: #cccccc;"&gt;copy file system to ~/my-imx6/04_rootfs/directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background: #cccccc;"&gt;this step sbould be done in your own way&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;3）&lt;SPAN style="background: #cccccc;"&gt;decompress file system to specified directory&lt;/SPAN&gt;&lt;BR /&gt;$ mkdir rootfs&lt;BR /&gt;$ sudo tar jxf rootfs-linux.tar.bz2 -C rootfs&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.2.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.2.0.2.jpg" height="41" src="http://wiki.myzr.com.cn/images/8/89/Myimx6l3035_build_6.2.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;add application to file system&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;$ cp ~/my-imx6/02_source/application/hello.out rootfs/app_test/&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.3.0.1.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.3.0.1.jpg" height="28" src="http://wiki.myzr.com.cn/images/8/89/Myimx6l3035_build_6.3.0.1.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;5）&lt;SPAN style="background: #cccccc;"&gt;re-pakcage file system&lt;/SPAN&gt;&lt;BR /&gt;$ rm -rf rootfs-linux.tar.bz2&lt;BR /&gt;$ cd rootfs/&lt;BR /&gt;$ sudo tar cjf ../rootfs-linux.tar.bz2 *&lt;BR /&gt;&lt;A class="" href="http://wiki.myzr.com.cn/index.php?title=%E6%96%87%E4%BB%B6:Myimx6l3035_build_6.3.0.2.jpg" style="color: #0b0080; background: none;"&gt;&lt;IMG alt="Myimx6l3035 build 6.3.0.2.jpg" height="54" src="http://wiki.myzr.com.cn/images/0/02/Myimx6l3035_build_6.3.0.2.jpg" style="border: none;" width="642" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;H2 style="color: black; background: none #ffffff; border-bottom: 1px solid #aaaaaa; font-size: 1.5em; margin: 1em 0px 0.25em;"&gt;&lt;SPAN class=""&gt;&lt;STRONG&gt;add module to file system&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;prepare .ko file of module needed,as to other operations please refer to“add application to file system”。&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;/P&gt;&lt;P style="color: #252525; background-color: #ffffff; font-size: 14px; margin: 0.5em 0px;"&gt;&lt;SPAN style="background: #cccccc;"&gt;If you would like to you know more about our products, please visit &lt;A href="http://www.myzr.com.cn"&gt;www.myzr.com.cn&lt;/A&gt;&amp;nbsp;for email to &lt;A href="mailto:enquiry@myzr.com.cn"&gt;enquiry@myzr.com.cn&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Apr 2018 07:18:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/MY-IMX6-Linux-3-0-35-compilation-manual/m-p/736437#M114613</guid>
      <dc:creator>cherryzheng</dc:creator>
      <dc:date>2018-04-16T07:18:25Z</dc:date>
    </item>
  </channel>
</rss>

