diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-10-21 12:34:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-25 17:55:37 +0100 |
commit | 13f377964846520c60b4f46dcf87cffac9da20d6 (patch) | |
tree | 0156b3b877912844f4e4a3e085a54a6c1260a65b /documentation | |
parent | 2b782a2c21ab7783c25226b318f34671339e6129 (diff) | |
download | poky-13f377964846520c60b4f46dcf87cffac9da20d6.tar.gz |
yocto-project-qs: Fixed the example to use 'dd' instead of 'mkefidisk.sh'
Fixes [YOCTO #10451]
The example that writes the image to bootable media did not seem
to work when using 'mkefidisk.sh'. It does work using 'dd'. I changed
the procedure to use 'dd'.
(From yocto-docs rev: 27a70c88f987cee731584618d76c40a878f35a75)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/yocto-project-qs/yocto-project-qs.xml | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index 0d76ee4497..1ae17b895d 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml | |||
@@ -722,23 +722,18 @@ | |||
722 | </literallayout> | 722 | </literallayout> |
723 | </para></listitem> | 723 | </para></listitem> |
724 | <listitem><para><emphasis>Write the Image:</emphasis> | 724 | <listitem><para><emphasis>Write the Image:</emphasis> |
725 | You can write the image to a USB key, SATA drive, or SD | 725 | You can write the image just built to a bootable media |
726 | card by using the <filename>mkefidisk.sh</filename> script, | 726 | (e.g. a USB key, SATA drive, SD card, etc.) using the |
727 | which is included in the <filename>poky</filename> | 727 | <filename>dd</filename> utility: |
728 | repository at | ||
729 | <filename>scripts/contrib/mkefidisk.sh</filename>: | ||
730 | <literallayout class='monospaced'> | 728 | <literallayout class='monospaced'> |
731 | $ sudo $HOME/source/poky/scripts/contrib/mkefidisk.sh <replaceable>HOST_DEVICE</replaceable> \ | 729 | $ sudo dd if=tmp/deploy/images/intel-corei7-64/core-image-minimal-intel-corei7-64.wic of=TARGET_DEVICE |
732 | tmp/deploy/images/intel-corei7-64/core-image-base-intel-corei7-64.hddimg <replaceable>TARGET_DEVICE</replaceable> | ||
733 | </literallayout> | 730 | </literallayout> |
734 | In the previous command, | 731 | In the previous command, the |
735 | <replaceable>HOST_DEVICE</replaceable> is the device node | 732 | <filename>TARGET_DEVICE</filename> is the device node in |
736 | on the build host (e.g. <filename>/dev/sdc</filename> or | 733 | the host machine (e.g. <filename>/dev/sdc</filename>, which |
737 | <filename>/dev/mmcblk0</filename>). | 734 | is most likely a USB stick, or |
738 | <replaceable>TARGET_DEVICE</replaceable> is the name of the | 735 | <filename>/dev/mmcblk0</filename>, which is most likely an |
739 | device as the MinnowBoard MAX sees it (e.g. | 736 | SD card. |
740 | <filename>/dev/sda</filename> or | ||
741 | <filename>/dev/mmcblk0</filename>). | ||
742 | </para></listitem> | 737 | </para></listitem> |
743 | <listitem><para><emphasis>Boot the Hardware:</emphasis> | 738 | <listitem><para><emphasis>Boot the Hardware:</emphasis> |
744 | With the boot device provisioned, you can insert the | 739 | With the boot device provisioned, you can insert the |