3.2 Linux Kernel

Enter Kernel directory, extract it:

cd $DEV_ROOT/04-Source
tar -xvf MYiR-iMX-Linux.tar.gz
cd MYiR-iMX-Linux

Compiling:

make distclean 
make mys_imx6_defconfig
make zImage dtbs modules

When the compilation is done, the kernel image file zImage is generated in the 'arch/arm/boot' directory, and the DTB file is generated in the 'arch/arm/boot/dts' directory.

DTB File Description
mys-imx6ul-14x14-evk-emmc.dtb MYS-6ULX-IND eMMC
mys-imx6ul-14x14-evk-gpmi-weim.dtb MYS-6ULX-IND NAND
mys-imx6ull-14x14-evk-emmc.dtb MYS-6ULX-IoT eMMC
mys-imx6ull-14x14-evk-gpmi-weim.dtb MYS-6ULX-IoT NAND

The MYS-6ULX Micro SD slot is connected to mmc0 controller.So, all dtb files is enabled the mmc0 controller by default.

Those "myb6ulx" tag dtb files are support MYB-6ULX board, configured CAN, RS485, Ethernet, Camera and Audio functions.Please install the MYB-6ULX onto MYS-6ULX-IOT or MYS-6ULX-IND board before use those files.

About SD card or eMMC boot mode, the U-Boot default find the mys-imx6ul-14x14-evk-emmc.dtb or mys-imx6ull-14x14-evk-emmc.dtb file.You need rename those dtb files with "myb6ulx" tag after modify and compile.The NAND boot mode not affect with it.