浏览代码

dev-manual: Fixed Flash the Device example

Fixes [YOCTO #11774]

Updated bmaptool instructions in Flashing
Images Using bmaptool section by changing
the sudo command.

Fixed the oe-run-native line.

(From yocto-docs rev: c3a1e2882abbb7b682ce101a8b038f89c4e2261c)

Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kristi Rifenbark 8 年之前
父节点
当前提交
088f55a535
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      documentation/dev-manual/dev-manual-common-tasks.xml

+ 3 - 3
documentation/dev-manual/dev-manual-common-tasks.xml

@@ -6418,7 +6418,7 @@ Some notes from Cal:
                             If you have write access to the media,
                             use this command form:
                             <literallayout class='monospaced'>
-     $ oe-run-native bmaptool-native bmaptool copy ./tmp/deploy/images/qemux86-64-core-image-minimal-<replaceable>machine</replaceable>.wic /dev/sd<replaceable>X</replaceable>
+     $ oe-run-native bmap-tools-native bmaptool copy ./tmp/deploy/images/qemux86-64-core-image-minimal-<replaceable>machine</replaceable>.wic /dev/sd<replaceable>X</replaceable>
                             </literallayout>
                             </para></listitem>
                         <listitem><para>
@@ -6426,8 +6426,8 @@ Some notes from Cal:
                             the media, use the following
                             commands:
                             <literallayout class='monospaced'>
-     $ sudo bash
-     $ PATH=tmp/sysroots/x86_64-linux/usr/bin/ bmaptool copy ./tmp/deploy/images/qemux86-64/core-image-minimal-<replaceable>machine</replaceable>.wic /dev/sd<replaceable>X</replaceable>
+     $ sudo chmod 666 /dev/sd<replaceable>X</replaceable>
+     $ oe-run-native bmap-tools-native bmaptool copy ./tmp/deploy/images/qemux86-64-core-image-minimal-<replaceable>machine</replaceable>.wic /dev/sd<replaceable>X</replaceable>
                             </literallayout>
                             <note>
                                 If you are using Ubuntu or Debian distributions,