* [PATCH v2] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel
@ 2019-10-07 15:09 Leonard Crestez
2019-10-14 12:52 ` Shawn Guo
0 siblings, 1 reply; 2+ messages in thread
From: Leonard Crestez @ 2019-10-07 15:09 UTC (permalink / raw)
To: Shawn Guo
Cc: Dong Aisheng, Fabio Estevam, linux-imx, kernel, linux-arm-kernel
Some imx chips (6sll, 6ulz, 7ulp) don't have ethernet support and only a
limited number of USB controllers. For such cases NXP suggests
configuring the USB controller as an ethernet gadget for network boot
testing.
Set USB_CONFIGFS to be built into the kernel so that we can configure
the ethernet gadget without needing modules.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Peter Chen <peter.chen@nxp.com>
---
Changes since v1:
* Improve commit message (sorry for messing it up)
Link to v1: https://patchwork.kernel.org/patch/11142935/
arch/arm/configs/imx_v6_v7_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index ade4a2dd1a18..5debac5b038e 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -325,11 +325,11 @@ CONFIG_USB_TEST=m
CONFIG_USB_EHSET_TEST_FIXTURE=m
CONFIG_NOP_USB_XCEIV=y
CONFIG_USB_MXS_PHY=y
CONFIG_USB_GADGET=y
CONFIG_USB_FSL_USB2=y
-CONFIG_USB_CONFIGFS=m
+CONFIG_USB_CONFIGFS=y
CONFIG_USB_CONFIGFS_SERIAL=y
CONFIG_USB_CONFIGFS_ACM=y
CONFIG_USB_CONFIGFS_OBEX=y
CONFIG_USB_CONFIGFS_NCM=y
CONFIG_USB_CONFIGFS_ECM=y
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel
2019-10-07 15:09 [PATCH v2] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel Leonard Crestez
@ 2019-10-14 12:52 ` Shawn Guo
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2019-10-14 12:52 UTC (permalink / raw)
To: Leonard Crestez
Cc: Dong Aisheng, Fabio Estevam, linux-imx, kernel, linux-arm-kernel
On Mon, Oct 07, 2019 at 06:09:44PM +0300, Leonard Crestez wrote:
> Some imx chips (6sll, 6ulz, 7ulp) don't have ethernet support and only a
> limited number of USB controllers. For such cases NXP suggests
> configuring the USB controller as an ethernet gadget for network boot
> testing.
>
> Set USB_CONFIGFS to be built into the kernel so that we can configure
> the ethernet gadget without needing modules.
>
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> Reviewed-by: Peter Chen <peter.chen@nxp.com>
Added missing 'ARM: ' prefix and applied the patch.
Shawn
> ---
> Changes since v1:
> * Improve commit message (sorry for messing it up)
> Link to v1: https://patchwork.kernel.org/patch/11142935/
>
> arch/arm/configs/imx_v6_v7_defconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
> index ade4a2dd1a18..5debac5b038e 100644
> --- a/arch/arm/configs/imx_v6_v7_defconfig
> +++ b/arch/arm/configs/imx_v6_v7_defconfig
> @@ -325,11 +325,11 @@ CONFIG_USB_TEST=m
> CONFIG_USB_EHSET_TEST_FIXTURE=m
> CONFIG_NOP_USB_XCEIV=y
> CONFIG_USB_MXS_PHY=y
> CONFIG_USB_GADGET=y
> CONFIG_USB_FSL_USB2=y
> -CONFIG_USB_CONFIGFS=m
> +CONFIG_USB_CONFIGFS=y
> CONFIG_USB_CONFIGFS_SERIAL=y
> CONFIG_USB_CONFIGFS_ACM=y
> CONFIG_USB_CONFIGFS_OBEX=y
> CONFIG_USB_CONFIGFS_NCM=y
> CONFIG_USB_CONFIGFS_ECM=y
> --
> 2.17.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-14 12:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-07 15:09 [PATCH v2] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel Leonard Crestez
2019-10-14 12:52 ` Shawn Guo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).