All of lore.kernel.org
 help / color / mirror / Atom feed
* defconfig for panda
@ 2012-03-29 19:21 Kumar Gala
  2012-03-30 18:48 ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: Kumar Gala @ 2012-03-29 19:21 UTC (permalink / raw)
  To: linux-omap; +Cc: Felipe Balbi

As I'm new to the OMAP community this might be a stupid question but trying to just build and run a stock v3.3 kernel on a pandaboard.  In doing so it seems as if some basic drivers are not enabled in omap2plus_defconfig for the board.  I'm trying to figure out if this is normal for some reason or just an oversight.

For example, USB and USB ethernet (SMC95xx).  I notice the linaro kernel tree introduces an omap4_defconfig, so just wondering should I send patches to omap2plus_defconfig or what?

thanks

- k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defconfig for panda
  2012-03-29 19:21 defconfig for panda Kumar Gala
@ 2012-03-30 18:48 ` Tony Lindgren
  2012-03-30 21:11   ` Kumar Gala
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Lindgren @ 2012-03-30 18:48 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linux-omap, Felipe Balbi

Hi,

* Kumar Gala <galak@kernel.crashing.org> [120329 12:24]:
> As I'm new to the OMAP community this might be a stupid question but trying to just build and run a stock v3.3 kernel on a pandaboard.  In doing so it seems as if some basic drivers are not enabled in omap2plus_defconfig for the board.  I'm trying to figure out if this is normal for some reason or just an oversight.
> 
> For example, USB and USB ethernet (SMC95xx).  I notice the linaro kernel tree introduces an omap4_defconfig, so just wondering should I send patches to omap2plus_defconfig or what?

We can add those to omap2plus_defconfig for sure, but let's have
them added as modules. Then distros can use that easily in a
standard way using initramfs-tools etc.

Let's not change the drivers that are currently built in if they're
needed for mounting mmc or nfsroot. Those can be changed later on.

Regards,

Tony

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defconfig for panda
  2012-03-30 18:48 ` Tony Lindgren
@ 2012-03-30 21:11   ` Kumar Gala
  2012-03-30 21:39     ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: Kumar Gala @ 2012-03-30 21:11 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: linux-omap, Felipe Balbi


On Mar 30, 2012, at 1:48 PM, Tony Lindgren wrote:

> Hi,
> 
> * Kumar Gala <galak@kernel.crashing.org> [120329 12:24]:
>> As I'm new to the OMAP community this might be a stupid question but trying to just build and run a stock v3.3 kernel on a pandaboard.  In doing so it seems as if some basic drivers are not enabled in omap2plus_defconfig for the board.  I'm trying to figure out if this is normal for some reason or just an oversight.
>> 
>> For example, USB and USB ethernet (SMC95xx).  I notice the linaro kernel tree introduces an omap4_defconfig, so just wondering should I send patches to omap2plus_defconfig or what?
> 
> We can add those to omap2plus_defconfig for sure, but let's have
> them added as modules. Then distros can use that easily in a
> standard way using initramfs-tools etc.
> 
> Let's not change the drivers that are currently built in if they're
> needed for mounting mmc or nfsroot. Those can be changed later on.

I'll work up a patch, however I was doing this as I was trying to get NFS root working and thus would need USB + USB ethernet compiled in and not as modules for panda.  Is that ok?

- k

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defconfig for panda
  2012-03-30 21:11   ` Kumar Gala
@ 2012-03-30 21:39     ` Tony Lindgren
  2012-04-20 16:01       ` Matt Porter
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Lindgren @ 2012-03-30 21:39 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linux-omap, Felipe Balbi

* Kumar Gala <galak@kernel.crashing.org> [120330 14:14]:
> 
> On Mar 30, 2012, at 1:48 PM, Tony Lindgren wrote:
> 
> > Hi,
> > 
> > * Kumar Gala <galak@kernel.crashing.org> [120329 12:24]:
> >> As I'm new to the OMAP community this might be a stupid question but trying to just build and run a stock v3.3 kernel on a pandaboard.  In doing so it seems as if some basic drivers are not enabled in omap2plus_defconfig for the board.  I'm trying to figure out if this is normal for some reason or just an oversight.
> >> 
> >> For example, USB and USB ethernet (SMC95xx).  I notice the linaro kernel tree introduces an omap4_defconfig, so just wondering should I send patches to omap2plus_defconfig or what?
> > 
> > We can add those to omap2plus_defconfig for sure, but let's have
> > them added as modules. Then distros can use that easily in a
> > standard way using initramfs-tools etc.
> > 
> > Let's not change the drivers that are currently built in if they're
> > needed for mounting mmc or nfsroot. Those can be changed later on.
> 
> I'll work up a patch, however I was doing this as I was trying to get NFS root working and thus would need USB + USB ethernet compiled in and not as modules for panda.  Is that ok?

Maybe, let's take a look how much bigger the kernel becomes.
Also we need to check if the same EHCI configuration works
for omap3/4.

Tony

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defconfig for panda
  2012-03-30 21:39     ` Tony Lindgren
@ 2012-04-20 16:01       ` Matt Porter
  2012-04-20 17:13         ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: Matt Porter @ 2012-04-20 16:01 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Kumar Gala, linux-omap, Felipe Balbi

On Fri, Mar 30, 2012 at 02:39:32PM -0700, Tony Lindgren wrote:
> * Kumar Gala <galak@kernel.crashing.org> [120330 14:14]:
> > 
> > On Mar 30, 2012, at 1:48 PM, Tony Lindgren wrote:
> > 
> > > Hi,
> > > 
> > > * Kumar Gala <galak@kernel.crashing.org> [120329 12:24]:
> > >> As I'm new to the OMAP community this might be a stupid question but trying to just build and run a stock v3.3 kernel on a pandaboard.  In doing so it seems as if some basic drivers are not enabled in omap2plus_defconfig for the board.  I'm trying to figure out if this is normal for some reason or just an oversight.
> > >> 
> > >> For example, USB and USB ethernet (SMC95xx).  I notice the linaro kernel tree introduces an omap4_defconfig, so just wondering should I send patches to omap2plus_defconfig or what?
> > > 
> > > We can add those to omap2plus_defconfig for sure, but let's have
> > > them added as modules. Then distros can use that easily in a
> > > standard way using initramfs-tools etc.
> > > 
> > > Let's not change the drivers that are currently built in if they're
> > > needed for mounting mmc or nfsroot. Those can be changed later on.
> > 
> > I'll work up a patch, however I was doing this as I was trying to get NFS root working and thus would need USB + USB ethernet compiled in and not as modules for panda.  Is that ok?
> 
> Maybe, let's take a look how much bigger the kernel becomes.
> Also we need to check if the same EHCI configuration works
> for omap3/4.

FWIW, the same EHCI + SMSC95xx config is used for Beagle xM for
nfsroot. First thing I enable on any builds.

-Matt

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defconfig for panda
  2012-04-20 16:01       ` Matt Porter
@ 2012-04-20 17:13         ` Tony Lindgren
  2012-04-24  9:22           ` Raja, Govindraj
  0 siblings, 1 reply; 8+ messages in thread
From: Tony Lindgren @ 2012-04-20 17:13 UTC (permalink / raw)
  To: Matt Porter; +Cc: Kumar Gala, linux-omap, Felipe Balbi

* Matt Porter <mporter@ti.com> [120420 09:04]:
> On Fri, Mar 30, 2012 at 02:39:32PM -0700, Tony Lindgren wrote:
> > * Kumar Gala <galak@kernel.crashing.org> [120330 14:14]:
> > > 
> > > On Mar 30, 2012, at 1:48 PM, Tony Lindgren wrote:
> > > 
> > > > Hi,
> > > > 
> > > > * Kumar Gala <galak@kernel.crashing.org> [120329 12:24]:
> > > >> As I'm new to the OMAP community this might be a stupid question but trying to just build and run a stock v3.3 kernel on a pandaboard.  In doing so it seems as if some basic drivers are not enabled in omap2plus_defconfig for the board.  I'm trying to figure out if this is normal for some reason or just an oversight.
> > > >> 
> > > >> For example, USB and USB ethernet (SMC95xx).  I notice the linaro kernel tree introduces an omap4_defconfig, so just wondering should I send patches to omap2plus_defconfig or what?
> > > > 
> > > > We can add those to omap2plus_defconfig for sure, but let's have
> > > > them added as modules. Then distros can use that easily in a
> > > > standard way using initramfs-tools etc.
> > > > 
> > > > Let's not change the drivers that are currently built in if they're
> > > > needed for mounting mmc or nfsroot. Those can be changed later on.
> > > 
> > > I'll work up a patch, however I was doing this as I was trying to get NFS root working and thus would need USB + USB ethernet compiled in and not as modules for panda.  Is that ok?
> > 
> > Maybe, let's take a look how much bigger the kernel becomes.
> > Also we need to check if the same EHCI configuration works
> > for omap3/4.
> 
> FWIW, the same EHCI + SMSC95xx config is used for Beagle xM for
> nfsroot. First thing I enable on any builds.

OK, can somebody please do a minimal patch to omap2plus_defconfig
for this?

Basically run make savedefconfig with those changes added and
then diff against omap2plus_defconfig.

Tony

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: defconfig for panda
  2012-04-20 17:13         ` Tony Lindgren
@ 2012-04-24  9:22           ` Raja, Govindraj
  2012-05-08 22:04             ` Tony Lindgren
  0 siblings, 1 reply; 8+ messages in thread
From: Raja, Govindraj @ 2012-04-24  9:22 UTC (permalink / raw)
  To: Tony Lindgren; +Cc: Matt Porter, Kumar Gala, linux-omap, Felipe Balbi

[-- Attachment #1: Type: text/plain, Size: 3369 bytes --]

On Fri, Apr 20, 2012 at 10:43 PM, Tony Lindgren <tony@atomide.com> wrote:
> * Matt Porter <mporter@ti.com> [120420 09:04]:
>> On Fri, Mar 30, 2012 at 02:39:32PM -0700, Tony Lindgren wrote:
>> > * Kumar Gala <galak@kernel.crashing.org> [120330 14:14]:
>> > >
>> > > On Mar 30, 2012, at 1:48 PM, Tony Lindgren wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > * Kumar Gala <galak@kernel.crashing.org> [120329 12:24]:
>> > > >> As I'm new to the OMAP community this might be a stupid question but trying to just build and run a stock v3.3 kernel on a pandaboard.  In doing so it seems as if some basic drivers are not enabled in omap2plus_defconfig for the board.  I'm trying to figure out if this is normal for some reason or just an oversight.
>> > > >>
>> > > >> For example, USB and USB ethernet (SMC95xx).  I notice the linaro kernel tree introduces an omap4_defconfig, so just wondering should I send patches to omap2plus_defconfig or what?
>> > > >
>> > > > We can add those to omap2plus_defconfig for sure, but let's have
>> > > > them added as modules. Then distros can use that easily in a
>> > > > standard way using initramfs-tools etc.
>> > > >
>> > > > Let's not change the drivers that are currently built in if they're
>> > > > needed for mounting mmc or nfsroot. Those can be changed later on.
>> > >
>> > > I'll work up a patch, however I was doing this as I was trying to get NFS root working and thus would need USB + USB ethernet compiled in and not as modules for panda.  Is that ok?
>> >
>> > Maybe, let's take a look how much bigger the kernel becomes.
>> > Also we need to check if the same EHCI configuration works
>> > for omap3/4.
>>
>> FWIW, the same EHCI + SMSC95xx config is used for Beagle xM for
>> nfsroot. First thing I enable on any builds.
>
> OK, can somebody please do a minimal patch to omap2plus_defconfig
> for this?
>
> Basically run make savedefconfig with those changes added and
> then diff against omap2plus_defconfig.
>

I have not seen the patch to enable this on the list,
so here is the patch[1] to do the same.

--
Thanks,
Govindraj.R

[1]:


>From 2965cfb8c05003dba333963c6206b5457adad943 Mon Sep 17 00:00:00 2001
From: "Govindraj.R" <govindraj.raja@ti.com>
Date: Tue, 24 Apr 2012 14:41:53 +0530
Subject: [PATCH] ARM: omap2plus_defconfig: Enable ehci-omap and sms95xx
 support

Boards like beagle and panda use ehci based smsc95xx lan chips
one has to manually enable these supports to get nfs working
on these boards. So keep these support enable by default.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
---
 arch/arm/configs/omap2plus_defconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/omap2plus_defconfig
b/arch/arm/configs/omap2plus_defconfig
index d5f00d7..9854ff4 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -98,6 +98,7 @@ CONFIG_LIBERTAS_USB=m
 CONFIG_LIBERTAS_SDIO=m
 CONFIG_LIBERTAS_DEBUG=y
 CONFIG_USB_USBNET=y
+CONFIG_USB_NET_SMSC95XX=y
 CONFIG_USB_ALI_M5632=y
 CONFIG_USB_AN2720=y
 CONFIG_USB_EPSON2888=y
@@ -175,6 +176,7 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 CONFIG_USB_DEVICEFS=y
 CONFIG_USB_SUSPEND=y
 CONFIG_USB_MON=y
+CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_WDM=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_LIBUSUAL=y
-- 
1.7.9

[-- Attachment #2: 0001-ARM-omap2plus_defconfig-Enable-ehci-omap-and-sms95xx.patch --]
[-- Type: application/octet-stream, Size: 1197 bytes --]

From 2965cfb8c05003dba333963c6206b5457adad943 Mon Sep 17 00:00:00 2001
From: "Govindraj.R" <govindraj.raja@ti.com>
Date: Tue, 24 Apr 2012 14:41:53 +0530
Subject: [PATCH] ARM: omap2plus_defconfig: Enable ehci-omap and sms95xx
 support

Boards like beagle and panda use ehci based smsc95xx lan chips
one has to manually enable these supports to get nfs working
on these boards. So keep these support enable by default.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
---
 arch/arm/configs/omap2plus_defconfig |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index d5f00d7..9854ff4 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -98,6 +98,7 @@ CONFIG_LIBERTAS_USB=m
 CONFIG_LIBERTAS_SDIO=m
 CONFIG_LIBERTAS_DEBUG=y
 CONFIG_USB_USBNET=y
+CONFIG_USB_NET_SMSC95XX=y
 CONFIG_USB_ALI_M5632=y
 CONFIG_USB_AN2720=y
 CONFIG_USB_EPSON2888=y
@@ -175,6 +176,7 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
 CONFIG_USB_DEVICEFS=y
 CONFIG_USB_SUSPEND=y
 CONFIG_USB_MON=y
+CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_WDM=y
 CONFIG_USB_STORAGE=y
 CONFIG_USB_LIBUSUAL=y
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* Re: defconfig for panda
  2012-04-24  9:22           ` Raja, Govindraj
@ 2012-05-08 22:04             ` Tony Lindgren
  0 siblings, 0 replies; 8+ messages in thread
From: Tony Lindgren @ 2012-05-08 22:04 UTC (permalink / raw)
  To: Raja, Govindraj; +Cc: Matt Porter, Kumar Gala, linux-omap, Felipe Balbi

* Raja, Govindraj <govindraj.raja@ti.com> [120424 02:26]:
> On Fri, Apr 20, 2012 at 10:43 PM, Tony Lindgren <tony@atomide.com> wrote:
> > * Matt Porter <mporter@ti.com> [120420 09:04]:
> >> On Fri, Mar 30, 2012 at 02:39:32PM -0700, Tony Lindgren wrote:
> >> > * Kumar Gala <galak@kernel.crashing.org> [120330 14:14]:
> >>
> >> FWIW, the same EHCI + SMSC95xx config is used for Beagle xM for
> >> nfsroot. First thing I enable on any builds.
> >
> > OK, can somebody please do a minimal patch to omap2plus_defconfig
> > for this?
> >
> > Basically run make savedefconfig with those changes added and
> > then diff against omap2plus_defconfig.
> >
> 
> I have not seen the patch to enable this on the list,
> so here is the patch[1] to do the same.

Thanks applying into board branch.

Tony

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-08 22:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 19:21 defconfig for panda Kumar Gala
2012-03-30 18:48 ` Tony Lindgren
2012-03-30 21:11   ` Kumar Gala
2012-03-30 21:39     ` Tony Lindgren
2012-04-20 16:01       ` Matt Porter
2012-04-20 17:13         ` Tony Lindgren
2012-04-24  9:22           ` Raja, Govindraj
2012-05-08 22:04             ` Tony Lindgren

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.