All of lore.kernel.org
 help / color / mirror / Atom feed
* Updates to meta-fsl-arm (dizzy) in 2015-02-13
@ 2015-02-13 22:58 Otavio Salvador
  2015-02-14 17:08 ` Nikolay Dimitrov
  0 siblings, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2015-02-13 22:58 UTC (permalink / raw)
  To: meta-freescale

Hello,

I pushed following updates:

commit c52487556013059e5cdd0ee91fd4bd4fbc39b1ab (HEAD, yocto/dizzy, for-dizzy)
Author: Otavio Salvador <otavio@ossystems.com.br>
Date:   Thu Feb 12 23:03:33 2015 -0200

    imx-base: Add virtual/libg2d to i.MX6's MACHINE_SOCARCH_FILTER
    
    The virtual/libg2d package is i.MX6 dependant and should put every
    package depending on it into the i.MX6's sub-architecture to avoid it
    being included in other architectures due package feed.
    
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit af9a51e8d892f76ae3cef7c05b86ed9431c1f24b
Author: Otavio Salvador <otavio@ossystems.com.br>
Date:   Wed Feb 11 00:37:49 2015 -0200

    gpu-viv-g2d: Add a dependency on Vivante GPU core driver
    
    The G2D uses symbols provided by the Vivante GPU core driver so for
    proper linking the .so files must to be around.
    
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit 8edc2a7192c2ca3b4c5071f65df140d111d11664
Author: Nikolay Dimitrov <picmaster@mail.bg>
Date:   Fri Feb 6 16:29:36 2015 +0200

    linux-imx: Disable imx6sl-specific code when imx6sl SOC support is disabled
    
    Currently the build fails when CONFIG_SOC_IMX6SL is disabled, due to some
    hard-coded stuff. The patch purpose is to handle enabling/disabling this
    config option.
    
    Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit b7d5bffb68559949d57d910f84c0c29942a04cb9
Author: Otavio Salvador <otavio@ossystems.com.br>
Date:   Thu Feb 5 08:57:44 2015 -0200

    u-boot-imx (2009.08): Remove deprecated version
    
    This release is not in use by any supported board, being kept
    completely untested for last release. Drop it.
    
    Reported-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit ca6383f3e138e7a83f141204297d1360668df38a
Author: Otavio Salvador <otavio@ossystems.com.br>
Date:   Thu Feb 5 00:26:19 2015 -0200

    linux-fslc: Update to revision 483412c9
    
    This updates the branch to the 3.18.5 stable release.
    
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit c69afc650c161cc79d69baabaa53cf4d4f4ea9c7
Author: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Date:   Thu Feb 5 22:37:20 2015 +0100

    image_types_fsl.bbclass: fix typos
    
    Few comments are using bytes instead of block. Also remove useless
    seek=1
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit db45be1b9a90d08d1c4b7bced132a4985d7c8da2
Author: Otavio Salvador <otavio@ossystems.com.br>
Date:   Thu Feb 5 08:59:36 2015 -0200

    image_types_fsl.bbclass: Drop UBOOT_PADDING support
    
    The U-Boot 2009.08 has been removed so every version now supported
    does not use padding. This patch drops the code which added the
    possibility of use old U-Boot version but which was unused for long
    time.
    
    Reported-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

commit 73f4a5689749ce75fadaa5eb190b2e6728069cd0
Author: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Date:   Tue Feb 3 12:03:38 2015 +0100

    imx-base: enable fsl-alsa-plugins conditionally
    
    Stop adding fsl-alsa-plugins to the MACHINE_EXTRA_RRECOMMENDS when
    DISTRO_FEATURES doesn't contain alsa to avoid building alsa-utils.
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
    Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-13 22:58 Updates to meta-fsl-arm (dizzy) in 2015-02-13 Otavio Salvador
@ 2015-02-14 17:08 ` Nikolay Dimitrov
  2015-02-14 22:28   ` Otavio Salvador
  2015-02-14 23:55   ` Wally Yeh
  0 siblings, 2 replies; 12+ messages in thread
From: Nikolay Dimitrov @ 2015-02-14 17:08 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

Hi Otavio,

On 02/14/2015 12:58 AM, Otavio Salvador wrote:
> commit 8edc2a7192c2ca3b4c5071f65df140d111d11664
> Author: Nikolay Dimitrov <picmaster@mail.bg>
> Date:   Fri Feb 6 16:29:36 2015 +0200
>
>      linux-imx: Disable imx6sl-specific code when imx6sl SOC support is disabled
>
>      Currently the build fails when CONFIG_SOC_IMX6SL is disabled, due to some
>      hard-coded stuff. The patch purpose is to handle enabling/disabling this
>      config option.
>
>      Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>      Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>

Hi Otavio,

Please revert this patch on dizzy. This is v1 of the patch, which is a 
complete disaster.

I've later sent v2 for 3.10.53 which is much better and is now applied 
to master. But v2 won't directly apply on 3.10.17 as it needs some massage.

Would you like me to send the reworked patch for 3.10.17/dizzy?

Kind regards,
Nikolay


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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-14 17:08 ` Nikolay Dimitrov
@ 2015-02-14 22:28   ` Otavio Salvador
  2015-02-14 23:55   ` Wally Yeh
  1 sibling, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2015-02-14 22:28 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 1224 bytes --]

On Sat, Feb 14, 2015 at 3:08 PM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> On 02/14/2015 12:58 AM, Otavio Salvador wrote:
>> commit 8edc2a7192c2ca3b4c5071f65df140d111d11664
>> Author: Nikolay Dimitrov <picmaster@mail.bg>
>> Date: Fri Feb 6 16:29:36 2015 +0200
>>
>> linux-imx: Disable imx6sl-specific code when imx6sl SOC support is
>> disabled
>>
>> Currently the build fails when CONFIG_SOC_IMX6SL is disabled, due to
>> some
>> hard-coded stuff. The patch purpose is to handle enabling/disabling
>> this
>> config option.
>>
>> Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>
>
> Hi Otavio,
>
> Please revert this patch on dizzy. This is v1 of the patch, which is a
> complete disaster.

Ok, I do that later today.

> I've later sent v2 for 3.10.53 which is much better and is now applied to
> master. But v2 won't directly apply on 3.10.17 as it needs some massage.
>
> Would you like me to send the reworked patch for 3.10.17/dizzy?

Please do. It does make sense :-D

-- 
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

[-- Attachment #2: Type: text/html, Size: 1834 bytes --]

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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-14 17:08 ` Nikolay Dimitrov
  2015-02-14 22:28   ` Otavio Salvador
@ 2015-02-14 23:55   ` Wally Yeh
  2015-02-15 13:28     ` Nikolay Dimitrov
  1 sibling, 1 reply; 12+ messages in thread
From: Wally Yeh @ 2015-02-14 23:55 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale, Otavio Salvador

> Please revert this patch on dizzy. This is v1 of the patch, which is a complete disaster.

so sorry, seems I just make a wrong suggestion? :(

but your patch v1 seems work, I modified the code as your patch did.


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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-14 23:55   ` Wally Yeh
@ 2015-02-15 13:28     ` Nikolay Dimitrov
  2015-02-15 17:29       ` Otavio Salvador
  2015-02-18 18:34       ` Nikolay Dimitrov
  0 siblings, 2 replies; 12+ messages in thread
From: Nikolay Dimitrov @ 2015-02-15 13:28 UTC (permalink / raw)
  To: Wally Yeh; +Cc: meta-freescale, Otavio Salvador

Hi Wally,

On 02/15/2015 01:55 AM, Wally Yeh wrote:
>> Please revert this patch on dizzy. This is v1 of the patch, which is a complete disaster.
>
> so sorry, seems I just make a wrong suggestion? :(
>
> but your patch v1 seems work, I modified the code as your patch did.

It may seems to work, but is a barbaric solution. Please take a look at
the last proposed solution, hope you and others will like it more.

Kind regards,
Nikolay


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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-15 13:28     ` Nikolay Dimitrov
@ 2015-02-15 17:29       ` Otavio Salvador
  2015-02-18 18:34       ` Nikolay Dimitrov
  1 sibling, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2015-02-15 17:29 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale, Wally Yeh

On Sun, Feb 15, 2015 at 11:28 AM, Nikolay Dimitrov <picmaster@mail.bg> wrote:
> On 02/15/2015 01:55 AM, Wally Yeh wrote:
>>> Please revert this patch on dizzy. This is v1 of the patch, which is a
>>> complete disaster.
>> so sorry, seems I just make a wrong suggestion? :(
>>
>> but your patch v1 seems work, I modified the code as your patch did.
>
>
> It may seems to work, but is a barbaric solution. Please take a look at
> the last proposed solution, hope you and others will like it more.

I will revert the current one and add the reworked one. Thanks for the heads up!

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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-15 13:28     ` Nikolay Dimitrov
  2015-02-15 17:29       ` Otavio Salvador
@ 2015-02-18 18:34       ` Nikolay Dimitrov
  2015-02-19  2:47         ` Wally Yeh
  1 sibling, 1 reply; 12+ messages in thread
From: Nikolay Dimitrov @ 2015-02-18 18:34 UTC (permalink / raw)
  To: Wally Yeh; +Cc: meta-freescale, Otavio Salvador

Hi Wally,

On 02/15/2015 03:28 PM, Nikolay Dimitrov wrote:
> Hi Wally,
>
> On 02/15/2015 01:55 AM, Wally Yeh wrote:
>>> Please revert this patch on dizzy. This is v1 of the patch, which is
>>> a complete disaster.
>>
>> so sorry, seems I just make a wrong suggestion? :(
>>
>> but your patch v1 seems work, I modified the code as your patch did.
>
> It may seems to work, but is a barbaric solution. Please take a look at
> the last proposed solution, hope you and others will like it more.

Did you tried the patch? I'm interested to know whether it worked for
you.

Regards,
Nikolay


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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-18 18:34       ` Nikolay Dimitrov
@ 2015-02-19  2:47         ` Wally Yeh
  2015-02-19 14:37           ` Wally Yeh
  0 siblings, 1 reply; 12+ messages in thread
From: Wally Yeh @ 2015-02-19  2:47 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Hi, Nikolay:
>Did you tried the patch? I'm interested to know whether it worked for
>you.
    I haven't tried your v2 patch due to the chinese new year.
I'll try this patch as soon as I get back from my parent's home.

cheers :D

[-- Attachment #2: Type: text/html, Size: 466 bytes --]

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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-19  2:47         ` Wally Yeh
@ 2015-02-19 14:37           ` Wally Yeh
  2015-02-19 15:52             ` Nikolay Dimitrov
  0 siblings, 1 reply; 12+ messages in thread
From: Wally Yeh @ 2015-02-19 14:37 UTC (permalink / raw)
  To: Otavio Salvador; +Cc: meta-freescale

Hi, Otavio:
    I just build a fresh yocto dizzy on my parent's computer, and
found there's no Nikolay V2 patch on linux-imx. where could I get it?
the V1 patch I get is from Nikolay's meta-freescale thread:
    https://lists.yoctoproject.org/pipermail/meta-freescale/2015-February/012718.html

Wally


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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-19 14:37           ` Wally Yeh
@ 2015-02-19 15:52             ` Nikolay Dimitrov
  2015-02-19 16:00               ` Nikolay Dimitrov
  0 siblings, 1 reply; 12+ messages in thread
From: Nikolay Dimitrov @ 2015-02-19 15:52 UTC (permalink / raw)
  To: Wally Yeh; +Cc: meta-freescale, Otavio Salvador

Hi Wally,

On 02/19/2015 04:37 PM, Wally Yeh wrote:
> Hi, Otavio:
>      I just build a fresh yocto dizzy on my parent's computer, and
> found there's no Nikolay V2 patch on linux-imx. where could I get it?
> the V1 patch I get is from Nikolay's meta-freescale thread:
>      https://lists.yoctoproject.org/pipermail/meta-freescale/2015-February/012718.html

Please check with "repo info" that you're using "dizzy", and then do 
"repo sync". Then verify that the following patch is available:

sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.10.17/0002-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch

Also, this recipe...

sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb

...should contain the text:

SRC_URI += 
"file://0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch \
 
file://0002-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch \
"

If you're building kernel 3.10.17, there is zero chance for this to not 
work.

Regards,
Nikolay


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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-19 15:52             ` Nikolay Dimitrov
@ 2015-02-19 16:00               ` Nikolay Dimitrov
  2015-02-19 16:41                 ` Wally Yeh
  0 siblings, 1 reply; 12+ messages in thread
From: Nikolay Dimitrov @ 2015-02-19 16:00 UTC (permalink / raw)
  To: Wally Yeh; +Cc: meta-freescale, Otavio Salvador

Hi Wally,

On 02/19/2015 05:52 PM, Nikolay Dimitrov wrote:
> Hi Wally,
>
> On 02/19/2015 04:37 PM, Wally Yeh wrote:
>> Hi, Otavio:
>>      I just build a fresh yocto dizzy on my parent's computer, and
>> found there's no Nikolay V2 patch on linux-imx. where could I get it?
>> the V1 patch I get is from Nikolay's meta-freescale thread:
>>
>> https://lists.yoctoproject.org/pipermail/meta-freescale/2015-February/012718.html
>>
>
> Please check with "repo info" that you're using "dizzy", and then do
> "repo sync". Then verify that the following patch is available:
>
> sources/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.10.17/0002-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch
>
>
> Also, this recipe...
>
> sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb
>
> ...should contain the text:
>
> SRC_URI +=
> "file://0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch \
>
> file://0002-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch \
> "
>
> If you're building kernel 3.10.17, there is zero chance for this to not
> work.

There's one case when these patches won't be applied to your kernel -
it's when you're working on a custom board and you're using your own
recipe for building FSL kernel 3.10.17.

You can solve this by:
1. Place your kernel recipe in meta-fsl-arm/recipes-kernel/linux
alongside the Freescale's ones (not cool, but works)
2. Copy the patches in your custom layer and enable them in your
SRC_URI var (much better)

Kind regards,
Nikolay


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

* Re: Updates to meta-fsl-arm (dizzy) in 2015-02-13
  2015-02-19 16:00               ` Nikolay Dimitrov
@ 2015-02-19 16:41                 ` Wally Yeh
  0 siblings, 0 replies; 12+ messages in thread
From: Wally Yeh @ 2015-02-19 16:41 UTC (permalink / raw)
  To: Nikolay Dimitrov; +Cc: meta-freescale, Otavio Salvador

[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

Hi, Nikolay:
>There's one case when these patches won't be applied to your kernel -
>it's when you're working on a custom board and you're using your own
>recipe for building FSL kernel 3.10.17.
>
>You can solve this by:
>1. Place your kernel recipe in meta-fsl-arm/recipes-kernel/linux
>alongside the Freescale's ones (not cool, but works)
>2. Copy the patches in your custom layer and enable them in your
>SRC_URI var (much better)

Thanks, you're right. I'm using my own kernel recipe.

I revert your V1 patch and apply your V2 patch directly to my kernel and
reconfigure & rebuild the kernel.
everything works fine. I test all my test program(gstreamer apps, sound
record, sound play.... etc).

this patch is way much easier than V1.  :D

Wally

[-- Attachment #2: Type: text/html, Size: 2046 bytes --]

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

end of thread, other threads:[~2015-02-19 16:41 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-13 22:58 Updates to meta-fsl-arm (dizzy) in 2015-02-13 Otavio Salvador
2015-02-14 17:08 ` Nikolay Dimitrov
2015-02-14 22:28   ` Otavio Salvador
2015-02-14 23:55   ` Wally Yeh
2015-02-15 13:28     ` Nikolay Dimitrov
2015-02-15 17:29       ` Otavio Salvador
2015-02-18 18:34       ` Nikolay Dimitrov
2015-02-19  2:47         ` Wally Yeh
2015-02-19 14:37           ` Wally Yeh
2015-02-19 15:52             ` Nikolay Dimitrov
2015-02-19 16:00               ` Nikolay Dimitrov
2015-02-19 16:41                 ` Wally Yeh

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.