diff options
| author | Scott Rifenbark <srifenbark@gmail.com> | 2017-08-18 18:22:20 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-09-02 00:52:48 +0100 |
| commit | 0fbba0fb46ca67e7fbb39ed9528f97d54b7fcb2b (patch) | |
| tree | 8ae2162c1f81ac42ca2b4f391d995f9cd5632731 /documentation/kernel-dev/kernel-dev-common.xml | |
| parent | 5865fcdf856f003cddabf476acb4e4f953db96e9 (diff) | |
| download | poky-0fbba0fb46ca67e7fbb39ed9528f97d54b7fcb2b.tar.gz | |
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>
Diffstat (limited to 'documentation/kernel-dev/kernel-dev-common.xml')
| -rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 8c8fe05711..cb50912ea4 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml | |||
| @@ -452,6 +452,32 @@ | |||
| 452 | <section id="using-devtool-to-patch-the-kernel"> | 452 | <section id="using-devtool-to-patch-the-kernel"> |
| 453 | <title>Using <filename>devtool</filename> to Patch the Kernel</title> | 453 | <title>Using <filename>devtool</filename> to Patch the Kernel</title> |
| 454 | 454 | ||
| 455 | |||
| 456 | <para role='writernotes'> | ||
| 457 | Some stuff here for the using devtool from the wiki. | ||
| 458 | This whole section is WIP. | ||
| 459 | <orderedlist> | ||
| 460 | <listitem><para role='writernotes'> | ||
| 461 | If you are dealing with real hardware, you can flash the | ||
| 462 | new kernel image to a USB stick and boot the hardware to | ||
| 463 | see it run. | ||
| 464 | </para></listitem> | ||
| 465 | <listitem><para role='writernotes'> | ||
| 466 | Checkout and modify the kernel source. | ||
| 467 | This is where you make your changes to the image. | ||
| 468 | </para></listitem> | ||
| 469 | <listitem><para role='writernotes'> | ||
| 470 | Create a new image that uses the altered kernel. | ||
| 471 | </para></listitem> | ||
| 472 | <listitem><para role='writernotes'> | ||
| 473 | If you are working with actual hardware, you can flash | ||
| 474 | the new image to a USB stick and use it to boot up the | ||
| 475 | hardware. | ||
| 476 | You can see your changes in action. | ||
| 477 | </para></listitem> | ||
| 478 | </orderedlist> | ||
| 479 | </para> | ||
| 480 | |||
| 455 | <para> | 481 | <para> |
| 456 | Patching the kernel involves changing or adding configurations to an existing kernel, | 482 | Patching the kernel involves changing or adding configurations to an existing kernel, |
| 457 | changing or adding recipes to the kernel that are needed to support specific hardware features, | 483 | changing or adding recipes to the kernel that are needed to support specific hardware features, |
