* [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine
@ 2014-02-10 11:12 Otavio Salvador
2014-02-19 2:14 ` Eric Nelson
0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2014-02-10 11:12 UTC (permalink / raw)
To: meta-freescale Mailing List; +Cc: Otavio Salvador
The compatible machine filter is required to avoid build warnings when
building for other boards, as:
,----[ Build warning ]
| WARNING: Unable to get checksum for linux-boundary
| SRC_URI entry defconfig: file could not be found
`----
Change-Id: I2f55697fbef29c35b332bfdcc5023c5f70bc9e4b
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 2 +-
recipes-kernel/linux/linux-boundary_3.0.35.bb | 1 +
recipes-kernel/linux/linux-boundary_3.10.17.bb | 3 ++-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
index 345294e..380a785 100644
--- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
+++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
@@ -1,6 +1,5 @@
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
-COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
DEPENDS = "u-boot-mkimage-native"
PV = "v2013.10+git${SRCPV}"
@@ -66,3 +65,4 @@ do_install[noexec] = "1"
do_populate_sysroot[noexec] = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
diff --git a/recipes-kernel/linux/linux-boundary_3.0.35.bb b/recipes-kernel/linux/linux-boundary_3.0.35.bb
index 5416efb..ccc0734 100644
--- a/recipes-kernel/linux/linux-boundary_3.0.35.bb
+++ b/recipes-kernel/linux/linux-boundary_3.0.35.bb
@@ -13,3 +13,4 @@ SRCBRANCH = "boundary-imx_3.0.35_4.1.0"
SRCREV = "79a3b6d5276a4025411367912c33d7d4f5e63c15"
COMPATIBLE_MACHINE = "(mx6)"
+COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb b/recipes-kernel/linux/linux-boundary_3.10.17.bb
index 4a453c4..3f0681a 100644
--- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
+++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
@@ -1,4 +1,4 @@
-# Adapted from linux-imx.inc, copyright (C) 2013 O.S. Systems Software LTDA
+# Adapted from linux-imx.inc, copyright (C) 2013, 2014 O.S. Systems Software LTDA
# Released under the MIT license (see COPYING.MIT for the terms)
require recipes-kernel/linux/linux-imx.inc
@@ -14,3 +14,4 @@ SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"
COMPATIBLE_MACHINE = "(mx6)"
+COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
--
1.8.5.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine
2014-02-10 11:12 [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine Otavio Salvador
@ 2014-02-19 2:14 ` Eric Nelson
2014-02-19 11:43 ` Otavio Salvador
0 siblings, 1 reply; 7+ messages in thread
From: Eric Nelson @ 2014-02-19 2:14 UTC (permalink / raw)
To: Otavio Salvador, meta-freescale Mailing List
Thanks Otavio,
On 02/10/2014 04:12 AM, Otavio Salvador wrote:
> The compatible machine filter is required to avoid build warnings when
> building for other boards, as:
>
> ,----[ Build warning ]
> | WARNING: Unable to get checksum for linux-boundary
> | SRC_URI entry defconfig: file could not be found
> `----
>
> Change-Id: I2f55697fbef29c35b332bfdcc5023c5f70bc9e4b
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
> recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 2 +-
> recipes-kernel/linux/linux-boundary_3.0.35.bb | 1 +
> recipes-kernel/linux/linux-boundary_3.10.17.bb | 3 ++-
> 3 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> index 345294e..380a785 100644
> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
> @@ -1,6 +1,5 @@
> LICENSE = "GPLv2+"
> LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
> -COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
> DEPENDS = "u-boot-mkimage-native"
>
> PV = "v2013.10+git${SRCPV}"
> @@ -66,3 +65,4 @@ do_install[noexec] = "1"
> do_populate_sysroot[noexec] = "1"
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
Note that this is different from the removed line above
(Doesn't include imx6qsabrelite).
My understanding is also that the clauses in COMPATIBLE_MACHINE are
sub-strings or regex's of some sort, such that 'nitrogen6x-lite'
is automatically allowed by 'nitrogen6x'.
> +COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
> diff --git a/recipes-kernel/linux/linux-boundary_3.0.35.bb b/recipes-kernel/linux/linux-boundary_3.0.35.bb
> index 5416efb..ccc0734 100644
> --- a/recipes-kernel/linux/linux-boundary_3.0.35.bb
> +++ b/recipes-kernel/linux/linux-boundary_3.0.35.bb
> @@ -13,3 +13,4 @@ SRCBRANCH = "boundary-imx_3.0.35_4.1.0"
> SRCREV = "79a3b6d5276a4025411367912c33d7d4f5e63c15"
>
> COMPATIBLE_MACHINE = "(mx6)"
> +COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
> diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb b/recipes-kernel/linux/linux-boundary_3.10.17.bb
> index 4a453c4..3f0681a 100644
> --- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
> +++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
> @@ -1,4 +1,4 @@
> -# Adapted from linux-imx.inc, copyright (C) 2013 O.S. Systems Software LTDA
> +# Adapted from linux-imx.inc, copyright (C) 2013, 2014 O.S. Systems Software LTDA
> # Released under the MIT license (see COPYING.MIT for the terms)
>
> require recipes-kernel/linux/linux-imx.inc
> @@ -14,3 +14,4 @@ SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
> SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"
>
> COMPATIBLE_MACHINE = "(mx6)"
Ditto
> +COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
>
.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine
2014-02-19 2:14 ` Eric Nelson
@ 2014-02-19 11:43 ` Otavio Salvador
2014-02-19 16:05 ` Eric Nelson
0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2014-02-19 11:43 UTC (permalink / raw)
To: Eric Nelson; +Cc: meta-freescale Mailing List
On Tue, Feb 18, 2014 at 11:14 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> Thanks Otavio,
>
>
> On 02/10/2014 04:12 AM, Otavio Salvador wrote:
>>
>> The compatible machine filter is required to avoid build warnings when
>> building for other boards, as:
>>
>> ,----[ Build warning ]
>> | WARNING: Unable to get checksum for linux-boundary
>> | SRC_URI entry defconfig: file could not be found
>> `----
>>
>> Change-Id: I2f55697fbef29c35b332bfdcc5023c5f70bc9e4b
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>> recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 2 +-
>> recipes-kernel/linux/linux-boundary_3.0.35.bb | 1 +
>> recipes-kernel/linux/linux-boundary_3.10.17.bb | 3 ++-
>> 3 files changed, 4 insertions(+), 2 deletions(-)
>>
>> diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>> b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>> index 345294e..380a785 100644
>> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>> @@ -1,6 +1,5 @@
>> LICENSE = "GPLv2+"
>> LIC_FILES_CHKSUM =
>> "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
>> -COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
>> DEPENDS = "u-boot-mkimage-native"
>>
>> PV = "v2013.10+git${SRCPV}"
>> @@ -66,3 +65,4 @@ do_install[noexec] = "1"
>> do_populate_sysroot[noexec] = "1"
>>
>> PACKAGE_ARCH = "${MACHINE_ARCH}"
>
>
> Note that this is different from the removed line above
> (Doesn't include imx6qsabrelite).
>
> My understanding is also that the clauses in COMPATIBLE_MACHINE are
> sub-strings or regex's of some sort, such that 'nitrogen6x-lite'
> is automatically allowed by 'nitrogen6x'.
Not really; In http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/base.bbclass?id=9bb5eb86c12ba6598fe317f449171fdf2310b933
I added support for it to use the MACHINEOVERRIDE. This is the
background mechanism used by SOC_FAMILY which does make the connection
between them ;-)
>> +COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
>> diff --git a/recipes-kernel/linux/linux-boundary_3.0.35.bb
>> b/recipes-kernel/linux/linux-boundary_3.0.35.bb
>> index 5416efb..ccc0734 100644
>> --- a/recipes-kernel/linux/linux-boundary_3.0.35.bb
>> +++ b/recipes-kernel/linux/linux-boundary_3.0.35.bb
>> @@ -13,3 +13,4 @@ SRCBRANCH = "boundary-imx_3.0.35_4.1.0"
>> SRCREV = "79a3b6d5276a4025411367912c33d7d4f5e63c15"
>>
>> COMPATIBLE_MACHINE = "(mx6)"
>> +COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
>> diff --git a/recipes-kernel/linux/linux-boundary_3.10.17.bb
>> b/recipes-kernel/linux/linux-boundary_3.10.17.bb
>> index 4a453c4..3f0681a 100644
>> --- a/recipes-kernel/linux/linux-boundary_3.10.17.bb
>> +++ b/recipes-kernel/linux/linux-boundary_3.10.17.bb
>> @@ -1,4 +1,4 @@
>> -# Adapted from linux-imx.inc, copyright (C) 2013 O.S. Systems Software
>> LTDA
>> +# Adapted from linux-imx.inc, copyright (C) 2013, 2014 O.S. Systems
>> Software LTDA
>> # Released under the MIT license (see COPYING.MIT for the terms)
>>
>> require recipes-kernel/linux/linux-imx.inc
>> @@ -14,3 +14,4 @@ SRCBRANCH = "boundary-imx_3.10.17_1.0.0_beta"
>> SRCREV = "92608435c09eef1b111d6b704d016bcc769c55ca"
>>
>> COMPATIBLE_MACHINE = "(mx6)"
>
>
> Ditto
>>
>> +COMPATIBLE_MACHINE = "(nitrogen6x|nitrogen6x-lite)"
>>
> .
>
--
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] 7+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine
2014-02-19 11:43 ` Otavio Salvador
@ 2014-02-19 16:05 ` Eric Nelson
2014-02-19 16:45 ` Otavio Salvador
0 siblings, 1 reply; 7+ messages in thread
From: Eric Nelson @ 2014-02-19 16:05 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale Mailing List
Hi Otavio,
On 02/19/2014 04:43 AM, Otavio Salvador wrote:
> On Tue, Feb 18, 2014 at 11:14 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>> Thanks Otavio,
>>
>>
>> On 02/10/2014 04:12 AM, Otavio Salvador wrote:
>>>
>>> The compatible machine filter is required to avoid build warnings when
>>> building for other boards, as:
>>>
>>> ,----[ Build warning ]
>>> | WARNING: Unable to get checksum for linux-boundary
>>> | SRC_URI entry defconfig: file could not be found
>>> `----
>>>
>>> Change-Id: I2f55697fbef29c35b332bfdcc5023c5f70bc9e4b
>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>>> ---
>>> recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 2 +-
>>> recipes-kernel/linux/linux-boundary_3.0.35.bb | 1 +
>>> recipes-kernel/linux/linux-boundary_3.10.17.bb | 3 ++-
>>> 3 files changed, 4 insertions(+), 2 deletions(-)
>>>
>>> diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>> b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>> index 345294e..380a785 100644
>>> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>> @@ -1,6 +1,5 @@
>>> LICENSE = "GPLv2+"
>>> LIC_FILES_CHKSUM =
>>> "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
>>> -COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
>>> DEPENDS = "u-boot-mkimage-native"
>>>
>>> PV = "v2013.10+git${SRCPV}"
>>> @@ -66,3 +65,4 @@ do_install[noexec] = "1"
>>> do_populate_sysroot[noexec] = "1"
>>>
>>> PACKAGE_ARCH = "${MACHINE_ARCH}"
>>
>>
>> Note that this is different from the removed line above
>> (Doesn't include imx6qsabrelite).
>>
>> My understanding is also that the clauses in COMPATIBLE_MACHINE are
>> sub-strings or regex's of some sort, such that 'nitrogen6x-lite'
>> is automatically allowed by 'nitrogen6x'.
>
> Not really; In http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/base.bbclass?id=9bb5eb86c12ba6598fe317f449171fdf2310b933
> I added support for it to use the MACHINEOVERRIDE. This is the
> background mechanism used by SOC_FAMILY which does make the connection
> between them ;-)
Thanks for clarifying.
Don't we still need imx6qsabrelite in the clause though?
We keep seeing references that customers aren't able to build
without pulling in PREFERRED_provider for our U-Boot and kernel.
I usually recommend that they just use MACHINE=nitrogen6x,
which also fixes the problem.
Regards,
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine
2014-02-19 16:05 ` Eric Nelson
@ 2014-02-19 16:45 ` Otavio Salvador
2014-02-19 17:01 ` Eric Nelson
0 siblings, 1 reply; 7+ messages in thread
From: Otavio Salvador @ 2014-02-19 16:45 UTC (permalink / raw)
To: Eric Nelson; +Cc: meta-freescale Mailing List
Hello Eric,
On Wed, Feb 19, 2014 at 1:05 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> Hi Otavio,
>
>
> On 02/19/2014 04:43 AM, Otavio Salvador wrote:
>>
>> On Tue, Feb 18, 2014 at 11:14 PM, Eric Nelson
>> <eric.nelson@boundarydevices.com> wrote:
>>>
>>> Thanks Otavio,
>>>
>>>
>>> On 02/10/2014 04:12 AM, Otavio Salvador wrote:
>>>>
>>>>
>>>> The compatible machine filter is required to avoid build warnings when
>>>> building for other boards, as:
>>>>
>>>> ,----[ Build warning ]
>>>> | WARNING: Unable to get checksum for linux-boundary
>>>> | SRC_URI entry defconfig: file could not be found
>>>> `----
>>>>
>>>> Change-Id: I2f55697fbef29c35b332bfdcc5023c5f70bc9e4b
>>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>>>> ---
>>>> recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 2 +-
>>>> recipes-kernel/linux/linux-boundary_3.0.35.bb | 1 +
>>>> recipes-kernel/linux/linux-boundary_3.10.17.bb | 3 ++-
>>>> 3 files changed, 4 insertions(+), 2 deletions(-)
>>>>
>>>> diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>> b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>> index 345294e..380a785 100644
>>>> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>> @@ -1,6 +1,5 @@
>>>> LICENSE = "GPLv2+"
>>>> LIC_FILES_CHKSUM =
>>>> "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
>>>> -COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
>>>> DEPENDS = "u-boot-mkimage-native"
>>>>
>>>> PV = "v2013.10+git${SRCPV}"
>>>> @@ -66,3 +65,4 @@ do_install[noexec] = "1"
>>>> do_populate_sysroot[noexec] = "1"
>>>>
>>>> PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>
>>>
>>>
>>> Note that this is different from the removed line above
>>> (Doesn't include imx6qsabrelite).
>>>
>>> My understanding is also that the clauses in COMPATIBLE_MACHINE are
>>> sub-strings or regex's of some sort, such that 'nitrogen6x-lite'
>>> is automatically allowed by 'nitrogen6x'.
>>
>>
>> Not really; In
>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/base.bbclass?id=9bb5eb86c12ba6598fe317f449171fdf2310b933
>> I added support for it to use the MACHINEOVERRIDE. This is the
>> background mechanism used by SOC_FAMILY which does make the connection
>> between them ;-)
>
>
> Thanks for clarifying.
>
> Don't we still need imx6qsabrelite in the clause though?
>
> We keep seeing references that customers aren't able to build
> without pulling in PREFERRED_provider for our U-Boot and kernel.
>
> I usually recommend that they just use MACHINE=nitrogen6x,
> which also fixes the problem.
The override is added in:
https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/imx6qsabrelite.conf#L12
So this should be enough for it to work. Could you elaborate how it
failing at your customers? I did try it when I introduce this change
in linux-boundary and it worked fine so I may be missing something
which we may really need to fix.
Regards,
--
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] 7+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine
2014-02-19 16:45 ` Otavio Salvador
@ 2014-02-19 17:01 ` Eric Nelson
2014-02-19 17:07 ` Otavio Salvador
0 siblings, 1 reply; 7+ messages in thread
From: Eric Nelson @ 2014-02-19 17:01 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale Mailing List
Thanks Otavio,
On 02/19/2014 09:45 AM, Otavio Salvador wrote:
> Hello Eric,
>
> On Wed, Feb 19, 2014 at 1:05 PM, Eric Nelson
> <eric.nelson@boundarydevices.com> wrote:
>> Hi Otavio,
>>
>>
>> On 02/19/2014 04:43 AM, Otavio Salvador wrote:
>>>
>>> On Tue, Feb 18, 2014 at 11:14 PM, Eric Nelson
>>> <eric.nelson@boundarydevices.com> wrote:
>>>>
>>>> Thanks Otavio,
>>>>
>>>>
>>>> On 02/10/2014 04:12 AM, Otavio Salvador wrote:
>>>>>
>>>>>
>>>>> The compatible machine filter is required to avoid build warnings when
>>>>> building for other boards, as:
>>>>>
>>>>> ,----[ Build warning ]
>>>>> | WARNING: Unable to get checksum for linux-boundary
>>>>> | SRC_URI entry defconfig: file could not be found
>>>>> `----
>>>>>
>>>>> Change-Id: I2f55697fbef29c35b332bfdcc5023c5f70bc9e4b
>>>>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>>>>> ---
>>>>> recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 2 +-
>>>>> recipes-kernel/linux/linux-boundary_3.0.35.bb | 1 +
>>>>> recipes-kernel/linux/linux-boundary_3.10.17.bb | 3 ++-
>>>>> 3 files changed, 4 insertions(+), 2 deletions(-)
>>>>>
>>>>> diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>>> b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>>> index 345294e..380a785 100644
>>>>> --- a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>>> +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb
>>>>> @@ -1,6 +1,5 @@
>>>>> LICENSE = "GPLv2+"
>>>>> LIC_FILES_CHKSUM =
>>>>> "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"
>>>>> -COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)"
>>>>> DEPENDS = "u-boot-mkimage-native"
>>>>>
>>>>> PV = "v2013.10+git${SRCPV}"
>>>>> @@ -66,3 +65,4 @@ do_install[noexec] = "1"
>>>>> do_populate_sysroot[noexec] = "1"
>>>>>
>>>>> PACKAGE_ARCH = "${MACHINE_ARCH}"
>>>>
>>>>
>>>>
>>>> Note that this is different from the removed line above
>>>> (Doesn't include imx6qsabrelite).
>>>>
>>>> My understanding is also that the clauses in COMPATIBLE_MACHINE are
>>>> sub-strings or regex's of some sort, such that 'nitrogen6x-lite'
>>>> is automatically allowed by 'nitrogen6x'.
>>>
>>>
>>> Not really; In
>>> http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/classes/base.bbclass?id=9bb5eb86c12ba6598fe317f449171fdf2310b933
>>> I added support for it to use the MACHINEOVERRIDE. This is the
>>> background mechanism used by SOC_FAMILY which does make the connection
>>> between them ;-)
>>
>>
>> Thanks for clarifying.
>>
>> Don't we still need imx6qsabrelite in the clause though?
>>
>> We keep seeing references that customers aren't able to build
>> without pulling in PREFERRED_provider for our U-Boot and kernel.
>>
>> I usually recommend that they just use MACHINE=nitrogen6x,
>> which also fixes the problem.
>
> The override is added in:
>
> https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/imx6qsabrelite.conf#L12
>
Cool.
> So this should be enough for it to work. Could you elaborate how it
> failing at your customers? I did try it when I introduce this change
> in linux-boundary and it worked fine so I may be missing something
> which we may really need to fix.
>
I'm not 100% certain it's our customer. The failure was posed most
recently on i.MX Community:
https://community.freescale.com/thread/319716
It's also not clear that the problem didn't stem from the use
of another repository (freesclae-release-bsp).
Regards,
Eric
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine
2014-02-19 17:01 ` Eric Nelson
@ 2014-02-19 17:07 ` Otavio Salvador
0 siblings, 0 replies; 7+ messages in thread
From: Otavio Salvador @ 2014-02-19 17:07 UTC (permalink / raw)
To: Eric Nelson; +Cc: meta-freescale Mailing List
Hello Eric,
On Wed, Feb 19, 2014 at 2:01 PM, Eric Nelson
<eric.nelson@boundarydevices.com> wrote:
> On 02/19/2014 09:45 AM, Otavio Salvador wrote:
>> So this should be enough for it to work. Could you elaborate how it
>> failing at your customers? I did try it when I introduce this change
>> in linux-boundary and it worked fine so I may be missing something
>> which we may really need to fix.
>>
>
> I'm not 100% certain it's our customer. The failure was posed most
> recently on i.MX Community:
> https://community.freescale.com/thread/319716
>
> It's also not clear that the problem didn't stem from the use
> of another repository (freesclae-release-bsp).
Seems so. I recall of testing imx6qsabrelite to ensure it was working
(even though a new try would be good) when doing this patch.
Freescale's release layer is quite different and limited in the range
of board they test[1] so it wouldn't surprise me it fail.
1. https://lists.yoctoproject.org/pipermail/meta-freescale/2014-January/006870.html
--
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] 7+ messages in thread
end of thread, other threads:[~2014-02-19 17:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-10 11:12 [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine Otavio Salvador
2014-02-19 2:14 ` Eric Nelson
2014-02-19 11:43 ` Otavio Salvador
2014-02-19 16:05 ` Eric Nelson
2014-02-19 16:45 ` Otavio Salvador
2014-02-19 17:01 ` Eric Nelson
2014-02-19 17:07 ` 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.