Re: What is the fastest way to build and boot a kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 April 2017 at 11:04, Code Soldier1 <codesoldier1@xxxxxxxxx> wrote:
> Thanks a lot Greg and Peter.
Hello,

Top-posting is frowned upon in the Linux Kernel mailing lists. Please
use the interleaved style instead, as described in this Wikipedia
article: https://en.wikipedia.org/wiki/Posting_style#Placement_of_replies

> On Tue, Apr 18, 2017 at 10:44 AM, Greg KH <greg@xxxxxxxxx> wrote:
>> On Tue, Apr 18, 2017 at 10:38:52AM -0700, Code Soldier1 wrote:
>>> Hi Greg,
>>>
>>> No I did not know about 'make localmodconfig'. Can you kindly explain.
>>
>> Did you look at the help in the kernel makefile:
>>
>>         make help
>> will show you what the different options do.
>>
>> localmodconfig makes a kernel configuration based on your system and the
>> modules loaded, which is much smaller than the "full distribution"
>> kernel build, for all hardware in the world, which you don't usually
>> want for your own development.
>>
>> There's also a whole book, free online, Linux Kernel in a Nutshell, that
>> describes how to configure, build, and boot a custom kernel, that might
>> help you out.
>>
>>> As far as the change is concerned I am planning to change a few things
>>> and experiment, so there is nothing specific.
>>
>> Then experiment away and see how it goes!
>>
>> good luck,
>>
>> greg k-h
>

To add to what Greg said, disabling the staging drivers config option
in the .config file speeds up the entire process. To do this, just
comment out the CONFIG_STAGING line in that file.

>
>
> --
> CS1
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Guru Das Srinagesh.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux