* [PATCH] ARM: mxs_defconfig: Improve USB related support
@ 2012-09-25 2:53 Fabio Estevam
2012-09-25 8:00 ` Shawn Guo
0 siblings, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2012-09-25 2:53 UTC (permalink / raw)
To: linux-arm-kernel
From: Fabio Estevam <fabio.estevam@freescale.com>
Select the following USB related options:
- USB Video Class (webcam)
- USB Ethernet adapter
- Native language support (needed for mounting USB pen drives, for example)
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
arch/arm/configs/mxs_defconfig | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index 048aaca..da51790 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -61,6 +61,8 @@ CONFIG_MTD_NAND_GPMI_NAND=y
CONFIG_NETDEVICES=y
CONFIG_NET_ETHERNET=y
CONFIG_ENC28J60=y
+CONFIG_USB_USBNET=y
+CONFIG_USB_NET_SMSC95XX=y
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_WLAN is not set
@@ -106,6 +108,10 @@ CONFIG_SND_SOC_I2C_AND_SPI=y
CONFIG_SND_SOC_SGTL5000=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_MEDIA_SUPPORT=y
+CONFIG_MEDIA_CAMERA_SUPPORT=y
+CONFIG_MEDIA_USB_SUPPORT=y
+CONFIG_USB_VIDEO_CLASS=y
CONFIG_FB=y
CONFIG_FB_MXS=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
@@ -158,6 +164,10 @@ CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_ROOT_NFS=y
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_CODEPAGE_850=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NLS_ISO8859_15=y
CONFIG_PRINTK_TIME=y
CONFIG_FRAME_WARN=2048
CONFIG_MAGIC_SYSRQ=y
--
1.7.9.5
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] ARM: mxs_defconfig: Improve USB related support
2012-09-25 2:53 [PATCH] ARM: mxs_defconfig: Improve USB related support Fabio Estevam
@ 2012-09-25 8:00 ` Shawn Guo
2012-09-25 17:09 ` Marek Vasut
2012-09-25 17:29 ` Fabio Estevam
0 siblings, 2 replies; 5+ messages in thread
From: Shawn Guo @ 2012-09-25 8:00 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Sep 24, 2012 at 11:53:31PM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
>
> Select the following USB related options:
>
> - USB Video Class (webcam)
> - USB Ethernet adapter
> - Native language support (needed for mounting USB pen drives, for example)
I do not want defconfig/zImage get bloated by these features for
particular applications. We should try to maintain a minimum feature
set that takes care of mxs building and testing coverage. Anything
more than that can just be selected by custom configuration.
Shawn
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> arch/arm/configs/mxs_defconfig | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
> index 048aaca..da51790 100644
> --- a/arch/arm/configs/mxs_defconfig
> +++ b/arch/arm/configs/mxs_defconfig
> @@ -61,6 +61,8 @@ CONFIG_MTD_NAND_GPMI_NAND=y
> CONFIG_NETDEVICES=y
> CONFIG_NET_ETHERNET=y
> CONFIG_ENC28J60=y
> +CONFIG_USB_USBNET=y
> +CONFIG_USB_NET_SMSC95XX=y
> # CONFIG_NETDEV_1000 is not set
> # CONFIG_NETDEV_10000 is not set
> # CONFIG_WLAN is not set
> @@ -106,6 +108,10 @@ CONFIG_SND_SOC_I2C_AND_SPI=y
> CONFIG_SND_SOC_SGTL5000=y
> CONFIG_REGULATOR=y
> CONFIG_REGULATOR_FIXED_VOLTAGE=y
> +CONFIG_MEDIA_SUPPORT=y
> +CONFIG_MEDIA_CAMERA_SUPPORT=y
> +CONFIG_MEDIA_USB_SUPPORT=y
> +CONFIG_USB_VIDEO_CLASS=y
> CONFIG_FB=y
> CONFIG_FB_MXS=y
> CONFIG_BACKLIGHT_LCD_SUPPORT=y
> @@ -158,6 +164,10 @@ CONFIG_NFS_V3=y
> CONFIG_NFS_V3_ACL=y
> CONFIG_NFS_V4=y
> CONFIG_ROOT_NFS=y
> +CONFIG_NLS_CODEPAGE_437=y
> +CONFIG_NLS_CODEPAGE_850=y
> +CONFIG_NLS_ISO8859_1=y
> +CONFIG_NLS_ISO8859_15=y
> CONFIG_PRINTK_TIME=y
> CONFIG_FRAME_WARN=2048
> CONFIG_MAGIC_SYSRQ=y
> --
> 1.7.9.5
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ARM: mxs_defconfig: Improve USB related support
2012-09-25 8:00 ` Shawn Guo
@ 2012-09-25 17:09 ` Marek Vasut
2012-09-25 17:29 ` Fabio Estevam
1 sibling, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2012-09-25 17:09 UTC (permalink / raw)
To: linux-arm-kernel
Dear Shawn Guo,
> On Mon, Sep 24, 2012 at 11:53:31PM -0300, Fabio Estevam wrote:
> > From: Fabio Estevam <fabio.estevam@freescale.com>
> >
> > Select the following USB related options:
> >
> > - USB Video Class (webcam)
> > - USB Ethernet adapter
> > - Native language support (needed for mounting USB pen drives, for
> > example)
>
> I do not want defconfig/zImage get bloated by these features for
> particular applications. We should try to maintain a minimum feature
> set that takes care of mxs building and testing coverage. Anything
> more than that can just be selected by custom configuration.
You can't mount VFAT-formated flashdisc that way ... so your test-coverage
argument is invalid there.
> Shawn
>
> > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> > ---
> >
> > arch/arm/configs/mxs_defconfig | 10 ++++++++++
> > 1 file changed, 10 insertions(+)
> >
> > diff --git a/arch/arm/configs/mxs_defconfig
> > b/arch/arm/configs/mxs_defconfig index 048aaca..da51790 100644
> > --- a/arch/arm/configs/mxs_defconfig
> > +++ b/arch/arm/configs/mxs_defconfig
> > @@ -61,6 +61,8 @@ CONFIG_MTD_NAND_GPMI_NAND=y
> >
> > CONFIG_NETDEVICES=y
> > CONFIG_NET_ETHERNET=y
> > CONFIG_ENC28J60=y
> >
> > +CONFIG_USB_USBNET=y
> > +CONFIG_USB_NET_SMSC95XX=y
> >
> > # CONFIG_NETDEV_1000 is not set
> > # CONFIG_NETDEV_10000 is not set
> > # CONFIG_WLAN is not set
> >
> > @@ -106,6 +108,10 @@ CONFIG_SND_SOC_I2C_AND_SPI=y
> >
> > CONFIG_SND_SOC_SGTL5000=y
> > CONFIG_REGULATOR=y
> > CONFIG_REGULATOR_FIXED_VOLTAGE=y
> >
> > +CONFIG_MEDIA_SUPPORT=y
> > +CONFIG_MEDIA_CAMERA_SUPPORT=y
> > +CONFIG_MEDIA_USB_SUPPORT=y
> > +CONFIG_USB_VIDEO_CLASS=y
> >
> > CONFIG_FB=y
> > CONFIG_FB_MXS=y
> > CONFIG_BACKLIGHT_LCD_SUPPORT=y
> >
> > @@ -158,6 +164,10 @@ CONFIG_NFS_V3=y
> >
> > CONFIG_NFS_V3_ACL=y
> > CONFIG_NFS_V4=y
> > CONFIG_ROOT_NFS=y
> >
> > +CONFIG_NLS_CODEPAGE_437=y
> > +CONFIG_NLS_CODEPAGE_850=y
> > +CONFIG_NLS_ISO8859_1=y
> > +CONFIG_NLS_ISO8859_15=y
> >
> > CONFIG_PRINTK_TIME=y
> > CONFIG_FRAME_WARN=2048
> > CONFIG_MAGIC_SYSRQ=y
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ARM: mxs_defconfig: Improve USB related support
2012-09-25 8:00 ` Shawn Guo
2012-09-25 17:09 ` Marek Vasut
@ 2012-09-25 17:29 ` Fabio Estevam
2012-10-06 8:31 ` Shawn Guo
1 sibling, 1 reply; 5+ messages in thread
From: Fabio Estevam @ 2012-09-25 17:29 UTC (permalink / raw)
To: linux-arm-kernel
Hi Shawn,
On Tue, Sep 25, 2012 at 5:00 AM, Shawn Guo <shawn.guo@linaro.org> wrote:
> On Mon, Sep 24, 2012 at 11:53:31PM -0300, Fabio Estevam wrote:
>> From: Fabio Estevam <fabio.estevam@freescale.com>
>>
>> Select the following USB related options:
>>
>> - USB Video Class (webcam)
>> - USB Ethernet adapter
>> - Native language support (needed for mounting USB pen drives, for example)
>
> I do not want defconfig/zImage get bloated by these features for
> particular applications. We should try to maintain a minimum feature
> set that takes care of mxs building and testing coverage. Anything
> more than that can just be selected by custom configuration.
I didn't mean to bloat mxs_defconfig with these settings.
+CONFIG_USB_USBNET=y
+CONFIG_USB_NET_SMSC95XX=
are needed by mx23-olinuxino so that we can have network support and
can use NFS with this board.
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_CODEPAGE_850=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_NLS_ISO8859_1
is very useful, so that you can actually mount a USB media. We have
these options in imx_v4_v5_defconfig and imx_v6_v7_defconfig.
If you are not happy with the USB webcam config options, then I can remove it.
Is it OK to send a v2 with USBNET and Language support only?
Just trying to make it easier for the end users.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-06 8:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-25 2:53 [PATCH] ARM: mxs_defconfig: Improve USB related support Fabio Estevam
2012-09-25 8:00 ` Shawn Guo
2012-09-25 17:09 ` Marek Vasut
2012-09-25 17:29 ` Fabio Estevam
2012-10-06 8:31 ` 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).