From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 06 Mar 2024 19:46:47 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rhwHv-00BCCr-0P for lore@lore.pengutronix.de; Wed, 06 Mar 2024 19:46:47 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rhwHu-00007y-Ka; Wed, 06 Mar 2024 19:46:46 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rhwHp-00007j-R3; Wed, 06 Mar 2024 19:46:41 +0100 Received: from [2a0a:edc0:0:1101:1d::54] (helo=dude05.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rhwHp-004nZj-Es; Wed, 06 Mar 2024 19:46:41 +0100 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1rhwHo-002dTf-2n; Wed, 06 Mar 2024 19:46:41 +0100 From: Ahmad Fatoum To: distrokit@pengutronix.de Date: Wed, 6 Mar 2024 19:46:40 +0100 Message-Id: <20240306184640.628394-1-a.fatoum@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH] v7a: barebox: imx6: don't enable fastboot net by default X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ahmad Fatoum Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- .../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