From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 11 Mar 2024 13:06:58 +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 1rjeQk-00121J-2j for lore@lore.pengutronix.de; Mon, 11 Mar 2024 13:06:58 +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 1rjeQk-0000Mq-07; Mon, 11 Mar 2024 13:06:58 +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 1rjeQi-0000MY-Ia; Mon, 11 Mar 2024 13:06:56 +0100 Received: from [2a0a:edc0:2:b01:1d::c5] (helo=pty.whiteo.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 1rjeQi-005hmc-6E; Mon, 11 Mar 2024 13:06:56 +0100 Received: from rsc by pty.whiteo.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rjeQi-00CWq3-0M; Mon, 11 Mar 2024 13:06:56 +0100 Date: Mon, 11 Mar 2024 13:06:56 +0100 From: Robert Schwebel To: Ahmad Fatoum Message-ID: References: <20240306184640.628394-1-a.fatoum@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240306184640.628394-1-a.fatoum@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [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: distrokit@pengutronix.de 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 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 > --- > .../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 |