Linux Kernel - iWave iW-RainboW-G17D User Manual

Table of Contents

Advertisement

iW
iW-RainboW-G17D Linux User Guide
host@host/<directory>/uboot-iwg17m
To compile the u-boot source code, execute the below command.
host@host/<directory>/uboot-iwg17m
After successful compilation, boot loader image (u-boot.img) and pre-loader raw image will be
created in below path.
<Path to uboot-iwg17m>/uboot-iwg17m/u-boot.img
<Path to uboot-iwg17m>/uboot-iwg17m/spl/u-boot-spl.bin
Refer the
Pre-loader binary
Refer the
BINARY PROGRAMMING

2.6.2 Linux kernel

Create a directory and open the directory in host to build the Linux.
host@host~$mkdir <directory_name>;cd <directory_name>
Note: The Linux kernel source code tar file and patch file is located in the below path.
<Path to G17M-BSP>/G17M-BSP/sources/
Un-tar the linux-iwg17m.tgz file in to newly created directory.
host@host/<directory>~$tar -xvzf <Path to G17M-BSP>/G17M-BSP/sources/linux-
iwg17m.tgz
Change the directory to Linux kernel source code directory.
host@host/<directory>~$cd linux-iwg17m
To apply the patch file, execute the below command.
host@host/<directory>/linux-iwg17m
BSP/sources/PATCH000-iW-PREDZ-SC-01-Rx.x-RELx.x-Kernel_basic_customization
To export the Cross Compiler and tool chain path, execute the below command.
host@host/<directory>/linux-iwg17m
BSP>/G17M-BSP/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2012-11-
20121123_linux/bin
host@host/<directory>/linux-iwg17m
host@host/<directory>/linux-iwg17m
To configure the kernel for iW-RainboW-G15M-Q7, execute the below command.
host@host/<Directory>/linux-iwg17m~$make iwg17m_q7_defconfig
To compile the kernel module drivers and kernel image, execute the below commands.
host@host/<Directory>/linux-iwg17m~$make
iWave Systems Technologies Pvt. Ltd.
~$make socfpga_iwg17m_q7_config
~$make
generation section to generate the bootable pre-loader binary.
section to update the u-boot binary.
~$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 13 of 55

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the iW-RainboW-G17D and is the answer not in the manual?

Table of Contents