From mboxrd@z Thu Jan 1 00:00:00 1970 From: linux@manojrajarao.com (Manoj) Date: Tue, 25 Apr 2017 06:15:30 -0700 Subject: What is the fastest way to build and boot a kernel In-Reply-To: References: <20170418160711.GA29610@kroah.com> <20170418174441.GA26364@kroah.com> Message-ID: <878tmoljbh.fsf@manojrajarao.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Code Soldier1 writes: > 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. > > Thanks FWIW, check this out if you want to have a setup to make incremental changes to your kernel and test them out quickly. It describes a quick and easy setup to test kernel changes on an emulator without acutally rebooting your machine (helps with initial testing) http://www.mycpu.org/kernel-n00b-howto/ I use this setup for testing out small/quick changes. As mentioned earlier in this thread, compilation for incremental changes should not take long. HTH. -- Manoj