Re: defconfig for panda

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 20, 2012 at 10:43 PM, Tony Lindgren <tony@xxxxxxxxxxx> wrote:
> * Matt Porter <mporter@xxxxxx> [120420 09:04]:
>> On Fri, Mar 30, 2012 at 02:39:32PM -0700, Tony Lindgren wrote:
>> > * Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> [120330 14:14]:
>> > >
>> > > On Mar 30, 2012, at 1:48 PM, Tony Lindgren wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > * Kumar Gala <galak@xxxxxxxxxxxxxxxxxxx> [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@xxxxxx>
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@xxxxxx>
---
 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: 0001-ARM-omap2plus_defconfig-Enable-ehci-omap-and-sms95xx.patch
Description: Binary data


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux