RETRIEVING THE KERNEL SOURCE
        This section deal about the usage of kernel source i.e., which version to be used for building and configuration.
        In the past, Linux kernel was split into two trees, the “development branch” and “stable branch”
     2.5.29 is a “development kernel” and 2.4.29 is a “stable kernel”.
The kernel developers decided to abandon this method of having two separate trees, and declared that all 2.6 kernel releases would be considered “stable,” no matter how quickly development was Happening. The few months between the major 2.6 releases would allow kernel developers the time to add new features and then stabilize them in time for the next release. Combined with this, a “-stable” kernel branch has been created that releases bug fixes and security updates for the past kernel release, before the next major 2.6 release happens.

The kernel can be downloaded as shown below
To download it using curl:
$ curl http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.8.tar.gz \
-o linux-2.6.17.8.tar.gz
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
100 49.3M 100 49.3M 0 0 50298 0 0:17:08 0:17:08 --:--:--
100k
For a quick and easy way to determine the latest kernel versions, use the information
available at http://www.kernel.org/kdist/finger_banner

After downloading follow the given steps:

1)    $ mkdir ~/linux
2)    move the source code to the directory created
$ mv ~/linux-2.6.17.8.tar.gz ~/linux
3)    Now get into the directory using change directory command
$ cd ~/linux
4)    Uncompress the source code
$ tar –xvvzf     linux-2.6.17.8.tar.gz
5)    Check the contents of ~/linux directory using ls command
$ ls

Linux Kernel NutShell Configuration Tutorial part 1
Linux Kernel NutShell Retrieving Tutorial part 2
Linux Kernel NutShell Installing Tutorial part 3
List of Embedded System Companies in India



0 comments