Linux Kernel

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Linux Kernel

Linux Kernel

Building Linux Kernel

Building Using LTIB

Linux kernel can be easily built using Ltib. On Ltib menu, just select:

[*] Configure the Kernel 

Ltib_kernel1.png

When you exit this menu, Ltib will show the Kernel Menuconfig as below:

Ltib_kernel2.png

This is the Kernel Menuconfig, where it's possible to configure kernel options and drivers.

After exit this menu, kernel will be built and stored at:

<Ltib directory>/rootfs/boot 


Building Outside LTIB

Downloading and installing GNU Toolchain and git

When you install LTIB, a GNU toolchain is automatically installed on /opt/freescale/usr/local/

Kernel releases newer than 2.6.34 doesn't build on Toolchain 4.1.2, only on 4.4.1 or later

Check on your host at /opt/freescale/usr/local/ the current installed Toolchain.

Next step is to install GIT on host. For Ubuntu machines, use:

sudo apt-get install git-core 

Building Kernel from Freescale git repository

Freescale provides access to their own git kernel repository and can be viewed at: Freescale Public GIT

To download the kernel source code, create a new folder and use the command:

git clone git://git.freescale.com/imx/linux-2.6-imx.git

OR

git clone http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git

After some minutes, a folder called linux-2.6-imx will be created containing the Linux kernel

Create a local git branch from a remote branch you want to use. Let's use branch origin/imx_3.0.15 as example:

cd linux-2.6-imx 
git checkout -b localbranch origin/imx_3.0.15

To check all available remote branches, use: git branch -r

Export the cross compiler, architecture and the toolchain path:

export ARCH=arm 
export CROSS_COMPILE=arm-none-linux-gnueabi-

If using Toolchain 4.1.2:

export PATH="$PATH:/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/" 

OR If using Toolchain 4.4.4:

export PATH="$PATH:/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/" 

Copy the config file for the wanted platform on linux folder as example:

cp arch/arm/configs/imx6_defconfig .config 

All platform config files are located at <linux directory>/arch/arm/configs/

Call menuconfig and change configuration (if needed)

make menuconfig 

Now it's ready to be built:

make uImage

The zImage and uImage will be located at /arch/arm/boot/ folder.


Building Kernel Mainline


Mainline Kernel can be viewed on this link:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git

To download the kernel source code, create a new folder and use the command:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

OR

git clone http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

OR

git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git

After some minutes, a folder called linux will be created containing the Linux kernel

Create a local git branch from a remote branch you want to use. Let's use branch origin/linux-3.8.y as example:

cd linux
git checkout -b localbranch origin/linux-3.8.y

To check all available remote branches, use: git branch -r

Export the cross compiler, architecture and the toolchain path:

export ARCH=arm export CROSS_COMPILE=arm-none-linux-gnueabi- 

If using Toolchain 4.4.4:

export PATH="$PATH:/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/" 

Configure to the platform you want to build kernel. For i.MX family, use imx_v6_v7_defconfig:

make imx_v6_v7_defconfig

All platform config files are located at <linux directory>/arch/arm/configs/

Call menuconfig and change configuration (only if needed, this is an optional step!)

make menuconfig 

Now it's ready to be built:

make -j4 uImage LOADADDR=0x70008000

- Use -j4 option to speed up your build in case or PC has 4 cores. It's optional.

- IMPORTANT: Use the correct address for each processor. You can check the correct address value at linux/arch/arm/mach-imx/Makefile.boot.

After build the uImage, build the dtb file (device tree binary). For i.MX53 QSB use:

make imx53-qsb.dtb


The uImage will be located at: linux/arch/arm/boot/ folder and

dtb binary will be located at: linux/arch/arm/boot/dts


About Linux

For general Linux information, see About Linux

标记 (1)
%3CLINGO-SUB%20id%3D%22lingo-sub-1106932%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELinux%20Kernel%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1106932%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%26lt%3Bmeta%20http-equiv%3D%22Content-Type%22%20content%3D%22text%2Fhtml%3B%20charset%3Dutf-8%22%20%2F%26gt%3B%0A%3CH1%20id%3D%22toc-hId-380672465%22%20id%3D%22toc-hId-380672465%22%20id%3D%22toc-hId-1304191483%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%E6%9E%84%E5%BB%BALinux%E5%86%85%E6%A0%B8%3C%2FSPAN%3E%3C%2FH1%3E%3CH2%20id%3D%22toc-hId-1071233939%22%20id%3D%22toc-hId-1071233939%22%20id%3D%22toc-hId-1994752957%22%3E%3C%2FH2%3E%3CP%3E%3C%2FP%3E%3CUL%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A0px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FLinux-Kernel%2Fta-p%2F1106932%23toc-hId-380672465%22%20target%3D%22_blank%22%3E%E6%9E%84%E5%BB%BALinux%E5%86%85%E6%A0%B8%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A25px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FLinux-Kernel%2Fta-p%2F1106932%23toc-hId--736220524%22%20target%3D%22_blank%22%3E%E4%BD%BF%E7%94%A8%20LTIB%20%E8%BF%9B%E8%A1%8C%E6%9E%84%E5%BB%BA%20%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A25px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FLinux-Kernel%2Fta-p%2F1106932%23toc-hId--56162154%22%20target%3D%22_blank%22%3ELTIB%20%E5%A4%96%E7%9A%84%E5%BB%BA%E7%AD%91%20%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A50px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FLinux-Kernel%2Fta-p%2F1106932%23toc-hId--1173055143%22%20target%3D%22_blank%22%3E%E4%B8%8B%E8%BD%BD%E5%B9%B6%E5%AE%89%E8%A3%85%20GNU%20Toolchain%20%E5%92%8C%20git%20%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A50px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FLinux-Kernel%2Fta-p%2F1106932%23toc-hId-1314457690%22%20target%3D%22_blank%22%3E%E4%BB%8E%20Freescale%20git%20%E5%AD%98%E5%82%A8%E5%BA%93%E6%9E%84%E5%BB%BA%E5%86%85%E6%A0%B8%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A50px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FLinux-Kernel%2Fta-p%2F1106932%23toc-hId-1994516060%22%20target%3D%22_blank%22%3E%E6%9E%84%E5%BB%BA%E5%86%85%E6%A0%B8%E4%B8%BB%E7%BA%BF%3C%2FA%3E%3C%2FLI%3E%3CLI%20style%3D%22list-style-type%3Adisc%3B%20margin-left%3A25px%3B%20margin-bottom%3A1px%3B%22%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fi-MX-Processors-Knowledge-Base%2FLinux-Kernel%2Fta-p%2F1106932%23toc-hId-1850328232%22%20target%3D%22_blank%22%3E%E5%85%B3%E4%BA%8ELinux%3C%2FA%3E%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%3C%2FP%3E%3CH2%20id%3D%22toc-hId--736220524%22%20id%3D%22toc-hId--736220524%22%20id%3D%22toc-hId-187298494%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%E4%BD%BF%E7%94%A8%20LTIB%20%E8%BF%9B%E8%A1%8C%E6%9E%84%E5%BB%BA%20%3C%2FSPAN%3E%3C%2FH2%3E%3CP%3E%E4%BD%BF%E7%94%A8%20Ltib%20%E5%8F%AF%E4%BB%A5%E8%BD%BB%E6%9D%BE%E6%9E%84%E5%BB%BA%20Linux%20%E5%86%85%E6%A0%B8%E3%80%82%E5%9C%A8%20Ltib%20%E8%8F%9C%E5%8D%95%E4%B8%8A%EF%BC%8C%E5%8F%AA%E9%9C%80%E9%80%89%E6%8B%A9%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%5B*%5D%20%E9%85%8D%E7%BD%AE%E5%86%85%E6%A0%B8%20%3C%2FPRE%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_kernel1.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_kernel1.png%22%20style%3D%22width%3A%20757px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F37825i070FCB25BBE99E17%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Ltib_kernel1.png%22%20alt%3D%22Ltib_kernel1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E5%BD%93%E6%82%A8%E9%80%80%E5%87%BA%E6%AD%A4%E8%8F%9C%E5%8D%95%E6%97%B6%EF%BC%8CLtib%20%E5%B0%86%E6%98%BE%E7%A4%BA%E5%A6%82%E4%B8%8B%E6%89%80%E7%A4%BA%E7%9A%84%E5%86%85%E6%A0%B8%E8%8F%9C%E5%8D%95%E9%85%8D%E7%BD%AE%EF%BC%9A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_kernel2.png%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Ltib_kernel2.png%22%20style%3D%22width%3A%20757px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F38898i64E3B69B4B4C50D6%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Ltib_kernel2.png%22%20alt%3D%22Ltib_kernel2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E8%BF%99%E6%98%AF%E5%86%85%E6%A0%B8%E8%8F%9C%E5%8D%95%E9%85%8D%E7%BD%AE%EF%BC%8C%E5%8F%AF%E4%BB%A5%E5%9C%A8%E5%85%B6%E4%B8%AD%E9%85%8D%E7%BD%AE%E5%86%85%E6%A0%B8%E9%80%89%E9%A1%B9%E5%92%8C%E9%A9%B1%E5%8A%A8%E7%A8%8B%E5%BA%8F%E3%80%82%3C%2FP%3E%3CP%3E%E9%80%80%E5%87%BA%E6%AD%A4%E8%8F%9C%E5%8D%95%E5%90%8E%EF%BC%8C%E5%86%85%E6%A0%B8%E5%B0%86%E8%A2%AB%E6%9E%84%E5%BB%BA%E5%B9%B6%E5%AD%98%E5%82%A8%E5%9C%A8%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%3CLTIB%20directory%3D%22%22%3E%2Frootfs%2Fboot%20%3C%2FLTIB%3E%3C%2FPRE%3E%3CH2%20id%3D%22toc-hId-1751292309%22%20id%3D%22toc-hId-1751292309%22%20id%3D%22toc-hId--1620155969%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FH2%3E%3CH2%20id%3D%22toc-hId--56162154%22%20id%3D%22toc-hId--56162154%22%20id%3D%22toc-hId-867356864%22%3E%3CSPAN%20class%3D%22mw-headline%22%3ELTIB%20%E5%A4%96%E7%9A%84%E5%BB%BA%E7%AD%91%20%3C%2FSPAN%3E%3C%2FH2%3E%3CH3%20id%3D%22toc-hId-634399320%22%20id%3D%22toc-hId-634399320%22%20id%3D%22toc-hId-1557918338%22%3E%3C%2FH3%3E%3CH3%20id%3D%22toc-hId--1173055143%22%20id%3D%22toc-hId--1173055143%22%20id%3D%22toc-hId--249536125%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%E4%B8%8B%E8%BD%BD%E5%B9%B6%E5%AE%89%E8%A3%85%20GNU%20Toolchain%20%E5%92%8C%20git%20%3C%2FSPAN%3E%3C%2FH3%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23ddffdd%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22tip%22%3E%E5%AE%89%E8%A3%85%20LTIB%20%E6%97%B6%EF%BC%8CGNU%20%E5%B7%A5%E5%85%B7%E9%93%BE%E4%BC%9A%E8%87%AA%E5%8A%A8%E5%AE%89%E8%A3%85%E5%9C%A8%20%2Fopt%2Ffreescale%2Fusr%2Flocal%2F%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23ffdddd%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22warning%22%3E%E9%AB%98%E4%BA%8E%202.6.34%20%E7%9A%84%E5%86%85%E6%A0%B8%E7%89%88%E6%9C%AC%E6%97%A0%E6%B3%95%E5%9C%A8%E5%B7%A5%E5%85%B7%E9%93%BE%204.1.2%20%E4%B8%8A%E6%9E%84%E5%BB%BA%EF%BC%8C%E4%BB%85%E9%80%82%E7%94%A8%E4%BA%8E%204.4.1%20%E6%88%96%E6%9B%B4%E9%AB%98%E7%89%88%E6%9C%AC%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%9C%A8%E4%B8%BB%E6%9C%BA%E4%B8%8A%E7%9A%84%20%2Fopt%2Ffreescale%2Fusr%2Flocal%2F%20%E5%A4%84%E6%A3%80%E6%9F%A5%E5%BD%93%E5%89%8D%E5%AE%89%E8%A3%85%E7%9A%84%E5%B7%A5%E5%85%B7%E9%93%BE%E3%80%82%3C%2FP%3E%3CP%3E%3CA%20href%3D%22http%3A%2F%2Fwww.imxdev.org%2Fwiki%2Findex.php%3Ftitle%3DLinux_Kernel%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20style%3D%22text-decoration%3A%20underline%3B%22%20title%3D%22%E7%94%B1%20Text-Enhance%20%E6%8F%90%E4%BE%9B%E6%94%AF%E6%8C%81%22%20target%3D%22_blank%22%3E%E4%B8%8B%E4%B8%80%E6%AD%A5%3C%2FA%3E%E6%98%AF%E5%9C%A8%E4%B8%BB%E6%9C%BA%E4%B8%8A%E5%AE%89%E8%A3%85%20GIT%E3%80%82%E5%AF%B9%E4%BA%8E%20Ubuntu%20%E6%9C%BA%E5%99%A8%EF%BC%8C%E4%BD%BF%E7%94%A8%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Esudo%20apt-get%20%E5%AE%89%E8%A3%85%20git-core%20%3C%2FPRE%3E%3CP%3E%3C%2FP%3E%3CH3%20id%3D%22toc-hId-1314457690%22%20id%3D%22toc-hId-1314457690%22%20id%3D%22toc-hId--2056990588%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%E4%BB%8E%20Freescale%20git%20%E5%AD%98%E5%82%A8%E5%BA%93%E6%9E%84%E5%BB%BA%E5%86%85%E6%A0%B8%3C%2FSPAN%3E%3C%2FH3%3E%3CP%3EFreescale%20%E6%8F%90%E4%BE%9B%E4%BA%86%E5%AF%B9%E5%85%B6%E8%87%AA%E5%B7%B1%E7%9A%84%20git%20%E5%86%85%E6%A0%B8%E5%AD%98%E5%82%A8%E5%BA%93%E7%9A%84%E8%AE%BF%E9%97%AE%E6%9D%83%E9%99%90%EF%BC%8C%E5%8F%AF%E4%BB%A5%E5%9C%A8%E4%BB%A5%E4%B8%8B%E4%BD%8D%E7%BD%AE%E6%9F%A5%E7%9C%8B%EF%BC%9A%20%3CA%20href%3D%22http%3A%2F%2Fgit.freescale.com%2Fgit%2F%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20title%3D%22http%3A%2F%2Fgit.freescale.com%2Fgit%2F%22%20target%3D%22_blank%22%3EFreescale%20Public%20GIT%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%A6%81%E4%B8%8B%E8%BD%BD%E5%86%85%E6%A0%B8%E6%BA%90%E4%BB%A3%E7%A0%81%EF%BC%8C%E8%AF%B7%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E6%96%B0%E6%96%87%E4%BB%B6%E5%A4%B9%E5%B9%B6%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%0A%3CP%3Egit%20clone%20%3CSPAN%20style%3D%22font-family%3A%20'Lucida%20Grande'%2C%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20background-color%3A%20%23ffffff%3B%22%3Egit%3A%2F%2Fgit.freescale.com%2Fimx%2Flinux-2.6-imx.git%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%E6%88%96%E8%80%85%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Egit%20clone%20%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-external-small%22%20href%3D%22http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Flinux-2.6-imx.git%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Flinux-2.6-imx.git%3C%2FA%3E%3C%2FP%3E%0A%0A%0A%3C%2FPRE%3E%3CP%3E%E5%87%A0%E5%88%86%E9%92%9F%E5%90%8E%EF%BC%8C%E5%B0%86%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E5%90%8D%E4%B8%BA%20linux-2.6-imx%20%E7%9A%84%E6%96%87%E4%BB%B6%E5%A4%B9%EF%BC%8C%E5%85%B6%E4%B8%AD%E5%8C%85%E5%90%AB%20Linux%20%E5%86%85%E6%A0%B8%3C%2FP%3E%3CP%3E%E4%BB%8E%E6%82%A8%E6%83%B3%E8%A6%81%E4%BD%BF%E7%94%A8%E7%9A%84%E8%BF%9C%E7%A8%8B%E5%88%86%E6%94%AF%E5%88%9B%E5%BB%BA%E6%9C%AC%E5%9C%B0%20git%20%E5%88%86%E6%94%AF%E3%80%82%E8%AE%A9%E6%88%91%E4%BB%AC%E4%BD%BF%E7%94%A8%E5%88%86%E6%94%AF%20origin%2Fimx_3.0.15%20%E4%BD%9C%E4%B8%BA%E7%A4%BA%E4%BE%8B%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Ecd%20linux-2.6-imx%20%0Agit%20checkout%20-b%20localbranch%20origin%2Fimx_3.0.15%0A%3C%2FPRE%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23ddffdd%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22tip%22%3E%E8%A6%81%E6%A3%80%E6%9F%A5%E6%89%80%E6%9C%89%E5%8F%AF%E7%94%A8%E7%9A%84%E8%BF%9C%E7%A8%8B%E5%88%86%E6%94%AF%EF%BC%8C%E8%AF%B7%E4%BD%BF%E7%94%A8%EF%BC%9Agit%20branch%20-r%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%AF%BC%E5%87%BA%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91%E5%99%A8%E3%80%81%E4%BD%93%E7%B3%BB%E7%BB%93%E6%9E%84%E5%92%8C%E5%B7%A5%E5%85%B7%E9%93%BE%E8%B7%AF%E5%BE%84%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%E5%AF%BC%E5%87%BA%20ARCH%3Darm%0A%E5%AF%BC%E5%87%BA%20CROSS_COMPILE%3Darm-none-linux-gnueabi-%0A%3C%2FPRE%3E%3CP%3E%3CSTRONG%3E%E5%A6%82%E6%9E%9C%E4%BD%BF%E7%94%A8%E5%B7%A5%E5%85%B7%E9%93%BE%204.1.2%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%E5%AF%BC%E5%87%BA%E8%B7%AF%E5%BE%84%3D%E2%80%9C%24PATH%3A%2Fopt%2Ffreescale%2Fusr%2Flocal%2Fgcc-4.1.2-glibc-2.5-nptl-3%2Farm-none-linux-gnueabi%2Fbin%2F%E2%80%9D%20%3C%2FPRE%3E%3CP%3E%3CSTRONG%3E%E6%88%96%E8%80%85%E5%A6%82%E6%9E%9C%E4%BD%BF%E7%94%A8%E5%B7%A5%E5%85%B7%E9%93%BE%204.4.4%EF%BC%9A%3C%2FSTRONG%3E%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%E5%AF%BC%E5%87%BA%E8%B7%AF%E5%BE%84%3D%E2%80%9C%24PATH%3A%2Fopt%2Ffreescale%2Fusr%2Flocal%2Fgcc-4.4.4-glibc-2.11.1-multilib-1.0%2Farm-fsl-linux-gnueabi%2Fbin%2F%E2%80%9D%20%3C%2FPRE%3E%3CP%3E%E5%A4%8D%E5%88%B6%E6%89%80%E9%9C%80%E5%B9%B3%E5%8F%B0%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E5%88%B0%20Linux%20%E6%96%87%E4%BB%B6%E5%A4%B9%EF%BC%8C%E4%BE%8B%E5%A6%82%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Ecp%20arch%2Farm%2Fconfigs%2Fimx6_defconfig%20.config%20%3C%2FPRE%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23eeeeff%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22note%22%3E%E6%89%80%E6%9C%89%E5%B9%B3%E5%8F%B0%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E9%83%BD%E4%BD%8D%E4%BA%8E%3CLINUX%20directory%3D%22%22%3E%20%2Farch%2Farm%2Fconfigs%2F%3C%2FLINUX%3E%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%B0%83%E7%94%A8%20menuconfig%20%E5%B9%B6%E6%9B%B4%E6%94%B9%E9%85%8D%E7%BD%AE%EF%BC%88%E5%A6%82%E6%9E%9C%E9%9C%80%E8%A6%81%EF%BC%89%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Emake%20menuconfig%20%3C%2FPRE%3E%3CP%3E%E7%8E%B0%E5%9C%A8%E5%8F%AF%E4%BB%A5%E6%9E%84%E5%BB%BA%E4%BA%86%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Emake%20uImage%3C%2FPRE%3E%3CP%3EzImage%20%E5%92%8C%20uImage%20%E5%B0%86%E4%BD%8D%E4%BA%8E%20%2Farch%2Farm%2Fboot%2F%20%E6%96%87%E4%BB%B6%E5%A4%B9%E3%80%82%3C%2FP%3E%3CH3%20id%3D%22toc-hId--492996773%22%20id%3D%22toc-hId--492996773%22%20id%3D%22toc-hId-430522245%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FH3%3E%3CH3%20id%3D%22toc-hId-1994516060%22%20id%3D%22toc-hId-1994516060%22%20id%3D%22toc-hId--1376932218%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%E6%9E%84%E5%BB%BA%E5%86%85%E6%A0%B8%E4%B8%BB%E7%BA%BF%3C%2FSPAN%3E%3C%2FH3%3E%3CH3%20id%3D%22toc-hId--508101882%22%20id%3D%22toc-hId--508101882%22%20id%3D%22toc-hId-415417136%22%3E%3CSPAN%20class%3D%22mw-headline%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FH3%3E%3CP%3E%E4%B8%BB%E7%BA%BF%E5%86%85%E6%A0%B8%E5%8F%AF%E4%BB%A5%E9%80%9A%E8%BF%87%E4%BB%A5%E4%B8%8B%E9%93%BE%E6%8E%A5%E6%9F%A5%E7%9C%8B%EF%BC%9A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgit.kernel.org%2Fcgit%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20title%3D%22https%3A%2F%2Fgit.kernel.org%2Fcgit%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fgit.kernel.org%2Fcgit%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%3C%2FA%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%A6%81%E4%B8%8B%E8%BD%BD%E5%86%85%E6%A0%B8%E6%BA%90%E4%BB%A3%E7%A0%81%EF%BC%8C%E8%AF%B7%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E6%96%B0%E6%96%87%E4%BB%B6%E5%A4%B9%E5%B9%B6%E4%BD%BF%E7%94%A8%E4%BB%A5%E4%B8%8B%E5%91%BD%E4%BB%A4%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%0A%3CP%3Egit%20clone%20%3CSPAN%20style%3D%22font-size%3A%2010pt%3B%20line-height%3A%201.5em%3B%22%3Egit%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%E6%88%96%E8%80%85%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Egit%20%E5%85%8B%E9%9A%86%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-external-small%22%20href%3D%22http%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%E6%88%96%E8%80%85%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Egit%20%E5%85%8B%E9%9A%86%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-external-small%22%20href%3D%22https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux-stable.git%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%0A%0A%0A%3C%2FPRE%3E%3CP%3E%E5%87%A0%E5%88%86%E9%92%9F%E5%90%8E%EF%BC%8C%E5%B0%86%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E5%90%8D%E4%B8%BA%20linux%20%E7%9A%84%E6%96%87%E4%BB%B6%E5%A4%B9%EF%BC%8C%E5%85%B6%E4%B8%AD%E5%8C%85%E5%90%AB%20Linux%20%E5%86%85%E6%A0%B8%3C%2FP%3E%3CP%3E%E4%BB%8E%E6%82%A8%E6%83%B3%E8%A6%81%E4%BD%BF%E7%94%A8%E7%9A%84%E8%BF%9C%E7%A8%8B%E5%88%86%E6%94%AF%E5%88%9B%E5%BB%BA%E6%9C%AC%E5%9C%B0%20git%20%E5%88%86%E6%94%AF%E3%80%82%E8%AE%A9%E6%88%91%E4%BB%AC%E4%BD%BF%E7%94%A8%E5%88%86%E6%94%AF%20origin%2Flinux-3.8.y%20%E4%BD%9C%E4%B8%BA%E7%A4%BA%E4%BE%8B%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Ecd%20linux%0Agit%20checkout%20-b%20localbranch%20origin%2Flinux-3.8.y%0A%3C%2FPRE%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23ddffdd%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22tip%22%3E%E8%A6%81%E6%A3%80%E6%9F%A5%E6%89%80%E6%9C%89%E5%8F%AF%E7%94%A8%E7%9A%84%E8%BF%9C%E7%A8%8B%E5%88%86%E6%94%AF%EF%BC%8C%E8%AF%B7%E4%BD%BF%E7%94%A8%EF%BC%9Agit%20branch%20-r%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E5%AF%BC%E5%87%BA%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91%E5%99%A8%E3%80%81%E4%BD%93%E7%B3%BB%E7%BB%93%E6%9E%84%E5%92%8C%E5%B7%A5%E5%85%B7%E9%93%BE%E8%B7%AF%E5%BE%84%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%E5%AF%BC%E5%87%BA%20ARCH%3Darm%20%E5%AF%BC%E5%87%BA%20CROSS_COMPILE%3Darm-none-linux-gnueabi-%20%3C%2FPRE%3E%3CP%3E%E5%A6%82%E6%9E%9C%E4%BD%BF%E7%94%A8%E5%B7%A5%E5%85%B7%E9%93%BE%204.4.4%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3E%E5%AF%BC%E5%87%BA%E8%B7%AF%E5%BE%84%3D%E2%80%9C%24PATH%3A%2Fopt%2Ffreescale%2Fusr%2Flocal%2Fgcc-4.4.4-glibc-2.11.1-multilib-1.0%2Farm-fsl-linux-gnueabi%2Fbin%2F%E2%80%9D%20%3C%2FPRE%3E%3CP%3E%E9%85%8D%E7%BD%AE%E6%82%A8%E6%83%B3%E8%A6%81%E6%9E%84%E5%BB%BA%E5%86%85%E6%A0%B8%E7%9A%84%E5%B9%B3%E5%8F%B0%E3%80%82%E5%AF%B9%E4%BA%8E%20i.MX%20%E7%B3%BB%E5%88%97%EF%BC%8C%E4%BD%BF%E7%94%A8%20imx_v6_v7_defconfig%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Emake%20imx_v6_v7_defconfig%3C%2FPRE%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23eeeeff%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22note%22%3E%E6%89%80%E6%9C%89%E5%B9%B3%E5%8F%B0%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6%E9%83%BD%E4%BD%8D%E4%BA%8E%3CLINUX%20directory%3D%22%22%3E%20%2Farch%2Farm%2Fconfigs%2F%3C%2FLINUX%3E%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CP%3E%E8%B0%83%E7%94%A8%20menuconfig%20%E5%B9%B6%E6%9B%B4%E6%94%B9%E9%85%8D%E7%BD%AE%3CSTRONG%3E%EF%BC%88%E4%BB%85%E5%9C%A8%E9%9C%80%E8%A6%81%E6%97%B6%EF%BC%8C%E8%BF%99%E6%98%AF%E5%8F%AF%E9%80%89%E6%AD%A5%E9%AA%A4%EF%BC%81%EF%BC%89%3C%2FSTRONG%3E%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Emake%20menuconfig%20%3C%2FPRE%3E%3CP%3E%E7%8E%B0%E5%9C%A8%E5%8F%AF%E4%BB%A5%E6%9E%84%E5%BB%BA%E4%BA%86%EF%BC%9A%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Emake%20-j4%20uImage%20LOADADDR%3D0x70008000%3C%2FPRE%3E%3CP%3E%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23eeeeff%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22note%22%3E-%20%E5%A6%82%E6%9E%9C%20PC%20%E6%9C%89%204%20%E4%B8%AA%E6%A0%B8%E5%BF%83%EF%BC%8C%E8%AF%B7%E4%BD%BF%E7%94%A8%3CSTRONG%3E-j4%3C%2FSTRONG%3E%E9%80%89%E9%A1%B9%E6%9D%A5%E5%8A%A0%E5%BF%AB%E6%9E%84%E5%BB%BA%E9%80%9F%E5%BA%A6%E3%80%82%E8%BF%99%E6%98%AF%E5%8F%AF%E9%80%89%E7%9A%84%E3%80%82%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CDIV%20style%3D%22background-color%3A%20%23eeeeff%3B%20padding-left%3A%2030px%3B%20width%3A%2060%25%3B%20margin-left%3A%2020%25%3B%22%3E%3CP%20class%3D%22note%22%3E-%3CSTRONG%3E%E9%87%8D%E8%A6%81%E6%8F%90%E7%A4%BA%EF%BC%9A%3C%2FSTRONG%3E%E4%B8%BA%E6%AF%8F%E4%B8%AA%E5%A4%84%E7%90%86%E5%99%A8%E4%BD%BF%E7%94%A8%E6%AD%A3%E7%A1%AE%E7%9A%84%E5%9C%B0%E5%9D%80%E3%80%82%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8%3CSTRONG%3Elinux%2Farch%2Farm%2Fmach-imx%2FMakefile.boot%3C%2FSTRONG%3E%E6%A3%80%E6%9F%A5%E6%AD%A3%E7%A1%AE%E7%9A%84%E5%9C%B0%E5%9D%80%E5%80%BC%E3%80%82%3C%2FP%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%3CP%3E%E6%9E%84%E5%BB%BA%20uImage%20%E5%90%8E%EF%BC%8C%E6%9E%84%E5%BB%BA%20dtb%20%E6%96%87%E4%BB%B6%EF%BC%88%E8%AE%BE%E5%A4%87%E6%A0%91%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%EF%BC%89%E3%80%82%E5%AF%B9%E4%BA%8E%20i.MX53%20QSB%20%E4%BD%BF%E7%94%A8%EF%BC%9A%3C%2FP%3E%3CP%3E%3C%2FP%3E%3CPRE%20class%3D%22jive-pre%22%3Emake%20imx53-qsb.dtb%3C%2FPRE%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%20font-family%3A%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2013.333333969116211px%3B%20background-color%3A%20%23ffffff%3B%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%20font-family%3A%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2013.333333969116211px%3B%20background-color%3A%20%23ffffff%3B%22%3EuImage%20%E5%B0%86%E4%BD%8D%E4%BA%8E%EF%BC%9A%20%3CSTRONG%3Elinux%2Farch%2Farm%2Fboot%2F%20%E6%96%87%E4%BB%B6%E5%A4%B9%3C%2FSTRONG%3E%E5%92%8C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%20font-family%3A%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20font-size%3A%2013.333333969116211px%3B%20background-color%3A%20%23ffffff%3B%22%3Edtb%20%E4%BA%8C%E8%BF%9B%E5%88%B6%E6%96%87%E4%BB%B6%E4%BD%8D%E4%BA%8E%EF%BC%9A%20%3CSTRONG%3E%3CSPAN%20style%3D%22color%3A%20%23000000%3B%20font-family%3A%20Helvetica%2C%20Arial%2C%20sans-serif%3B%20background-color%3A%20%23ffffff%3B%22%3Elinux%2Farch%2Farm%2Fboot%2F%3C%2FSPAN%3E%20dts%3C%2FSTRONG%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1850328232%22%20id%3D%22toc-hId-1850328232%22%20id%3D%22toc-hId--1521120046%22%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%E5%85%B3%E4%BA%8ELinux%3C%2FSPAN%3E%3C%2FH2%3E%3CP%3E%3CSPAN%20class%3D%22mce_paste_marker%22%3E%E6%9C%89%E5%85%B3%20Linux%20%E7%9A%84%E5%B8%B8%E8%A7%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%AF%B7%E5%8F%82%E9%98%85%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Fdocs%2FDOC-1229%22%20target%3D%22_blank%22%3E%E5%85%B3%E4%BA%8E%20Linux%3C%2FA%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
无评分
版本历史
最后更新:
‎09-10-2020 02:01 AM
更新人: