mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
50074dfafa
commit
a8e9faac40
@@ -4823,10 +4823,14 @@
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Continuing with the example, you can now directly
|
||||
<filename>dd</filename> the image to a USB stick, or
|
||||
whatever media for which you built your image,
|
||||
and boot the resulting media:
|
||||
Continuing with the example, you can now write the
|
||||
image to a USB stick, or whatever media for which
|
||||
you built your image, and boot the resulting media.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The following example uses <filename>dd</filename>
|
||||
to write the image to a USB stick:
|
||||
<literallayout class='monospaced'>
|
||||
$ sudo dd if=/var/tmp/wic/build/mkefidisk-201310230946-sda.direct of=/dev/sdb
|
||||
[sudo] password for trz:
|
||||
@@ -4836,6 +4840,23 @@
|
||||
[trz at empanada ~]$ sudo eject /dev/sdb
|
||||
</literallayout>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
This next example uses the
|
||||
<filename>bmap-tool</filename>.
|
||||
For this example, it is assumed you have write
|
||||
access:
|
||||
<literallayout class='monospaced'>
|
||||
$ oe-run-native bmap-tool copy /home/trz/yocto/yocto-image/scripts/lib/image/canned-wks/mkefidisk.wks /dev/sdb
|
||||
</literallayout>
|
||||
<note>
|
||||
For more information on how to use the
|
||||
<filename>bmap-tool</filename> to flash a device
|
||||
with an image, see the
|
||||
"<link linkend='flashing-images-using-bmap-tool'>Flashing Images Using <filename>bmap-tool</filename></link>"
|
||||
section.
|
||||
</note>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
<section id='using-a-modified-kickstart-file'>
|
||||
|
||||
Reference in New Issue
Block a user