[linux-yocto] [PATCH 1/1] meta: add haswell platform scc & config files.

Bruce Ashfield bruce.ashfield at windriver.com
Wed Sep 11 01:00:00 PDT 2013


On 13-09-09 11:32 PM, boon.leong.ong at intel.com wrote:
> From: Ong Boon Leong <boon.leong.ong at intel.com>
>
> To create haswell & its associated scc & cfg files under meta branch
>
> Signed-off-by Ong Boon Leong <boon.leong.ong at intel.com>
> ---
>   .../haswellplatform/haswellplatform-preempt-rt.scc |   15 +++++++++
>   .../haswellplatform/haswellplatform-standard.scc   |   14 +++++++++
>   .../bsp/haswellplatform/haswellplatform.cfg        |   33 ++++++++++++++++++++
>   .../bsp/haswellplatform/haswellplatform.scc        |   11 +++++++
>   4 files changed, 73 insertions(+)
>   create mode 100644 meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform-preempt-rt.scc
>   create mode 100644 meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform-standard.scc
>   create mode 100644 meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform.cfg
>   create mode 100644 meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform.scc
>
> diff --git a/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform-preempt-rt.scc
> new file mode 100644
> index 0000000..d6ec74a
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform-preempt-rt.scc
> @@ -0,0 +1,15 @@
> +define KMACHINE haswellplatform
> +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 bsp/common-pc-64/common-pc-64.scc
> +
> +include haswellplatform.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/haswellplatform/haswellplatform-standard.scc b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform-standard.scc
> new file mode 100644
> index 0000000..f7909f4
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform-standard.scc
> @@ -0,0 +1,14 @@
> +define KMACHINE haswellplatform
> +define KTYPE standard
> +define KARCH x86_64
> +
> +include bsp/common-pc-64/common-pc-64-standard.scc
> +branch haswellplatform
> +
> +include haswellplatform.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/haswellplatform/haswellplatform.cfg b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform.cfg
> new file mode 100644
> index 0000000..f6fcb79
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform.cfg
> @@ -0,0 +1,33 @@
> +CONFIG_PRINTK=y
> +CONFIG_PRINTK_TIME=y
> +
> +# Basic hardware support for the box - network, PCI, sound
> +CONFIG_NETDEVICES=y
> +CONFIG_ATA=y
> +CONFIG_ATA_GENERIC=y
> +CONFIG_ATA_SFF=y
> +CONFIG_SATA_AHCI=y
> +CONFIG_PCI=y
> +CONFIG_PCIEPORTBUS=y
> +CONFIG_NET=y
> +CONFIG_CHR_DEV_SG=y
> +CONFIG_SOUND=y
> +CONFIG_SND=y
> +CONFIG_SND_HDA_INTEL=y
> +CONFIG_SND_HDA_CODEC_REALTEK=y
> +CONFIG_LPC_ICH=y
> +
> +# Make sure these are on, otherwise the bootup won't be fun
> +CONFIG_UNIX=y
> +CONFIG_INET=y
> +CONFIG_MODULES=y
> +CONFIG_SHMEM=y
> +CONFIG_TMPFS=y
> +CONFIG_PACKET=y

These can be dropped from new configs, we've confirmed that they are all in
the base / policy fragments.

Cheers,

Bruce

> +
> +CONFIG_I2C=y
> +CONFIG_I2C_I801=m
> +CONFIG_I2C_CHARDEV=y
> +CONFIG_AGP=y
> +CONFIG_PM=y
> +CONFIG_INPUT=y
> diff --git a/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform.scc b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform.scc
> new file mode 100644
> index 0000000..817f871
> --- /dev/null
> +++ b/meta/cfg/kernel-cache/bsp/haswellplatform/haswellplatform.scc
> @@ -0,0 +1,11 @@
> +kconf hardware haswellplatform.cfg
> +
> +include cfg/x86_64.scc
> +include features/i915/i915.scc
> +include cfg/8250.scc
> +include features/power/intel.scc
> +
> +include features/usb/xhci-hcd.scc
> +include features/usb/ehci-hcd.scc
> +include features/igb/igb.scc
> +
>




More information about the linux-yocto mailing list