Search the web
Sign In
New User? Sign Up
linux-bangalore-programming · LB Programming Discussions
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to compile linux kernel ?   Message List  
Reply | Forward Message #7540 of 7596 |
Re: [blug-prog] How to compile linux kernel ?


>
> Hello guyz,
> i would like to know how to compile linux kernel ( v2.6.29 ).
> i did download the latest kernel from kernel.org. what next ?
>
> Thanks in advance.
>
> Vinod
>
>

If it is a native build - simpler yet. Get the existing .config from

/usr/src/linux<version from uname>/.config

and put it in the untarred kernel source. Then:

make oldconfig # update the values for the newer kernel.
make uImage
make modules

This is the easiest way to get started. If you want to customize -

make menuconfig # you can use gconfig, xconfig, etc for GUI
interface

For a cross compile -

make ARCH=xxx CROSS_COMPILE=toolchain- default_config_for_xxx # u can
usually find under <linux-src>/arch/xxx/configs
make ARCH=xxx CROSS_COMPILE=toolchain- uImage
make ARCH=xxx CROSS_COMPILE=toolchain- modules
make ARCH=xxx CROSS_COMPILE=toolchain-
INSTALL_MOD_PATH=/home/mayank/workdir/filesys modules_install


Had jotted down some really useful links on the blog -

http://techydodo.wordpress.com/2008/07/17/wannabe_a_kernel_hacker/

Hope this helps...

--
Have a nice day,
Mynk

http://ngopost.org/story.php?title=Food_wasted_is_a_life_wasted-1
o__
_> /__
(_) \(_)... Burn fat not fuel - Byke along to a healthier life and cleaner
world! :)





Sat May 2, 2009 5:46 pm

mr.mynk@...
Send Email Send Email

Forward
Message #7540 of 7596 |
Expand Messages Author Sort by Date

Hello guyz, i would like to know how to compile linux kernel ( v2.6.29 ). i did download the latest kernel from kernel.org. what next ? Thanks in advance. ...
vin_vrs
Offline Send Email
May 2, 2009
8:49 am

hi step follow  take tarball of kernel source code from  kernel.org  extracted it u also grt latest kernel version in linux 4 u magzine  cds ,  step top...
janeesh attri
janeeshattri
Offline Send Email
May 2, 2009
5:50 pm

... If it is a native build - simpler yet. Get the existing .config from /usr/src/linux<version from uname>/.config and put it in the untarred kernel source....
Mayank
mr.mynk@...
Send Email
May 2, 2009
5:50 pm

Hi There, *Step 1 *Download the kernel from below link ftp://ftp.kernel.org/pub/linux/kernel/v2.6 *Step 2* Extracting the kernel if its a archive with tar.gz...
vishal.gnutech@...
sharmav204
Offline Send Email
May 4, 2009
8:10 am

Hi vishal, Firstly thanks for your info on how to compile linux kernel. The info that you passed on was very helpful , so for so good, everything went fine, ...
vinod
vin_vrs
Offline Send Email
May 5, 2009
8:15 am

Dear Vinod, make && make modules_install && make install if you see make install in the end it installs the kernel and put the image in boot partition now if...
vishal.gnutech@...
sharmav204
Offline Send Email
May 6, 2009
5:25 am

If you are compiling the kernel for use on your local machine the following link is pretty good - http://www.howtoforge.com/kernel_compilation_ubuntu specific...
Mayank
mr.mynk@...
Send Email
May 6, 2009
5:55 am

Dear Friends, Thanks for your constant support and your valuable inputs, which helped me a lot in compilation of kernel. Finally i have managed to compile the...
vinod
vin_vrs
Offline Send Email
May 12, 2009
11:34 am

... One of the things I discovered recently and was looking for quite sometime was a single place with all the kernel API. The best Documentation can be found...
Mayank
mr.mynk@...
Send Email
May 12, 2009
12:02 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help