All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
@ 2015-04-29 21:38 Nikolay Dimitrov
  2015-04-29 21:41 ` Otavio Salvador
  2015-04-29 21:42 ` Gary Thomas
  0 siblings, 2 replies; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-29 21:38 UTC (permalink / raw)
  To: meta-freescale

Several Yocto images fail to build because they're using packages that require
imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
the mainline kernel. This patch fixes the following image builds:
- core-image-minimal
- core-image-base
- fsl-image-multimedia

Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
---
 conf/machine/imx6dl-riotboard.conf |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf
index b611ffb..05f6a38 100644
--- a/conf/machine/imx6dl-riotboard.conf
+++ b/conf/machine/imx6dl-riotboard.conf
@@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
 KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
 
 SERIAL_CONSOLE = "115200 ttymxc1"
+
+MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
+MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
-- 
1.7.10.4



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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:38 [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc Nikolay Dimitrov
@ 2015-04-29 21:41 ` Otavio Salvador
  2015-04-29 22:46   ` Nikolay Dimitrov
  2015-04-29 21:42 ` Gary Thomas
  1 sibling, 1 reply; 17+ messages in thread
From: Otavio Salvador @ 2015-04-29 21:41 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale

On Wed, Apr 29, 2015 at 6:38 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> Several Yocto images fail to build because they're using packages that require
> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
> the mainline kernel. This patch fixes the following image builds:
> - core-image-minimal
> - core-image-base
> - fsl-image-multimedia
>
> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>

Without the image provided by Fabio, fsl-image-machine-test will fail ;)

-- 
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] 17+ messages in thread

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:38 [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc Nikolay Dimitrov
  2015-04-29 21:41 ` Otavio Salvador
@ 2015-04-29 21:42 ` Gary Thomas
  2015-04-29 21:48   ` Otavio Salvador
  2015-04-29 21:51   ` Nikolay Dimitrov
  1 sibling, 2 replies; 17+ messages in thread
From: Gary Thomas @ 2015-04-29 21:42 UTC (permalink / raw)
  To: meta-freescale

On 2015-04-29 15:38, Nikolay Dimitrov wrote:
> Several Yocto images fail to build because they're using packages that require
> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available in
> the mainline kernel. This patch fixes the following image builds:
> - core-image-minimal
> - core-image-base
> - fsl-image-multimedia
>
> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
> ---
>   conf/machine/imx6dl-riotboard.conf |    3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/conf/machine/imx6dl-riotboard.conf b/conf/machine/imx6dl-riotboard.conf
> index b611ffb..05f6a38 100644
> --- a/conf/machine/imx6dl-riotboard.conf
> +++ b/conf/machine/imx6dl-riotboard.conf
> @@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>   KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>
>   SERIAL_CONSOLE = "115200 ttymxc1"
> +
> +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
> +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
>

Is there some way to make this weaker?  For example, these
changes will be icorrect if [when?] you get the linux-fslc 3.14
kernel going.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:42 ` Gary Thomas
@ 2015-04-29 21:48   ` Otavio Salvador
  2015-04-29 21:55     ` Nikolay Dimitrov
  2015-04-29 21:51   ` Nikolay Dimitrov
  1 sibling, 1 reply; 17+ messages in thread
From: Otavio Salvador @ 2015-04-29 21:48 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

On Wed, Apr 29, 2015 at 6:42 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 2015-04-29 15:38, Nikolay Dimitrov wrote:
>>
>> Several Yocto images fail to build because they're using packages that
>> require
>> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available
>> in
>> the mainline kernel. This patch fixes the following image builds:
>> - core-image-minimal
>> - core-image-base
>> - fsl-image-multimedia
>>
>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>> ---
>>   conf/machine/imx6dl-riotboard.conf |    3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/conf/machine/imx6dl-riotboard.conf
>> b/conf/machine/imx6dl-riotboard.conf
>> index b611ffb..05f6a38 100644
>> --- a/conf/machine/imx6dl-riotboard.conf
>> +++ b/conf/machine/imx6dl-riotboard.conf
>> @@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>>   KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>>
>>   SERIAL_CONSOLE = "115200 ttymxc1"
>> +
>> +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
>> +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
>>
>
> Is there some way to make this weaker?  For example, these
> changes will be icorrect if [when?] you get the linux-fslc 3.14
> kernel going.

When he does this the forked 3.14 kernel will likely to become the
default one and those can be removed.

When I have some free time I will try to come up with a generic way to
'inform' the BSP about the kernel features and avoid those hacks.

-- 
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] 17+ messages in thread

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:42 ` Gary Thomas
  2015-04-29 21:48   ` Otavio Salvador
@ 2015-04-29 21:51   ` Nikolay Dimitrov
  2015-04-29 21:56     ` Gary Thomas
  1 sibling, 1 reply; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-29 21:51 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

Hi Gary,

On 04/30/2015 12:42 AM, Gary Thomas wrote:
> On 2015-04-29 15:38, Nikolay Dimitrov wrote:
>> Several Yocto images fail to build because they're using packages that
>> require
>> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not
>> available in
>> the mainline kernel. This patch fixes the following image builds:
>> - core-image-minimal
>> - core-image-base
>> - fsl-image-multimedia
>>
>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>> ---
>>   conf/machine/imx6dl-riotboard.conf |    3 +++
>>   1 file changed, 3 insertions(+)
>>
>> diff --git a/conf/machine/imx6dl-riotboard.conf
>> b/conf/machine/imx6dl-riotboard.conf
>> index b611ffb..05f6a38 100644
>> --- a/conf/machine/imx6dl-riotboard.conf
>> +++ b/conf/machine/imx6dl-riotboard.conf
>> @@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>>   KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>>
>>   SERIAL_CONSOLE = "115200 ttymxc1"
>> +
>> +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
>> +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
>>
>
> Is there some way to make this weaker?  For example, these
> changes will be icorrect if [when?] you get the linux-fslc 3.14
> kernel going.

Yes, I was also thinking about it. My plan is to fix this when
introducing the 3.14 support, but as of today there's no such support
for riotboard, so I would prefer to push whatever I have
working.

Regards,
Nikolay


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:48   ` Otavio Salvador
@ 2015-04-29 21:55     ` Nikolay Dimitrov
  0 siblings, 0 replies; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-29 21:55 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale, Gary Thomas

Hi Otavio,

On 04/30/2015 12:48 AM, Otavio Salvador wrote:
> On Wed, Apr 29, 2015 at 6:42 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 2015-04-29 15:38, Nikolay Dimitrov wrote:
>>>
>>> Several Yocto images fail to build because they're using packages that
>>> require
>>> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not available
>>> in
>>> the mainline kernel. This patch fixes the following image builds:
>>> - core-image-minimal
>>> - core-image-base
>>> - fsl-image-multimedia
>>>
>>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>>> ---
>>>    conf/machine/imx6dl-riotboard.conf |    3 +++
>>>    1 file changed, 3 insertions(+)
>>>
>>> diff --git a/conf/machine/imx6dl-riotboard.conf
>>> b/conf/machine/imx6dl-riotboard.conf
>>> index b611ffb..05f6a38 100644
>>> --- a/conf/machine/imx6dl-riotboard.conf
>>> +++ b/conf/machine/imx6dl-riotboard.conf
>>> @@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>>>    KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>>>
>>>    SERIAL_CONSOLE = "115200 ttymxc1"
>>> +
>>> +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
>>> +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
>>>
>>
>> Is there some way to make this weaker?  For example, these
>> changes will be icorrect if [when?] you get the linux-fslc 3.14
>> kernel going.
>
> When he does this the forked 3.14 kernel will likely to become the
> default one and those can be removed.

Not exactly. We're doing work to enable Yocto to work with linux-fslc,
and it would be unfair to throw this work on the junk. I would prefer
to see both mainline and fsl kernels being able to be used in a Yocto
build.

> When I have some free time I will try to come up with a generic way to
> 'inform' the BSP about the kernel features and avoid those hacks.

This would be very welcome for cases like this. Thanks in advance for
helping out.

Regards,
Nikolay


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:51   ` Nikolay Dimitrov
@ 2015-04-29 21:56     ` Gary Thomas
  2015-04-29 22:12       ` Nikolay Dimitrov
  0 siblings, 1 reply; 17+ messages in thread
From: Gary Thomas @ 2015-04-29 21:56 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale

On 2015-04-29 15:51, Nikolay Dimitrov wrote:
> Hi Gary,
>
> On 04/30/2015 12:42 AM, Gary Thomas wrote:
>> On 2015-04-29 15:38, Nikolay Dimitrov wrote:
>>> Several Yocto images fail to build because they're using packages that
>>> require
>>> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not
>>> available in
>>> the mainline kernel. This patch fixes the following image builds:
>>> - core-image-minimal
>>> - core-image-base
>>> - fsl-image-multimedia
>>>
>>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>>> ---
>>>   conf/machine/imx6dl-riotboard.conf |    3 +++
>>>   1 file changed, 3 insertions(+)
>>>
>>> diff --git a/conf/machine/imx6dl-riotboard.conf
>>> b/conf/machine/imx6dl-riotboard.conf
>>> index b611ffb..05f6a38 100644
>>> --- a/conf/machine/imx6dl-riotboard.conf
>>> +++ b/conf/machine/imx6dl-riotboard.conf
>>> @@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>>>   KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>>>
>>>   SERIAL_CONSOLE = "115200 ttymxc1"
>>> +
>>> +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
>>> +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
>>>
>>
>> Is there some way to make this weaker?  For example, these
>> changes will be icorrect if [when?] you get the linux-fslc 3.14
>> kernel going.
>
> Yes, I was also thinking about it. My plan is to fix this when
> introducing the 3.14 support, but as of today there's no such support
> for riotboard, so I would prefer to push whatever I have
> working.

I've not looked at backporting to 3.14 (I was leaving that for you!)
but how different would the device tree from 4.1-rc1 need to be to
work with 3.14?  Isn't that (plus the stitching to get it built)
about all that's needed?

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:56     ` Gary Thomas
@ 2015-04-29 22:12       ` Nikolay Dimitrov
  2015-04-29 22:36         ` Gary Thomas
  0 siblings, 1 reply; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-29 22:12 UTC (permalink / raw)
  To: Gary Thomas; +Cc: meta-freescale

Hi Gary,

On 04/30/2015 12:56 AM, Gary Thomas wrote:
> On 2015-04-29 15:51, Nikolay Dimitrov wrote:
>> Hi Gary,
>>
>> On 04/30/2015 12:42 AM, Gary Thomas wrote:
>>> On 2015-04-29 15:38, Nikolay Dimitrov wrote:
>>>> Several Yocto images fail to build because they're using packages that
>>>> require
>>>> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not
>>>> available in
>>>> the mainline kernel. This patch fixes the following image builds:
>>>> - core-image-minimal
>>>> - core-image-base
>>>> - fsl-image-multimedia
>>>>
>>>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>>>> ---
>>>>   conf/machine/imx6dl-riotboard.conf |    3 +++
>>>>   1 file changed, 3 insertions(+)
>>>>
>>>> diff --git a/conf/machine/imx6dl-riotboard.conf
>>>> b/conf/machine/imx6dl-riotboard.conf
>>>> index b611ffb..05f6a38 100644
>>>> --- a/conf/machine/imx6dl-riotboard.conf
>>>> +++ b/conf/machine/imx6dl-riotboard.conf
>>>> @@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>>>>   KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>>>>
>>>>   SERIAL_CONSOLE = "115200 ttymxc1"
>>>> +
>>>> +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
>>>> +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
>>>>
>>>
>>> Is there some way to make this weaker?  For example, these
>>> changes will be icorrect if [when?] you get the linux-fslc 3.14
>>> kernel going.
>>
>> Yes, I was also thinking about it. My plan is to fix this when
>> introducing the 3.14 support, but as of today there's no such support
>> for riotboard, so I would prefer to push whatever I have
>> working.
>
> I've not looked at backporting to 3.14 (I was leaving that for you!)
> but how different would the device tree from 4.1-rc1 need to be to
> work with 3.14?  Isn't that (plus the stitching to get it built)
> about all that's needed?

I don't expect any back-porting work for FSL 3.14.28 kernel, only DT
work. My last experience of playing with DTs on several imx6 dual/quad
customer boards showed that beyond the initial enthusiasm it always
took much more than initially estimated, sometimes up to 2-3 days work.

I don't like to say that, but for most of us Yocto is a spare-time
effort, which means its priority is below the commercial projects we're
working on. But I can assure you that I would love to see 3.14.28
running on riotboard, just as you, and I'll do my best to make it
happen.

If you feel enthusiastic about helping out with enabling the 3.14.28
kernel support, your help will be warmly appreciated.

Regards,
Nikolay


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 22:12       ` Nikolay Dimitrov
@ 2015-04-29 22:36         ` Gary Thomas
  0 siblings, 0 replies; 17+ messages in thread
From: Gary Thomas @ 2015-04-29 22:36 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale

On 2015-04-29 16:12, Nikolay Dimitrov wrote:
> Hi Gary,
>
> On 04/30/2015 12:56 AM, Gary Thomas wrote:
>> On 2015-04-29 15:51, Nikolay Dimitrov wrote:
>>> Hi Gary,
>>>
>>> On 04/30/2015 12:42 AM, Gary Thomas wrote:
>>>> On 2015-04-29 15:38, Nikolay Dimitrov wrote:
>>>>> Several Yocto images fail to build because they're using packages that
>>>>> require
>>>>> imx6-specific hardware support (ASRC, VPU, GPU3D), which is not
>>>>> available in
>>>>> the mainline kernel. This patch fixes the following image builds:
>>>>> - core-image-minimal
>>>>> - core-image-base
>>>>> - fsl-image-multimedia
>>>>>
>>>>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>>>>> ---
>>>>>   conf/machine/imx6dl-riotboard.conf |    3 +++
>>>>>   1 file changed, 3 insertions(+)
>>>>>
>>>>> diff --git a/conf/machine/imx6dl-riotboard.conf
>>>>> b/conf/machine/imx6dl-riotboard.conf
>>>>> index b611ffb..05f6a38 100644
>>>>> --- a/conf/machine/imx6dl-riotboard.conf
>>>>> +++ b/conf/machine/imx6dl-riotboard.conf
>>>>> @@ -15,3 +15,6 @@ PREFERRED_PROVIDER_virtual/kernel ?= "linux-fslc"
>>>>>   KERNEL_DEVICETREE = "imx6dl-riotboard.dtb"
>>>>>
>>>>>   SERIAL_CONSOLE = "115200 ttymxc1"
>>>>> +
>>>>> +MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins"
>>>>> +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = ""
>>>>>
>>>>
>>>> Is there some way to make this weaker?  For example, these
>>>> changes will be icorrect if [when?] you get the linux-fslc 3.14
>>>> kernel going.
>>>
>>> Yes, I was also thinking about it. My plan is to fix this when
>>> introducing the 3.14 support, but as of today there's no such support
>>> for riotboard, so I would prefer to push whatever I have
>>> working.
>>
>> I've not looked at backporting to 3.14 (I was leaving that for you!)
>> but how different would the device tree from 4.1-rc1 need to be to
>> work with 3.14?  Isn't that (plus the stitching to get it built)
>> about all that's needed?
>
> I don't expect any back-porting work for FSL 3.14.28 kernel, only DT
> work. My last experience of playing with DTs on several imx6 dual/quad
> customer boards showed that beyond the initial enthusiasm it always
> took much more than initially estimated, sometimes up to 2-3 days work.
>
> I don't like to say that, but for most of us Yocto is a spare-time
> effort, which means its priority is below the commercial projects we're
> working on. But I can assure you that I would love to see 3.14.28
> running on riotboard, just as you, and I'll do my best to make it
> happen.
>
> If you feel enthusiastic about helping out with enabling the 3.14.28
> kernel support, your help will be warmly appreciated.

I'll give it a look and see what I come up with.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 21:41 ` Otavio Salvador
@ 2015-04-29 22:46   ` Nikolay Dimitrov
  2015-04-29 22:59     ` Fabio Estevam
  0 siblings, 1 reply; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-29 22:46 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

Hi Otavio,

On 04/30/2015 12:41 AM, Otavio Salvador wrote:
> On Wed, Apr 29, 2015 at 6:38 PM, Nikolay Dimitrov <picmaster@mail.bg>
> wrote:
>> Several Yocto images fail to build because they're using packages
>> that require imx6-specific hardware support (ASRC, VPU, GPU3D),
>> which is not available in the mainline kernel. This patch fixes the
>> following image builds: - core-image-minimal - core-image-base -
>> fsl-image-multimedia
>>
>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>
> Without the image provided by Fabio, fsl-image-machine-test will fail
> ;)

Right now fsl-image-machine-test fails on riotboard even with the added:

PREFERRED_VERSION_imx-test = "00.00.00"

I'm not saying this config is not needed. What I'm saying is that I
have a build failure that probably masks the need for this config.

Regards,
Nikolay


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 22:46   ` Nikolay Dimitrov
@ 2015-04-29 22:59     ` Fabio Estevam
  2015-04-30  2:50       ` Nikolay Dimitrov
  0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2015-04-29 22:59 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale, Otavio Salvador

Hi Nikolay,

On Wed, Apr 29, 2015 at 7:46 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:

> Right now fsl-image-machine-test fails on riotboard even with the added:
>
> PREFERRED_VERSION_imx-test = "00.00.00"
>
> I'm not saying this config is not needed. What I'm saying is that I
> have a build failure that probably masks the need for this config.

What is the build failure you are seeing?

Regards,

Fabio Estevam


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-29 22:59     ` Fabio Estevam
@ 2015-04-30  2:50       ` Nikolay Dimitrov
  2015-04-30  3:22         ` Nikolay Dimitrov
  0 siblings, 1 reply; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-30  2:50 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale, Otavio Salvador

Hi Fabio,

On 04/30/2015 01:59 AM, Fabio Estevam wrote:
> Hi Nikolay,
>
> On Wed, Apr 29, 2015 at 7:46 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>
>> Right now fsl-image-machine-test fails on riotboard even with the added:
>>
>> PREFERRED_VERSION_imx-test = "00.00.00"
>>
>> I'm not saying this config is not needed. What I'm saying is that I
>> have a build failure that probably masks the need for this config.
>
> What is the build failure you are seeing?


$ bitbake fsl-image-machine-test
Parsing recipes: 100% 
|#######################################################################################| 
Time: 00:00:31
Parsing of 1606 .bb files complete (0 cached, 1606 parsed). 2090 
targets, 140 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, 
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native

Build Configuration:
BB_VERSION        = "1.27.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-7.8"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6dl-riotboard"
DISTRO            = "poky"
DISTRO_VERSION    = "1.8+snapshot-20150430"
TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU        = "vfp-neon"
meta
meta-yocto        = "(nobranch):515a8b790e08a48aaf64a6b7237e2b39390e35f6"
meta-oe
meta-multimedia   = "(nobranch):2080f15e86d3d8e1e1f65e16b014545fe538114c"
meta-fsl-arm      = "(nobranch):6002fa0777327a4ca6ee5c0ec36fa1ce8d74087e"
meta-fsl-arm-extra = 
"riotboard-fix-machine-conf-v2:de4320c46fe5241a48f7a7f9ab691bbe41904746"
meta-fsl-demos    = "(nobranch):d70213100bde874897b1126f26b9762bae7accef"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: fbset-modes: the directory ${WORKDIR}/${BP} 
(/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/fbset-modes/0.1.0-r6/fbset-modes-0.1.0) 
pointed to by the S variable doesn't exist - please set S within the 
recipe to point to where the source has been unpacked to
ERROR: Function failed: do_compile (log file is located at 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173)
ERROR: Logfile of failure stored in: 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 CROSS_COMPILE=arm-poky-linux-gnueabi- PLATFORM=IMX6Q 
INCLUDE=-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/rng/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/sahara2/include 
all
| make -C hdmi-cec all
| make[1]: Entering directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/hdmi-cec'
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon 
-mtune=cortex-a9 
--sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard 
-DIMX6Q -Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -c 
mxc_hdmi-cec.c -o mxc_hdmi-cec.o
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon 
-mtune=cortex-a9 
--sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard 
-shared -nostartfiles -Wl,-soname,libcec.so.1 mxc_hdmi-cec.o -o 
libcec.so.1 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed
| ln -s libcec.so.1 libcec.so
| arm-poky-linux-gnueabi-ar -rc libcec.a  mxc_hdmi-cec.o
| make[1]: Leaving directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/hdmi-cec'
| make -C ipu all
| make[1]: Entering directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/ipu'
| arm-poky-linux-gnueabi-gcc  -march=armv7-a -mfloat-abi=hard -mfpu=neon 
-mtune=cortex-a9 
--sysroot=/home/picmaster/work/yocto-master-riotboard-test/build/tmp/sysroots/imx6dl-riotboard 
-DIMX6Q 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/rng/include 
 
-I/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/drivers/mxc/security/sahara2/include 
-Wall -fPIC  -O2 -pipe -g -feliminate-unused-debug-types -c 
mxc_ipu_hl_lib_dummy.c -o mxc_ipu_hl_lib_dummy.o
| In file included from 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi/linux/videodev2.h:64:0,
|                  from mxc_ipu_hl_lib_dummy.c:39:
| 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work-shared/imx6dl-riotboard/kernel-source/include/uapi/linux/types.h:9:2: 
warning: #warning "Attempt to use kernel headers from user space, see 
http://kernelnewbies.org/KernelHeaders" [-Wcpp]
|  #warning "Attempt to use kernel headers from user space, see 
http://kernelnewbies.org/KernelHeaders"
|   ^
| In file included from mxc_ipu_hl_lib_dummy.c:40:0:
| mxc_ipu_hl_lib.h:104:25: fatal error: linux/mxcfb.h: No such file or 
directory
|  #include <linux/mxcfb.h>
|                          ^
| compilation terminated.
| make[1]: *** [mxc_ipu_hl_lib_dummy.o] Error 1
| make[1]: Leaving directory 
`/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/imx-lib-3.10.53-1.1.0/ipu'
| make: *** [ipu] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at 
/home/picmaster/work/yocto-master-riotboard-test/build/tmp/work/imx6dl_riotboard-poky-linux-gnueabi/imx-lib/1_3.10.53-1.1.0-r0/temp/log.do_compile.12173)
ERROR: Task 4701 
(/home/picmaster/work/yocto-master-riotboard-test/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb, 
do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2922 tasks of which 5 didn't need to be 
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
 
/home/picmaster/work/yocto-master-riotboard-test/sources/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb, 
do_compile
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


The obvious part is that someone is pulling-in imx-lib, which shouldn't 
be built with linux-fslc. I'm still to figure out why.

Regards,
Nikolay


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-30  2:50       ` Nikolay Dimitrov
@ 2015-04-30  3:22         ` Nikolay Dimitrov
  2015-04-30 10:52           ` Otavio Salvador
  0 siblings, 1 reply; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-30  3:22 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale, Otavio Salvador

Hi gang,

On 04/30/2015 05:50 AM, Nikolay Dimitrov wrote:
>
> The obvious part is that someone is pulling-in imx-lib, which
> shouldn't be built with linux-fslc. I'm still to figure out why.
>
> Regards, Nikolay

It looks like packagegroup-fsl-gstreamer-full pulls-in, gst-plugins-gl,
gst-fsl-plugin and finally imx-lib, which causes the build failure.

Here's the source of the issue
(meta-fsl-demos/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb):

# FIXME: i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
#        so skip it for now.
RDEPENDS_${PN}_remove_mx6sl = "gst-plugins-gl"

This fix prevents the build failure for warp (I already tested it). For
imx6sl the situation is easy, as the both the hardware and kernel
doesn't support gpu3d. But this is not the case for imx6dl and
linux-fslc. We can't just remove gst-plugins-gl when building for imx6dl.

Probably we need something like this:

RDEPENDS_${PN}_remove_mx6dl = "${@bb.utils.contains('KERNEL_FEATURES',
'supports-gpu3d', '', 'gst-plugins-gl', d)}"

Any ideas?

Regards,
Nikolay


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-30  3:22         ` Nikolay Dimitrov
@ 2015-04-30 10:52           ` Otavio Salvador
  2015-04-30 14:34             ` Nikolay Dimitrov
  0 siblings, 1 reply; 17+ messages in thread
From: Otavio Salvador @ 2015-04-30 10:52 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale

On Thu, Apr 30, 2015 at 12:22 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> On 04/30/2015 05:50 AM, Nikolay Dimitrov wrote:
>> The obvious part is that someone is pulling-in imx-lib, which
>> shouldn't be built with linux-fslc. I'm still to figure out why.
>>
>> Regards, Nikolay
>
>
> It looks like packagegroup-fsl-gstreamer-full pulls-in, gst-plugins-gl,
> gst-fsl-plugin and finally imx-lib, which causes the build failure.
>
> Here's the source of the issue
> (meta-fsl-demos/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb):
>
> # FIXME: i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
> #        so skip it for now.
> RDEPENDS_${PN}_remove_mx6sl = "gst-plugins-gl"
>
> This fix prevents the build failure for warp (I already tested it). For
> imx6sl the situation is easy, as the both the hardware and kernel
> doesn't support gpu3d. But this is not the case for imx6dl and
> linux-fslc. We can't just remove gst-plugins-gl when building for imx6dl.
>
> Probably we need something like this:
>
> RDEPENDS_${PN}_remove_mx6dl = "${@bb.utils.contains('KERNEL_FEATURES',
> 'supports-gpu3d', '', 'gst-plugins-gl', d)}"
>
> Any ideas?

https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/m53evk.conf#L25

This should fix this all (replace the machine name, of course).

-- 
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] 17+ messages in thread

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-30 10:52           ` Otavio Salvador
@ 2015-04-30 14:34             ` Nikolay Dimitrov
  2015-04-30 15:13               ` Fabio Estevam
  0 siblings, 1 reply; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-30 14:34 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

Hi Otavio,

On 04/30/2015 01:52 PM, Otavio Salvador wrote:
> On Thu, Apr 30, 2015 at 12:22 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>> On 04/30/2015 05:50 AM, Nikolay Dimitrov wrote:
>>> The obvious part is that someone is pulling-in imx-lib, which
>>> shouldn't be built with linux-fslc. I'm still to figure out why.
>>>
>>> Regards, Nikolay
>>
>>
>> It looks like packagegroup-fsl-gstreamer-full pulls-in, gst-plugins-gl,
>> gst-fsl-plugin and finally imx-lib, which causes the build failure.
>>
>> Here's the source of the issue
>> (meta-fsl-demos/recipes-fsl/packagegroups/packagegroup-fsl-gstreamer-full.bb):
>>
>> # FIXME: i.MX6SL cannot use mesa for Graphics and it lacks 3D support,
>> #        so skip it for now.
>> RDEPENDS_${PN}_remove_mx6sl = "gst-plugins-gl"
>>
>> This fix prevents the build failure for warp (I already tested it). For
>> imx6sl the situation is easy, as the both the hardware and kernel
>> doesn't support gpu3d. But this is not the case for imx6dl and
>> linux-fslc. We can't just remove gst-plugins-gl when building for imx6dl.
>>
>> Probably we need something like this:
>>
>> RDEPENDS_${PN}_remove_mx6dl = "${@bb.utils.contains('KERNEL_FEATURES',
>> 'supports-gpu3d', '', 'gst-plugins-gl', d)}"
>>
>> Any ideas?
>
> https://github.com/Freescale/meta-fsl-arm-extra/blob/master/conf/machine/m53evk.conf#L25
>
> This should fix this all (replace the machine name, of course).

Can you be more specific, please? I don't see anything that helps, but
I could be wrong.

Regards,
Nikolay


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-30 14:34             ` Nikolay Dimitrov
@ 2015-04-30 15:13               ` Fabio Estevam
  2015-04-30 15:18                 ` Nikolay Dimitrov
  0 siblings, 1 reply; 17+ messages in thread
From: Fabio Estevam @ 2015-04-30 15:13 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale, Otavio Salvador

On Thu, Apr 30, 2015 at 11:34 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:

> Can you be more specific, please? I don't see anything that helps, but
> I could be wrong.

I think Otavio's suggestion is for you to add:
XSERVER_DRIVER_imx6dl-riotboard = "xf86-video-fbdev"

Regards,

Fabio Estevam


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

* Re: [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc
  2015-04-30 15:13               ` Fabio Estevam
@ 2015-04-30 15:18                 ` Nikolay Dimitrov
  0 siblings, 0 replies; 17+ messages in thread
From: Nikolay Dimitrov @ 2015-04-30 15:18 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale, Otavio Salvador

Hi Fabio,

On 04/30/2015 06:13 PM, Fabio Estevam wrote:
> On Thu, Apr 30, 2015 at 11:34 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
>
>> Can you be more specific, please? I don't see anything that helps, but
>> I could be wrong.
>
> I think Otavio's suggestion is for you to add:
> XSERVER_DRIVER_imx6dl-riotboard = "xf86-video-fbdev"

Thanks for the clarification. This doesn't work. As shared previously,
the build failure is because of the unnecessary dependency to
gst-plugins-gl.

Regards,
Nikolay


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

end of thread, other threads:[~2015-04-30 15:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29 21:38 [meta-fsl-arm-extra][PATCH v2] riotboard: Fix broken image builds against linux-fslc Nikolay Dimitrov
2015-04-29 21:41 ` Otavio Salvador
2015-04-29 22:46   ` Nikolay Dimitrov
2015-04-29 22:59     ` Fabio Estevam
2015-04-30  2:50       ` Nikolay Dimitrov
2015-04-30  3:22         ` Nikolay Dimitrov
2015-04-30 10:52           ` Otavio Salvador
2015-04-30 14:34             ` Nikolay Dimitrov
2015-04-30 15:13               ` Fabio Estevam
2015-04-30 15:18                 ` Nikolay Dimitrov
2015-04-29 21:42 ` Gary Thomas
2015-04-29 21:48   ` Otavio Salvador
2015-04-29 21:55     ` Nikolay Dimitrov
2015-04-29 21:51   ` Nikolay Dimitrov
2015-04-29 21:56     ` Gary Thomas
2015-04-29 22:12       ` Nikolay Dimitrov
2015-04-29 22:36         ` Gary Thomas

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.