[linux-yocto] [PATCH 2/2] common-pc-64: add kernel CONFIG options for sugarbay platform

2013-09-24 Thread nitin . a . kamble
From: Nitin A Kamble 

Add these Kernel driver config options for Sugarbay platform.

- i915 graphics
- 8250 serial port
- usb webcam drivers
- generic power management support to enable proper suspend/resume

Fixes Bug:
[YOCTO #5117]

Signed-off-by: Nitin A Kamble 
---
 meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc | 13 +
 1 file changed, 13 insertions(+)

diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc 
b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
index c841875..e98a254 100644
--- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
+++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
@@ -13,3 +13,16 @@ include features/usb/touchscreen-composite.scc
 include features/intel-e1/intel-e100.scc
 include features/intel-e1/intel-e1.scc
 include features/scsi/cdrom.scc
+
+# generic power management
+include features/power/intel.scc
+
+# serial port
+include cfg/8250.scc
+
+# webcam
+include features/usb/usb-uvcvideo
+include features/media/v4l2
+
+# sugarbay graphics
+include features/i915/i915.scc
-- 
1.8.1.4

___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 0/2] suspend/resume bugfix for genericx86-64

2013-09-24 Thread nitin . a . kamble
From: Nitin A Kamble 

Here is a fix for suspend/resume bug for the genericx86-64 BSP. The missing
kernel driver config options are pulled in the BSP. Also the power/intel.cfg
config fragment is converted to use modules.

Thanks,
Nitin

The following changes since commit 4f689aa30a2c9cf5dceb2fa3696d2cb208ee9173:

  meta: remove ftrace/ftrace-disable feature (2013-09-17 23:20:39 -0400)

are available in the git repository at:

  git://git.yoctoproject.org/linux-yocto-contrib nitin/3.10-meta
  
http://git.yoctoproject.org/cgit.cgi/linux-yocto-contrib/log/?h=nitin/3.10-meta

Nitin A Kamble (2):
  features/power/intel.cfg: convert to modules
  common-pc-64: add kernel CONFIG options for sugarbay platform

 meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc | 13 +
 meta/cfg/kernel-cache/features/power/intel.cfg  | 12 ++--
 2 files changed, 19 insertions(+), 6 deletions(-)

-- 
1.8.1.4

___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 1/2] features/power/intel.cfg: convert to modules

2013-09-24 Thread nitin . a . kamble
From: Nitin A Kamble 

Convert all the "y" to "m" which can be converted.

Signed-off-by: Nitin A Kamble 
---
 meta/cfg/kernel-cache/features/power/intel.cfg | 12 ++--
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/meta/cfg/kernel-cache/features/power/intel.cfg 
b/meta/cfg/kernel-cache/features/power/intel.cfg
index 80ccbd9..b51c881 100644
--- a/meta/cfg/kernel-cache/features/power/intel.cfg
+++ b/meta/cfg/kernel-cache/features/power/intel.cfg
@@ -9,12 +9,12 @@ CONFIG_INOTIFY_USER=y
 
 # enable cpu frequency scaling and stats for powertop
 CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_STAT=y
-CONFIG_CPU_FREQ_TABLE=y
-CONFIG_X86_ACPI_CPUFREQ=y
-CONFIG_CPU_FREQ_GOV_ONDEMAND=y
-CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
-CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
+CONFIG_CPU_FREQ_STAT=m
+CONFIG_CPU_FREQ_TABLE=m
+CONFIG_X86_ACPI_CPUFREQ=m
+CONFIG_CPU_FREQ_GOV_ONDEMAND=m
+CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
+CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=m
 
 # enable power management debugging for tools like powertop
 CONFIG_PM_DEBUG=y
-- 
1.8.1.4

___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 1/1] common-pc-wifi.cfg: add support for broadcom wifi drivers

2013-09-24 Thread nitin . a . kamble
From: Nitin A Kamble 

Fixes Bug:
[YOCTO #5238]

Signed-off-by: Nitin A Kamble 
---
 meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg 
b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
index 1769b15..a19e028 100644
--- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
+++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
@@ -16,3 +16,9 @@ CONFIG_ATH9K=m
 
 CONFIG_RT2X00=m
 CONFIG_RT2800PCI=m
+
+CONFIG_BRCMUTIL=m
+CONFIG_BRCMSMAC=m
+CONFIG_BRCMFMAC=m
+CONFIG_BRCMFMAC_SDIO=y
+CONFIG_BRCMFMAC_USB=y
-- 
1.8.1.4

___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [PATCH 0/1] genericx86: add broadcom wifi drivers support

2013-09-24 Thread nitin . a . kamble
From: Nitin A Kamble 

This commit enables broadcom wifi driver modules for the genericx86 BSPs.

Thanks,
Nitin

The following changes since commit ba7add39d0c088bc5fc4acbbcdd9a3b4f79d1958:

  common-pc-64: add kernel CONFIG options for sugarbay platform (2013-09-24 
18:15:39 +)

are available in the git repository at:

  git://git.yoctoproject.org/linux-yocto-contrib nitin/3.10-meta
  
http://git.yoctoproject.org/cgit.cgi/linux-yocto-contrib/log/?h=nitin/3.10-meta

Nitin A Kamble (1):
  common-pc-wifi.cfg: add support for broadcom wifi drivers

 meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg | 6 ++
 1 file changed, 6 insertions(+)

-- 
1.8.1.4

___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 1/1] meta: add baytrail scc & config files

2013-09-24 Thread Darren Hart
Hi Rebecca,

Please see my comments below regarding several of the CONFIG options in
the baytrail.cfg fragment.

On Tue, 2013-09-24 at 11:11 +0800, rebecca.swee.fun.ch...@intel.com
wrote:
> From: "Chang, Rebecca Swee Fun" 
> 
> To create baytrail & its associated scc & cfg files under meta branch
> 
> Signed-off-by: Chang, Rebecca Swee Fun 
> ---
>  .../bsp/baytrail/baytrail-preempt-rt.scc   |   16 +
>  .../bsp/baytrail/baytrail-standard.scc |   16 +
>  meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg|   71 
> 
>  meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc|   16 +
>  .../bsp/baytrail/baytrail32-preempt-rt.scc |   16 +
>  .../bsp/baytrail/baytrail32-standard.scc   |   16 +
>  meta/cfg/kernel-cache/bsp/baytrail/baytrail32.scc  |   14 
>  7 files changed, 165 insertions(+)
>  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc
>  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc
>  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg
>  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc
>  create mode 100644 
> meta/cfg/kernel-cache/bsp/baytrail/baytrail32-preempt-rt.scc
>  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail32-standard.scc
>  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail32.scc
> 
> diff --git a/meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc 
> b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc
> new file mode 100644
> index 000..0513dab
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc
> @@ -0,0 +1,16 @@
> +define KMACHINE baytrail
> +define KTYPE preempt-rt
> +define KARCH x86_64
> +
> +# no new branch required, re-use the ktypes/preempt-rt/preempt-rt.scc branch
> +include ktypes/preempt-rt/preempt-rt.scc
> +
> +include baytrail.scc
> +
> +include cfg/efi-ext.scc
> +
> +# default policy for preempt-rt kernels
> +include cfg/usb-mass-storage.scc
> +include cfg/boot-live.scc
> +include features/latencytop/latencytop.scc
> +include features/profiling/profiling.scc
> diff --git a/meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc 
> b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc
> new file mode 100644
> index 000..609b580
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc
> @@ -0,0 +1,16 @@
> +define KMACHINE baytrail
> +define KTYPE standard
> +define KARCH x86_64
> +
> +include ktypes/standard/standard.scc
> +branch baytrail
> +
> +include baytrail.scc
> +
> +include cfg/efi-ext.scc
> +
> +# default policy for standard kernels
> +include cfg/usb-mass-storage.scc
> +include cfg/boot-live.scc
> +include features/latencytop/latencytop.scc
> +include features/profiling/profiling.scc
> diff --git a/meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg 
> b/meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg
> new file mode 100644
> index 000..bb6f2b8
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg
> @@ -0,0 +1,71 @@
> +CONFIG_MCORE2=y
> +CONFIG_X86_INTEL_LPSS=y
> +CONFIG_BYT_LPSS_BRD=y
> +CONFIG_PRINTK=y
> +CONFIG_PRINTK_TIME=y
> +
> +# Basic hardware support for the box - network, USB, PCI, sound
> +CONFIG_PM=y
> +CONFIG_ASPM=y
> +
> +CONFIG_PCI=y
> +CONFIG_PCIEPORTBUS=y
> +
> +CONFIG_INPUT=y
> +CONFIG_INPUT_EVDEV=y
> +
> +CONFIG_NET=y
> +CONFIG_NETDEVICES=y

These are part of base.cfg and should not be duplicated here.

> +
> +CONFIG_ATA=y
> +CONFIG_ATA_GENERIC=y

Is this needed?

> +CONFIG_ATA_SFF=y

Do you want to support legacy IDE and PATA devices on BayTrail SoCs ?

> +CONFIG_ATA_PIIX=y

Why do you need ATA_PIIX?


> +CONFIG_CHR_DEV_SG=y
> +CONFIG_SATA_AHCI=y
> +
> +CONFIG_SOUND=y
> +CONFIG_SND=y
> +CONFIG_SND_HDA_INTEL=y

This is fine, but ultimately this should be abstracted into a feature as
it is duplicated in at least 16 cfg files.

> +
> +CONFIG_BACKLIGHT_LCD_SUPPORT=y
> +CONFIG_BACKLIGHT_CLASS_DEVICE=y
> +
> +# Make sure these are on, otherwise the bootup won't be fun
> +CONFIG_UNIX=y
> +CONFIG_INET=y
> +CONFIG_MODULES=y

These are part of base.cfg and should not be duplicated here.

> +CONFIG_SHMEM=y

This is part of standard and should not be duplicated here

> +CONFIG_TMPFS=y

Part of base

> +CONFIG_PACKET=y

Part of base

> +
> +CONFIG_AGP=y
> +CONFIG_AGP_INTEL=y

Part of i915.cfg which should be enabled for Intel graphics platforms.

> +CONFIG_DRM=y
> +CONFIG_DRM_EMGD=y

There is a feature for EMGD, do not duplicate here.

> +
> +CONFIG_DW_DMAC=y
> +CONFIG_DW_DMAC_PCI=y

I'm not familiar with the DesignWare AHB DMA platform driver this is
something needed for BayTrail?

> +
> +CONFIG_SERIAL_8250_DW=y

This too?

> +
> +CONFIG_SPI=y
> +CONFIG_SPI_SPIDEV=y

There are spi and spidev features, please use those.

> +CONFIG_SPI_PXA2XX_DMA=y
> +CONFIG_SPI_PXA2XX=y
> +CONFIG_SPI_PXA2XX_PCI=y




> +
> +CONFIG_I2C=y
> +CONFIG_I2C_CHARDEV=y

See features i2c a

Re: [linux-yocto] [PATCH 1/1] common-pc-wifi.cfg: add support for broadcom wifi drivers

2013-09-24 Thread Darren Hart
On Tue, 2013-09-24 at 18:56 +, nitin.a.kam...@intel.com wrote:
> From: Nitin A Kamble 
> 
> Fixes Bug:
> [YOCTO #5238]
> 

Please provide a commit message.

Content looks fine.

> Signed-off-by: Nitin A Kamble 
> ---
>  meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg | 6 ++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg 
> b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
> index 1769b15..a19e028 100644
> --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
> +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
> @@ -16,3 +16,9 @@ CONFIG_ATH9K=m
>  
>  CONFIG_RT2X00=m
>  CONFIG_RT2800PCI=m
> +
> +CONFIG_BRCMUTIL=m
> +CONFIG_BRCMSMAC=m
> +CONFIG_BRCMFMAC=m
> +CONFIG_BRCMFMAC_SDIO=y
> +CONFIG_BRCMFMAC_USB=y

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 1/2] features/power/intel.cfg: convert to modules

2013-09-24 Thread Darren Hart
On Tue, 2013-09-24 at 18:23 +, nitin.a.kam...@intel.com wrote:
> From: Nitin A Kamble 
> 
> Convert all the "y" to "m" which can be converted.

We have been doing this for drivers as they may or may not be useful on
a given machine. However what is the motivation for converting these
to modules? Are these options not applicable to any BSP that includes
intel.cfg? Is there some significant size savings here?

--
Darren

> 
> Signed-off-by: Nitin A Kamble 
> ---
>  meta/cfg/kernel-cache/features/power/intel.cfg | 12 ++--
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/meta/cfg/kernel-cache/features/power/intel.cfg 
> b/meta/cfg/kernel-cache/features/power/intel.cfg
> index 80ccbd9..b51c881 100644
> --- a/meta/cfg/kernel-cache/features/power/intel.cfg
> +++ b/meta/cfg/kernel-cache/features/power/intel.cfg
> @@ -9,12 +9,12 @@ CONFIG_INOTIFY_USER=y
>  
>  # enable cpu frequency scaling and stats for powertop
>  CONFIG_CPU_FREQ=y
> -CONFIG_CPU_FREQ_STAT=y
> -CONFIG_CPU_FREQ_TABLE=y
> -CONFIG_X86_ACPI_CPUFREQ=y
> -CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> -CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
> +CONFIG_CPU_FREQ_STAT=m
> +CONFIG_CPU_FREQ_TABLE=m
> +CONFIG_X86_ACPI_CPUFREQ=m
> +CONFIG_CPU_FREQ_GOV_ONDEMAND=m
> +CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
> +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=m
>  
>  # enable power management debugging for tools like powertop
>  CONFIG_PM_DEBUG=y

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 2/2] common-pc-64: add kernel CONFIG options for sugarbay platform

2013-09-24 Thread Darren Hart
On Tue, 2013-09-24 at 18:23 +, nitin.a.kam...@intel.com wrote:
> From: Nitin A Kamble 
> 
> Add these Kernel driver config options for Sugarbay platform.
> 
> - i915 graphics
> - 8250 serial port
> - usb webcam drivers
> - generic power management support to enable proper suspend/resume
> 
> Fixes Bug:
> [YOCTO #5117]
> 
> Signed-off-by: Nitin A Kamble 
> ---
>  meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc | 13 +
>  1 file changed, 13 insertions(+)
> 
> diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc 
> b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> index c841875..e98a254 100644
> --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> @@ -13,3 +13,16 @@ include features/usb/touchscreen-composite.scc
>  include features/intel-e1/intel-e100.scc
>  include features/intel-e1/intel-e1.scc
>  include features/scsi/cdrom.scc
> +
> +# generic power management
> +include features/power/intel.scc
> +
> +# serial port
> +include cfg/8250.scc
> +
> +# webcam
> +include features/usb/usb-uvcvideo
> +include features/media/v4l2
> +

Please use the explicit path (including the .scc)

> +# sugarbay graphics
> +include features/i915/i915.scc

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 1/2] features/power/intel.cfg: convert to modules

2013-09-24 Thread Kamble, Nitin A


> -Original Message-
> From: linux-yocto-boun...@yoctoproject.org [mailto:linux-yocto-
> boun...@yoctoproject.org] On Behalf Of Darren Hart
> Sent: Tuesday, September 24, 2013 12:19 PM
> To: Development list for the linux-yocto*.git Linux kernel repositories
> Subject: Re: [linux-yocto] [PATCH 1/2] features/power/intel.cfg: convert to
> modules
> 
> On Tue, 2013-09-24 at 18:23 +, nitin.a.kam...@intel.com wrote:
> > From: Nitin A Kamble 
> >
> > Convert all the "y" to "m" which can be converted.
> 
> We have been doing this for drivers as they may or may not be useful on a
> given machine. However what is the motivation for converting these to
> modules? Are these options not applicable to any BSP that includes intel.cfg?
> Is there some significant size savings here?

This is not a strictly required change. As you mentioned that for genericx86 
BSPs
bunch of kernel config options are getting converted from "y" to "m". So, as I 
was
going through these configs, and could do the conversion easily alongside the
resume fix. I did not measure the impact on the kernel size, my guess is, not a
significant savings through these conversions.

So I am ok, if this commit is not accepted.

Thanks,
Nitin


> 
> --
> Darren
> 
> >
> > Signed-off-by: Nitin A Kamble 
> > ---
> >  meta/cfg/kernel-cache/features/power/intel.cfg | 12 ++--
> >  1 file changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/meta/cfg/kernel-cache/features/power/intel.cfg
> > b/meta/cfg/kernel-cache/features/power/intel.cfg
> > index 80ccbd9..b51c881 100644
> > --- a/meta/cfg/kernel-cache/features/power/intel.cfg
> > +++ b/meta/cfg/kernel-cache/features/power/intel.cfg
> > @@ -9,12 +9,12 @@ CONFIG_INOTIFY_USER=y
> >
> >  # enable cpu frequency scaling and stats for powertop
> > CONFIG_CPU_FREQ=y -CONFIG_CPU_FREQ_STAT=y -
> CONFIG_CPU_FREQ_TABLE=y
> > -CONFIG_X86_ACPI_CPUFREQ=y -
> CONFIG_CPU_FREQ_GOV_ONDEMAND=y
> > -CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
> > -CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
> > +CONFIG_CPU_FREQ_STAT=m
> > +CONFIG_CPU_FREQ_TABLE=m
> > +CONFIG_X86_ACPI_CPUFREQ=m
> > +CONFIG_CPU_FREQ_GOV_ONDEMAND=m
> > +CONFIG_CPU_FREQ_GOV_PERFORMANCE=m
> > +CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=m
> >
> >  # enable power management debugging for tools like powertop
> > CONFIG_PM_DEBUG=y
> 
> --
> Darren Hart
> Intel Open Source Technology Center
> Yocto Project - Linux Kernel
> 
> 
> ___
> linux-yocto mailing list
> linux-yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 2/2] common-pc-64: add kernel CONFIG options for sugarbay platform

2013-09-24 Thread Kamble, Nitin A


> -Original Message-
> From: linux-yocto-boun...@yoctoproject.org [mailto:linux-yocto-
> boun...@yoctoproject.org] On Behalf Of Darren Hart
> Sent: Tuesday, September 24, 2013 12:21 PM
> To: Development list for the linux-yocto*.git Linux kernel repositories
> Subject: Re: [linux-yocto] [PATCH 2/2] common-pc-64: add kernel CONFIG
> options for sugarbay platform
> 
> On Tue, 2013-09-24 at 18:23 +, nitin.a.kam...@intel.com wrote:
> > From: Nitin A Kamble 
> >
> > Add these Kernel driver config options for Sugarbay platform.
> >
> > - i915 graphics
> > - 8250 serial port
> > - usb webcam drivers
> > - generic power management support to enable proper suspend/resume
> >
> > Fixes Bug:
> > [YOCTO #5117]
> >
> > Signed-off-by: Nitin A Kamble 
> > ---
> >  meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc | 13
> +
> >  1 file changed, 13 insertions(+)
> >
> > diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> > index c841875..e98a254 100644
> > --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> > +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> > @@ -13,3 +13,16 @@ include features/usb/touchscreen-composite.scc
> >  include features/intel-e1/intel-e100.scc
> >  include features/intel-e1/intel-e1.scc
> >  include features/scsi/cdrom.scc
> > +
> > +# generic power management
> > +include features/power/intel.scc
> > +
> > +# serial port
> > +include cfg/8250.scc
> > +
> > +# webcam
> > +include features/usb/usb-uvcvideo
> > +include features/media/v4l2
> > +
> 
> Please use the explicit path (including the .scc)

Updated the commit in the contrib branch to use the full path with .scc.

Thanks,
Nitin


> 
> > +# sugarbay graphics
> > +include features/i915/i915.scc
> 
> --
> Darren Hart
> Intel Open Source Technology Center
> Yocto Project - Linux Kernel
> 
> 
> ___
> linux-yocto mailing list
> linux-yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/linux-yocto
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [Patch v2 1/1] common-pc-wifi.cfg: add support for broadcom wifi drivers

2013-09-24 Thread Darren Hart
On Tue, 2013-09-24 at 20:33 +, nitin.a.kam...@intel.com wrote:
> From: Nitin A Kamble 
> 
> This enables broadcom wifi driver modules for the common-pc(-64)
> machines.
> 
> Fixes Bug:
> [YOCTO #5238]
> 
> Signed-off-by: Nitin A Kamble 

Thanks Nitin,

Acked-by: Darren Hart 

> ---
>  meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg | 6 ++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg 
> b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
> index 1769b15..a19e028 100644
> --- a/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
> +++ b/meta/cfg/kernel-cache/bsp/common-pc/common-pc-wifi.cfg
> @@ -16,3 +16,9 @@ CONFIG_ATH9K=m
>  
>  CONFIG_RT2X00=m
>  CONFIG_RT2800PCI=m
> +
> +CONFIG_BRCMUTIL=m
> +CONFIG_BRCMSMAC=m
> +CONFIG_BRCMFMAC=m
> +CONFIG_BRCMFMAC_SDIO=y
> +CONFIG_BRCMFMAC_USB=y

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 2/2] common-pc-64: add kernel CONFIG options for sugarbay platform

2013-09-24 Thread Darren Hart
On Tue, 2013-09-24 at 20:41 +, Kamble, Nitin A wrote:
> 
> > -Original Message-
> > From: linux-yocto-boun...@yoctoproject.org [mailto:linux-yocto-
> > boun...@yoctoproject.org] On Behalf Of Darren Hart
> > Sent: Tuesday, September 24, 2013 12:21 PM
> > To: Development list for the linux-yocto*.git Linux kernel repositories
> > Subject: Re: [linux-yocto] [PATCH 2/2] common-pc-64: add kernel CONFIG
> > options for sugarbay platform
> > 
> > On Tue, 2013-09-24 at 18:23 +, nitin.a.kam...@intel.com wrote:
> > > From: Nitin A Kamble 
> > >
> > > Add these Kernel driver config options for Sugarbay platform.
> > >
> > > - i915 graphics
> > > - 8250 serial port
> > > - usb webcam drivers
> > > - generic power management support to enable proper suspend/resume
> > >
> > > Fixes Bug:
> > > [YOCTO #5117]
> > >
> > > Signed-off-by: Nitin A Kamble 
> > > ---
> > >  meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc | 13
> > +
> > >  1 file changed, 13 insertions(+)
> > >
> > > diff --git a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> > b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> > > index c841875..e98a254 100644
> > > --- a/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> > > +++ b/meta/cfg/kernel-cache/bsp/common-pc-64/common-pc-64.scc
> > > @@ -13,3 +13,16 @@ include features/usb/touchscreen-composite.scc
> > >  include features/intel-e1/intel-e100.scc
> > >  include features/intel-e1/intel-e1.scc
> > >  include features/scsi/cdrom.scc
> > > +
> > > +# generic power management
> > > +include features/power/intel.scc
> > > +
> > > +# serial port
> > > +include cfg/8250.scc
> > > +
> > > +# webcam
> > > +include features/usb/usb-uvcvideo
> > > +include features/media/v4l2
> > > +
> > 
> > Please use the explicit path (including the .scc)
> 
> Updated the commit in the contrib branch to use the full path with .scc.

Acked-by: Darren Hart 


-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


Re: [linux-yocto] [PATCH 1/1] meta: add baytrail scc & config files

2013-09-24 Thread Chang, Rebecca Swee Fun
Hi Darren,

Please see my replies below.

> -Original Message-
> From: Darren Hart [mailto:dvh...@linux.intel.com]
> Sent: 25 September, 2013 3:13 AM
> To: Development list for the linux-yocto*.git Linux kernel repositories
> Cc: Chang, Rebecca Swee Fun
> Subject: Re: [linux-yocto] [PATCH 1/1] meta: add baytrail scc & config files
> 
> Hi Rebecca,
> 
> Please see my comments below regarding several of the CONFIG options in
> the baytrail.cfg fragment.
> 
> On Tue, 2013-09-24 at 11:11 +0800, rebecca.swee.fun.ch...@intel.com
> wrote:
> > From: "Chang, Rebecca Swee Fun" 
> >
> > To create baytrail & its associated scc & cfg files under meta branch
> >
> > Signed-off-by: Chang, Rebecca Swee Fun
> > 
> > ---
> >  .../bsp/baytrail/baytrail-preempt-rt.scc   |   16 +
> >  .../bsp/baytrail/baytrail-standard.scc |   16 +
> >  meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg|   71
> 
> >  meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc|   16 +
> >  .../bsp/baytrail/baytrail32-preempt-rt.scc |   16 +
> >  .../bsp/baytrail/baytrail32-standard.scc   |   16 +
> >  meta/cfg/kernel-cache/bsp/baytrail/baytrail32.scc  |   14 
> >  7 files changed, 165 insertions(+)
> >  create mode 100644
> > meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc
> >  create mode 100644
> > meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc
> >  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg
> >  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc
> >  create mode 100644
> > meta/cfg/kernel-cache/bsp/baytrail/baytrail32-preempt-rt.scc
> >  create mode 100644
> > meta/cfg/kernel-cache/bsp/baytrail/baytrail32-standard.scc
> >  create mode 100644 meta/cfg/kernel-cache/bsp/baytrail/baytrail32.scc
> >
> > diff --git
> > a/meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc
> > b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc
> > new file mode 100644
> > index 000..0513dab
> > --- /dev/null
> > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-preempt-rt.scc
> > @@ -0,0 +1,16 @@
> > +define KMACHINE baytrail
> > +define KTYPE preempt-rt
> > +define KARCH x86_64
> > +
> > +# no new branch required, re-use the ktypes/preempt-rt/preempt-rt.scc
> > +branch include ktypes/preempt-rt/preempt-rt.scc
> > +
> > +include baytrail.scc
> > +
> > +include cfg/efi-ext.scc
> > +
> > +# default policy for preempt-rt kernels include
> > +cfg/usb-mass-storage.scc include cfg/boot-live.scc include
> > +features/latencytop/latencytop.scc
> > +include features/profiling/profiling.scc
> > diff --git a/meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc
> > b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc
> > new file mode 100644
> > index 000..609b580
> > --- /dev/null
> > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc
> > @@ -0,0 +1,16 @@
> > +define KMACHINE baytrail
> > +define KTYPE standard
> > +define KARCH x86_64
> > +
> > +include ktypes/standard/standard.scc
> > +branch baytrail
> > +
> > +include baytrail.scc
> > +
> > +include cfg/efi-ext.scc
> > +
> > +# default policy for standard kernels include
> > +cfg/usb-mass-storage.scc include cfg/boot-live.scc include
> > +features/latencytop/latencytop.scc
> > +include features/profiling/profiling.scc
> > diff --git a/meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg
> > b/meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg
> > new file mode 100644
> > index 000..bb6f2b8
> > --- /dev/null
> > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg
> > @@ -0,0 +1,71 @@
> > +CONFIG_MCORE2=y
> > +CONFIG_X86_INTEL_LPSS=y
> > +CONFIG_BYT_LPSS_BRD=y
> > +CONFIG_PRINTK=y
> > +CONFIG_PRINTK_TIME=y
> > +
> > +# Basic hardware support for the box - network, USB, PCI, sound
> > +CONFIG_PM=y CONFIG_ASPM=y
> > +
> > +CONFIG_PCI=y
> > +CONFIG_PCIEPORTBUS=y
> > +
> > +CONFIG_INPUT=y
> > +CONFIG_INPUT_EVDEV=y
> > +
> > +CONFIG_NET=y
> > + CONFIG_NETDEVICES=y
> 
> These are part of base.cfg and should not be duplicated here.

Noted. I will remove CONFIG_NET=y and CONFIG_NETDEVICES=y as they were 
duplicated.

> > +
> > +CONFIG_ATA=y
> > +CONFIG_ATA_GENERIC=y
> 
> Is this needed?

Yes.

> 
> > +CONFIG_ATA_SFF=y
> 
> Do you want to support legacy IDE and PATA devices on BayTrail SoCs ?

Noted and realized only CONFIG_SATA_AHCI is needed . I will remove 
CONFIG_ATA_SFF.

> 
> > +CONFIG_ATA_PIIX=y
> 
> Why do you need ATA_PIIX?

Noted as it is redundant, will remove it.

> 
> 
> > +CONFIG_CHR_DEV_SG=y
> > +CONFIG_SATA_AHCI=y
> > +
> > +CONFIG_SOUND=y
> > +CONFIG_SND=y
> > +CONFIG_SND_HDA_INTEL=y
> 
> This is fine, but ultimately this should be abstracted into a feature as it is
> duplicated in at least 16 cfg files.

For baytrail, we are supporting HAD and LPE Asoc. In future, yes, we will have 
a plan to move these to feature. 

> 
> > +
> > +CONFIG_BACKLIGHT_LCD_SUPPORT=y
> > +CONFIG_BACKLIGHT_CLASS_DEVICE=y
> > +
> > +# Make sure these are o