All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alistair Francis <alistair@alistair23.me>
To: linux-kernel@vger.kernel.org, linux@armlinux.org.uk,
	s.hauer@pengutronix.de, shawnguo@kernel.org,
	linux-arm-kernel@lists.infradead.org
Cc: alistair23@gmail.com, Alistair Francis <alistair@alistair23.me>
Subject: [PATCH] ARM: imx_v6_v7_defconfig: Enable RDNIS by default
Date: Wed, 20 Apr 2022 22:27:28 +1000	[thread overview]
Message-ID: <20220420122728.510802-1-alistair@alistair23.me> (raw)

Supporting Ethernet over USB is very useful for debugging. This allows
debugging systems where the other networking (WiFi or Ethernet) doesn't come
up, while still allowing SSH access.

This is extreamly useful on the reMarkable 2 as it doesn't have UART RX
or a physical ethernet port. If WiFi doesn't work this is the next best
method to access the device.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
 arch/arm/configs/imx_v6_v7_defconfig | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index f7498df08dfe..f9ddaba1aad2 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -349,12 +349,16 @@ CONFIG_USB_CONFIGFS_F_UVC=y
 CONFIG_USB_CONFIGFS_F_PRINTER=y
 CONFIG_USB_ZERO=m
 CONFIG_USB_AUDIO=m
-CONFIG_USB_ETH=m
+CONFIG_USB_ETH=y
 CONFIG_USB_G_NCM=m
-CONFIG_USB_GADGETFS=m
-CONFIG_USB_FUNCTIONFS=m
+CONFIG_USB_GADGETFS=y
+CONFIG_USB_FUNCTIONFS=y
+CONFIG_USB_FUNCTIONFS_ETH=y
+CONFIG_USB_FUNCTIONFS_RNDIS=y
+CONFIG_USB_FUNCTIONFS_GENERIC=y
 CONFIG_USB_MASS_STORAGE=m
 CONFIG_USB_G_SERIAL=m
+CONFIG_USB_CDC_COMPOSITE=y
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
-- 
2.35.1


WARNING: multiple messages have this Message-ID (diff)
From: Alistair Francis <alistair@alistair23.me>
To: linux-kernel@vger.kernel.org, linux@armlinux.org.uk,
	s.hauer@pengutronix.de, shawnguo@kernel.org,
	linux-arm-kernel@lists.infradead.org
Cc: alistair23@gmail.com, Alistair Francis <alistair@alistair23.me>
Subject: [PATCH] ARM: imx_v6_v7_defconfig: Enable RDNIS by default
Date: Wed, 20 Apr 2022 22:27:28 +1000	[thread overview]
Message-ID: <20220420122728.510802-1-alistair@alistair23.me> (raw)

Supporting Ethernet over USB is very useful for debugging. This allows
debugging systems where the other networking (WiFi or Ethernet) doesn't come
up, while still allowing SSH access.

This is extreamly useful on the reMarkable 2 as it doesn't have UART RX
or a physical ethernet port. If WiFi doesn't work this is the next best
method to access the device.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
---
 arch/arm/configs/imx_v6_v7_defconfig | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index f7498df08dfe..f9ddaba1aad2 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -349,12 +349,16 @@ CONFIG_USB_CONFIGFS_F_UVC=y
 CONFIG_USB_CONFIGFS_F_PRINTER=y
 CONFIG_USB_ZERO=m
 CONFIG_USB_AUDIO=m
-CONFIG_USB_ETH=m
+CONFIG_USB_ETH=y
 CONFIG_USB_G_NCM=m
-CONFIG_USB_GADGETFS=m
-CONFIG_USB_FUNCTIONFS=m
+CONFIG_USB_GADGETFS=y
+CONFIG_USB_FUNCTIONFS=y
+CONFIG_USB_FUNCTIONFS_ETH=y
+CONFIG_USB_FUNCTIONFS_RNDIS=y
+CONFIG_USB_FUNCTIONFS_GENERIC=y
 CONFIG_USB_MASS_STORAGE=m
 CONFIG_USB_G_SERIAL=m
+CONFIG_USB_CDC_COMPOSITE=y
 CONFIG_MMC=y
 CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_PLTFM=y
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2022-04-20 12:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 12:27 Alistair Francis [this message]
2022-04-20 12:27 ` [PATCH] ARM: imx_v6_v7_defconfig: Enable RDNIS by default Alistair Francis
2022-05-05  1:52 ` Shawn Guo
2022-05-05  1:52   ` Shawn Guo

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=20220420122728.510802-1-alistair@alistair23.me \
    --to=alistair@alistair23.me \
    --cc=alistair23@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.