From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pa0-f49.google.com (mail-pa0-f49.google.com [209.85.220.49]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3A2FE006BE for ; Wed, 19 Feb 2014 09:06:54 -0800 (PST) Received: by mail-pa0-f49.google.com with SMTP id hz1so649906pad.36 for ; Wed, 19 Feb 2014 09:06:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=rK1R34NYVRAyJnv2xrzqysL1eBYdrx0HGEJbjeJz4pQ=; b=C/nsmd1SQSA5l9XeCZcPjesGbyEttz7KPblPQ3ePOlPLab4QnWi7gS0bdveP2utlrh JRn0nRh26vFN+U5y67gF6/33X+I2M3WDLyO+mlpZwuEpCMJzjyMeuMyHlM9ZhsosS8pH iyRfVw3RAAWkmM1fne4oq2MH5Vb/9w327ApfNyf4UFhdfsh5mIdEtoyck1R2cIEpaA1x PpA9NQQNYSfXsDBbO6t7LGDAjVy3g9ZSl7uqWgVD9pwnHPM/Krsfs2PCSbR+zVvf/c7b Sbrhn3i9hXdha7YNke5v8XYpVljhSCV9D44jBtx9Xr+wvHtLxrV/h7UkiFJAYhAXscNq 1b/A== X-Gm-Message-State: ALoCoQnxJmiRY0c8fGTii7WB61tyOuu63kSE7MvsS2Hk+a22Xrja++Vv+z1K9LL9mwhokRbER11+ X-Received: by 10.67.22.100 with SMTP id hr4mr3435930pad.112.1392829303480; Wed, 19 Feb 2014 09:01:43 -0800 (PST) Received: from [192.168.0.53] ([63.226.49.26]) by mx.google.com with ESMTPSA id lh13sm5241146pab.4.2014.02.19.09.01.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 19 Feb 2014 09:01:42 -0800 (PST) Message-ID: <5304E374.1020502@boundarydevices.com> Date: Wed, 19 Feb 2014 10:01:40 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Otavio Salvador References: <1392030754-17186-1-git-send-email-otavio@ossystems.com.br> <5304136A.9020800@boundarydevices.com> <5304D62D.5090803@boundarydevices.com> In-Reply-To: Cc: meta-freescale Mailing List Subject: Re: [meta-fsl-arm-extra][PATCH] linux-boundary, u-boot-script-boundary: Set compatible machine 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: Wed, 19 Feb 2014 17:06:56 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > wrote: >> Hi Otavio, >> >> >> On 02/19/2014 04:43 AM, Otavio Salvador wrote: >>> >>> On Tue, Feb 18, 2014 at 11:14 PM, Eric Nelson >>> 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 >>>>> --- >>>>> 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