All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm][PATCH V2] machines: Add PREFERRED_PROVIDER for virtual/bootloader
@ 2013-10-17 19:18 Khem Raj
  2013-10-17 19:29 ` Daiane Angolini
  2013-10-18  3:02 ` Otavio Salvador
  0 siblings, 2 replies; 3+ messages in thread
From: Khem Raj @ 2013-10-17 19:18 UTC (permalink / raw)
  To: meta-freescale; +Cc: Khem Raj

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

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 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"
 
-- 
1.8.3.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-fsl-arm][PATCH V2] machines: Add PREFERRED_PROVIDER for virtual/bootloader
  2013-10-17 19:18 [meta-fsl-arm][PATCH V2] machines: Add PREFERRED_PROVIDER for virtual/bootloader Khem Raj
@ 2013-10-17 19:29 ` Daiane Angolini
  2013-10-18  3:02 ` Otavio Salvador
  1 sibling, 0 replies; 3+ messages in thread
From: Daiane Angolini @ 2013-10-17 19:29 UTC (permalink / raw)
  To: Khem Raj, meta-freescale

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 <raj.khem@gmail.com>
> ---
>   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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-fsl-arm][PATCH V2] machines: Add PREFERRED_PROVIDER for virtual/bootloader
  2013-10-17 19:18 [meta-fsl-arm][PATCH V2] machines: Add PREFERRED_PROVIDER for virtual/bootloader Khem Raj
  2013-10-17 19:29 ` Daiane Angolini
@ 2013-10-18  3:02 ` Otavio Salvador
  1 sibling, 0 replies; 3+ messages in thread
From: Otavio Salvador @ 2013-10-18  3:02 UTC (permalink / raw)
  To: Khem Raj; +Cc: meta-freescale@yoctoproject.org

On Thu, Oct 17, 2013 at 4:18 PM, Khem Raj <raj.khem@gmail.com> 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
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>

Applied in dora and master.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-10-18  3:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-17 19:18 [meta-fsl-arm][PATCH V2] machines: Add PREFERRED_PROVIDER for virtual/bootloader Khem Raj
2013-10-17 19:29 ` Daiane Angolini
2013-10-18  3:02 ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.