* [PATCH] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel
@ 2019-09-12 12:16 Leonard Crestez
2019-09-16 0:37 ` Peter Chen
2019-10-06 8:14 ` Shawn Guo
0 siblings, 2 replies; 3+ messages in thread
From: Leonard Crestez @ 2019-09-12 12:16 UTC (permalink / raw)
To: Peter Chen, Shawn Guo
Cc: Dong Aisheng, Fabio Estevam, linux-imx, kernel, linux-arm-kernel
Some imx chips don't have chips and a limited number of USB controllers.
For such cases NXP suggests configuring the USB controller as an
ethernet gadget for network boot testing.
Switch USB_CONFIGFS to be built into the kernel so that we can configure
the ethernet gadget without also deploying modules.
Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
---
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] 3+ messages in thread
* RE: [PATCH] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel
2019-09-12 12:16 [PATCH] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel Leonard Crestez
@ 2019-09-16 0:37 ` Peter Chen
2019-10-06 8:14 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Peter Chen @ 2019-09-16 0:37 UTC (permalink / raw)
To: Leonard Crestez, Shawn Guo
Cc: Aisheng Dong, Fabio Estevam, dl-linux-imx, kernel, linux-arm-kernel
>
> Some imx chips don't have chips and a limited number of USB controllers.
> For such cases NXP suggests configuring the USB controller as an ethernet gadget
> for network boot testing.
>
> Switch USB_CONFIGFS to be built into the kernel so that we can configure the
> ethernet gadget without also deploying modules.
>
Yes, it could support NFS using USB Ethernet Gadget if the board doesn't have local Ethernet.
Reviewed-by: Peter Chen <peter.chen@nxp.com>
Peter
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> ---
> 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] 3+ messages in thread
* Re: [PATCH] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel
2019-09-12 12:16 [PATCH] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel Leonard Crestez
2019-09-16 0:37 ` Peter Chen
@ 2019-10-06 8:14 ` Shawn Guo
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Guo @ 2019-10-06 8:14 UTC (permalink / raw)
To: Leonard Crestez
Cc: Dong Aisheng, Peter Chen, linux-imx, kernel, Fabio Estevam,
linux-arm-kernel
On Thu, Sep 12, 2019 at 03:16:39PM +0300, Leonard Crestez wrote:
> Some imx chips don't have chips
I cannot parse this. Do you mean 'don't have Ethernet controller'?
Shawn
> and a limited number of USB controllers.
> For such cases NXP suggests configuring the USB controller as an
> ethernet gadget for network boot testing.
>
> Switch USB_CONFIGFS to be built into the kernel so that we can configure
> the ethernet gadget without also deploying modules.
>
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> ---
> 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] 3+ messages in thread
end of thread, other threads:[~2019-10-06 8:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 12:16 [PATCH] imx_v6_v7_defconfig: Build USB_CONFIGFS into kernel Leonard Crestez
2019-09-16 0:37 ` Peter Chen
2019-10-06 8:14 ` 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).