DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH] v7a: barebox: imx6: don't enable fastboot net by default
Date: Mon, 11 Mar 2024 13:06:56 +0100	[thread overview]
Message-ID: <Ze7z4CjIC5QaCm6y@pengutronix.de> (raw)
In-Reply-To: <20240306184640.628394-1-a.fatoum@pengutronix.de>

Applied to next.

On Wed, Mar 06, 2024 at 07:46:40PM +0100, Ahmad Fatoum wrote:
> The idea behind enabling the USB gadget by default was to allow
> quick experimentation with only a USB connection by exposing both
> fastboot and a ACM serial gadget.
> 
> However, Fastboot over UDP, isn't as useful:
> 
>   - the user first has to find out the IP address assigned to the board
>   - getting a DHCP lease on every boot takes a bit of time
>   - The shell is unusable until the DHCP request succeeds or times out.
>     Ctrl+C can't be used as it's not called interactively
> 
> Therefore, disable Fastboot over UDP and leave only USB enabled by
> default. User wishing to use Fastboot over UDP can just set
> 
>   nv.fastboot.net.autostart=1
> 
> manually to restore the old behavior.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  .../barebox-mx6-defaultenv/nv/fastboot.net.autostart             | 1 -
>  1 file changed, 1 deletion(-)
>  delete mode 100644 configs/platform-v7a/barebox-mx6-defaultenv/nv/fastboot.net.autostart
> 
> diff --git a/configs/platform-v7a/barebox-mx6-defaultenv/nv/fastboot.net.autostart b/configs/platform-v7a/barebox-mx6-defaultenv/nv/fastboot.net.autostart
> deleted file mode 100644
> index d00491fd7e5b..000000000000
> --- a/configs/platform-v7a/barebox-mx6-defaultenv/nv/fastboot.net.autostart
> +++ /dev/null
> @@ -1 +0,0 @@
> -1
> -- 
> 2.39.2
> 
> 
> 

-- 
Pengutronix e.K.                           | Dipl.-Ing. Robert Schwebel  |
Steuerwalder Str. 21                       | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-9    |



      reply	other threads:[~2024-03-11 12:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 18:46 Ahmad Fatoum
2024-03-11 12:06 ` Robert Schwebel [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=Ze7z4CjIC5QaCm6y@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=distrokit@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