[meta-freescale] [meta-fsl-arm-extra][PATCH 2/4] imx-bootlets: add a recipe for barebox and cfa-10036 support

Otavio Salvador otavio at ossystems.com.br
Thu Aug 22 10:59:35 PDT 2013


On Thu, Aug 22, 2013 at 2:20 PM, Alexandre Belloni
<alexandre.belloni at free-electrons.com> wrote:
> On 22/08/2013 19:10, Otavio Salvador wrote:
>> On Thu, Aug 22, 2013 at 11:51 AM, Alexandre Belloni
>> <alexandre.belloni at free-electrons.com> wrote:
>>> Signed-off-by: Alexandre Belloni <alexandre.belloni at 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 at 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 at 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- at MACHINE@";
>>> ++      sdram_prep="imx-bootlets-boot_prep- at MACHINE@";
>>> ++      barebox="barebox- at 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



More information about the meta-freescale mailing list