documentation/dev-manual/dev-manual-kernel-appendix.xml: config example
I had to add some changes to the way we invoke qemu to show multiple processor support. I needed the qemuparam "-smp 2". There are other minor edits as well. (From yocto-docs rev: 508863634ce537b0936f8e44f87b90bef678c122) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
720446629b
commit
e02d553b45
|
@ -503,6 +503,23 @@
|
||||||
<section id='getting-set-up-to-run-this-example'>
|
<section id='getting-set-up-to-run-this-example'>
|
||||||
<title>Getting Set Up to Run this Example</title>
|
<title>Getting Set Up to Run this Example</title>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you took the time to work through the example that modifies the kernel source code
|
||||||
|
in "<link linkend='modifying-the-kernel-source-code'>Modifying the Kernel Source
|
||||||
|
Code</link>" you should already have the Yocto Project files set up on your
|
||||||
|
host machine.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
If you don't have the Yocto Project files established on your system,
|
||||||
|
See "<link linkend='setting-up-the-local-yocto-project-files-git-repository'>Setting
|
||||||
|
Up the Local Yocto Project Files Git Repository</link>" for
|
||||||
|
information.
|
||||||
|
To reconfigure the kernel, this is the only Git repository you need to have set up.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
If you took the time to work through the example that modifies the kernel source code
|
If you took the time to work through the example that modifies the kernel source code
|
||||||
in "<link linkend='modifying-the-kernel-source-code'>Modifying the Kernel Source
|
in "<link linkend='modifying-the-kernel-source-code'>Modifying the Kernel Source
|
||||||
|
@ -530,7 +547,7 @@
|
||||||
and Booting the Default QEMU Kernel image</link>" for information.
|
and Booting the Default QEMU Kernel image</link>" for information.
|
||||||
Do not boot the image in the QEMU emulator at this point.</para></listitem>
|
Do not boot the image in the QEMU emulator at this point.</para></listitem>
|
||||||
</itemizedlist>
|
</itemizedlist>
|
||||||
</para>
|
</para> -->
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id='examining-the-default-config-smp-behavior'>
|
<section id='examining-the-default-config-smp-behavior'>
|
||||||
|
@ -541,7 +558,7 @@
|
||||||
To see this default setting from within the QEMU emulator, boot your image using
|
To see this default setting from within the QEMU emulator, boot your image using
|
||||||
the emulator as follows:
|
the emulator as follows:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ runqemu qemux86
|
$ runqemu qemux86 qemuparams="-smp 2"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
@ -627,12 +644,19 @@
|
||||||
<para>
|
<para>
|
||||||
A good method to isolate changed configurations is to use a combination of the
|
A good method to isolate changed configurations is to use a combination of the
|
||||||
<filename>menuconfig</filename> tool and simple shell commands.
|
<filename>menuconfig</filename> tool and simple shell commands.
|
||||||
Before changing configurations with <filename>menuconfig</filename>, simply rename
|
Before changing configurations with <filename>menuconfig</filename>, copy the
|
||||||
the default <filename>.config</filename>, use <filename>menuconfig</filename> to make
|
existing <filename>.config</filename> and rename it to something else,
|
||||||
|
use <filename>menuconfig</filename> to make
|
||||||
as many changes an you want and save them, then compare the renamed configuration
|
as many changes an you want and save them, then compare the renamed configuration
|
||||||
file against the newly created file.
|
file against the newly created file.
|
||||||
You can use the resulting differences as your base to create configuration fragments
|
You can use the resulting differences as your base to create configuration fragments
|
||||||
to permanently save in your kernel layer.
|
to permanently save in your kernel layer.
|
||||||
|
<note>
|
||||||
|
Be sure to make a copy of the <filename>.config</filename> and don't just
|
||||||
|
rename it.
|
||||||
|
The Yocto Project build system needs an existing <filename>.config</filename>
|
||||||
|
from which to work.
|
||||||
|
</note>
|
||||||
</para>
|
</para>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
@ -651,7 +675,7 @@
|
||||||
<para>
|
<para>
|
||||||
Now run the QEMU emulator:
|
Now run the QEMU emulator:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ runqemu qemux86
|
$ runqemu qemux86 qemuparams="-smp 2"
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue