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 @@
Using <filename>devtool</filename> to Patch the Kernel + + + Some stuff here for the using devtool from the wiki. + This whole section is WIP. + + + 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. + + + Checkout and modify the kernel source. + This is where you make your changes to the image. + + + Create a new image that uses the altered kernel. + + + 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. + + + + 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, diff --git a/documentation/kernel-dev/kernel-dev-intro.xml b/documentation/kernel-dev/kernel-dev-intro.xml index 9104ed4d87..56cf6bc7e2 100644 --- a/documentation/kernel-dev/kernel-dev-intro.xml +++ b/documentation/kernel-dev/kernel-dev-intro.xml @@ -121,7 +121,51 @@ Getting Ready to Develop using <filename>devtool</filename> - Need the updated wiki stuff here + Sections as follows: + + + Source the oe-init-build-env script. + At this point, we assume the build host is set up and + poky repository has been cloned. + + + Be sure your local.conf file has + the correct + MACHINE + variable set for the target hardware on which your + kernel image runs. + Also have the + MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS + variable set equal to "kernel-modules". + + + Create a layer for later that will contain your patches + (if any) to the kernel. + + + Build the extensible SDK. + + + Install the extensible SDK. + + + Set up the terminal so that you can work with the + extensible SDK. + This terminal is known as the "eSDK Terminal" unlike the + terminal that is set up to run BitBake, which is known + as the "BitBake Terminal". + + + Build the initial image using the extensible SDK. + + + + + + At this point, the user has enough stuff set up to work on the + kernel. + I will put a section in the "Common Tasks" area of this manual + that finished out how to make a modification to the kernel.