What is the fastest way to build and boot a kernel

Peter Senna Tschudin peter.senna at gmail.com
Tue Apr 18 13:42:46 EDT 2017


On Tue, Apr 18, 2017 at 7:38 PM, Code Soldier1 <codesoldier1 at gmail.com> wrote:
> Hi Greg,
>
> No I did not know about 'make localmodconfig'. Can you kindly explain.
> As far as the change is concerned I am planning to change a few things
> and experiment, so there is nothing specific.

Check this out:

https://lwn.net/Articles/660404/

>
> Thanks,
>
> On Tue, Apr 18, 2017 at 9:07 AM, Greg KH <greg at kroah.com> wrote:
>> On Tue, Apr 18, 2017 at 08:59:36AM -0700, Code Soldier1 wrote:
>>> Hi,
>>>
>>> Can someone suggest what is the fastest way to build a minimal kernel
>>> and boot. For example if I am working on TCP and would like to make a
>>> small change and reboot, what is the fastest way, I rather not build
>>> the whole kernel.
>>
>> Why would you need to rebuild the whole kernel?  What did you change
>> that required everything to be rebuilt?
>>
>> And a working kernel can normally be built, from scratch, in just a few
>> minutes.  You do know about 'make localmodconfig' right?
>>
>> thanks,
>>
>> greg k-h
>
>
>
> --
> CS1
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



-- 
Peter



More information about the Kernelnewbies mailing list