Meego Wiki
Views

Recompile kernel

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Recompiling the MeeGo Kernel)
(Recompiling the MeeGo Kernel)
Line 2: Line 2:
This page explains the kernel recompilation process. If you'd like information on how to configure the MeeGo kernel, see this page: http://wiki.meego.com/MeeGo_kernel_documentation_for_contributors<br>
This page explains the kernel recompilation process. If you'd like information on how to configure the MeeGo kernel, see this page: http://wiki.meego.com/MeeGo_kernel_documentation_for_contributors<br>
-
Note at the bottom of the page there is a link to more information on configuring the Linux kernel.
+
There already is a guide on how to compile the kernel for MeeGo, including links to packaging: http://wiki.meego.com/Tips_on_compiling_and_packaging_kernels_in_MeeGo<br>
 +
This document is going to focus on the process I used to create a kernel, specifically for the Beagleboard for MeeGo IVI.
== Fetch the kernel source ==
== Fetch the kernel source ==
Line 17: Line 18:
git clone git://gitorious.org/meego-os-base/kernel-source.git
git clone git://gitorious.org/meego-os-base/kernel-source.git
</pre>
</pre>
 +
 +
I've chosen to build upon the work of others and am going to checkout a kernel build by Jan-Simon M&ouml;ller.
== Unpack rpm ==
== Unpack rpm ==

Revision as of 14:25, 31 March 2011

Recompiling the MeeGo Kernel

This page explains the kernel recompilation process. If you'd like information on how to configure the MeeGo kernel, see this page: http://wiki.meego.com/MeeGo_kernel_documentation_for_contributors
There already is a guide on how to compile the kernel for MeeGo, including links to packaging: http://wiki.meego.com/Tips_on_compiling_and_packaging_kernels_in_MeeGo
This document is going to focus on the process I used to create a kernel, specifically for the Beagleboard for MeeGo IVI.

Fetch the kernel source

The first thing you'll need to do to recompile the MeeGo kernel is to download and unpack the MeeGo kernel package. To get that package you can download it with wget like this;

wget http://repo.meego.com/MeeGo/releases/1.1/core/repos/source/kernel-2.6.35.3-10.3.src.rpm

You can of course get your kernel directly from upstream at kernel.org for example or clone it from MeeGo's git repos;

git clone git://gitorious.org/meego-os-base/kernel-source.git

I've chosen to build upon the work of others and am going to checkout a kernel build by Jan-Simon Möller.

Unpack rpm

If you take the packaged MeeGo kernel, then you'll need to unpack this rpm. You can do that this way;

rpm2cpio kernel-2.6.35.3-10.3.src.rpm | cpio -id

and spot the linux-2.6.35.tar.bz2 file and patch-2.6.35.3.bz2

Personal tools