Showing posts with label initrd. Show all posts
Showing posts with label initrd. Show all posts

Tuesday, April 13, 2010

building kernel for joggler

The excellent Playing the Joggler blog contains all the information you need to build a 2.6.33.2 kernel for your joggler. I thought I would collect together what I did so interested others can complete to process too:

I cloned the git 'baseline' branch of
http://gitorious.org/mer-meego/mer-meego-kernel
then applied the patches.
[the 'joggler' branch of this repo now has the patches applied - so cloning that will avoid adding the patches].
The patches can be found here:
http://adqmisc.googlecode.com/svn/trunk/joggler/

I then took the .config file from
http://jogglerhacks.blogspot.com/2010/04/kernel-config-for-2633-for-joggler.html

I did:
1. make
2. make modules
3. make modules_install INSTALL_MOD_DIR=./initfs (I think)
4. make bzImage - (and renamed the image vmlinuz)

I took the initrd from efi-nokeyboard.tar.gz and put the modules (that I built with line 3 above) into a new initrd. Instructions for rebuilding a initrd can also be found on the excellent Playing the Joggler blog.

There is a great wiki that contains information about running alternative OS's on the Joggler - and it has a page on building the kernel which is worth watching.