diff options
Diffstat (limited to 'documentation/dev-manual/dev-manual-common-tasks.xml')
| -rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 33 |
1 files changed, 10 insertions, 23 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 95289c990f..811c23e810 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
| @@ -4824,36 +4824,23 @@ | |||
| 4824 | 4824 | ||
| 4825 | <para> | 4825 | <para> |
| 4826 | Continuing with the example, you can now write the | 4826 | Continuing with the example, you can now write the |
| 4827 | image to a USB stick, or whatever media for which | 4827 | image to a USB stick, or whatever media for which you |
| 4828 | you built your image, and boot the resulting media. | 4828 | built your image, and boot the resulting media. |
| 4829 | </para> | 4829 | You can write the image by using |
| 4830 | 4830 | <filename>bmaptool</filename> or | |
| 4831 | <para> | 4831 | <filename>dd</filename>: |
| 4832 | The following example uses <filename>dd</filename> | ||
| 4833 | to write the image to a USB stick: | ||
| 4834 | <literallayout class='monospaced'> | 4832 | <literallayout class='monospaced'> |
| 4835 | $ sudo dd if=/var/tmp/wic/build/mkefidisk-201310230946-sda.direct of=/dev/sdb | 4833 | $ oe-run-native bmaptool copy /var/tmp/wic/build/mkefidisk-201310230946-sda.direct /dev/sd<replaceable>X</replaceable> |
| 4836 | [sudo] password for trz: | ||
| 4837 | 182274+0 records in | ||
| 4838 | 182274+0 records out | ||
| 4839 | 93324288 bytes (93 MB) copied, 14.4777 s, 6.4 MB/s | ||
| 4840 | [trz at empanada ~]$ sudo eject /dev/sdb | ||
| 4841 | </literallayout> | 4834 | </literallayout> |
| 4842 | </para> | 4835 | or |
| 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'> | 4836 | <literallayout class='monospaced'> |
| 4850 | $ oe-run-native bmap-tool copy /home/trz/yocto/yocto-image/scripts/lib/image/canned-wks/mkefidisk.wks /dev/sdb | 4837 | $ sudo dd if=/var/tmp/wic/build/mkefidisk-201310230946-sda.direct of=/dev/sd<replaceable>X</replaceable> |
| 4851 | </literallayout> | 4838 | </literallayout> |
| 4852 | <note> | 4839 | <note> |
| 4853 | For more information on how to use the | 4840 | For more information on how to use the |
| 4854 | <filename>bmap-tool</filename> to flash a device | 4841 | <filename>bmaptool</filename> to flash a device |
| 4855 | with an image, see the | 4842 | with an image, see the |
| 4856 | "<link linkend='flashing-images-using-bmap-tool'>Flashing Images Using <filename>bmap-tool</filename></link>" | 4843 | "<link linkend='flashing-images-using-bmaptool'>Flashing Images Using <filename>bmaptool</filename></link>" |
| 4857 | section. | 4844 | section. |
| 4858 | </note> | 4845 | </note> |
| 4859 | </para> | 4846 | </para> |
