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>
This commit is contained in:
parent
2b782a2c21
commit
13f3779648
|
@ -722,23 +722,18 @@
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis>Write the Image:</emphasis>
|
<listitem><para><emphasis>Write the Image:</emphasis>
|
||||||
You can write the image to a USB key, SATA drive, or SD
|
You can write the image just built to a bootable media
|
||||||
card by using the <filename>mkefidisk.sh</filename> script,
|
(e.g. a USB key, SATA drive, SD card, etc.) using the
|
||||||
which is included in the <filename>poky</filename>
|
<filename>dd</filename> utility:
|
||||||
repository at
|
|
||||||
<filename>scripts/contrib/mkefidisk.sh</filename>:
|
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ sudo $HOME/source/poky/scripts/contrib/mkefidisk.sh <replaceable>HOST_DEVICE</replaceable> \
|
$ sudo dd if=tmp/deploy/images/intel-corei7-64/core-image-minimal-intel-corei7-64.wic of=TARGET_DEVICE
|
||||||
tmp/deploy/images/intel-corei7-64/core-image-base-intel-corei7-64.hddimg <replaceable>TARGET_DEVICE</replaceable>
|
|
||||||
</literallayout>
|
</literallayout>
|
||||||
In the previous command,
|
In the previous command, the
|
||||||
<replaceable>HOST_DEVICE</replaceable> is the device node
|
<filename>TARGET_DEVICE</filename> is the device node in
|
||||||
on the build host (e.g. <filename>/dev/sdc</filename> or
|
the host machine (e.g. <filename>/dev/sdc</filename>, which
|
||||||
<filename>/dev/mmcblk0</filename>).
|
is most likely a USB stick, or
|
||||||
<replaceable>TARGET_DEVICE</replaceable> is the name of the
|
<filename>/dev/mmcblk0</filename>, which is most likely an
|
||||||
device as the MinnowBoard MAX sees it (e.g.
|
SD card.
|
||||||
<filename>/dev/sda</filename> or
|
|
||||||
<filename>/dev/mmcblk0</filename>).
|
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para><emphasis>Boot the Hardware:</emphasis>
|
<listitem><para><emphasis>Boot the Hardware:</emphasis>
|
||||||
With the boot device provisioned, you can insert the
|
With the boot device provisioned, you can insert the
|
||||||
|
|
Loading…
Reference in New Issue