From: "Antonin Godard" <antonin.godard@bootlin.com>
To: <michael.opdenacker@rootcommit.com>, <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH v2 3/3] dev-manual/bmaptool.rst: simplify and fix instructions
Date: Wed, 04 Dec 2024 13:19:41 +0100 [thread overview]
Message-ID: <D62WT5QAFUR4.22N91K2Y793BO@bootlin.com> (raw)
In-Reply-To: <20241204104432.2094236-4-michael.opdenacker@rootcommit.com>
On Wed Dec 4, 2024 at 11:44 AM CET, Michael Opdenacker via lists.yoctoproject.org wrote:
> From: Michael Opdenacker <michael.opdenacker@rootcommit.com>
>
> - Remove duplicate instructions
>
> - Detail how to run bmaptool directly if you installed it on your host
> instead of building it through the ``bmaptool-native`` recipe,
> as running "oe-run-native bmaptool-native bmaptool ..." won't work
> in this case.
>
> Signed-off-by: Michael Opdenacker <michael.opdenacker@rootcommit.com>
> ---
> documentation/dev-manual/bmaptool.rst | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/documentation/dev-manual/bmaptool.rst b/documentation/dev-manual/bmaptool.rst
> index 37083c9c64..93c8d3a45e 100644
> --- a/documentation/dev-manual/bmaptool.rst
> +++ b/documentation/dev-manual/bmaptool.rst
> @@ -43,14 +43,16 @@ any type of image. Use these steps to flash an image using `bmaptool`:
> depending on your particular setup. The following commands assume the
> image resides in the :term:`Build Directory`'s ``deploy/images/`` area:
>
> - - If you have write access to the media, use this command form::
> + - If needed, set permissions to get write access to the media::
>
> - $ oe-run-native bmaptool-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
> + $ sudo chmod 666 /dev/sdX
I think you forgot to change to "a+w"
Also, it wasn't moved after the sudo command?
Looks like the wrong patch may have slipped in? :)
> - - If you do not have write access to the media, set your permissions
> - first and then use the same command form::
> + - If you installed the package for `bmaptool`, you can directly run::
> +
> + $ sudo bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
> +
> + - Otherwise, if you built `bmaptool` with BitBake, run::
>
> - $ sudo chmod 666 /dev/sdX
> $ oe-run-native bmaptool-native bmaptool copy build-directory/tmp/deploy/images/machine/image.wic /dev/sdX
>
> For help on the ``bmaptool`` command, use the following command::
Antonin
--
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-12-04 12:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-04 10:44 [PATCH v2 0/3] Improvements to "bmaptool" usage documentation michael.opdenacker
2024-12-04 10:44 ` [PATCH v2 1/3] dev-manual: fix styling of references to bmaptool michael.opdenacker
2024-12-04 10:44 ` [PATCH v2 2/3] dev-manual/bmaptool.rst: correct command for bmaptool-native michael.opdenacker
2024-12-04 10:44 ` [PATCH v2 3/3] dev-manual/bmaptool.rst: simplify and fix instructions michael.opdenacker
2024-12-04 12:19 ` Antonin Godard [this message]
2024-12-04 13:03 ` [docs] " Michael Opdenacker
2024-12-18 9:35 ` Antonin Godard
2024-12-18 14:49 ` Michael Opdenacker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D62WT5QAFUR4.22N91K2Y793BO@bootlin.com \
--to=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=michael.opdenacker@rootcommit.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox