diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml
index 4000a0b943..ffe3230126 100644
--- a/documentation/dev-manual/dev-manual-kernel-appendix.xml
+++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml
@@ -495,14 +495,176 @@
Changing the Kernel Configuration
- This section presents an example that changes the kernel configuration.
- The example shows how to use menuconfig to quickly see
- and set configurations used by the kernel.
+ This example changes the default behavior (off) of the Symmetric Multi-processing Support
+ (CONFIG_SMP) to on.
+ It is a simple example that demonstrates how to reconfigure the kernel.
-
- [Example to be supplied]
-
+
+ Getting Set Up to Run this Example
+
+
+ If you took the time to work through the example that modifies the kernel source code
+ in Modifying the Kernel Source
+ Code you are set up to quickly work through this example.
+ If not, then work through the following list to prepare:
+
+ Understand the development environment:
+ See
+ Understanding the Files You Need for information.
+ Set up the local Yocto Project files Git
+ repository:
+ See
+ Setting Up the Local Yocto Project Files Git Repository for
+ information.
+ Set up the poky-extras Git
+ repository:
+ See
+ Setting Up poky-extras Git repository for
+ information.
+ Set up the the bare clone and its copy:
+ See
+ Setting Up the Bare Clone and its Copy for information.
+
+ Build the default QEMU kernel image:
+ See
+ Building and Booting the Default QEMU Kernel image
+ for information.
+ Do not boot the image in the QEMU emulator at this point.
+
+
+
+
+
+ Examining the Default CONFIG_SMP Behavior
+
+
+ By default, CONFIG_SMP supports single processor machines.
+ To see this default setting from within the QEMU emulator boot your image using
+ the emulator as follows:
+
+ $ runqemu qemux86
+
+
+
+
+ Login to the machine using root with no password.
+ After logging in, enter the following command to see how many processors are
+ being supported in the emulator.
+ The emulator reports support for a single processor:
+
+ # cat /proc/cpuinfo | grep processor
+ processor : 0
+ #
+
+
+
+
+
+
+
+ Recompiling the Kernel and Testing the New Configuration
+
+
+ At this point you are ready to recompile your kernel image with
+ the new setting in effect using the BitBake commands below:
+
+ $ bitbake linux-yocto -c compile -f
+ $ bitbake linux-yocto
+
+
+
+
+ Now run the QEMU emulator:
+
+ $ runqemu qemux86
+
+
+
+
+ Login to the machine using root with no password
+ and test for the number of processors the kernel supports:
+
+ # cat /proc/cpuinfo | grep processor
+ processor : 0
+ processor : 1
+ #
+
+
+
+
+ From the output you can see that you have successfully reconfigured the kernel.
+
+
@@ -516,7 +678,7 @@
[Example to be supplied]
-
+
@@ -584,40 +746,6 @@ It should just build whatever is necessary and not go through an entire build ag
-
-
- Make Configuration Changes to the Kernel
-
-
- After setting up the environment to run menuconfig you are ready
- to use the tool to interactively change the kernel configuration.
- In this example we are basing our changes on the linux-yocto-2.6.37
- kernel.
- The Yocto Project build environment recognizes this kernel as
- linux-yocto.
- Thus, the following command from the shell in which you previously sourced the
- environment initialization script launches menuconfig:
-
- $ bitbake linux-yocto -c menuconfig
-
-
[WRITER'S NOTE: Stuff from here down are crib notes]