REL 1.0
Page 19 of 69
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15D Linux User Manual
2.2.9
Linux kernel
This section provides the detailed information and process for building the kernel images.
Open a terminal window and change the directory to yocto setup path.
$cd ~/<path to iwg15-release-bsp>/iwg15-release-bsp/
To setup environment build path, execute the below command. This is required only once on switching of
every new terminal window.
$MACHINE=imx6qdl-iwg15-q7 source setup-environment build_iwg15
To compile the Linux kernel, execute the below command.
$bitbake linux-iwg15
To change the Linux kernel configuration, execute the below command.
$bitbake -c menuconfig linux-iwg15
To re-build Linux kernel from scratch, execute the below commands.
$bitbake -f -c compile linux-iwg15
After the successful compilation the zImage will be placed in below path.
~/<path to iwg15-release-bsp>/iwg15-release-bsp/build_iwg15/tmp/work/imx6qdl_iwg15_q7-poky-
linux-gnueabi/linux-iwg15/4.1.15-r0/build/arch/arm/boot/
The dtb files will be placed in below path.
~/<path to iwg15-release-bsp>/iwg15-release-bsp/build_iwg15/tmp/work/imx6qdl_iwg15_q7-poky-
linux-gnueabi/linux-iwg15/4.1.15-r0/build/arch/arm/boot/dts/
The binary files are listed below
zImage
dts/imx6*-iwg15m-q7*.dtb
Refer the BINARY PROGRAMMING section to update the Linux kernel binary.
Refer the Device tree source description section for device tree source code organization.
2.3
BSP Standalone compilation
Yocto can be used to extract and build the u-boot source/ linux kernel source. The following steps will help to build
the u-boot source code / linux kernel directly for iW-RainboW-G15M-Q7 platform.
Before compiling the source code cross compiler should be installed to “/opt” directory of host machine if it
is not present.
Refer the Cross-compiler build section to install the cross-compiler.