DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [PATCH] v7a: barebox: imx6: don't enable fastboot net by default
Date: Wed,  6 Mar 2024 19:46:40 +0100	[thread overview]
Message-ID: <20240306184640.628394-1-a.fatoum@pengutronix.de> (raw)

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




             reply	other threads:[~2024-03-06 18:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 18:46 Ahmad Fatoum [this message]
2024-03-11 12:06 ` Robert Schwebel

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=20240306184640.628394-1-a.fatoum@pengutronix.de \
    --to=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