From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.free-electrons.com (top.free-electrons.com [176.31.233.9]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 1FA18E00406 for ; Thu, 22 Aug 2013 10:20:25 -0700 (PDT) Received: by mail.free-electrons.com (Postfix, from userid 106) id 4DC8881E; Thu, 22 Aug 2013 19:20:26 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.3.2 Received: from [192.168.1.53] (128-79-216-144.hfc.dyn.abo.bbox.fr [128.79.216.144]) by mail.free-electrons.com (Postfix) with ESMTPSA id C6BA981A; Thu, 22 Aug 2013 19:20:25 +0200 (CEST) Message-ID: <52164856.7060705@free-electrons.com> Date: Thu, 22 Aug 2013 19:20:22 +0200 From: Alexandre Belloni Organization: Free Electrons User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130803 Thunderbird/17.0.8 MIME-Version: 1.0 To: Otavio Salvador References: <1377183077-5270-1-git-send-email-alexandre.belloni@free-electrons.com> <1377183077-5270-3-git-send-email-alexandre.belloni@free-electrons.com> In-Reply-To: X-Enigmail-Version: 1.4.6 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:20:25 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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. >> diff --git a/recipes-bsp/imx-bootlets/imx-bootlets_cfa.bb b/recipes-bsp/imx-bootlets/imx-bootlets_cfa.bb >> new file mode 100644 >> index 0000000..580adef >> --- /dev/null >> +++ b/recipes-bsp/imx-bootlets/imx-bootlets_cfa.bb >> @@ -0,0 +1,65 @@ >> +DESCRIPTION = "i.MXS boot streams" >> +LICENSE = "GPL-2.0" >> +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" >> + >> +PR = "r1" >> + >> +SRC_URI = "git://github.com/crystalfontz/bootlets.git \ >> + file://barebox-fix-paths.patch \ >> + " > ... > > Use a bbappend :) > -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com