Skip to contentSkip to conversation

u-boot: Rename recipe to u-boot-fsl

PATCH Superseded Andrei Gherzan 7 participants 40 messages Dec 14, 2012 – Dec 19, 2012 2 messages not in the archive

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 u-boot: Rename recipe to u-boot-fsl

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used.

Example:
*bsp fsl: uboot_2012.10
*bsp X: uboot_git
If a fsl machine is used, the picked uboot will be the one from bsp X
- git version which is wrong.

So naming will make things clearer and not error prone.

---
 .../{u-boot_2012.10.bb => u-boot-fsl_2012.10.bb}   |    0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-bsp/u-boot/{u-boot_2012.10.bb => u-boot-fsl_2012.10.bb} (100%)
recipes-bsp/u-boot/u-boot-fsl_2012.10.bb renamed from recipes-bsp/u-boot/u-boot_2012.10.bb +0 -0
similarity index 100%
rename from recipes-bsp/u-boot/u-boot_2012.10.bb
rename to recipes-bsp/u-boot/u-boot-fsl_2012.10.bb
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/3 u-boot-fsl: This recipe provides u-boot

---
 recipes-bsp/u-boot/u-boot-fsl_2012.10.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-bsp/u-boot/u-boot-fsl_2012.10.bb +3 -1
index 5ee6920..7db9339 100644
@@ -6,8 +6,10 @@ COMPATIBLE_MACHINE = "(imx28evk|mx3|mx5|mx6)"
 
 DEPENDS_mxs += "elftosb-native"
 
+PROVIDES += "u-boot"
+
 PV = "v2012.10"
-PR = "r1"
+PR = "r2"
 
 SRCREV = "8f78e9e9bd4c2471fdd03644058aed3038dcbf38"
 SRC_URI = "git://github.com/Freescale/u-boot-imx.git"
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 3/3 fsl-default-providers.inc: u-boot recipe was renamed to u-boot-fsl

In reply to Andrei Gherzan
---
 conf/machine/include/fsl-default-providers.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/machine/include/fsl-default-providers.inc +1 -1
index ef0805c..c1dadcf 100644
@@ -3,4 +3,4 @@
 PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-imx"
 PREFERRED_PROVIDER_linux-libc-headers ?= "linux-libc-headers-imx"
-PREFERRED_PROVIDER_u-boot ?= "u-boot"
+PREFERRED_PROVIDER_u-boot ?= "u-boot-fsl"
Signature · 1 line
1.7.9.5
#3 lore raw
In reply to Andrei Gherzan

Hey,

Can we have these 3 patches series merged in danny too?

ag

Quoted 33 lines · Andrei Gherzan

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used.

Example:
*bsp fsl: uboot_2012.10
*bsp X: uboot_git
If a fsl machine is used, the picked uboot will be the one from bsp X
- git version which is wrong.

So naming will make things clearer and not error prone.

---
 .../{u-boot_2012.10.bb => u-boot-fsl_2012.10.bb}   |    0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename recipes-bsp/u-boot/{u-boot_2012.10.bb => u-boot-fsl_2012.10.bb}

(100%)

recipes-bsp/u-boot/ renamed from recipes-bsp/u-boot/u-boot_2012.10.bb +0 -0

u-boot-fsl_2012.10.bb
similarity index 100%
rename from recipes-bsp/u-boot/u-boot_2012.10.bb rename to recipes-bsp/u-boot/u-boot-fsl_2012.10.bb --
1.7.9.5

_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#4 lore raw
Quoted 3 lines · Andrei Gherzan

Hey,

Can we have these 3 patches series merged in danny too?

Thanks for the patches. I haven't figured it before and it really makes sense.

Could you, please, send V2 using another name for recipe?

Daiane

#5 lore raw
Quoted 10 lines · Daiane Angolini
Quoted 4 lines · Andrei Gherzan

Hey,

Can we have these 3 patches series merged in danny too?

Thanks for the patches. I haven't figured it before and it really makes sense.

Could you, please, send V2 using another name for recipe?

Daiane,

Maybe the name choosen by Andrei could be kept. Let me explain ...

The point here is to avoid collision in namespace so the risk of someone providing u-boot-mainline in a BSP or internal layer is higher than u-boot-fsl and while this code is based on mainline code it has some patches specific for us (like the environment changes for OE).

What do you think?

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#6 lore raw
Quoted 15 lines · Otavio Salvador
Quoted 10 lines · Daiane Angolini
Quoted 4 lines · Andrei Gherzan

Hey,

Can we have these 3 patches series merged in danny too?

Thanks for the patches. I haven't figured it before and it really makes sense.

Could you, please, send V2 using another name for recipe?

Daiane,

Quoted 9 lines

Maybe the name choosen by Andrei could be kept. Let me explain ...

The point here is to avoid collision in namespace so the risk of someone providing u-boot-mainline in a BSP or internal layer is higher than u-boot-fsl and while this code is based on mainline code it has some patches specific for us (like the environment changes for OE).

What do you think?

Exactly my point. People use u-boot-mainline in other BSPs. ag

#7 lore raw
Quoted 1 line · Andrei Gherzan

Exactly my point. People use u-boot-mainline in other BSPs.

Another option for u-boot recipe naming would be u-boot-fsl-cmnt or u-boot-fslc for fsl community.

Daiane

#8 lore raw
Quoted 9 lines · Daiane Angolini
Quoted 2 lines · Andrei Gherzan

Exactly my point. People use u-boot-mainline in other BSPs.

Another option for u-boot recipe naming would be u-boot-fsl-cmnt or u-boot-fslc for fsl community.

+1 for fslc

ag

#9 lore raw
In reply to Otavio Salvador
Quoted 15 lines · Otavio Salvador
Quoted 10 lines · Daiane Angolini
Quoted 4 lines · Andrei Gherzan

Hey,

Can we have these 3 patches series merged in danny too?

Thanks for the patches. I haven't figured it before and it really makes sense.

Could you, please, send V2 using another name for recipe?

Daiane,

Quoted 8 lines

Maybe the name choosen by Andrei could be kept. Let me explain ...

The point here is to avoid collision in namespace so the risk of someone providing u-boot-mainline in a BSP or internal layer is higher than u-boot-fsl and while this code is based on mainline code it has some patches specific for us (like the environment changes for OE).

What do you think?

I don't agree u-boot-fsl is a good/clear name. But it's only a matter of naming. Anything else would be good. Let me explain:

currently we have:

1) u-boot from mainline plus some imx patches
2) u-boot from freescale (2009.08 - it's called u-boot-imx)

If there is any u-boot to be called FSL it would be the one provided by FSL.

So, I would propose

1) u-boot from mainline plus some imx patches = u-boot-imx
2) u-boot from freescale (2009.08) = u-boot-fsl

Or, in case you want to keep u-boot-imx as is, you can choose any other word to determinate 1), somethink like:

1) u-boot from mainline plus some imx patches = u-boot-github
2) u-boot from freescale (2009.08) = u-boot-imx

Daiane

#10 lore raw
In reply to Andrei Gherzan

recipes-bsp/u-boot/u-boot-fsl_2012.10.bb

Quoted 23 lines · Andrei Gherzan

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used.

Example:
*bsp fsl: uboot_2012.10
*bsp X: uboot_git
If a fsl machine is used, the picked uboot will be the one from bsp X
- git version which is wrong.

So naming will make things clearer and not error prone.

---
  .../{u-boot_2012.10.bb => u-boot-fsl_2012.10.bb}   |    0
  1 file changed, 0 insertions(+), 0 deletions(-)

rename recipes-bsp/u-boot/{u-boot_2012.10.bb => u-boot-fsl_2012.10.bb} (100%)

recipes-bsp/u-boot/u-boot-fsl_2012.10.bb renamed from recipes-bsp/u-boot/u-boot_2012.10.bb +0 -0
similarity index 100%
rename from recipes-bsp/u-boot/u-boot_2012.10.bb
rename to recipes-bsp/u-boot/u-boot-fsl_2012.10.bb

I would suggest you to use u-boot-mainline_2012.10

This source code is not provided by freescale.

Other option would be denx instead of mainline.

Daiane

#11 lore raw
In reply to Andrei Gherzan

Hi Andrei,

Quoted 5 lines · Andrei Gherzan

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used.

why don't you simply add a COMPATIBLE_MACHINE in the u-boot recipe ?

Eric

#12 lore raw
Quoted 5 lines · Eric Bénard

Hi Andrei,

Le Fri, 14 Dec 2012 13:57:12 +0200,
Andrei Gherzan <[email protected]> a écrit :

Quoted 7 lines
Quoted 5 lines

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used.

why don't you simply add a COMPATIBLE_MACHINE in the u-boot recipe ?

It's not about our layer. It's about making this work with layers which don't have that.

ag

#13 lore raw
Quoted 12 lines · Andrei Gherzan
Quoted 10 lines · Eric Bénard

Hi Andrei,

Quoted 5 lines · Andrei Gherzan

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used.

Quoted 6 lines
Quoted 2 lines

why don't you simply add a COMPATIBLE_MACHINE in the u-boot recipe ?

It's not about our layer. It's about making this work with layers which don't have that.

that don't have what ?

Eric

#14 lore raw
Quoted 17 lines · Eric Bénard
Quoted 9 lines · Andrei Gherzan
Quoted 7 lines · Eric Bénard

Hi Andrei,

Quoted 2 lines · Andrei Gherzan

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using

other

Quoted 1 line
Quoted 1 line
Quoted 1 line

bsp layers in conjunction to meta-fsl-arm where different u-boot

versions

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

but same uboot name are used.

Quoted 8 lines
Quoted 6 lines
Quoted 2 lines

why don't you simply add a COMPATIBLE_MACHINE in the u-boot recipe ?

It's not about our layer. It's about making this work with layers which don't have that.

that don't have what ?

COMPATIBLE_MACHINE in their recipes.

ag

#15 lore raw
Quoted 22 lines · Andrei Gherzan
Quoted 20 lines · Eric Bénard
Quoted 9 lines · Andrei Gherzan
Quoted 7 lines · Eric Bénard

Hi Andrei,

Quoted 2 lines · Andrei Gherzan

It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using

other

Quoted 1 line
Quoted 1 line
Quoted 1 line

bsp layers in conjunction to meta-fsl-arm where different u-boot

versions

Quoted 5 lines
Quoted 4 lines
Quoted 2 lines

but same uboot name are used.

why don't you simply add a COMPATIBLE_MACHINE in the u-boot recipe ?

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

It's not about our layer. It's about making this work with layers which don't have that.

that don't have what ?

COMPATIBLE_MACHINE in their recipes.

then these BSP need to be fixed, else you may also start to rename other recipes in meta-fsl-arm only because other BSP are faulty.

Eric

A message that is not in the archive (sent off-list or not yet received): CAK18fxF6VYBTZChgrO_n9PGge8tCWngyFPw=6JD+8sTBMPmeTQ@mail.gmail.com

#17 lore raw
Quoted 4 lines · Andrei Gherzan

What if uboot will have a git version in oe-core in the future? Or a greater one. How would you fix that? I still think this is a good longterm solution.

well, in that case the BSP recipe will be used as the layer has a higher priority.

And to not have this kind of issue, you can simpy add the following lines to your BSP's u-boot recipe :
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_machine = "1"

or simply change to a u-boot_git.bbappend to just append your machine specific changes to oe-core's default recipe.

or add something like this in your BSP conf file :
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto = "3.4%"

Check 1.2.9 in BSP Guide for examples on how this can be done (example for linux-yocto but the use case is the same here).

Eric

#18 lore raw
Quoted 17 lines · Eric Bénard
Quoted 4 lines · Andrei Gherzan

What if uboot will have a git version in oe-core in the future? Or a greater one. How would you fix that? I still think this is a good longterm solution.

well, in that case the BSP recipe will be used as the layer has a higher priority.

And to not have this kind of issue, you can simpy add the following lines to your BSP's u-boot recipe :
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_machine = "1"

or simply change to a u-boot_git.bbappend to just append your machine specific changes to oe-core's default recipe.

Quoted 6 lines

or add something like this in your BSP conf file :
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto = "3.4%"

Check 1.2.9 in BSP Guide for examples on how this can be done (example for linux-yocto but the use case is the same here).

I agree it is a possible way of doing it however I also think we should opt for a safe route.

The Andrei's proposal make it harder to it to behave strangely so I think it is a good option for long term. Another positive result of it is that the new name makes clear we're not really using u-boot mainline but mainline + patches. I support this change as it improves the clearness for new users.

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#19 lore raw
Quoted 25 lines · Otavio Salvador
Quoted 17 lines · Eric Bénard
Quoted 4 lines · Andrei Gherzan

What if uboot will have a git version in oe-core in the future? Or a greater one. How would you fix that? I still think this is a good longterm solution.

well, in that case the BSP recipe will be used as the layer has a higher priority.

And to not have this kind of issue, you can simpy add the following lines to your BSP's u-boot recipe :
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_machine = "1"

or simply change to a u-boot_git.bbappend to just append your machine specific changes to oe-core's default recipe.

Quoted 6 lines

or add something like this in your BSP conf file :
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto = "3.4%"

Check 1.2.9 in BSP Guide for examples on how this can be done (example for linux-yocto but the use case is the same here).

Quoted 9 lines

I agree it is a possible way of doing it however I also think we should opt for a safe route.

The Andrei's proposal make it harder to it to behave strangely so I think it is a good option for long term. Another positive result of it is that the new name makes clear we're not really using u-boot mainline but mainline + patches. I support this change as it improves the clearness for new users.

that's your choice but please note that you open the door to renaming any recipe :
- either to workaround a problem in an other (or in your own) layer instead of really solving it
- or simply each time you add a patch to a recipe which then becomes non mainline !

IMHO renaming the recipe is not the right way to do.

Eric

#20 lore raw
Quoted 37 lines · Eric Bénard
Quoted 25 lines · Otavio Salvador
Quoted 17 lines · Eric Bénard
Quoted 4 lines · Andrei Gherzan

What if uboot will have a git version in oe-core in the future? Or a greater one. How would you fix that? I still think this is a good longterm solution.

well, in that case the BSP recipe will be used as the layer has a higher priority.

And to not have this kind of issue, you can simpy add the following lines to your BSP's u-boot recipe :
DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_machine = "1"

or simply change to a u-boot_git.bbappend to just append your machine specific changes to oe-core's default recipe.

Quoted 6 lines

or add something like this in your BSP conf file :
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" PREFERRED_VERSION_linux-yocto = "3.4%"

Check 1.2.9 in BSP Guide for examples on how this can be done (example for linux-yocto but the use case is the same here).

Quoted 9 lines

I agree it is a possible way of doing it however I also think we should opt for a safe route.

The Andrei's proposal make it harder to it to behave strangely so I think it is a good option for long term. Another positive result of it is that the new name makes clear we're not really using u-boot mainline but mainline + patches. I support this change as it improves the clearness for new users.

Quoted 8 lines

that's your choice but please note that you open the door to renaming any recipe :
- either to workaround a problem in an other (or in your own) layer instead of really solving it
- or simply each time you add a patch to a recipe which then becomes non mainline !

IMHO renaming the recipe is not the right way to do.

The only two recipes which are in this set are:

u-boot
linux-mainline

So my proposal is to use:

u-boot-fslc
linux-fslc

What are people thoughts about it?

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#21 lore raw
Quoted 7 lines · Otavio Salvador
Quoted 1 line

IMHO renaming the recipe is not the right way to do.

The only two recipes which are in this set are:

u-boot
linux-mainline

Quoted 6 lines

So my proposal is to use:

u-boot-fslc
linux-fslc

What are people thoughts about it?

I see that we have 2 options.

One of then is the "most right" one - keep the name as is and teach everyone how to add a bbappend, and PREFERED_PROVIDER and DEFAULT_PREFERENCE for every single guy caming here because he has a u-boot recipe in their recipe.

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

Daiane

Daiane

#22 lore raw
Quoted 25 lines · Daiane Angolini
Quoted 9 lines · Otavio Salvador
Quoted 2 lines

IMHO renaming the recipe is not the right way to do.

The only two recipes which are in this set are:

u-boot
linux-mainline

Quoted 6 lines

So my proposal is to use:

u-boot-fslc
linux-fslc

What are people thoughts about it?

I see that we have 2 options.

One of then is the "most right" one - keep the name as is and teach everyone how to add a bbappend, and PREFERED_PROVIDER and DEFAULT_PREFERENCE for every single guy caming here because he has a u-boot recipe in their recipe.

Quoted 8 lines

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

I simpatize your interpretation and this is my point of view as well.

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#23 lore raw
Quoted 18 lines · Otavio Salvador
Quoted 15 lines · Daiane Angolini
Quoted 14 lines · Otavio Salvador
Quoted 2 lines

IMHO renaming the recipe is not the right way to do.

The only two recipes which are in this set are:

u-boot
linux-mainline

So my proposal is to use:

u-boot-fslc
linux-fslc

Quoted 7 lines
Quoted 7 lines
Quoted 1 line

What are people thoughts about it?

I see that we have 2 options.

One of then is the "most right" one - keep the name as is and teach

everyone

Quoted 2 lines
Quoted 2 lines

how to add a bbappend, and PREFERED_PROVIDER and DEFAULT_PREFERENCE for every single guy caming here because he has a u-boot recipe in their

recipe.

Quoted 2 lines
Quoted 2 lines

In the other hand, we may rename our u-boot recipe to

u-boot-somethingelse.

Quoted 1 line
Quoted 1 line

This way, we have to face less support, and no need to teach anyone how

to

Quoted 9 lines
Quoted 6 lines

fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

I simpatize your interpretation and this is my point of view as well.

Otavio can you just add a "c" to "fsl" or need a v2?

Ag

#24 lore raw
Quoted 39 lines · Andrei Gherzan
Quoted 38 lines · Otavio Salvador
Quoted 35 lines · Daiane Angolini
Quoted 9 lines · Otavio Salvador
Quoted 2 lines

IMHO renaming the recipe is not the right way to do.

The only two recipes which are in this set are:

u-boot
linux-mainline

Quoted 6 lines

So my proposal is to use:

u-boot-fslc
linux-fslc

What are people thoughts about it?

I see that we have 2 options.

One of then is the "most right" one - keep the name as is and teach everyone
how to add a bbappend, and PREFERED_PROVIDER and DEFAULT_PREFERENCE for every single guy caming here because he has a u-boot recipe in their recipe.

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse.
This way, we have to face less support, and no need to teach anyone how to
fix their layer.

How I'm lazy, I would choose the renaming option.

Quoted 7 lines
Quoted 5 lines
Quoted 2 lines

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

I simpatize your interpretation and this is my point of view as well.

Otavio can you just add a "c" to "fsl" or need a v2?

Please send a v2 with this. This would be easier for me.

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#25 lore raw
In reply to Daiane Angolini
Quoted 9 lines · Daiane Angolini

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

how often have you seen a support request concerning a u-boot problem here ?

BTW, you will have some issues if someone has a qt recipe or bbappend is its overlay so why don't you also rename qt to qt-fslc (espaciallyas you add a patch to it in meta-fsl-arm so it's no more mainline) ?

Eric

#26 lore raw
Quoted 11 lines · Eric Bénard
Quoted 9 lines · Daiane Angolini

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

Quoted 6 lines

how often have you seen a support request concerning a u-boot problem here ?

BTW, you will have some issues if someone has a qt recipe or bbappend is its overlay so why don't you also rename qt to qt-fslc (espaciallyas you add a patch to it in meta-fsl-arm so it's no more mainline) ?

The real difference here is how ofthen someone will need to override a qt recipe, for something board specific, and how ofthen it will be for u-boot/kernel. I bet the former will be much more rare.

Most BSP ports, for customers, will involve kernel and u-boot changes and ofthen enough you'll have an specific repository for your u-boot/kernel so an u-boot-<customer> will be common in internal BSPs and layers. We do it for our customers, I bet WR does the same.

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#27 lore raw
Quoted 15 lines · Otavio Salvador
Quoted 14 lines · Eric Bénard
Quoted 9 lines · Daiane Angolini

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

how often have you seen a support request concerning a u-boot problem here ?

Quoted 8 lines
Quoted 3 lines

BTW, you will have some issues if someone has a qt recipe or bbappend is its overlay so why don't you also rename qt to qt-fslc (espaciallyas you add a patch to it in meta-fsl-arm so it's no more mainline) ?

The real difference here is how ofthen someone will need to override a qt recipe, for something board specific, and how ofthen it will be for u-boot/kernel. I bet the former will be much more rare.

having a bbappend for qt is not rare especially when needing to customize qt's configuration.

Quoted 5 lines

Most BSP ports, for customers, will involve kernel and u-boot changes and ofthen enough you'll have an specific repository for your u-boot/kernel so an u-boot-<customer> will be common in internal BSPs and layers. We do it for our customers, I bet WR does the same.

that's the magic of oe we can have very different way to handle a same problem.

Eric

A message that is not in the archive (sent off-list or not yet received): CA+jg_OWZpR7iazC=anVXbFFbzm8jV5O-f1ZwOoTuC3a3j-kzTA@mail.gmail.com

#29 lore raw

PATCH 1/3 u-boot: Rename recipe to u-boot-fsl

Em 14/12/2012 16:22, "Eric Bénard" <[email protected]> escreveu:

Quoted 30 lines
Quoted 15 lines · Otavio Salvador
Quoted 14 lines · Eric Bénard
Quoted 9 lines · Daiane Angolini

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

how often have you seen a support request concerning a u-boot problem here ?

Quoted 8 lines
Quoted 3 lines

BTW, you will have some issues if someone has a qt recipe or bbappend is its overlay so why don't you also rename qt to qt-fslc (espaciallyas you add a patch to it in meta-fsl-arm so it's no more mainline) ?

The real difference here is how ofthen someone will need to override a qt recipe, for something board specific, and how ofthen it will be for u-boot/kernel. I bet the former will be much more rare.

having a bbappend for qt is not rare especially when needing to customize qt's configuration.

Quoted 7 lines
Quoted 5 lines

Most BSP ports, for customers, will involve kernel and u-boot changes and ofthen enough you'll have an specific repository for your u-boot/kernel so an u-boot-<customer> will be common in internal BSPs and layers. We do it for our customers, I bet WR does the same.

that's the magic of oe we can have very different way to handle a same problem.

I have one question. Why is there no "linux" recipe on meta-fsl-arm today?

I'm tryng to decide which side to choose.

(With the last argument Eric got me, but I'm trying to avoid a 2x2 scenario)

Daiane

#30 lore raw
Quoted 43 lines · Daiane Angolini

Em 14/12/2012 16:22, "Eric Bénard" <[email protected]> escreveu:

Quoted 7 lines
Quoted 3 lines · Otavio Salvador
Quoted 2 lines · Eric Bénard

Le Fri, 14 Dec 2012 14:50:07 -0200,
Daiane Angolini <[email protected]> a écrit :

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I

completely

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

understand the issue here, so I may be simplistic in my

interpretation.

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 1 line

how often have you seen a support request concerning a u-boot problem here ?

BTW, you will have some issues if someone has a qt recipe or

bbappend is

Quoted 1 line
Quoted 1 line
Quoted 1 line

its overlay so why don't you also rename qt to qt-fslc (espaciallyas

you

Quoted 9 lines
Quoted 6 lines
Quoted 1 line

add a patch to it in meta-fsl-arm so it's no more mainline) ?

The real difference here is how ofthen someone will need to override a qt recipe, for something board specific, and how ofthen it will be for u-boot/kernel. I bet the former will be much more rare.

having a bbappend for qt is not rare especially when needing to customize qt's configuration.

Quoted 7 lines
Quoted 5 lines

Most BSP ports, for customers, will involve kernel and u-boot changes and ofthen enough you'll have an specific repository for your u-boot/kernel so an u-boot-<customer> will be common in internal BSPs and layers. We do it for our customers, I bet WR does the same.

that's the magic of oe we can have very different way to handle a same problem.

Quoted 7 lines

I have one question. Why is there no "linux" recipe on meta-fsl-arm today?

I'm tryng to decide which side to choose.

(With the last argument Eric got me, but I'm trying to avoid a 2x2 scenario)

Your question is an argument for me.

ag

#31 lore raw
In reply to Daiane Angolini
Quoted 2 lines · Daiane Angolini

I have one question. Why is there no "linux" recipe on meta-fsl-arm today?

because Otavio named it linux-mainline when he created it.

Eric

#32 lore raw
In reply to Daiane Angolini
Quoted 36 lines · Daiane Angolini

Em 14/12/2012 16:22, "Eric Bénard" <[email protected]> escreveu:

Quoted 35 lines
Quoted 15 lines · Otavio Salvador
Quoted 14 lines · Eric Bénard
Quoted 9 lines · Daiane Angolini

In the other hand, we may rename our u-boot recipe to u-boot-somethingelse. This way, we have to face less support, and no need to teach anyone how to fix their layer.

How I'm lazy, I would choose the renaming option.

If I'm wrong on any point, please let me know. I'm not sure I completely understand the issue here, so I may be simplistic in my interpretation.

how often have you seen a support request concerning a u-boot problem here ?

Quoted 8 lines
Quoted 3 lines

BTW, you will have some issues if someone has a qt recipe or bbappend is its overlay so why don't you also rename qt to qt-fslc (espaciallyas you add a patch to it in meta-fsl-arm so it's no more mainline) ?

The real difference here is how ofthen someone will need to override a qt recipe, for something board specific, and how ofthen it will be for u-boot/kernel. I bet the former will be much more rare.

having a bbappend for qt is not rare especially when needing to customize qt's configuration.

Quoted 5 lines

Most BSP ports, for customers, will involve kernel and u-boot changes and ofthen enough you'll have an specific repository for your u-boot/kernel so an u-boot-<customer> will be common in internal BSPs and layers. We do it for our customers, I bet WR does the same.

Quoted 8 lines
Quoted 2 lines

that's the magic of oe we can have very different way to handle a same problem.

I have one question. Why is there no "linux" recipe on meta-fsl-arm today?

I'm tryng to decide which side to choose.

(With the last argument Eric got me, but I'm trying to avoid a 2x2 scenario)

Did you choose a side? :-)

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#33 lore raw

Hi,

Quoted 2 lines · Otavio Salvador

Did you choose a side? :-)

as I said to Andrei off list : if the comment was "rename u-boot to u-boot-fslc as we find it better to show that this recipe builds u-boot + freescale's patches", then that's a cosmetic choice and not a technical issue.

But the commit log is "It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used." : it is a false isssue and can be solved with an other way (more nice and clean IMHO) than renaming the recipe, especially with the example provided in the comment which clearly shows a problem in bsp X.
Getting this issue means bsp X's u-boot_git recipe which is not designed to properly work with other BSP (and so you can expect other issues with other recipes this BSP may include so in my daily usage, unless I have time to analyze all the files in this BSP X, I would certainly exclude it from my common builds and keep it in its own build area to not take the risk to get unwanted changes from the faulty BSP).

I hope this is more clear now.

Eric

#34 lore raw
Quoted 10 lines · Eric Bénard

Hi,

Quoted 2 lines · Otavio Salvador

Did you choose a side? :-)

as I said to Andrei off list : if the comment was "rename u-boot to u-boot-fslc as we find it better to show that this recipe builds u-boot + freescale's patches", then that's a cosmetic choice and not a technical issue.

I should have choosen a better name when adding u-boot recipe; the u-boot name gives the wrong impression it takes the source from DENX (mainline) but it is not the case.

Quoted 4 lines

But the commit log is "It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used."

I agree it can be reworded.

Quoted 11 lines

: it is a
false isssue and can be solved with an other way (more nice and clean IMHO) than renaming the recipe, especially with the example provided in the comment which clearly shows a problem in bsp X.
Getting this issue means bsp X's u-boot_git recipe which is not designed to properly work with other BSP (and so you can expect other issues with other recipes this BSP may include so in my daily usage, unless I have time to analyze all the files in this BSP X, I would certainly exclude it from my common builds and keep it in its own build area to not take the risk to get unwanted changes from the faulty BSP).

Quoted 1 line

I hope this is more clear now.

Yes; I agree BSP X is broken but I'd also like to be clear about the u-boot and linux recipes not being pure mainline (yet).

So Andrei can reword the commit log (not suggesting BSP X or Y are right or wrong) but renaming for clearness. Can we go this route?

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#35 lore raw
Quoted 34 lines · Otavio Salvador
Quoted 10 lines · Eric Bénard

Hi,

Quoted 2 lines · Otavio Salvador

Did you choose a side? :-)

as I said to Andrei off list : if the comment was "rename u-boot to u-boot-fslc as we find it better to show that this recipe builds u-boot + freescale's patches", then that's a cosmetic choice and not a technical issue.

I should have choosen a better name when adding u-boot recipe; the u-boot name gives the wrong impression it takes the source from DENX (mainline) but it is not the case.

Quoted 4 lines

But the commit log is "It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used."

I agree it can be reworded.

Quoted 11 lines

: it is a
false isssue and can be solved with an other way (more nice and clean IMHO) than renaming the recipe, especially with the example provided in the comment which clearly shows a problem in bsp X.
Getting this issue means bsp X's u-boot_git recipe which is not designed to properly work with other BSP (and so you can expect other issues with other recipes this BSP may include so in my daily usage, unless I have time to analyze all the files in this BSP X, I would certainly exclude it from my common builds and keep it in its own build area to not take the risk to get unwanted changes from the faulty BSP).

Quoted 9 lines
Quoted 1 line

I hope this is more clear now.

Yes; I agree BSP X is broken but I'd also like to be clear about the u-boot and linux recipes not being pure mainline (yet).

So Andrei can reword the commit log (not suggesting BSP X or Y are right or wrong) but renaming for clearness. Can we go this route?

Roger and obeying... :)

ag

#36 lore raw
In reply to Otavio Salvador
Quoted 34 lines · Otavio Salvador
Quoted 10 lines · Eric Bénard

Hi,

Quoted 2 lines · Otavio Salvador

Did you choose a side? :-)

as I said to Andrei off list : if the comment was "rename u-boot to u-boot-fslc as we find it better to show that this recipe builds u-boot + freescale's patches", then that's a cosmetic choice and not a technical issue.

I should have choosen a better name when adding u-boot recipe; the u-boot name gives the wrong impression it takes the source from DENX (mainline) but it is not the case.

Quoted 4 lines

But the commit log is "It's not right to have a recipe named as uboot even if it uses a repo specific to freescale boards. This would lead to issues while using other bsp layers in conjunction to meta-fsl-arm where different u-boot versions but same uboot name are used."

I agree it can be reworded.

Quoted 11 lines

: it is a
false isssue and can be solved with an other way (more nice and clean IMHO) than renaming the recipe, especially with the example provided in the comment which clearly shows a problem in bsp X.
Getting this issue means bsp X's u-boot_git recipe which is not designed to properly work with other BSP (and so you can expect other issues with other recipes this BSP may include so in my daily usage, unless I have time to analyze all the files in this BSP X, I would certainly exclude it from my common builds and keep it in its own build area to not take the risk to get unwanted changes from the faulty BSP).

Quoted 7 lines
Quoted 1 line

I hope this is more clear now.

Yes; I agree BSP X is broken but I'd also like to be clear about the u-boot and linux recipes not being pure mainline (yet).

So Andrei can reword the commit log (not suggesting BSP X or Y are right or wrong) but renaming for clearness. Can we go this route?

I´m happy you decided what was the main problem of this situation.

Now I need to know how to name "linux-mainline". I´ve been cooking 3.7 recipe and I will send a patch in a while. I want to know how to name it.

I still think it´s weird not having a "u-boot" and a "linux" recipe. I was looking around other meta layers and everyone have it.

In the other hand, meta-fsl-arm does support 2 u-boots and 2 kernels (mainline and FSL), so, maybe having a description name for both would be better.

Daiane

#37 lore raw
Quoted 2 lines · Daiane Angolini

On Sat, Dec 15, 2012 at 4:33 PM, Otavio Salvador
<[email protected]> wrote:

...

Quoted 8 lines
Quoted 2 lines

So Andrei can reword the commit log (not suggesting BSP X or Y are right or wrong) but renaming for clearness. Can we go this route?

I´m happy you decided what was the main problem of this situation.

Now I need to know how to name "linux-mainline". I´ve been cooking 3.7 recipe and I will send a patch in a while. I want to know how to name it.

I'd say for you to call it linux-fslc as proposed for u-boot as well. So we'll be consistent regarding the recipes that use github as source.

Quoted 6 lines

I still think it´s weird not having a "u-boot" and a "linux" recipe. I was looking around other meta layers and everyone have it.

In the other hand, meta-fsl-arm does support 2 u-boots and 2 kernels (mainline and FSL), so, maybe having a description name for both would be better.

Yes; that's my thought too. I like to be clear about where to source come from and generic names goes in opposed direction.

Regards,

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br

#38 lore raw

Can we differentiate from u-boot fsl arm and ppc? Different teams produce the two versions.

-M

Quoted 37 lines · Otavio Salvador
Quoted 2 lines · Daiane Angolini

On Sat, Dec 15, 2012 at 4:33 PM, Otavio Salvador
<[email protected]> wrote:

...

Quoted 8 lines
Quoted 2 lines

So Andrei can reword the commit log (not suggesting BSP X or Y are right or wrong) but renaming for clearness. Can we go this route?

I´m happy you decided what was the main problem of this situation.

Now I need to know how to name "linux-mainline". I´ve been cooking 3.7 recipe and I will send a patch in a while. I want to know how to name it.

I'd say for you to call it linux-fslc as proposed for u-boot as well. So we'll be consistent regarding the recipes that use github as source.

Quoted 6 lines

I still think it´s weird not having a "u-boot" and a "linux" recipe. I was looking around other meta layers and everyone have it.

In the other hand, meta-fsl-arm does support 2 u-boots and 2 kernels (mainline and FSL), so, maybe having a description name for both would be better.

Yes; that's my thought too. I like to be clear about where to source come from and generic names goes in opposed direction.

Regards,

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
_______________________________________________
meta-freescale mailing list [email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

#40 lore raw
Quoted 8 lines · Otavio Salvador
Quoted 2 lines · On Wed, Dec 19, 2012 at 5:35 PM, McClintock Matthew-B29882…

Can we differentiate from u-boot fsl arm and ppc? Different teams produce the two versions.

We ended calling it u-boot-fslc; as fslc stands for Freescale Community as this is the one kept in github with mainline plus patches.

Do the FSL ARM folks produce another tree or use this one for OE related purposes?

Right now in meta-fsl-ppc we call ours 'u-boot' still even though it's DENX + non-upstreamed patches (that we still intend to upstream)

-M

#41 lore raw
Quoted 7 lines · On Wed, Dec 19, 2012 at 5:46 PM, McClintock Matthew-B29882…
Quoted 5 lines · Otavio Salvador
Quoted 2 lines · On Wed, Dec 19, 2012 at 5:35 PM, McClintock Matthew-B29882…

Can we differentiate from u-boot fsl arm and ppc? Different teams produce the two versions.

Quoted 6 lines
Quoted 3 lines

We ended calling it u-boot-fslc; as fslc stands for Freescale Community as this is the one kept in github with mainline plus patches.

Do the FSL ARM folks produce another tree or use this one for OE related purposes?

FSL ARM folks has u-boot-imx based in 2009 version of u-boot. This is the official u-boot version supported by then in their BSP but in fact all boards here default to u-boot-fslc in OE and we keep u-boot-imx only as fallback if someone needs.

Quoted 2 lines

Right now in meta-fsl-ppc we call ours 'u-boot' still even though it's DENX + non-upstreamed patches (that we still intend to upstream)

Yes, we had a heat discussion about it last days. We tried to avoid u-boot name so it is clear it is not DENX version and give a good example on how to have a specific version of u-boot packaged or developer will need to mangle with preferred versions and like. There's no right or wrong here but preference ...

--
Otavio Salvador O.S. Systems
E-mail: [email protected] http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br