S3C6410 INSTALLATION MANUAL UBI(UNSORTED BLOCK IMAGES) V1.0

2 Kernel Compilation

2.1Root file System

Make sure you have 2.6 compliant versions of insmod, rmmod, and lsmod. At least you have 2.6 compliant versions of insmod.

2.2Kernel Compile

In this chapter, you will understand the initial steps for Installing S3C BSP on Linux operating system. Kernel source is compressed by the name of “s3c-linux-2.6.21.tar.bz2”. Extract this bz2 file by executing the following command. After extracting the kernel tarball file “s3c-linux-2.6.21”directory will be generated. Go to “s3c-linux-2.6.21”directory and edit “.cross_compile” file.

[root@localhost test]# tar jxvf s3c-linux-2.6.21.tar.bz2

[root@localhost test]# cd s3c-linux-2.6.21[root@localhost s3c-linux-2.6.21]# vi .cross_compile

Here edit your cross compiler path on first line depending on your environment, in our case cross compiler path is /usr/local/arm/release-4.0.3/bin/arm-linux-”.

You can load default-configuration-file that is composed with values optimized to target board. In Kernel, default-configuration-files are located in “s3c-linux-2.6.21”directory.

Load configuration file executing following command. Configuration file can be found at the directory of s3c-linux-2.6.21/arch/arm/configs/”.

You should use this board-specific default configuration file for the SMDK board you are working on. For SMDK6410 board,

[root@localhost s3c-linux-2.6.21]# make smdk6410mtd_defconfig

Then, type as follows:

[root@localhost s3c-linux-2.6.21]# make menuconfig

Preliminary product information describe products that are in development,

 

for which full characterization data and associated errata are not yet available.

7

Specifications and information herein are subject to change without notice.