From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id C7116E01405 for ; Thu, 22 Aug 2013 10:59:35 -0700 (PDT) Received: by mail-oa0-f44.google.com with SMTP id l20so4137765oag.31 for ; Thu, 22 Aug 2013 10:59:35 -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=8Kde6/Z36L0Du5eEsZxtY6C4uhy7y2hE9lTFdnufWDs=; b=uDapGFfTmpGTnm6CUJ3+ZQq2NOVt2PYFkXCMJ5iUkZYvY3od6lzs39eEfmWaSMb2Zw oCqhiFp/JR+yZ3mQ05e3agnRCoeCcJmcnPEO1B/FHuQ4sgcytnO1WXGImpwMTsdnGI+a zcLd/6PbcMoibzcq+jiLYTk9xCYZ4v5iPVu4os1yrM5c3avHS3BRocEOqh8ofXceJZAl nLkMu+esRpHO8rmiLV7nWYOOX4abYHcNKJ8deh3KPuHGwSTy4iYM3Q0L/AxOR+ZKLnRf +oL2akFcraLFKbPUYimDK97f2d49ig109FLjqYcrI/tj4EgiESgYDxdNTCYcsx5PFOi5 HunA== MIME-Version: 1.0 X-Received: by 10.60.96.169 with SMTP id dt9mr15620522oeb.27.1377194375351; Thu, 22 Aug 2013 10:59:35 -0700 (PDT) Sender: otavio.salvador@gmail.com Received: by 10.182.232.166 with HTTP; Thu, 22 Aug 2013 10:59:35 -0700 (PDT) In-Reply-To: <52164856.7060705@free-electrons.com> References: <1377183077-5270-1-git-send-email-alexandre.belloni@free-electrons.com> <1377183077-5270-3-git-send-email-alexandre.belloni@free-electrons.com> <52164856.7060705@free-electrons.com> Date: Thu, 22 Aug 2013 14:59:35 -0300 X-Google-Sender-Auth: IG16kEm-Nbz-Q0DiaQIpQa4UOkM Message-ID: From: Otavio Salvador To: Alexandre Belloni Cc: "meta-freescale@yoctoproject.org" , Maxime Ripard , jimwall@q.com, brian@crystalfontz.com Subject: Re: [meta-fsl-arm-extra][PATCH 2/4] imx-bootlets: add a recipe for barebox and cfa-10036 support 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: Thu, 22 Aug 2013 17:59:37 -0000 Content-Type: text/plain; charset=ISO-8859-1 On Thu, Aug 22, 2013 at 2:20 PM, Alexandre Belloni wrote: > On 22/08/2013 19:10, Otavio Salvador wrote: >> On Thu, Aug 22, 2013 at 11:51 AM, Alexandre Belloni >> wrote: >>> Signed-off-by: Alexandre Belloni >> ... >>> new file mode 100644 >>> index 0000000..c6c90d1 >>> --- /dev/null >>> +++ b/recipes-bsp/imx-bootlets/imx-bootlets/barebox-fix-paths.patch >>> @@ -0,0 +1,35 @@ >>> +From 98721be1c1762adec9130f15263d98e575e290ae Mon Sep 17 00:00:00 2001 >>> +From: Alexandre Belloni >>> +Date: Thu, 8 Aug 2013 20:14:51 +0200 >>> +Subject: [PATCH] imx-bootlets: Fix paths used during boot stream generation >>> + >>> +This will be run during image generation thus this won't use a >>> +complete path to allow for relocation. >>> + >>> +Upstream-Status: Inappropriate [configuration] >>> + >>> +Signed-off-by: Alexandre Belloni >>> +--- >>> + barebox_ivt.bd | 6 +++--- >>> + 1 file changed, 3 insertions(+), 3 deletions(-) >>> + >>> +diff --git a/barebox_ivt.bd b/barebox_ivt.bd >>> +index 0c67e9c..c603f9e 100644 >>> +--- a/barebox_ivt.bd >>> ++++ b/barebox_ivt.bd >>> +@@ -1,9 +1,9 @@ >>> + // STMP378x ROM command script to load and run U-Boot >>> + >>> + sources { >>> +- power_prep="./power_prep/power_prep"; >>> +- sdram_prep="./boot_prep/boot_prep"; >>> +- barebox="./barebox"; >>> ++ power_prep="imx-bootlets-power_prep-@MACHINE@"; >>> ++ sdram_prep="imx-bootlets-boot_prep-@MACHINE@"; >>> ++ barebox="barebox-@MACHINE@.bin"; >>> + } >>> + >>> + section (0) { >>> +-- >>> +1.8.1.2 >> >> This patch is generic, move it to fsl-arm :) >> > > Probably not generic enough, barebox_ivt.bd is only present in the > crystalfontz's github repository. I think that is the main difference > but I didn't check. I'd prefer to check the changes need and keep them in imx-bootlets to avoid other boards intending to use barebox to redo it. The patch for the board can be done using the bbappend. -- 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