base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
PATCH 1/1 base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
* Add support for using SOC_FAMILY in the COMPATIBLE_MACHINES setting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a family
--- classes/base.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
classes/base.bbclass +3 -1
@@ -389,7 +389,9 @@ python () { import re this_machine = bb.data.getVar('MACHINE', d, 1) if this_machine and not re.match(need_machine, this_machine): - raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) + this_soc_family = bb.data.getVar('SOC_FAMILY', d, 1) + if this_soc_family and not re.match(need_machine, this_soc_family): + raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) need_target = bb.data.getVar('COMPATIBLE_TARGET_SYS', d, 1) if need_target:
Signature · 1 line
1.7.0.4
Quoted 7 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a familySigned-off-by Chase Maupin <[email protected]>
While SOC_FAMILY feature is relatively new on its own, it was designed and now being extensively used with TI machines and corresponding recipes as an effective override - e.g. covering many OMAP3-based machines with a single VAR_omap3 = "VAL" expression.
Quoted 27 lines
--- classes/base.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)classes/base.bbclass +3
-1@@ -389,7 +389,9 @@ python () { import re this_machine = bb.data.getVar('MACHINE', d, 1) if this_machine and not re.match(need_machine, this_machine): - raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) + this_soc_family = bb.data.getVar('SOC_FAMILY', d, 1) + if this_soc_family and not re.match(need_machine, this_soc_family): + raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) need_target = bb.data.getVar('COMPATIBLE_TARGET_SYS', d, 1) if need_target:Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a family
Quoted 8 lines
Quoted 1 line
Signed-off-by Chase Maupin <[email protected]>While
SOC_FAMILYfeature is relatively new on its own, it was designed and now being extensively used with TI machines and corresponding recipes as an effective override - e.g. covering many OMAP3-based machines with a singleVAR_omap3= "VAL" expression.
So arch -> sub-arch -> soc ->machine seems to be the heirarchy. I would prefer to keep it per machine unless its too much clutter and we have so many machines specific recipes.
Quoted 33 lines
Quoted 28 lines
--- classes/base.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)classes/base.bbclass +3
-1@@ -389,7 +389,9 @@ python () { import re this_machine = bb.data.getVar('MACHINE', d, 1) if this_machine and not re.match(need_machine, this_machine): - raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) + this_soc_family = bb.data.getVar('SOC_FAMILY', d, 1) + if this_soc_family and not re.match(need_machine, this_soc_family): + raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) need_target = bb.data.getVar('COMPATIBLE_TARGET_SYS', d, 1) if need_target:Signature · 7 lines
1.7.0.4 _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
FWIW, minimal is using MACHINE_CLASS since quite a while to reduce the need for adding the same files over and over again, this is being used e.g. for HTC msm7 series and OpenEZX series (see conf/machine/include).
Perhaps it's time to standardize something like that.
Cheers,
Signature · 1 line
:M:
Quoted 6 lines · Michael 'Mickey' Lauer
FWIW, minimal is using
MACHINE_CLASSsince quite a while to reduce the need for adding the same files over and over again, this is being used e.g. for HTC msm7 series and OpenEZX series (see conf/machine/include).Perhaps it's time to standardize something like that.
Yeah. I certainly don't think we want a proliferation of such mechanisms. If minimal is already using MACHINE_CLASS then there would be some sense in trying to make use of the same thing.
My preference would be to make the MACHINEs in question be, for example, "motorola-ezx-a1200", "motorola-ezx-a780" and so on. This would then allow you to set COMPATIBLE_MACHINE = "motorola-ezx-.*" which I think would solve the SOC_FAMILY problem, although it wouldn't replace MACHINE_CLASS in OVERRIDES.
Failing that though, testing COMPATIBLE_MACHINE against MACHINE_CLASS probably is more desirable than adding a completely new variable (i.e. SOC_FAMILY) for that purpose.
p.
Quoted 16 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Phil Blundell
Sent: Wednesday, August 04, 2010 6:49 AM
To: [email protected]
Subject: Re: [oe] [PATCH] base.bbclass: add support forSOC_FAMILYinCOMPATIBLE_MACHINESQuoted 5 lines · Michael 'Mickey' Lauer
FWIW, minimal is using
MACHINE_CLASSsince quite a while to reduce the need for adding the same files over and over again, this is being used e.g. for HTC msm7 series and OpenEZX series (see conf/machine/include).
Quoted 5 lines
Quoted 1 line
Perhaps it's time to standardize something like that.
Yeah. I certainly don't think we want a proliferation of such mechanisms. If minimal is already using
MACHINE_CLASSthen there would be some sense in trying to make use of the same thing.
minimal doesn't use MACHINE_CLASS. Perhaps this is getting confused with distro/micro.conf.
Quoted 6 lines
My preference would be to make the MACHINEs in question be, for example, "motorola-ezx-a1200", "motorola-ezx-a780" and so on. This would then allow you to set
COMPATIBLE_MACHINE= "motorola-ezx-.*" which I think would solve theSOC_FAMILYproblem, although it wouldn't replaceMACHINE_CLASSin OVERRIDES.
Unfortunately we can't change the MACHINE names. They are set to correspond to the real device names and part numbers.
Quoted 4 lines
Failing that though, testing
COMPATIBLE_MACHINEagainstMACHINE_CLASSprobably is more desirable than adding a completely new variable (i.e.SOC_FAMILY) for that purpose.
From what I've learned it seems that MACHINE_CLASS and SOC_FAMILY are different in what they are trying to accomplish.
SOC_FAMILY is defining a family of processors and the features that processor has. Whereas MACHINE_CLASS is defining a type of device and its features which can use different processors. So basically SOC_FAMILY defines common processors and MACHINE_CLASS defines common end devices.
This difference is why SOC_FAMILY exists. We can have many processors that fit into an SOC_FAMILY that can be used across a variety of end applications from DVR to ip net camera to mobile phone.
Quoted 9 lines
p.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 8 lines · Chase
Quoted 4 lines
Failing that though, testing
COMPATIBLE_MACHINEagainstMACHINE_CLASSprobably is more desirable than adding a completely new variable (i.e.SOC_FAMILY) for that purpose.From what I've learned it seems that
MACHINE_CLASSandSOC_FAMILYare different in what they are trying to accomplish.
Quoted 8 lines
SOC_FAMILYis defining a family of processors and the features that processor has. WhereasMACHINE_CLASSis defining a type of device and its features which can use different processors. So basicallySOC_FAMILYdefines common processors andMACHINE_CLASSdefines common end devices.This difference is why
SOC_FAMILYexists. We can have many processors that fit into anSOC_FAMILYthat can be used across a variety of end applications from DVR to ip net camera to mobile phone.
I guess this conclusion was direved solely from the names of the respective variables. As technically both of them are exactly the same - a variable set in machine config or include file and used in OVERRIDES...
Signature · 1 line
Denys
Quoted 5 lines · Chase
From what I've learned it seems that
MACHINE_CLASSandSOC_FAMILYare different in what they are trying to accomplish.
SOC_FAMILYis defining a family of processors and the features that processor has. WhereasMACHINE_CLASSis defining a type of device and its features which can use different processors. So basicallySOC_FAMILYdefines common processors andMACHINE_CLASSdefines common end devices.This difference is why
SOC_FAMILYexists. We can have many processors that fit into anSOC_FAMILYthat can be used across a variety of end applications from DVR to ip net camera to mobile phone.
It's not completely obvious to me that, at the level of concrete semantics, there is any real difference between those two scenarios. If you consider a hardware design as being a black box which contains a bunch of features, the question of how exactly those features are partitioned between particular ICs seems more or less irrelevant.
It probably is true that there are multiple ways to carve up the universe of machines into different "family" sets, and it might well also be true that MACHINE_CLASS and SOC_FAMILY are currently using slightly different rules for that, but I remain to be convinced that both of them serve a useful and distinct purpose. If they do, that would suggest that what you really want to be using is MACHINE_FEATURES rather than having a different variable for each possible grouping.
p.
Quoted 8 lines · Phil Blundell
Quoted 6 lines · Michael 'Mickey' Lauer
FWIW, minimal is using
MACHINE_CLASSsince quite a while to reduce the need for adding the same files over and over again, this is being used e.g. for HTC msm7 series and OpenEZX series (see conf/machine/include).Perhaps it's time to standardize something like that.
Quoted 7 lines
Yeah. I certainly don't think we want a proliferation of such mechanisms. If minimal is already using
MACHINE_CLASSthen there would be some sense in trying to make use of the same thing.Failing that though, testing
COMPATIBLE_MACHINEagainstMACHINE_CLASSprobably is more desirable than adding a completely new variable (i.e.SOC_FAMILY) for that purpose.
Phil,
Re: "adding a completely new variable" - SOC_FAMILY has been in use for almost a year now. I'm hearing about MACHINE_CLASS for the first time, although it appears to be slightly older than SOC_FAMILY though. But it doesn't seem to be used anywhere besides in few machine configs and micro.conf. There are no recipes actually using it, unlike SOC_FAMILY...
I'm not saying one is better than the other (actually, unifying them would be nice), I'm just saying it's too late to object adding SOC_FAMILY...
Signature · 1 line
Denys
Quoted 17 lines · Denys Dmytriyenko
Quoted 6 lines · Phil Blundell
Quoted 5 lines · Michael 'Mickey' Lauer
FWIW, minimal is using
MACHINE_CLASSsince quite a while to reduce the need for adding the same files over and over again, this is being used e.g. for HTC msm7 series and OpenEZX series (see conf/machine/include).Quoted 8 lines
Quoted 1 line
Perhaps it's time to standardize something like that.
Yeah. I certainly don't think we want a proliferation of such mechanisms. If minimal is already using
MACHINE_CLASSthen there would be some sense in trying to make use of the same thing.Failing that though, testing
COMPATIBLE_MACHINEagainstMACHINE_CLASSprobably is more desirable than adding a completely new variable (i.e.SOC_FAMILY) for that purpose.Phil,
Quoted 9 lines
Re: "adding a completely new variable" -
SOC_FAMILYhas been in use for almost a year now. I'm hearing aboutMACHINE_CLASSfor the first time, although it appears to be slightly older thanSOC_FAMILYthough. But it doesn't seem to be used anywhere besides in few machine configs and micro.conf. There are no recipes actually using it, unlikeSOC_FAMILY...I'm not saying one is better than the other (actually, unifying them would be nice), I'm just saying it's too late to object adding
SOC_FAMILY...
As the person who originally added MACHINE_CLASS to openmoko and the OE, then removed it from OE I can say it has different meaning that SOC_FAMILY. MACHINE_CLASS was to identify a range of machines that were 90% the same but had a few differences. It was used in a few recipes which were MACHINE_ARCH to make them use the same ARCH in these recipes to stop them being rebuilt when switching machines.
The original use was om-gta01 and om-gta02 which had the same MACHINE_CLASS.
Graeme
Quoted 27 lines · Graeme Gregory
Quoted 17 lines · Denys Dmytriyenko
Quoted 6 lines · Phil Blundell
Quoted 5 lines · Michael 'Mickey' Lauer
FWIW, minimal is using
MACHINE_CLASSsince quite a while to reduce the need for adding the same files over and over again, this is being used e.g. for HTC msm7 series and OpenEZX series (see conf/machine/include).Quoted 8 lines
Quoted 1 line
Perhaps it's time to standardize something like that.
Yeah. I certainly don't think we want a proliferation of such mechanisms. If minimal is already using
MACHINE_CLASSthen there would be some sense in trying to make use of the same thing.Failing that though, testing
COMPATIBLE_MACHINEagainstMACHINE_CLASSprobably is more desirable than adding a completely new variable (i.e.SOC_FAMILY) for that purpose.Phil,
Quoted 9 lines
Re: "adding a completely new variable" -
SOC_FAMILYhas been in use for almost a year now. I'm hearing aboutMACHINE_CLASSfor the first time, although it appears to be slightly older thanSOC_FAMILYthough. But it doesn't seem to be used anywhere besides in few machine configs and micro.conf. There are no recipes actually using it, unlikeSOC_FAMILY...I'm not saying one is better than the other (actually, unifying them would be nice), I'm just saying it's too late to object adding
SOC_FAMILY...
Quoted 8 lines
As the person who originally added
MACHINE_CLASSto openmoko and the OE, then removed it from OE I can say it has different meaning thatSOC_FAMILY.MACHINE_CLASSwas to identify a range of machines that were 90% the same but had a few differences. It was used in a few recipes which wereMACHINE_ARCHto make them use the same ARCH in these recipes to stop them being rebuilt when switching machines.The original use was om-gta01 and om-gta02 which had the same
MACHINE_CLASS.
Graeme,
Thanks for clarifying this! Do you still see a benefit in using MACHINE_CLASS? Why was it removed from OE? I don't see why it can't be used alongside SOC_FAMILY...
Signature · 1 line
Denys
Quoted 35 lines · Denys Dmytriyenko
Quoted 34 lines · Graeme Gregory
Quoted 17 lines · Denys Dmytriyenko
Quoted 6 lines · Phil Blundell
Quoted 5 lines · Michael 'Mickey' Lauer
FWIW, minimal is using
MACHINE_CLASSsince quite a while to reduce the need for adding the same files over and over again, this is being used e.g. for HTC msm7 series and OpenEZX series (see conf/machine/include).Quoted 8 lines
Quoted 1 line
Perhaps it's time to standardize something like that.
Yeah. I certainly don't think we want a proliferation of such mechanisms. If minimal is already using
MACHINE_CLASSthen there would be some sense in trying to make use of the same thing.Failing that though, testing
COMPATIBLE_MACHINEagainstMACHINE_CLASSprobably is more desirable than adding a completely new variable (i.e.SOC_FAMILY) for that purpose.Phil,
Quoted 9 lines
Re: "adding a completely new variable" -
SOC_FAMILYhas been in use for almost a year now. I'm hearing aboutMACHINE_CLASSfor the first time, although it appears to be slightly older thanSOC_FAMILYthough. But it doesn't seem to be used anywhere besides in few machine configs and micro.conf. There are no recipes actually using it, unlikeSOC_FAMILY...I'm not saying one is better than the other (actually, unifying them would be nice), I'm just saying it's too late to object adding
SOC_FAMILY...As the person who originally added
MACHINE_CLASSto openmoko and the OE, then removed it from OE I can say it has different meaning thatSOC_FAMILY.MACHINE_CLASSwas to identify a range of machines that were 90% the same but had a few differences. It was used in a few recipes which wereMACHINE_ARCHto make them use the same ARCH in these recipes to stop them being rebuilt when switching machines.
Quoted 7 lines
Quoted 1 line
The original use was om-gta01 and om-gta02 which had the same
MACHINE_CLASS.Graeme,
Thanks for clarifying this! Do you still see a benefit in using
MACHINE_CLASS? Why was it removed from OE? I don't see why it can't be used alongsideSOC_FAMILY...
I removed it as it was only used for the openmoko machines and outside of openmoko I didn't see the need for the extra maintenance work to save 10ms of build time. I was just not maintaining enough recipes that used it.
That doesn't mean that I'm against people re-introducing it if there is a real need.
Graeme
Koen Kooi
Acked-by-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 10 lines · Denys Dmytriyenko
Quoted 7 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a familySigned-off-by Chase Maupin <[email protected]>
Quoted 29 lines
While
SOC_FAMILYfeature is relatively new on its own, it was designed and now being extensively used with TI machines and corresponding recipes as an effective override - e.g. covering many OMAP3-based machines with a singleVAR_omap3= "VAL" expression.Quoted 23 lines
--- classes/base.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)classes/base.bbclass +3
-1@@ -389,7 +389,9 @@ python () { import re this_machine = bb.data.getVar('MACHINE', d, 1) if this_machine and not re.match(need_machine, this_machine): - raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) + this_soc_family = bb.data.getVar('SOC_FAMILY', d, 1) + if this_soc_family and not re.match(need_machine, this_soc_family): + raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine) need_target = bb.data.getVar('COMPATIBLE_TARGET_SYS', d, 1) if need_target:Signature · 1 line
1.7.0.4
Quoted 4 lines
Quoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMWS88MkyGM64RGpERAnkkAJ94TErZj0L40RwgMpHejgg8nO+CpgCeNVHI 6uB1qsq0Mj4IP48OxmIyTas=
=jTnu
-----END PGP SIGNATURE-----
2010/8/4 Koen Kooi <[email protected]>
Quoted 11 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a family
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Chase Maupin <[email protected]>Acked-by Koen Kooi <[email protected]>I have no problems with the patch as such, but would appreciate a patch for
the documentation that describes this variable.
Frans
Quoted 43 lines
Quoted 5 lines
While
SOC_FAMILYfeature is relatively new on its own, it was designedand now
Quoted 2 lines
being extensively used with TI machines and corresponding recipes as an effective override - e.g. covering many OMAP3-based machines with a
single
Quoted 6 lines
VAR_omap3= "VAL" expression.Quoted 4 lines
--- classes/base.bbclass | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)Quoted 8 lines
classes/base.bbclass python () { · line 391
Quoted 8 lines
classes/base.bbclass +0
-0@@ -389,7 +389,9 @@ python () { import re this_machine = bb.data.getVar('MACHINE', d, 1) if this_machine and not re.match(need_machine,
this_machine):Quoted 1 line
classes/base.bbclass python () { · line 392
Quoted 1 line
classes/base.bbclass +0
-1- raise bb.parse.SkipPackage("incompatible with machine%s" %
this_machine)Quoted 2 lines
classes/base.bbclass python () { · line 393
Quoted 2 lines
classes/base.bbclass +2
-0+ this_soc_family = bb.data.getVar('SOC_FAMILY', d, 1) + if this_soc_family and not re.match(need_machine,
this_soc_family):Quoted 1 line
classes/base.bbclass python () { · line 394
Quoted 1 line
classes/base.bbclass +1
-0+ raise bb.parse.SkipPackage("incompatible withmachine %s" %
this_machine)Quoted 11 lines
Quoted 11 lines
classes/base.bbclass +0
-1need_target = bb.data.getVar('COMPATIBLE_TARGET_SYS', d, 1) if need_target: --1.7.0.4
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 13 lines · Frans Meulenbroeks
2010/8/4 Koen Kooi <[email protected]>
Quoted 11 lines
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a family
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
Quoted 1 line
Signed-off-by Chase Maupin <[email protected]>Acked-by Koen Kooi <[email protected]>I have no problems with the patch as such, but would appreciate a patch for
the documentation that describes this variable.
In fact, I thought there was vague agreement here from the last time we added or changed variable behavior. Patch the docs at the same time.
Signature · 2 lines
Tom Rini Mentor Graphics Corporation
Quoted 5 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a family
I don't suppose you'd consider refactoring your MACHINE names in order to allow a simple regex in COMPATIBLE_MACHINE? I don't have a strong objection to this patch but, conceptually, it seems a bit ugly.
p.
Quoted 9 lines · Phil Blundell
Quoted 5 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a familyI don't suppose you'd consider refactoring your MACHINE names in order to allow a simple regex in
COMPATIBLE_MACHINE?
that would be a good approach too. Has it been
considered.
I don't have a strong
Quoted 14 lines
objection to this patch but, conceptually, it seems a bit ugly.
p.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 17 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: Wednesday, August 04, 2010 2:49 PM
To: [email protected]
Subject: Re: [oe] [PATCH] base.bbclass: add support forSOC_FAMILYinCOMPATIBLE_MACHINESQuoted 7 lines · Phil Blundell
Quoted 5 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a family
Quoted 5 lines
Quoted 2 lines
I don't suppose you'd consider refactoring your MACHINE names in order to allow a simple regex in
COMPATIBLE_MACHINE?that would be a good approach too. Has it been
considered.
As I mentioned before, we are matching the machine names to the name of the actual device. Unfortunately, not every device that falls into an SOC family has a similar name and cannot all be dictated by us. For example in omap3 SOC_FAMILY there is:
beagleboard
omap3evm
nokia900
dm37x-evm
archos5
bug20
and many many more. These machines are defined by a variety of companies, some from TI, some community, Nokia, Archos, etc. I don't think it is likely that we will get agreement on the naming between all the groups. I know that just within TI the naming is driven by marketing names for the devices.
Quoted 21 lines
I don't have a strong
Quoted 5 lines
objection to this patch but, conceptually, it seems a bit ugly.
Quoted 9 lines
p.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 17 lines · Chase
Quoted 17 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: Wednesday, August 04, 2010 2:49 PM
To: [email protected]
Subject: Re: [oe] [PATCH] base.bbclass: add support forSOC_FAMILYinCOMPATIBLE_MACHINESQuoted 7 lines · Phil Blundell
Quoted 5 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a family
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
I don't suppose you'd consider refactoring your MACHINE names in order to allow a simple regex in
COMPATIBLE_MACHINE?that would be a good approach too. Has it been
considered.As I mentioned before, we are matching the machine names to the name of the actual device. Unfortunately, not every device that falls into an SOC family has a similar name and cannot all be dictated by us. For example in omap3
SOC_FAMILYthere is:
and omap3 family is armv7-a or cortex-a8 based can it have different CPUs and be still categorized as omap3
is there omap3 specific you need which is not covered with armv7-a or cortex-a8
Quoted 37 lines
beagleboard
omap3evm
nokia900
dm37x-evm
archos5
bug20and many many more. These machines are defined by a variety of companies, some from TI, some community, Nokia, Archos, etc. I don't think it is likely that we will get agreement on the naming between all the groups. I know that just within TI the naming is driven by marketing names for the devices.
Quoted 17 lines
I don't have a strong
Quoted 5 lines
objection to this patch but, conceptually, it seems a bit ugly.
Quoted 9 lines
p.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develQuoted 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 21 lines · Khem Raj
Quoted 20 lines · Chase
Quoted 20 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: Wednesday, August 04, 2010 2:49 PM
To: [email protected]
Subject: Re: [oe] [PATCH] base.bbclass: add support forSOC_FAMILYinCOMPATIBLE_MACHINESQuoted 9 lines · Phil Blundell
Quoted 5 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a familyI don't suppose you'd consider refactoring your MACHINE names in order to allow a simple regex in
COMPATIBLE_MACHINE?
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
that would be a good approach too. Has it been
considered.As I mentioned before, we are matching the machine names to the name of the actual device. Unfortunately, not every device that falls into an SOC family has a similar name and cannot all be dictated by us. For example in omap3
SOC_FAMILYthere is:and omap3 family is armv7-a or cortex-a8 based can it have different CPUs and be still categorized as omap3
is there omap3 specific you need which is not covered with armv7-a or cortex-a8
DSP, SGX, IVA, DSS, AESE, ISP, take your pick.
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMWf4jMkyGM64RGpERAnM2AKCR2UEEdmgB/WFr0F9UZ55DqffJ0ACgrROX 7OIjSOU9ki67zIi8c1Xx66k=
=nZ7Z
-----END PGP SIGNATURE-----
Quoted 28 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Quoted 24 lines · Khem Raj
Quoted 23 lines · Chase
Quoted 22 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Khem Raj
Sent: Wednesday, August 04, 2010 2:49 PM
To: [email protected]
Subject: Re: [oe] [PATCH] base.bbclass: add support forSOC_FAMILYinCOMPATIBLE_MACHINESQuoted 9 lines · Phil Blundell
Quoted 5 lines · Chase Maupin
* Add support for using
SOC_FAMILYin theCOMPATIBLE_MACHINESsetting for a recipe.
* This will allow recipes to work for entire families of devices without having to maintain/update the compatible devices as new devices are added into a familyI don't suppose you'd consider refactoring your MACHINE names in order to allow a simple regex in
COMPATIBLE_MACHINE?that would be a good approach too. Has it been
considered.
Quoted 7 lines
Quoted 5 lines
Quoted 1 line
As I mentioned before, we are matching the machine names to the name of the actual device. Unfortunately, not every device that falls into an SOC family has a similar name and cannot all be dictated by us. For example in omap3
SOC_FAMILYthere is:and omap3 family is armv7-a or cortex-a8 based can it have different CPUs and be still categorized as omap3
is there omap3 specific you need which is not covered with armv7-a or cortex-a8DSP, SGX, IVA, DSS, AESE, ISP, take your pick.
I see. Do we have knobs to toggle their use in some applications ?
Quoted 17 lines
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFMWf4jMkyGM64RGpERAnM2AKCR2UEEdmgB/WFr0F9UZ55DqffJ0ACgrROX 7OIjSOU9ki67zIi8c1Xx66k=
=nZ7Z
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel