NDVR2200F
Installation Guide & User’s
1/8/2008
32/66
6. Building Kernel and Boot loader
6.1. Building Kernel
Follow the next steps to compile a kernel. Use the
gcc-3.4.4 version
to compile the kernel.
make clean deletes all the object files that are produced by previous compilation.
make bootsImage is the process to compile in order to make a kernel image.
This process may take somewhat long time depending on system performance. If only a
specific part of the kernel has been edited, you can use the make bootsImage command only
without running the make clean command. But it is recommended to run the make clean
command if the options or environment configuration have been changed by running the make
menuconfig.
Once the compilation is properly completed, the kernel image is created.
The kernel image file to be used on a target board is not the vmlinuz but the
arch/arm/boot/bootsImage in the kernel home directory.
6.2. Kernel Build Option
Use the make menuconfig command to change the kernel options.
# make menuconfig
# ls arch/arm/boot
Image Makefile bootp boots bootsImage compressed
install.sh zImage
# make clean
# make bootsImage