Embest Technology
5.1.2 Compiling System Images
1)
Execute the following instructions to compile u-boot image;
a)
For eMMC Boot:
$ cd ~ /uboot-imx
$ export ARCH=arm
$ export CROSS_COMPILE=~/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-
$ make distclean
$ make mx6q_marsboard_emmc_config
$ make
b)
For TF Boot:
$ cd ~ /uboot-imx
$ export ARCH=arm
$export CROSS_COMPILE=~/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-
$ make distclean
$ make mx6q_marsboard_tf_config
$ make
After executing the instructions, a file u-boot.bin can be found in the current
directory
2)
Execute the following instructions to compile kernel image;
$export PATH=~/uboot-imx/tools:$PATH
$ cd ~/linux-imx
$ export ARCH=arm
$export CROSS_COMPILE=~/ fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-
$ make imx6_defconfig
$ make uImage
After executing the instructions, a kernel image named uImage can be found
under arch/arm/boot/.
Note:
The mkimage used to build kernel and ramfs images is automatically generated and
saved under tools/ after compiling u-boot.bin, so please make sure uboot is compiled
first before compiling kernel image.
Copyright © 2014 Embest Technology
;
32
MarS Board User Manual
Need help?
Do you have a question about the MarS Board and is the answer not in the manual?
Questions and answers