diff options
Diffstat (limited to 'documentation/kernel-dev')
-rw-r--r-- | documentation/kernel-dev/kernel-dev-common.xml | 83 | ||||
-rw-r--r-- | documentation/kernel-dev/kernel-dev-intro.xml | 8 |
2 files changed, 5 insertions, 86 deletions
diff --git a/documentation/kernel-dev/kernel-dev-common.xml b/documentation/kernel-dev/kernel-dev-common.xml index 14381afefc..0379016572 100644 --- a/documentation/kernel-dev/kernel-dev-common.xml +++ b/documentation/kernel-dev/kernel-dev-common.xml | |||
@@ -511,11 +511,6 @@ | |||
511 | <section id="using-devtool-to-patch-the-kernel"> | 511 | <section id="using-devtool-to-patch-the-kernel"> |
512 | <title>Using <filename>devtool</filename> to Patch the Kernel</title> | 512 | <title>Using <filename>devtool</filename> to Patch the Kernel</title> |
513 | 513 | ||
514 | <para role='writernotes'> | ||
515 | This procedure currently does not work. | ||
516 | It is WIP. | ||
517 | </para> | ||
518 | |||
519 | <para> | 514 | <para> |
520 | The steps in this procedure show you how you can patch the | 515 | The steps in this procedure show you how you can patch the |
521 | kernel using the extensible SDK and <filename>devtool</filename>. | 516 | kernel using the extensible SDK and <filename>devtool</filename>. |
@@ -582,42 +577,6 @@ | |||
582 | to check out the code: | 577 | to check out the code: |
583 | <literallayout class='monospaced'> | 578 | <literallayout class='monospaced'> |
584 | $ devtool modify linux-yocto | 579 | $ devtool modify linux-yocto |
585 | Loading cache: 100% |#######################################################################| Time: 0:00:00 | ||
586 | Loaded 1300 entries from dependency cache. | ||
587 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
588 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
589 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
590 | |||
591 | Summary: There was 1 WARNING message shown. | ||
592 | Loading cache: 100% |########################################################################| Time: 0:00:00 | ||
593 | Loaded 1300 entries from dependency cache. | ||
594 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
595 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
596 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
597 | |||
598 | Summary: There was 1 WARNING message shown. | ||
599 | NOTE: Executing RunQueue Tasks | ||
600 | NOTE: Executing do_fetch... | ||
601 | NOTE: Executing do_unpack... | ||
602 | NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded. | ||
603 | NOTE: Executing RunQueue Tasks | ||
604 | NOTE: Executing do_kernel_checkout... | ||
605 | NOTE: Tasks Summary: Attempted 3 tasks of which 2 didn't need to be rerun and all succeeded. | ||
606 | NOTE: Patching... | ||
607 | NOTE: Executing RunQueue Tasks | ||
608 | NOTE: Executing do_validate_branches... | ||
609 | NOTE: Executing do_kernel_metadata... | ||
610 | NOTE: Executing do_patch... | ||
611 | NOTE: Tasks Summary: Attempted 6 tasks of which 3 didn't need to be rerun and all succeeded. | ||
612 | NOTE: Generating kernel config | ||
613 | NOTE: Executing RunQueue Tasks | ||
614 | NOTE: Executing do_kernel_configme... | ||
615 | NOTE: Executing do_prepare_recipe_sysroot... | ||
616 | NOTE: Executing do_configure... | ||
617 | NOTE: Tasks Summary: Attempted 9 tasks of which 6 didn't need to be rerun and all succeeded. | ||
618 | NOTE: Copying kernel config to srctree | ||
619 | NOTE: Source tree extracted to /home/scottrif/poky_sdk/workspace/sources/linux-yocto | ||
620 | NOTE: Recipe linux-yocto now set up to build from /home/scottrif/poky_sdk/workspace/sources/linux-yocto | ||
621 | </literallayout> | 580 | </literallayout> |
622 | <note> | 581 | <note> |
623 | During the checkout operation, a bug exists that could | 582 | During the checkout operation, a bug exists that could |
@@ -678,19 +637,6 @@ | |||
678 | <filename>devtool</filename>: | 637 | <filename>devtool</filename>: |
679 | <literallayout class='monospaced'> | 638 | <literallayout class='monospaced'> |
680 | $ devtool build linux-yocto | 639 | $ devtool build linux-yocto |
681 | Parsing recipes: 100% |####################################################################################| Time: 0:00:31 | ||
682 | Parsing of 831 .bb files complete (0 cached, 831 parsed). 1300 targets, 48 skipped, 0 masked, 0 errors. | ||
683 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
684 | NOTE: There are 1 recipes to be removed from sysroot qemux86, removing... | ||
685 | NOTE: Resolving any missing task queue dependencies | ||
686 | Initialising tasks: 100% |#################################################################################| Time: 0:00:00 | ||
687 | Checking sstate mirror object availability: 100% |#########################################################| Time: 0:00:00 | ||
688 | NOTE: Executing SetScene Tasks | ||
689 | NOTE: Executing RunQueue Tasks | ||
690 | linux-yocto-4.10.17+git999-r0 do_compile: NOTE: linux-yocto: compiling from external source tree /home/scottrif/poky_sdk/workspace/sources/linux-yocto | ||
691 | NOTE: Tasks Summary: Attempted 471 tasks of which 454 didn't need to be rerun and all succeeded. | ||
692 | |||
693 | Summary: There was 1 WARNING message shown. | ||
694 | </literallayout> | 640 | </literallayout> |
695 | </para></listitem> | 641 | </para></listitem> |
696 | <!-- | 642 | <!-- |
@@ -799,31 +745,6 @@ NOTE: This stuff is how it would have been if a *.wic file was created | |||
799 | <literallayout class='monospaced'> | 745 | <literallayout class='monospaced'> |
800 | $ cd ~ | 746 | $ cd ~ |
801 | $ devtool build-image core-image-minimal | 747 | $ devtool build-image core-image-minimal |
802 | Loading cache: 100% |###########################################################################| Time: 0:00:00 | ||
803 | Loaded 1299 entries from dependency cache. | ||
804 | Parsing recipes: 100% |#########################################################################| Time: 0:00:00 | ||
805 | Parsing of 831 .bb files complete (830 cached, 1 parsed). 1300 targets, 48 skipped, 0 masked, 0 errors. | ||
806 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
807 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
808 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
809 | |||
810 | Summary: There was 1 WARNING message shown. | ||
811 | WARNING: Skipping recipe linux-yocto as it doesn't produce a package with the same name | ||
812 | WARNING: No recipes in workspace, building image core-image-minimal unmodified | ||
813 | Loading cache: 100% |###########################################################################| Time: 0:00:00 | ||
814 | Loaded 1299 entries from dependency cache. | ||
815 | Parsing recipes: 100% |#########################################################################| Time: 0:00:00 | ||
816 | Parsing of 831 .bb files complete (830 cached, 1 parsed). 1300 targets, 48 skipped, 0 masked, 0 errors. | ||
817 | WARNING: No bb files matched BBFILE_PATTERN_my-kernel '^/home/scottrif/poky_sdk/layers/meta-my-kernel/' | ||
818 | NOTE: Resolving any missing task queue dependencies | ||
819 | Initialising tasks: 100% |######################################################################| Time: 0:00:06 | ||
820 | Checking sstate mirror object availability: 100% |##############################################| Time: 0:00:00 | ||
821 | NOTE: Executing SetScene Tasks | ||
822 | NOTE: Executing RunQueue Tasks | ||
823 | NOTE: Tasks Summary: Attempted 2393 tasks of which 2375 didn't need to be rerun and all succeeded. | ||
824 | |||
825 | Summary: There was 1 WARNING message shown. | ||
826 | NOTE: Successfully built core-image-minimal. You can find output files in /home/scottrif/poky_sdk/tmp/deploy/images/qemux86 | ||
827 | </literallayout> | 748 | </literallayout> |
828 | </para></listitem> | 749 | </para></listitem> |
829 | <listitem><para> | 750 | <listitem><para> |
@@ -1192,7 +1113,7 @@ NOTE: This stuff is how it would have been if a *.wic file was created | |||
1192 | are very time consuming. | 1113 | are very time consuming. |
1193 | </para> | 1114 | </para> |
1194 | 1115 | ||
1195 | <para role='writernotes'> | 1116 | <para> |
1196 | Once you are satisfied with your source code modifications, | 1117 | Once you are satisfied with your source code modifications, |
1197 | you can make them permanent by generating patches and | 1118 | you can make them permanent by generating patches and |
1198 | applying them to the | 1119 | applying them to the |
@@ -1201,7 +1122,7 @@ NOTE: This stuff is how it would have been if a *.wic file was created | |||
1201 | "<link linkend='applying-patches'>Applying Patches</link>" | 1122 | "<link linkend='applying-patches'>Applying Patches</link>" |
1202 | section. | 1123 | section. |
1203 | If you are not familiar with generating patches, refer to the | 1124 | If you are not familiar with generating patches, refer to the |
1204 | "I need a linked section here for the patch stuff" | 1125 | "<link linkend='using-devtool-to-patch-the-kernel'>Using <filename>devtool</filename> to Patch the Kernel</link>" |
1205 | section. | 1126 | section. |
1206 | </para> | 1127 | </para> |
1207 | </section> | 1128 | </section> |
diff --git a/documentation/kernel-dev/kernel-dev-intro.xml b/documentation/kernel-dev/kernel-dev-intro.xml index ce8e0fcb6d..99faad8316 100644 --- a/documentation/kernel-dev/kernel-dev-intro.xml +++ b/documentation/kernel-dev/kernel-dev-intro.xml | |||
@@ -463,11 +463,9 @@ | |||
463 | <emphasis>Set up Your Host Development System to Support | 463 | <emphasis>Set up Your Host Development System to Support |
464 | Development Using the Yocto Project</emphasis>: | 464 | Development Using the Yocto Project</emphasis>: |
465 | See the | 465 | See the |
466 | "<link linkend='preparing-the-build-host-to-work-on-the-kernel'>Preparing the Build Host to Work on the Kernel</link>" | 466 | "<ulink url='&YOCTO_DOCS_QS_URL;#yp-resources'>Setting Up to Use the Yocto Project</ulink>" |
467 | section and be sure you have everything set up to use the | 467 | section in the Yocto Project Quick Start for options on how |
468 | Yocto Project, including a local Git repository of the | 468 | to get a build host ready to use the Yocto Project. |
469 | <ulink url='&YOCTO_DOCS_REF_URL;#source-directory'>Source Directory</ulink> | ||
470 | (<filename>poky</filename>). | ||
471 | </para></listitem> | 469 | </para></listitem> |
472 | <listitem><para> | 470 | <listitem><para> |
473 | <emphasis>Establish the Temporary Kernel Source Files</emphasis>: | 471 | <emphasis>Establish the Temporary Kernel Source Files</emphasis>: |