I.mx6ul--Linux system porting process detailed __linux

Source: Internet
Author: User
I.mx6ul--A detailed explanation of Linux system porting process

Development platform: Zhuhai Ding-core D518--based on I. MX 6UL Latest System: u-boot2015.04 + linux4.1.15_1.2.0 cross-compilation tool: DCHIP-LINARO-TOOLCHAIN.TAR.BZ2


Source Download Address:

U-boot: (select rel_imx_4.1.15_1.2.0_ga.tar.bz2)

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/

Kernel: (select rel_imx_4.1.15_1.2.0_ga.tar.bz2)

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


Source Code porting process:

1, the Linux kernel and uboot source code copy to the Ubuntu12.04 system in the Dchip_imx6ul directory;

2, use the TAR command to extract the Uboot and kernel to the Dchip_imx6ul directory;

3, after decompression into the Uboot directory, the new file make_dchip_imx6ul_uboot201504.sh, and the contents of the file are as follows:

###################################################################

# build u-boot.2015.04 to D518--i.mx6ul by FRESXC #

###################################################################

#!/bin/bash

Export ARCH=arm

Export Cross_compile=<yourpath>/dchip-linaro-toolchain/bin/arm-none-linux-gnueabi-

make Mrproper # means clean

make Mx6ul_14x14_evk_defconfig

make 2>&1|tee built_dchip_imx6ul_uboot201504.out

Enter the kernel directory, create a new file make_dchip_imx6ul_linux4115120.sh, and the contents of the file are as follows:

###################################################################

# build Linux-4.1.15 Ford518--i.mx6ul by FRESXC #

###################################################################

#!/bin/bash

Export ARCH=arm

Export Cross_compile=<yourpath>/dchip-linaro-toolchain/bin/arm-none-linux-gnueabi-

make Mrproper # means clean

make Imx_v7_defconfig

make uimage loadaddr=0x100080002>&1|tee built_dchip_imx6ul_ Linux4115120.out

make IMX6UL-14X14-EVK.DTB

After the above section, in the terminal into the kernel and Uboot source directory, the use of./make_dchip_imx6ul_uboot201504.sh

and the./make_dchip_imx6ul_linux4115120.sh command to run the two script files above. This will allow the compilation to succeed.


Blog Address: http://blog.csdn.net/u014486599



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.