]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
yocto-project-qs: Fixed the example to use 'dd' instead of 'mkefidisk.sh'
authorScott Rifenbark <srifenbark@gmail.com>
Fri, 21 Oct 2016 19:34:44 +0000 (12:34 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Oct 2016 16:56:27 +0000 (17:56 +0100)
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: e3f90869291f619db1d830b127ade66986eba886)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/yocto-project-qs/yocto-project-qs.xml

index 0d76ee449709ff095a593b457ddcf6f898f34a4f..1ae17b895ddacd4fb169ae1654333a3171d375d7 100644 (file)
                     </literallayout>
                     </para></listitem>
                 <listitem><para><emphasis>Write the Image:</emphasis>
-                    You can write the image to a USB key, SATA drive, or SD
-                    card by using the <filename>mkefidisk.sh</filename> script,
-                    which is included in the <filename>poky</filename>
-                    repository at
-                    <filename>scripts/contrib/mkefidisk.sh</filename>:
+                    You can write the image just built to a bootable media
+                    (e.g. a USB key, SATA drive, SD card, etc.) using the
+                    <filename>dd</filename> utility:
                     <literallayout class='monospaced'>
-     $ sudo $HOME/source/poky/scripts/contrib/mkefidisk.sh <replaceable>HOST_DEVICE</replaceable> \
-        tmp/deploy/images/intel-corei7-64/core-image-base-intel-corei7-64.hddimg <replaceable>TARGET_DEVICE</replaceable>
+     $ sudo dd if=tmp/deploy/images/intel-corei7-64/core-image-minimal-intel-corei7-64.wic of=TARGET_DEVICE
                     </literallayout>
-                    In the previous command,
-                    <replaceable>HOST_DEVICE</replaceable> is the device node
-                    on the build host (e.g. <filename>/dev/sdc</filename> or
-                    <filename>/dev/mmcblk0</filename>).
-                    <replaceable>TARGET_DEVICE</replaceable> is the name of the
-                    device as the MinnowBoard MAX sees it (e.g.
-                    <filename>/dev/sda</filename> or
-                    <filename>/dev/mmcblk0</filename>).
+                    In the previous command, the
+                    <filename>TARGET_DEVICE</filename> is the device node in
+                    the host machine (e.g. <filename>/dev/sdc</filename>, which
+                    is most likely a USB stick, or
+                    <filename>/dev/mmcblk0</filename>, which is most likely an
+                    SD card.
                     </para></listitem>
                 <listitem><para><emphasis>Boot the Hardware:</emphasis>
                     With the boot device provisioned, you can insert the