summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev/kernel-dev-intro.xml
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-08-30 13:34:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-02 00:52:49 +0100
commitea256df2a8af386f5c8c7bc7744d6d790ab0a3f9 (patch)
tree4e32e1d442029a93ed8b36d0a37010372c5f3a23 /documentation/kernel-dev/kernel-dev-intro.xml
parent2a1bdf7416391b4986fcc34c4de2b24d213948c1 (diff)
downloadpoky-ea256df2a8af386f5c8c7bc7744d6d790ab0a3f9.tar.gz
dev-manual, kernel-dev: Working kernel flow process using devtool
A work-in-progress of an example that modifies the kernel using the devtool. The procedure is not complete yet as it does not run properly. (From yocto-docs rev: 462ba2e46f237c294f05805ad5044291a085975d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev/kernel-dev-intro.xml')
-rw-r--r--documentation/kernel-dev/kernel-dev-intro.xml22
1 files changed, 15 insertions, 7 deletions
diff --git a/documentation/kernel-dev/kernel-dev-intro.xml b/documentation/kernel-dev/kernel-dev-intro.xml
index a2644aaa13..ce8e0fcb6d 100644
--- a/documentation/kernel-dev/kernel-dev-intro.xml
+++ b/documentation/kernel-dev/kernel-dev-intro.xml
@@ -108,6 +108,16 @@
108 "<ulink url='&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</ulink>" 108 "<ulink url='&YOCTO_DOCS_DEV_URL;#cloning-the-poky-repository'>Cloning the <filename>poky</filename> Repository</ulink>"
109 section in the Yocto Project Development Manual to set up your 109 section in the Yocto Project Development Manual to set up your
110 Source Directory. 110 Source Directory.
111 <note>
112 Be sure you check out the appropriate development branch or
113 by tag to get the version of Yocto Project you want.
114 See the
115 "<ulink url='&YOCTO_DOCS_DEV_URL;#checking-out-by-branch-in-poky'>Checking Out by Branch in Poky</ulink>"
116 and
117 "<ulink url='&YOCTO_DOCS_DEV_URL;#checkout-out-by-tag-in-poky'>Checking Out by Tag in Poky</ulink>"
118 sections in the Yocto Project Development Manual for more
119 information.
120 </note>
111 </para> 121 </para>
112 122
113 <para> 123 <para>
@@ -156,7 +166,7 @@
156 building for the QEMU emulator in 32-bit mode. 166 building for the QEMU emulator in 32-bit mode.
157 However, if you are not, you need to set the 167 However, if you are not, you need to set the
158 <filename>MACHINE</filename> variable appropriately in 168 <filename>MACHINE</filename> variable appropriately in
159 your <filename>local.conf</filename> file found in the 169 your <filename>conf/local.conf</filename> file found in the
160 <ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink> 170 <ulink url='&YOCTO_DOCS_REF_URL;#build-directory'>Build Directory</ulink>
161 (i.e. <filename>~/poky/build</filename> in this example). 171 (i.e. <filename>~/poky/build</filename> in this example).
162 </para> 172 </para>
@@ -208,6 +218,7 @@
208 Use BitBake to build the extensible SDK specifically for 218 Use BitBake to build the extensible SDK specifically for
209 the Minnowboard: 219 the Minnowboard:
210 <literallayout class='monospaced'> 220 <literallayout class='monospaced'>
221 $ cd ~/poky/build
211 $ bitbake core-image-minimal -c populate_sdk_ext 222 $ bitbake core-image-minimal -c populate_sdk_ext
212 </literallayout> 223 </literallayout>
213 Once the build finishes, you can find the SDK installer 224 Once the build finishes, you can find the SDK installer
@@ -290,12 +301,9 @@
290 If you were building for actual hardware and not for 301 If you were building for actual hardware and not for
291 emulation, you could flash the image to a USB stick 302 emulation, you could flash the image to a USB stick
292 on <filename>/dev/sdd</filename> and boot your device. 303 on <filename>/dev/sdd</filename> and boot your device.
293 Use a command similar to the following command to flash 304 For an example that uses a Minnowboard, see the
294 the image: 305 <ulink url='https://wiki.yoctoproject.org/wiki/TipsAndTricks/KernelDevelopmentWithEsdk'>TipsAndTricks/KernelDevelopmentWithEsdk</ulink>
295 <literallayout class='monospaced'> 306 Wiki page.
296 $ sudo dd if=tmp/deploy/images/<replaceable>architecture</replaceable>/core-image-minimal-<replaceable>architecture</replaceable>.wic of=/dev/sdd bs=1MB
297 $ sync
298 </literallayout>
299 </para></listitem> 307 </para></listitem>
300 </orderedlist> 308 </orderedlist>
301 </para> 309 </para>