summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/dev-manual-common-tasks.xml
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-01-03 14:15:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-11 17:23:18 +0000
commita8e9faac4053afe57352eba62da5e9693952e260 (patch)
tree0c3e879e449ef414f81cb30d209447c9969ea82a /documentation/dev-manual/dev-manual-common-tasks.xml
parent50074dfafaff970b022a3c915a1a4680ee1513fa (diff)
downloadpoky-a8e9faac4053afe57352eba62da5e9693952e260.tar.gz
dev-manual: Added section on bmap-tool to flash images
Fixes [YOCTO #10621] bmaptool is integrated into the OpenEmbedded build system but is not documented. I added a new section describing how to flash an image to media using the tool. Also, updated a small section in the Wic part of the manual that used "dd" to flash an example. I added a bmaptool counterpart here and referenced the reader back to the main new section. (From yocto-docs rev: 83a9a3aa5f20c7f389306eea9213eabea997aba1) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml29
1 files changed, 25 insertions, 4 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index b2a2e32c5d..95289c990f 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -4823,10 +4823,14 @@
4823 </para> 4823 </para>
4824 4824
4825 <para> 4825 <para>
4826 Continuing with the example, you can now directly 4826 Continuing with the example, you can now write the
4827 <filename>dd</filename> the image to a USB stick, or 4827 image to a USB stick, or whatever media for which
4828 whatever media for which you built your image, 4828 you built your image, and boot the resulting media.
4829 and boot the resulting media: 4829 </para>
4830
4831 <para>
4832 The following example uses <filename>dd</filename>
4833 to write the image to a USB stick:
4830 <literallayout class='monospaced'> 4834 <literallayout class='monospaced'>
4831 $ sudo dd if=/var/tmp/wic/build/mkefidisk-201310230946-sda.direct of=/dev/sdb 4835 $ sudo dd if=/var/tmp/wic/build/mkefidisk-201310230946-sda.direct of=/dev/sdb
4832 [sudo] password for trz: 4836 [sudo] password for trz:
@@ -4836,6 +4840,23 @@
4836 [trz at empanada ~]$ sudo eject /dev/sdb 4840 [trz at empanada ~]$ sudo eject /dev/sdb
4837 </literallayout> 4841 </literallayout>
4838 </para> 4842 </para>
4843
4844 <para>
4845 This next example uses the
4846 <filename>bmap-tool</filename>.
4847 For this example, it is assumed you have write
4848 access:
4849 <literallayout class='monospaced'>
4850 $ oe-run-native bmap-tool copy /home/trz/yocto/yocto-image/scripts/lib/image/canned-wks/mkefidisk.wks /dev/sdb
4851 </literallayout>
4852 <note>
4853 For more information on how to use the
4854 <filename>bmap-tool</filename> to flash a device
4855 with an image, see the
4856 "<link linkend='flashing-images-using-bmap-tool'>Flashing Images Using <filename>bmap-tool</filename></link>"
4857 section.
4858 </note>
4859 </para>
4839 </section> 4860 </section>
4840 4861
4841 <section id='using-a-modified-kickstart-file'> 4862 <section id='using-a-modified-kickstart-file'>