Embest Technology
Copyright © 2014-2015 Embest Technology SBC9000 User Manual
44
$
tar xvf u-boot-imx.tar.bz2
$
tar xvf linux-imx.tar.bz2
4
)
Execute the following instructions to compile a boot image;
$
cd ~/u-boot-imx
$
export ARCH=arm
$
export CROSS_COMPILE=~/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-
$
make distclean
$
make mx6q_sbc9000_emmc_config
$
make
A new file named
“u-boot.imx” can be found under the current directory after
compilation is finished;
Note:
The instruction
“
make mx6q_sbc9000_emmc_config
” is used for making a boot image
for eMMC. If the system need to be booted from a TF card, please use
“
make
mx6q_sbc9000_tf_config
” instead.
5
)
Execute the following instructions to compile a kernel image;
$
export PATH=~/u-boot-imx/tools:$PATH
$
cd ~/linux-imx
$
export ARCH=arm
$
export CROSS_COMPILE=~/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-
$
make imx_v7_sbc9000_defconfig
$
make uImage LOADADDR=0x10008000
$
make imx6q-sbc9000.dtb
After compilation is finished, two new files named
“uImage” and “imx6q-sbc9000.dtb”
can be found
“arch/arm/boot/” and “arch/arm/boot/dts/” respectively.