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