lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220505015215.GG14615@dragon>
Date:   Thu, 5 May 2022 09:52:15 +0800
From:   Shawn Guo <shawnguo@...nel.org>
To:     Alistair Francis <alistair@...stair23.me>
Cc:     linux-kernel@...r.kernel.org, linux@...linux.org.uk,
        s.hauer@...gutronix.de, linux-arm-kernel@...ts.infradead.org,
        alistair23@...il.com
Subject: Re: [PATCH] ARM: imx_v6_v7_defconfig: Enable RDNIS by default

On Wed, Apr 20, 2022 at 10:27:28PM +1000, Alistair Francis wrote:
> 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.

This should be probably left to users to configure per their needs.  And
configfs might be the best default option.

Shawn

> 
> Signed-off-by: Alistair Francis <alistair@...stair23.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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ