REL 1.0
Page 18 of 59
iWave Systems Technologies Pvt. Ltd.
iW-RainboW-G15M Android User Manual
2.3.2
Kernel
Change the directory to Linux source code directory.
$ cd <Path of Android source directory>/android_N7.1.1_1.0.0/kernel-imx
To export the Cross Compiler and tool chain path, execute the below command.
$ export ARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ export PATH=$PATH:<Path to Android source code>/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/bin
To configure for iWave-G15M-Q7 platform, execute the below command.
$ make iw_rainbowg15m_q7_android_defconfig
To compile kernel, execute the below command.
$ make
After successful compilation kernel zImage and dtb files will be created in the following directory. The Kernel
zImage and dtb file is not necessary if boot-imx6*.img used.
~/android_N7.1.1_1.0.0/kernel-imx/arch/arm/boot/zImage
~/android_N7.1.1_1.0.0/kernel-imx/arch/arm/boot/dts/imx6*-iwg15m-q7_ldo*.dtb
To generate boot.img with compiled binaries, execute the below command.
$ cd <Path of Android source directory>android_N7.1.1_1.0.0
$ source build/envsetup.sh
$ lunch iWave_G15M_Q7-user
$ make bootimage
To generate recovery.img with compiled binaries, execute the below command.
$ cd android_N7.1.1_1.0.0
$ source build/envsetup.sh
$ lunch iWave_G15M_Q7-user
$ make recoveryimage
After successful compilation, boot-imx6*.img and recovery-imx6*.img will be created in the following
directory
~/android_N7.1.1_1.0.0/out/target/product/iWave_G15M_Q7/
Refer the
section to update the boot image and recovery image.