summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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