From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 67ECBE00998; Tue, 12 May 2015 05:41:43 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.169 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 2A112E00982 for ; Tue, 12 May 2015 05:41:40 -0700 (PDT) Received: by pdbnk13 with SMTP id nk13so10196523pdb.0 for ; Tue, 12 May 2015 05:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=21NjCaUTkE9ABQsKdVrW4bLouQ8JIqw5o5khGkHGUWs=; b=IOHGAlMnnFnwLuUJBFtAvjCZjVJqs+A9De0pPkE0+QKfm1mYHx7jHeBuZK0UJkziVP 2ZrzZ7xRkvy7KJ2CoKsOtaAsVUoru5lpwuDbxFZ/qoJv1/Lz627oArSub9xYc48qaEFx lfXAk0+rr538PAWsNStN6OvkTMlbWlXyUdyFU9EGZNPEEhnZxQz+9Uw0k0e3uSKqCOML Emy/46JY5NXR9ku3usPCGWwICZS/fEZFD9n+EQoqGrzSE1R+8FYmSbynvqy7ovPWe5Za W6BxQZ/zN3mLuKX2euFW+GN6eQKSXRNOBJ4r44QY8Dvao0nV7/ByiU78dZUhfrOl8F/X NCsQ== MIME-Version: 1.0 X-Received: by 10.68.179.67 with SMTP id de3mr27972240pbc.85.1431434500110; Tue, 12 May 2015 05:41:40 -0700 (PDT) Sender: otavio.salvador@gmail.com Received: by 10.70.34.109 with HTTP; Tue, 12 May 2015 05:41:39 -0700 (PDT) In-Reply-To: <55513E7A.4060304@mail.bg> References: <1430408987-24977-1-git-send-email-picmaster@mail.bg> <1430408987-24977-2-git-send-email-picmaster@mail.bg> <5550DC19.80308@mail.bg> <5550E5E3.5090502@mail.bg> <55513E7A.4060304@mail.bg> Date: Tue, 12 May 2015 09:41:39 -0300 X-Google-Sender-Auth: 2fvUMpa4HXKrfgnPZbJIMPaKnRQ Message-ID: From: Otavio Salvador To: Nikolay Dimitrov Cc: "meta-freescale@yoctoproject.org" Subject: Re: [meta-fsl-demos][PATCH] riotboard: Fix broken image builds against linux-fslc X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 May 2015 12:41:43 -0000 Content-Type: text/plain; charset=UTF-8 On Mon, May 11, 2015 at 8:42 PM, Nikolay Dimitrov wrote: > On 05/11/2015 08:46 PM, Otavio Salvador wrote: >> On Mon, May 11, 2015 at 2:24 PM, Nikolay Dimitrov >> wrote: >>> >>> Hi Otavio, >>> >>> On 05/11/2015 08:09 PM, Otavio Salvador wrote: >>>> >>>> >>>> On Mon, May 11, 2015 at 1:43 PM, Nikolay Dimitrov >>>> wrote: >>>>> >>>>> >>>>> Ping. >>>> >>>> >>>> >>>> I am building it here for testing. >>> >>> >>> >>> That's great, thanks for looking into it. >> >> >> Your patch can get a change: >> >> diff --git a/conf/machine/imx6dl-riotboard.conf >> b/conf/machine/imx6dl-riotboard.conf index bf50eaf..260deed 100644 >> --- a/conf/machine/imx6dl-riotboard.conf +++ >> b/conf/machine/imx6dl-riotboard.conf @@ -19,4 +19,4 @@ SERIAL_CONSOLE >> = "115200 ttymxc1" # FIXME: Workaround for building against >> linux-fslc MACHINE_EXTRA_RRECOMMENDS_remove = "fsl-alsa-plugins" >> PREFERRED_VERSION_imx-test = "00.00.00" -MACHINE_GSTREAMER_PLUGIN = >> "" +MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard = "" >> >> This makes the patch in meta-fsl-demos not needed and seems cleaner. >> >> Can you take a look and confirm? > > > This code sits in riotboard-specific conf file, so there's no difference > between MACHINE_GSTREAMER_PLUGIN and > MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard variables. The machine suffix > is redundant in the 2nd case. But even if I use the proposed > MACHINE_GSTREAMER_PLUGIN_imx6dl-riotboard, the fsl-image-multimedia-full > image build still fails. I reproduced it here. It fails only with X11 and my test was using Framebuffer. I have sent a patch for review. > Regarding the meta-fsl-demos patch - the need for this fix is because > the packagegroup-fsl-gstreamer-full.bb is again adding the > gst-plugins-gl dependency, disregarding the available capabilities > (either hardware or kernel). See above. > So, my motivation for doing it this way for short term is the following: > 1. I still have single kernel to maintain (fslc) as of today. > 2. The board builds are broken at least since 23.April and I have to do > something about it. > > FYI, for a long-term solution I plan to do the following, if you agree: > - Support building multiple kernels, including both FSL and FSLC > - Somehow declare the capabilities of the hardware/kernel and take it > into account by in recipes. We need something like KERNEL_FEATURES and > MACHINE_FEATURES, and only if a feature is declared by both variables, > then it should be used (not sure whether this is the same as the > COMBINED_FEATURES mechanism). I'm looking towards your ideas here, as > you guys have much more Yocto experience than me. > > To summarize: my patch set is not perfect, but as of today we don't > have all the ingredients to make it perfect. Tomorrow we could have > these ingredients, but I can't see how far is this tomorrow. The biggest challenge here is how to express KERNEL_FEATURES which are recipe/provider specific. We have some providers: linux-fslc linux-imx linux- and each can provide different kernel features. I agree with the long term plan but I didn't yet came up with something which scales and work. -- 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