summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-10-05 12:07:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-06 18:46:55 +0100
commitfe76b87e8a9d797555869474daa38114ecddd3da (patch)
treef27e97ca3efc8b0fbbe00a4c2030b82c576da1ce /documentation
parent8d088b972d84a8ca257b16ce34d65d15b648722d (diff)
downloadpoky-fe76b87e8a9d797555869474daa38114ecddd3da.tar.gz
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>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/dev-manual/dev-manual-kernel-appendix.xml34
1 files changed, 29 insertions, 5 deletions
diff --git a/documentation/dev-manual/dev-manual-kernel-appendix.xml b/documentation/dev-manual/dev-manual-kernel-appendix.xml
index 03d1758bfc..533875b040 100644
--- a/documentation/dev-manual/dev-manual-kernel-appendix.xml
+++ b/documentation/dev-manual/dev-manual-kernel-appendix.xml
@@ -506,6 +506,23 @@
506 <para> 506 <para>
507 If you took the time to work through the example that modifies the kernel source code 507 If you took the time to work through the example that modifies the kernel source code
508 in "<link linkend='modifying-the-kernel-source-code'>Modifying the Kernel Source 508 in "<link linkend='modifying-the-kernel-source-code'>Modifying the Kernel Source
509 Code</link>" you should already have the Yocto Project files set up on your
510 host machine.
511 </para>
512
513 <para>
514 If you don't have the Yocto Project files established on your system,
515 See "<link linkend='setting-up-the-local-yocto-project-files-git-repository'>Setting
516 Up the Local Yocto Project Files Git Repository</link>" for
517 information.
518 To reconfigure the kernel, this is the only Git repository you need to have set up.
519 </para>
520
521<!--
522
523 <para>
524 If you took the time to work through the example that modifies the kernel source code
525 in "<link linkend='modifying-the-kernel-source-code'>Modifying the Kernel Source
509 Code</link>" you are already set up to quickly work through this example. 526 Code</link>" you are already set up to quickly work through this example.
510 If not, then work through the following list to prepare: 527 If not, then work through the following list to prepare:
511 <itemizedlist> 528 <itemizedlist>
@@ -530,7 +547,7 @@
530 and Booting the Default QEMU Kernel image</link>" for information. 547 and Booting the Default QEMU Kernel image</link>" for information.
531 Do not boot the image in the QEMU emulator at this point.</para></listitem> 548 Do not boot the image in the QEMU emulator at this point.</para></listitem>
532 </itemizedlist> 549 </itemizedlist>
533 </para> 550 </para> -->
534 </section> 551 </section>
535 552
536 <section id='examining-the-default-config-smp-behavior'> 553 <section id='examining-the-default-config-smp-behavior'>
@@ -541,7 +558,7 @@
541 To see this default setting from within the QEMU emulator, boot your image using 558 To see this default setting from within the QEMU emulator, boot your image using
542 the emulator as follows: 559 the emulator as follows:
543 <literallayout class='monospaced'> 560 <literallayout class='monospaced'>
544 $ runqemu qemux86 561 $ runqemu qemux86 qemuparams="-smp 2"
545 </literallayout> 562 </literallayout>
546 </para> 563 </para>
547 564
@@ -627,12 +644,19 @@
627 <para> 644 <para>
628 A good method to isolate changed configurations is to use a combination of the 645 A good method to isolate changed configurations is to use a combination of the
629 <filename>menuconfig</filename> tool and simple shell commands. 646 <filename>menuconfig</filename> tool and simple shell commands.
630 Before changing configurations with <filename>menuconfig</filename>, simply rename 647 Before changing configurations with <filename>menuconfig</filename>, copy the
631 the default <filename>.config</filename>, use <filename>menuconfig</filename> to make 648 existing <filename>.config</filename> and rename it to something else,
649 use <filename>menuconfig</filename> to make
632 as many changes an you want and save them, then compare the renamed configuration 650 as many changes an you want and save them, then compare the renamed configuration
633 file against the newly created file. 651 file against the newly created file.
634 You can use the resulting differences as your base to create configuration fragments 652 You can use the resulting differences as your base to create configuration fragments
635 to permanently save in your kernel layer. 653 to permanently save in your kernel layer.
654 <note>
655 Be sure to make a copy of the <filename>.config</filename> and don't just
656 rename it.
657 The Yocto Project build system needs an existing <filename>.config</filename>
658 from which to work.
659 </note>
636 </para> 660 </para>
637 </section> 661 </section>
638 662
@@ -651,7 +675,7 @@
651 <para> 675 <para>
652 Now run the QEMU emulator: 676 Now run the QEMU emulator:
653 <literallayout class='monospaced'> 677 <literallayout class='monospaced'>
654 $ runqemu qemux86 678 $ runqemu qemux86 qemuparams="-smp 2"
655 </literallayout> 679 </literallayout>
656 </para> 680 </para>
657 681