All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: Otavio Salvador <otavio@ossystems.com.br>
Cc: "meta-freescale@yoctoproject.org"
	<meta-freescale@yoctoproject.org>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	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
Date: Thu, 22 Aug 2013 19:20:22 +0200	[thread overview]
Message-ID: <52164856.7060705@free-electrons.com> (raw)
In-Reply-To: <CAP9ODKq3ui1PRLEecF7Vi=QKB0Tgx3uAoavq2i-X+sgmn_yNTg@mail.gmail.com>

On 22/08/2013 19:10, Otavio Salvador wrote:
> On Thu, Aug 22, 2013 at 11:51 AM, Alexandre Belloni
> <alexandre.belloni@free-electrons.com> wrote:
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ...
>> 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 <alexandre.belloni@free-electrons.com>
>> +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 <alexandre.belloni@free-electrons.com>
>> +---
>> + 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



  reply	other threads:[~2013-08-22 17:20 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-22 14:51 [meta-fsl-arm-extra][PATCH 0/4] Add support for CrystalFontz boards Alexandre Belloni
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 1/4] barebox: add a recipe to support mainline 2013.08.0 Alexandre Belloni
2013-08-22 17:04   ` Otavio Salvador
2013-08-22 17:14   ` Eric Bénard
2013-08-22 18:00     ` Otavio Salvador
2013-08-22 23:06       ` Alexandre Belloni
2013-08-23  0:22         ` Otavio Salvador
2013-08-23  7:05         ` Eric Bénard
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 2/4] imx-bootlets: add a recipe for barebox and cfa-10036 support Alexandre Belloni
2013-08-22 17:10   ` Otavio Salvador
2013-08-22 17:20     ` Alexandre Belloni [this message]
2013-08-22 17:59       ` Otavio Salvador
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 3/4] linux-cfa: add a kernel recipe supporting Crystalfontz boards Alexandre Belloni
2013-08-22 17:06   ` Otavio Salvador
2013-08-22 17:17     ` Alexandre Belloni
2013-08-22 17:19       ` Otavio Salvador
2013-08-22 17:27         ` Alexandre Belloni
2013-08-22 17:47           ` Eric Bénard
2013-08-22 17:56           ` Otavio Salvador
2013-08-22 23:11             ` Alexandre Belloni
2013-08-23  0:20               ` Otavio Salvador
2013-08-23  3:13               ` Marek Vasut
2013-08-23 11:06                 ` Alexandre Belloni
2013-08-23 11:25                   ` Marek Vasut
2013-08-23  9:09               ` Qt5 with opengl hw acceleration on imx53 Simone
2013-08-23  9:17                 ` Eric Bénard
2013-08-23  9:28                   ` Simone
2013-08-23  9:40                     ` Eric Bénard
2013-08-23  9:56                       ` Simone
2013-08-23 10:08                         ` Abhijit Potnis
2013-08-23 10:15                           ` Simone
2013-08-23 10:19                             ` Abhijit Potnis
2013-08-23 10:26                               ` Simone
2013-08-23 10:41                                 ` Abhijit Potnis
2013-08-23 12:06                                   ` Simone
2013-08-23 12:52                                   ` Simone
2013-08-23 10:50                               ` Simone
2013-08-22 14:51 ` [meta-fsl-arm-extra][PATCH 4/4] cfa10036: Add cfa10036 machine configuration Alexandre Belloni
2013-08-22 17:06   ` Otavio Salvador
2013-08-22 17:12     ` Alexandre Belloni
2013-08-22 17:15       ` Otavio Salvador
2013-08-22 14:52 ` [meta-fsl-arm-extra][PATCH 0/4] Add support for CrystalFontz boards Alexandre Belloni
2013-08-22 16:52   ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52164856.7060705@free-electrons.com \
    --to=alexandre.belloni@free-electrons.com \
    --cc=brian@crystalfontz.com \
    --cc=jimwall@q.com \
    --cc=maxime.ripard@free-electrons.com \
    --cc=meta-freescale@yoctoproject.org \
    --cc=otavio@ossystems.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.