From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe003.messaging.microsoft.com [213.199.154.206]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 57AFBE013AD for ; Fri, 6 Sep 2013 05:01:44 -0700 (PDT) Received: from mail7-am1-R.bigfish.com (10.3.201.241) by AM1EHSOBE017.bigfish.com (10.3.207.139) with Microsoft SMTP Server id 14.1.225.22; Fri, 6 Sep 2013 12:01:41 +0000 Received: from mail7-am1 (localhost [127.0.0.1]) by mail7-am1-R.bigfish.com (Postfix) with ESMTP id D7161460085; Fri, 6 Sep 2013 12:01:41 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -4 X-BigFish: VS-4(zzbb2dI98dI9371I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097h8275bhz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1fe8h1ff5h209eh1155h) Received: from mail7-am1 (localhost.localdomain [127.0.0.1]) by mail7-am1 (MessageSwitch) id 1378468900186153_28883; Fri, 6 Sep 2013 12:01:40 +0000 (UTC) Received: from AM1EHSMHS014.bigfish.com (unknown [10.3.201.232]) by mail7-am1.bigfish.com (Postfix) with ESMTP id 29CEF180063; Fri, 6 Sep 2013 12:01:40 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS014.bigfish.com (10.3.207.152) with Microsoft SMTP Server (TLS) id 14.16.227.3; Fri, 6 Sep 2013 12:01:35 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server (TLS) id 14.3.158.2; Fri, 6 Sep 2013 12:01:34 +0000 Received: from [10.29.244.63] ([10.29.244.63]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r86C1Wvn017019; Fri, 6 Sep 2013 05:01:32 -0700 Message-ID: <5229C333.20101@freescale.com> Date: Fri, 6 Sep 2013 08:57:39 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Alexandre Belloni References: <1378416122-16832-1-git-send-email-alexandre.belloni@free-electrons.com> <1378416122-16832-3-git-send-email-alexandre.belloni@free-electrons.com> In-Reply-To: <1378416122-16832-3-git-send-email-alexandre.belloni@free-electrons.com> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Cc: meta-freescale@yoctoproject.org, Maxime Ripard , jimwall@q.com, brian@crystalfontz.com Subject: Re: [meta-fsl-arm-extra][PATCH 2/8] cfa10036: split configuration X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 12:01:48 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 09/05/2013 06:21 PM, Alexandre Belloni wrote: > Introduce an include file to be able to support multiple boards using > the cfa10036 by reusing the imx-bootlets, barebox and kernel > configurations. > > Signed-off-by: Alexandre Belloni > --- > conf/machine/cfa10036.conf | 34 +--------------------------------- > conf/machine/include/cfa10036.inc | 30 ++++++++++++++++++++++++++++++ > 2 files changed, 31 insertions(+), 33 deletions(-) > create mode 100644 conf/machine/include/cfa10036.inc > > diff --git a/conf/machine/cfa10036.conf b/conf/machine/cfa10036.conf > index b7cdd8d..242d352 100644 > --- a/conf/machine/cfa10036.conf > +++ b/conf/machine/cfa10036.conf > @@ -3,36 +3,4 @@ > #@SOC: i.MX28 > #@DESCRIPTION: Machine configuration for CFA-10036 > > -include conf/machine/include/mxs-base.inc > - > -SOC_FAMILY = "mxs:mx28" > - > -PREFERRED_PROVIDER_virtual/kernel = "linux-cfa" > - > -IMAGE_BOOTLOADER = "barebox" > -BAREBOX_BINARY = "barebox" > - > -IMXBOOTLETS_MACHINE = "cfa10036" > - > -KERNEL_IMAGETYPE = "zImage" > -KERNEL_DEVICETREE = "imx28-cfa10036.dtb \ > - imx28-cfa10037.dtb \ > - imx28-cfa10049.dtb \ > - imx28-cfa10055.dtb \ > - imx28-cfa10056.dtb \ > - imx28-cfa10057.dtb \ > - imx28-cfa10058.dtb \ > -" > - > -# we need the kernel to be installed in the final image > -IMAGE_INSTALL_append = " kernel-image kernel-devicetree" > - > -SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" > -IMAGE_FSTYPES ?= "tar.bz2 ext3 barebox.mxsboot-sdcard sdcard" > - > -SERIAL_CONSOLE = "115200 ttyAMA0" > - > -MACHINE_FEATURES = "apm usbgadget usbhost vfat" > - > -# Gstreamer plugin > -MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin" > +include conf/machine/include/cfa10036.inc > diff --git a/conf/machine/include/cfa10036.inc b/conf/machine/include/cfa10036.inc > new file mode 100644 > index 0000000..0adea54 > --- /dev/null > +++ b/conf/machine/include/cfa10036.inc > @@ -0,0 +1,30 @@ > +# Common definitions for cfa-10036 boards > + > +include conf/machine/include/mxs-base.inc > + > +SOC_FAMILY = "mxs:mx28" > + > +MACHINEOVERRIDES =. "cfa10036:" > + > +PREFERRED_PROVIDER_virtual/kernel = "linux-cfa" > + > +IMAGE_BOOTLOADER = "barebox" > +BAREBOX_BINARY = "barebox" > + > +IMXBOOTLETS_MACHINE = "cfa10036" > + > +KERNEL_IMAGETYPE = "zImage" > +KERNEL_DEVICETREE = "imx28-cfa10036.dtb" Would KERNEL_DEVICETREE be part of the machine conf file? > + > +# we need the kernel to be installed in the final image > +IMAGE_INSTALL_append = " kernel-image kernel-devicetree" > + > +SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" > +IMAGE_FSTYPES ?= "tar.bz2 ext3 barebox.mxsboot-sdcard sdcard" > + > +SERIAL_CONSOLE = "115200 ttyAMA0" > + > +MACHINE_FEATURES = "apm usbgadget usbhost vfat" > + > +# Gstreamer plugin > +MACHINE_GSTREAMER_PLUGIN ?= "gst-fsl-plugin" > -- Daiane