[meta-intel] [PATCH 1/1] emenlow-noemgd: create a new BSP

Kamble, Nitin A nitin.a.kamble at intel.com
Thu Jan 17 13:35:14 PST 2013



> -----Original Message-----
> From: Hart, Darren
> Sent: Thursday, January 17, 2013 11:42 AM
> To: Kamble, Nitin A
> Cc: Zanussi, Tom; meta-intel at yoctoproject.org
> Subject: Re: [PATCH 1/1] emenlow-noemgd: create a new BSP
> 
> On 01/17/2013 11:23 AM, nitin.a.kamble at intel.com wrote:
> > From: Nitin A Kamble <nitin.a.kamble at intel.com>
> >
> > This is based on the gma500/gma600 kernel driver and the modesetting X
> > driver for poulsbo graphics
> 
> Please ensure your commit logs wrap at a reasonable length. 72 is ideal.
> 
> >
> > The gma500 driver needs soft cursor in X.
> >
> > Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> > ---
> >  meta-emenlow/conf/machine/emenlow-noemgd.conf      |   17
> ++++++++++++
> >  .../formfactor/emenlow-noemgd/machconfig           |    3 ++
> >  .../xserver-xf86-config/emenlow-noemgd/xorg.conf   |   27
> ++++++++++++++++++++
> >  .../recipes-kernel/linux/linux-yocto_3.4.bbappend  |    9 ++++++
> >  4 files changed, 56 insertions(+), 0 deletions(-)  create mode 100644
> > meta-emenlow/conf/machine/emenlow-noemgd.conf
> >  create mode 100644
> > meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow-
> noemgd/machconf
> > ig  create mode 100644
> > meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-
> config/emenlow
> > -noemgd/xorg.conf
> >
> > diff --git a/meta-emenlow/conf/machine/emenlow-noemgd.conf
> > b/meta-emenlow/conf/machine/emenlow-noemgd.conf
> > new file mode 100644
> > index 0000000..6c36c85
> > --- /dev/null
> > +++ b/meta-emenlow/conf/machine/emenlow-noemgd.conf
> > @@ -0,0 +1,17 @@
> > +#@TYPE: Machine
> > +#@NAME: emenlow-noemgd
> > +
> > +#@WEBTITLE: Intel Atom Z5xx Processor With Intel US15W Controller Hub
> > +(eMenlow) with open source graphics
> > +
> > +#@DESCRIPTION: Machine configuration for eMenlow based systems, like
> > +the # Webs-2120 box, without the Intel-proprietary graphics bits
> 
> Why does WEBTITLE run on forever and DESCRIPTION wrap?
> 
> > +
> > +PREFERRED_VERSION_linux-yocto ?= "3.4%"
> > +
> > +require conf/machine/include/tune-atom.inc
> > +require conf/machine/include/ia32-base.inc
> > +
> > +XSERVER ?= "${XSERVER_IA32_BASE} \
> > +           ${XSERVER_IA32_EXT} \
> > +           ${XSERVER_IA32_MODESETTING} \
> > +           "
> > diff --git
> > a/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow-
> noemgd/machco
> > nfig
> > b/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow-
> noemgd/machco
> > nfig
> > new file mode 100644
> > index 0000000..ffce012
> > --- /dev/null
> > +++ b/meta-emenlow/recipes-bsp/formfactor/formfactor/emenlow-
> noemgd/ma
> > +++ chconfig
> > @@ -0,0 +1,3 @@
> > +# Assume a USB mouse and keyboard are connected
> > +HAVE_TOUCHSCREEN=0
> > +HAVE_KEYBOARD=1
> > diff --git
> > a/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-
> config/emenl
> > ow-noemgd/xorg.conf
> > b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-
> config/emenl
> > ow-noemgd/xorg.conf
> > new file mode 100644
> > index 0000000..aa6f32b
> > --- /dev/null
> > +++ b/meta-emenlow/recipes-graphics/xorg-xserver/xserver-xf86-
> config/e
> > +++ menlow-noemgd/xorg.conf
> > @@ -0,0 +1,27 @@
> > +Section "Device"
> > +    Identifier    "gma500"
> > +    Driver        "modesetting"
> > +    Option        "SWCursor"       "ON"
> > +EndSection
> > +
> > +Section "Monitor"
> > +    Identifier    "Generic Monitor"
> > +    Option        "DPMS"
> > +EndSection
> > +
> > +Section "Screen"
> > +    Identifier    "Default Screen"
> > +    Device	  "gma500"
> > +    Monitor       "Generic Monitor"
> > +    DefaultDepth  24
> > +EndSection
> > +
> > +Section "ServerLayout"
> > +    Identifier     "Default Layout"
> > +    Screen         "Default Screen"
> > +EndSection
> > +
> > +Section "ServerFlags"
> > +    Option        "DontZap"  "0"
> > +    Option        "AutoAddDevices"  "False"
> > +EndSection
> > diff --git
> > a/meta-emenlow/recipes-kernel/linux/linux-yocto_3.4.bbappend
> > b/meta-emenlow/recipes-kernel/linux/linux-yocto_3.4.bbappend
> > index 1e908b5..5679a52 100644
> > --- a/meta-emenlow/recipes-kernel/linux/linux-yocto_3.4.bbappend
> > +++ b/meta-emenlow/recipes-kernel/linux/linux-yocto_3.4.bbappend
> > @@ -5,8 +5,17 @@ KMACHINE_emenlow  = "emenlow"
> >  KBRANCH_emenlow  = "standard/emenlow"
> >  KERNEL_FEATURES_emenlow_append = " features/drm-emgd"
> >
> > +COMPATIBLE_MACHINE_emenlow-noemgd = "emenlow-noemgd"
> > +KMACHINE_emenlow-noemgd  = "emenlow"
> > +KBRANCH_emenlow-noemgd  = "standard/emenlow"
> > +KERNEL_FEATURES_emenlow-noemgd_append = " features/drm-
> gma500/drm-gma600"
> > +
> >  SRCREV_machine_pn-linux-yocto_emenlow ?= "${AUTOREV}"
> >  SRCREV_meta_pn-linux-yocto_emenlow ?= "${AUTOREV}"
> >  SRCREV_emgd_pn-linux-yocto_emenlow ?= "${AUTOREV}"
> >
> > +SRCREV_machine_pn-linux-yocto_emenlow-noemgd ?= "${AUTOREV}"
> > +SRCREV_meta_pn-linux-yocto_emenlow-noemgd ?= "${AUTOREV}"
> > +
> >  SRC_URI_emenlow =
> "git://${KSRC_linux_yocto_3_4_repo};nocheckout=1;branch=${KBRANCH},${
> KMETA},emgd-1.14;name=machine,meta,emgd"
> > +SRC_URI_emenlow-noemgd =
> "git://${KSRC_linux_yocto_3_4_repo};nocheckout=1;branch=${KBRANCH},${
> KMETA};name=machine,meta"
> >
> 
> The SRC_URI_emenlow-noemgd here look like they should be identical to
> the base linux-yocto recipe after our discussion of your previous patch series
> - meaning you shouldn't need to override it here, right?

Right, I will send another commit incorporating this feedback.
Nitin

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



More information about the meta-intel mailing list