On Mon, 2013-10-07 at 10:19 +0800, [email protected] wrote: > From: "Chang, Rebecca Swee Fun" <[email protected]> > > To create Baytrail platform cfg & scc files under meta branch >
Hi, Are all the kernel options mentioned here in the linux-yocto-3.8 repo? i.e. if I wanted to build a BSP using these config fragments, would I be able to, or did I miss those patches? Normally, when submitting a new BSP, you should also submit the kernel patches that go with it as well as the oe metadata e.g. the meta-intel layer, so that people can build and test it out. >From a quick glance at this, though, I see that EMGD is essentially hard-coded into the BSP (as well as i915 too) - did you look at the current BSPs in meta-intel that add EMGD conditionally as a kernel feature? I think that someone should be able to build a baytrail BSP without having to use EMGD. Tom > Signed-off-by: Chang, Rebecca Swee Fun <[email protected]> > --- > .../bsp/baytrail/baytrail-preempt-rt.scc | 16 +++++++ > .../bsp/baytrail/baytrail-standard.scc | 15 ++++++ > meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg | 49 > ++++++++++++++++++++ > meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc | 24 ++++++++++ > .../bsp/baytrail/baytrail32-preempt-rt.scc | 16 +++++++ > .../bsp/baytrail/baytrail32-standard.scc | 15 ++++++ > meta/cfg/kernel-cache/bsp/baytrail/baytrail32.scc | 24 ++++++++++ > .../kernel-cache/features/embedded-io-byt/gpio.cfg | 3 ++ > .../kernel-cache/features/embedded-io-byt/gpio.scc | 1 + > 9 files changed, 163 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 > create mode 100644 meta/cfg/kernel-cache/features/embedded-io-byt/gpio.cfg > create mode 100644 meta/cfg/kernel-cache/features/embedded-io-byt/gpio.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 0000000..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 0000000..a0f27e0 > --- /dev/null > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail-standard.scc > @@ -0,0 +1,15 @@ > +define KMACHINE baytrail > +define KTYPE standard > +define KARCH x86_64 > + > +include ktypes/standard/standard.scc > + > +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 0000000..c0f5607 > --- /dev/null > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail.cfg > @@ -0,0 +1,49 @@ > +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_ATA=y > +CONFIG_ATA_GENERIC=y > +CONFIG_CHR_DEV_SG=y > +CONFIG_SATA_AHCI=y > + > +CONFIG_SOUND=y > +CONFIG_SND=y > +CONFIG_SND_HDA_INTEL=y > + > +CONFIG_BACKLIGHT_LCD_SUPPORT=y > +CONFIG_BACKLIGHT_CLASS_DEVICE=y > + > +# Make sure these are on, otherwise the bootup won't be fun > +CONFIG_DRM=y > +CONFIG_DRM_EMGD=y > + > +CONFIG_DW_DMAC=y > +CONFIG_DW_DMAC_PCI=y > + > +CONFIG_SERIAL_8250_DW=y > + > +CONFIG_SPI_PXA2XX_DMA=y > +CONFIG_SPI_PXA2XX=y > +CONFIG_SPI_PXA2XX_PCI=y > + > +CONFIG_I2C_DESIGNWARE_CORE=y > +CONFIG_I2C_DESIGNWARE_PLATFORM=y > +CONFIG_I2C_DESIGNWARE_PCI=y > + > +CONFIG_MMC=y > +CONFIG_MMC_SDHCI=y > +CONFIG_MMC_SDHCI_PCI=y > +CONFIG_MMC_SDHCI_ACPI=y > diff --git a/meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc > b/meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc > new file mode 100644 > index 0000000..4563d25 > --- /dev/null > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail.scc > @@ -0,0 +1,24 @@ > +kconf hardware baytrail.cfg > + > +include cfg/x86_64.scc > +include cfg/efi.scc > +include cfg/dmaengine.scc > +include cfg/8250.scc > + > +include features/embedded-io-byt/gpio.scc > + > +include features/power/intel.scc > + > +include features/i2c/i2c.scc > +include features/i2c/i2cdev.scc > + > +include features/i915/i915.scc > + > +include features/intel-e1xxxx/intel-e100.scc > +include features/intel-e1xxxx/intel-e1xxxx.scc > + > +include features/spi/spi.scc > +include features/spi/spidev.scc > + > +include features/usb/ehci-hcd.scc > +include features/usb/xhci-hcd.scc > diff --git a/meta/cfg/kernel-cache/bsp/baytrail/baytrail32-preempt-rt.scc > b/meta/cfg/kernel-cache/bsp/baytrail/baytrail32-preempt-rt.scc > new file mode 100644 > index 0000000..477f6ed > --- /dev/null > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail32-preempt-rt.scc > @@ -0,0 +1,16 @@ > +define KMACHINE baytrail32 > +define KTYPE preempt-rt > +define KARCH i386 > + > +# no new branch required, re-use the ktypes/preempt-rt/preempt-rt.scc branch > +include ktypes/preempt-rt/preempt-rt.scc > + > +include baytrail32.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/baytrail32-standard.scc > b/meta/cfg/kernel-cache/bsp/baytrail/baytrail32-standard.scc > new file mode 100644 > index 0000000..eb966e8 > --- /dev/null > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail32-standard.scc > @@ -0,0 +1,15 @@ > +define KMACHINE baytrail32 > +define KTYPE standard > +define KARCH i386 > + > +include ktypes/standard/standard.scc > + > +include baytrail32.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/baytrail32.scc > b/meta/cfg/kernel-cache/bsp/baytrail/baytrail32.scc > new file mode 100644 > index 0000000..7665c90 > --- /dev/null > +++ b/meta/cfg/kernel-cache/bsp/baytrail/baytrail32.scc > @@ -0,0 +1,24 @@ > +kconf hardware baytrail.cfg > + > +include cfg/x86.scc > +include cfg/efi.scc > +include cfg/dmaengine.scc > +include cfg/8250.scc > + > +include features/embedded-io-byt/gpio.scc > + > +include features/power/intel.scc > + > +include features/i2c/i2c.scc > +include features/i2c/i2cdev.scc > + > +include features/i915/i915.scc > + > +include features/intel-e1xxxx/intel-e100.scc > +include features/intel-e1xxxx/intel-e1xxxx.scc > + > +include features/spi/spi.scc > +include features/spi/spidev.scc > + > +include features/usb/ehci-hcd.scc > +include features/usb/xhci-hcd.scc > diff --git a/meta/cfg/kernel-cache/features/embedded-io-byt/gpio.cfg > b/meta/cfg/kernel-cache/features/embedded-io-byt/gpio.cfg > new file mode 100644 > index 0000000..acf600f > --- /dev/null > +++ b/meta/cfg/kernel-cache/features/embedded-io-byt/gpio.cfg > @@ -0,0 +1,3 @@ > +CONFIG_GPIOLIB=y > +CONFIG_GPIO_BYT=y > +CONFIG_GPIO_BYT_DEVICE=y > diff --git a/meta/cfg/kernel-cache/features/embedded-io-byt/gpio.scc > b/meta/cfg/kernel-cache/features/embedded-io-byt/gpio.scc > new file mode 100644 > index 0000000..e1f4d2e > --- /dev/null > +++ b/meta/cfg/kernel-cache/features/embedded-io-byt/gpio.scc > @@ -0,0 +1 @@ > +kconf hardware gpio.cfg _______________________________________________ linux-yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/linux-yocto
