目标文件(target file)compile file
编译完成后通过ls命令即可看到编译得到的文件u-boot.imx
you can get the compiled file u-boot .imx with ls command after compilation.
$ ls
target file
MY-IMX6系列评估板的u-boot配置对应的目标文件名见下表:
The corresponding target file name for u-boot configuration of MY-IMX6 series evaluation board is shown in the table below:
u-boot配置
(u-boot configuration) | 目标文件
(target file) | myimx6ek200-6qp_config | uboot-myimx6ek200-6qp.imx | myimx6ek200-6qp-2g_config | uboot-myimx6ek200-6qp-2g.imx | myimx6ek200-6q_config | uboot-myimx6ek200-6q.imx | myimx6ek200-6q-2g_config | uboot-myimx6ek200-6q-2g.imx | myimx6ek200-6u_config | uboot-myimx6ek200-6u.imx | myimx6ek200-6s_config | uboot-myimx6ek200-6s.imx | myimx6ek200-6s-1g_config | uboot-myimx6ek200-6s-1g.imx | | myimx6ek314-6qp_config | uboot-myimx6ek314-6qp.imx | myimx6ek314-6qp-2g_config | uboot-myimx6ek314-6qp-2g.imx | myimx6ek314-6q_config | uboot-myimx6ek314-6q.imx | myimx6ek314-6q-2g_config | uboot-myimx6ek314-6q-2g.imx | myimx6ek314-6u_config | uboot-myimx6ek314-6u.imx | | myimx6ek336-6qp_config | uboot-myimx6ek336-6qp.imx | myimx6ek336-6qp-2g_config | uboot-myimx6ek336-6qp-2g.imx | myimx6ek336-6q_config | uboot-myimx6ek336-6q.imx | myimx6ek336-6q-2g_config | uboot-myimx6ek336-6q-2g.imx | | myimx6ek140-6g_config | uboot-myimx6ek140-6g.imx | myimx6ek140-6g-512m_config | uboot-myimx6ek140-6g-512m.imx | myimx6ek140p-6g_defconfig | uboot-myimx6ek140p-6g.imx | myimx6ek140p-6g-512m_defconfig | uboot-myimx6ek140p-6g-512m.imx |
我们需要将编译得到的u-boot.imx复制为我们的目标文件名。
We need to copy the compilied file u-boot.imx as our target file name.:
这里以MY-IMX6-EK200-6Q为例(把配置myimx6ek200-6q_config编译生成的u-boot.imx复制为目标文件):
Copy the generated file u-boot.imx from the compilation of myimx6ek200-6q_config as target file.):
$ cp u-boot.imx ~/my-imx6/04_image/image-linux-31452/uboot-myimx6ek200-6q.imx
编译内核(compile kernel) 准备编译(prepare compilation)复制源码包到开发主机中(copy source code package to development host)将下载的“linux源码”复制到Linux开发主机的“~/my-imx6/02_source”。
copy “linux source code”downloaded to “~/my-imx6/02_source”of Linux development host。
这一步自己采取相应的方式完成。
complete this step by yourself in a proper way。
解压linux源码包(decompress linux source code package)$ cd ~/my-imx6/02_source/
$ tar xf linux-3.14.52.tar.xz
内核编译配置(kernel compilation configuration)使编译配置文件生效(validate compilfer configuration file)$ source ~/my-imx6/03_tools/gcc-linaro-arm-linux-gnueabihf-492-env
清除内核临时文件(remove kernel temporary file)enter linux source code directory
$ cd ~/my-imx6/02_source/linux-3.14.52
remove temporary file
$ make distclean
内核配置(kernel configuration)kernel configuration file
评估板型号
(evaluation board model) | 配置文件
(configuration file) | MY-IMX6-EK200 | myimx6_defconfig | MY-IMX6-EK314 | MY-IMX6-EK336 | MY-IMX6-EK140 | myimx6ul_defconfig |
$ make myimx6_defconfig
如果是编译 MY-IMX6-EK140 的内核,请使用 $ make myimx6ul_defconfig
if what compified is kernel of MY-IMX6-EK140,please use $ make myimx6ul_defconfig
这里以 myimx6_defconfig 为例。
take myimx6_defconfig as an example。
|