From: Yegor Yefremov <yegorslists@googlemail.com>
To: Oleksij Rempel <o.rempel@pengutronix.de>
Cc: barebox <barebox@lists.infradead.org>
Subject: Re: [PATCH] Documentation: usbgadget: provide autostart notes
Date: Fri, 5 May 2017 14:22:15 +0200 [thread overview]
Message-ID: <CAGm1_ksFG33sjji0wCdPBZK1xKtPP-6h3tBaKr6mxusUv+GUSg@mail.gmail.com> (raw)
In-Reply-To: <20170505114211.14270-1-o.rempel@pengutronix.de>
Hi Oleksij,
On Fri, May 5, 2017 at 1:42 PM, Oleksij Rempel <o.rempel@pengutronix.de> wrote:
> The usbgadget autostart funktionality is already added. Not it's
> time to reflect it in the documentation.
>
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
> Documentation/user/usb.rst | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/Documentation/user/usb.rst b/Documentation/user/usb.rst
> index bbcb045cee..ad7f8ab54f 100644
> --- a/Documentation/user/usb.rst
> +++ b/Documentation/user/usb.rst
> @@ -195,6 +195,25 @@ USB CDC ACM compliant serial device.
> Unlike the :ref:`command_dfu` command the ``usbgadget`` command returns immediately
> after creating the gadget. The gadget can be removed with ``usbgadget -d``.
>
> +USB Gadget autostart Support
> +----------------------------
> +
> +Barebox can be configured to start usbgadget automatically by using global variables,
> +instead of creating boot script. This can be usefoul if autostart policy should be
s/usefoul /useful
Yegor
> +chosen at boot time from other driver or script.
> +To get usbgadget autostart support barebox has to be compiled with
> +CONFIG_USB_GADGET_AUTOSTART enabled.
> +
> +USB Gadget autostart Options
> +^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> +
> +``global.usbgadget.autostart``
> + Boolean flag. If set to 1, usbgadget will be started automatically on boot.
> +``global.usbgadget.acm``
> + Boolean flag. If set to 1, CDC ACM function will be created. See :ref:`command_usbgadget` -a.
> +``global.usbgadget.acm``
> + Function description for fastboot. See :ref:`command_usbgadget` -A <desc>.
> +
> USB OTG support
> ---------------
>
> --
> 2.11.0
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2017-05-05 12:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-05 11:42 Oleksij Rempel
2017-05-05 12:22 ` Yegor Yefremov [this message]
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=CAGm1_ksFG33sjji0wCdPBZK1xKtPP-6h3tBaKr6mxusUv+GUSg@mail.gmail.com \
--to=yegorslists@googlemail.com \
--cc=barebox@lists.infradead.org \
--cc=o.rempel@pengutronix.de \
/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