iW
iW-RainboW-G17D Linux User Guide
Linux kernel image
Rootfs binary
Rename the u-boot image and rootfs binary into u-boot.img and rootfs.tar.gz respectively.
Refer the
Pre-loader binary
Refer the
BINARY PROGRAMMING
2.6 Standalone Compilation
The following steps describe the standalone compilation process for u-boot source code and linux kernel
directly for RainboW-G17M-Q7 platform.
Refer Host package installation section to deploy the cross compiler and source code packages.
The cross compiler and sourced code packages are located in below path respectively.
<Path to G17M-BSP>/G17M-BSP/linaro/
<Path to G17M-BSP>/G17M-BSP/sources/
2.6.1 U-boot
Create a directory and open the directory in host to build the uboot
host@host~$mkdir <directory_name>; cd <directory_name>
Note: The u-boot source code tar file and patch file is located in the below path.
<Path to G17M-BSP>/G17M-BSP/sources/
Un-tar the uboot-iwg17m.tgz file in to newly created directory.
host@host/<directory>~$tar -xvzf <Path to G17M-BSP>/G17M-BSP/sources/uboot-
iwg17m.tgz
Change the directory to u-boot source code directory.
host@host/<directory>~$cd uboot-iwg17m
To apply the patch file, execute the below command.
host@host/<directory>/uboot-iwg17m
BSP/sources/PATCH000-iW-PREDZ-SC-01-Rx.x-RELx.x-Uboot_basic_customization
To export the Cross Compiler and tool chain path, execute the below command.
host@host/<directory>/uboot-iwg17m
BSP>/G17M-BSP/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012-11-
20121123_linux/bin
host@host/<directory>/uboot-iwg17m
host@host/<directory>/uboot-iwg17m
To configure for iWave-G17M-Q7 platform, execute the below command.
iWave Systems Technologies Pvt. Ltd.
- zImage
- iwave-image-iwg17m_q7-<date&time>.rootfs.tar.gz
generation section to generate the bootable pre-loader binary.
section to update the binaries.
~$patch -Np1 < <Path to G17M-BSP>/G17M-
~$export PATH=$PATH:<Path to G17M-
~$export CROSS_COMPILE=arm-linux-gnueabihf-
~$export ARCH=arm
Rev 1.0
Page 12 of 55
Need help?
Do you have a question about the iW-RainboW-G17D and is the answer not in the manual?