From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe002.messaging.microsoft.com [213.199.154.205]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 251AEE01684 for ; Thu, 17 Oct 2013 12:34:20 -0700 (PDT) Received: from mail78-am1-R.bigfish.com (10.3.201.229) by AM1EHSOBE023.bigfish.com (10.3.207.145) with Microsoft SMTP Server id 14.1.225.22; Thu, 17 Oct 2013 19:34:18 +0000 Received: from mail78-am1 (localhost [127.0.0.1]) by mail78-am1-R.bigfish.com (Postfix) with ESMTP id CB9D4440119; Thu, 17 Oct 2013 19:34:18 +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(zzbb2dI98dI9371I1432Izz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h1de097h8275bhz2dh2a8h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dfeh1dffh1f5fh1fe8h1ff5h209eh1155h) Received: from mail78-am1 (localhost.localdomain [127.0.0.1]) by mail78-am1 (MessageSwitch) id 1382038457206929_30462; Thu, 17 Oct 2013 19:34:17 +0000 (UTC) Received: from AM1EHSMHS001.bigfish.com (unknown [10.3.201.242]) by mail78-am1.bigfish.com (Postfix) with ESMTP id 252954A010C; Thu, 17 Oct 2013 19:34:17 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS001.bigfish.com (10.3.207.101) with Microsoft SMTP Server (TLS) id 14.16.227.3; Thu, 17 Oct 2013 19:34:11 +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; Thu, 17 Oct 2013 19:34:10 +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 r9HJY8Zk027034; Thu, 17 Oct 2013 12:34:09 -0700 Message-ID: <52603A7C.1000800@freescale.com> Date: Thu, 17 Oct 2013 16:29:00 -0300 From: Daiane Angolini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Khem Raj , References: <1382037529-27210-1-git-send-email-raj.khem@gmail.com> In-Reply-To: <1382037529-27210-1-git-send-email-raj.khem@gmail.com> X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Subject: Re: [meta-fsl-arm][PATCH V2] machines: Add PREFERRED_PROVIDER for virtual/bootloader 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: Thu, 17 Oct 2013 19:34:23 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 10/17/2013 04:18 PM, Khem Raj wrote: > virtual/bootloader is a commonly used target. This patch > adds it for meta-fsl-arm machines. > > Other BSP layers have this provider and when using a mutli-machine > distro setup bitbake virtual/bootloader > builds a wrong u-boot for fsl machines Beautiful!!! Thanks a lot <3 > > Signed-off-by: Khem Raj > --- > conf/machine/imx6dlsabreauto.conf | 1 + > conf/machine/imx6solosabreauto.conf | 1 + > conf/machine/imx6solosabresd.conf | 1 + > conf/machine/include/fsl-default-providers.inc | 1 + > conf/machine/twr-vf65gs10.conf | 1 - > 5 files changed, 4 insertions(+), 1 deletion(-) > > diff --git a/conf/machine/imx6dlsabreauto.conf b/conf/machine/imx6dlsabreauto.conf > index bf31b4d..e0fb199 100644 > --- a/conf/machine/imx6dlsabreauto.conf > +++ b/conf/machine/imx6dlsabreauto.conf > @@ -10,6 +10,7 @@ SOC_FAMILY = "mx6:mx6dl" > KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb" > > PREFERRED_PROVIDER_u-boot = "u-boot-imx" > +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" > > UBOOT_CONFIG ??= "sd" > UBOOT_CONFIG[sd] = "mx6dlsabreauto_config,sdcard" > diff --git a/conf/machine/imx6solosabreauto.conf b/conf/machine/imx6solosabreauto.conf > index c2f5fac..9d450a4 100644 > --- a/conf/machine/imx6solosabreauto.conf > +++ b/conf/machine/imx6solosabreauto.conf > @@ -10,6 +10,7 @@ SOC_FAMILY = "mx6:mx6s" > KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb" > > PREFERRED_PROVIDER_u-boot = "u-boot-imx" > +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" > > UBOOT_CONFIG ??= "sd" > UBOOT_CONFIG[sd] = "mx6solosabreauto_config,sdcard" > diff --git a/conf/machine/imx6solosabresd.conf b/conf/machine/imx6solosabresd.conf > index 325e643..cfc30d2 100644 > --- a/conf/machine/imx6solosabresd.conf > +++ b/conf/machine/imx6solosabresd.conf > @@ -10,6 +10,7 @@ SOC_FAMILY = "mx6:mx6s" > KERNEL_DEVICETREE = "imx6dl-sabresd.dtb" > > PREFERRED_PROVIDER_u-boot = "u-boot-imx" > +PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" > > UBOOT_CONFIG ??= "sd" > UBOOT_CONFIG[sd] = "mx6solosabresd_config,sdcard" > diff --git a/conf/machine/include/fsl-default-providers.inc b/conf/machine/include/fsl-default-providers.inc > index de15189..e51ea72 100644 > --- a/conf/machine/include/fsl-default-providers.inc > +++ b/conf/machine/include/fsl-default-providers.inc > @@ -3,3 +3,4 @@ > PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" > PREFERRED_PROVIDER_virtual/kernel ?= "linux-imx" > PREFERRED_PROVIDER_u-boot ?= "u-boot-fslc" > +PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-fslc" > diff --git a/conf/machine/twr-vf65gs10.conf b/conf/machine/twr-vf65gs10.conf > index 00fdff4..f726ffa 100644 > --- a/conf/machine/twr-vf65gs10.conf > +++ b/conf/machine/twr-vf65gs10.conf > @@ -9,7 +9,6 @@ include conf/machine/include/tune-cortexa5.inc > SOC_FAMILY = "vf60" > > PREFERRED_PROVIDER_virtual/kernel = "linux-timesys" > -PREFERRED_PROVIDER_u-boot = "u-boot-fslc" > > UBOOT_MACHINE = "vf610twr_config" > > -- Daiane