kernel-dev: Updates on how to prepare for kernel modification.

WIP at this point.

(From yocto-docs rev: 12e44f6ee7f9437d85c33d0789dbafe937af5664)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2017-08-18 18:22:20 -07:00
committed by Richard Purdie
parent 5865fcdf85
commit 0fbba0fb46
2 changed files with 71 additions and 1 deletions

View File

@@ -452,6 +452,32 @@
<section id="using-devtool-to-patch-the-kernel">
<title>Using <filename>devtool</filename> to Patch the Kernel</title>
<para role='writernotes'>
Some stuff here for the using devtool from the wiki.
This whole section is WIP.
<orderedlist>
<listitem><para role='writernotes'>
If you are dealing with real hardware, you can flash the
new kernel image to a USB stick and boot the hardware to
see it run.
</para></listitem>
<listitem><para role='writernotes'>
Checkout and modify the kernel source.
This is where you make your changes to the image.
</para></listitem>
<listitem><para role='writernotes'>
Create a new image that uses the altered kernel.
</para></listitem>
<listitem><para role='writernotes'>
If you are working with actual hardware, you can flash
the new image to a USB stick and use it to boot up the
hardware.
You can see your changes in action.
</para></listitem>
</orderedlist>
</para>
<para>
Patching the kernel involves changing or adding configurations to an existing kernel,
changing or adding recipes to the kernel that are needed to support specific hardware features,