From: Gregory CLEMENT <gregory.clement@free-electrons.com>
To: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Lior Amsalem <alior@marvell.com>,
barebox@lists.infradead.org, Willy Tarreau <w@1wt.eu>,
Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Subject: Re: [PATCH v2 0/7] Basic support for Armada 370/XP SOCs
Date: Thu, 09 May 2013 00:11:23 +0200 [thread overview]
Message-ID: <518ACD8B.30009@free-electrons.com> (raw)
In-Reply-To: <20130508235926.39101806@skate>
On 05/08/2013 11:59 PM, Thomas Petazzoni wrote:
> Dear Gregory CLEMENT,
>
> On Wed, 08 May 2013 23:53:40 +0200, Gregory CLEMENT wrote:
>
>>> - Add an integration of kwbimage to the Barebox build process. Now,
>>> when an ARCH_MVEBU platform is selected, a barebox.kwb file is
>>> automatically generated using the board kwbimage.cfg, and a
>>> barebox.kwbuart is generated using the board kwbimage.cfg + an
>>> override of the boot media to be UART.
>>
>> It is a very nice improvement however, you should maybe mention somwhere
>> that you expect to find a file named binary.0 at the root of the barebox
>> sources. But it is not very important.
>
> Indeed, but which "somewhere" do you suggest?
My first thought was in the help of the menuconfig, but in the case of
someone just do a make board_configs, make, he won't see it. So maybe the
best option should just to make the error message more verbose. Instead of
"Cannot stat binary file binary.0" some thing like "Didn't find the file binary.0
at /absolute/path/to/barebox/source which is mandatory to generate the kwboot image"
>
>> However you didn't manage the out of tree building when KBUILD_OUTPUT is
>> set. This is more annoying but it should be easily fixed.
>
> Aah, I haven't thought of out-of-tree build. I'll test that and I'll
> have a look.
>
>> It didn't work for me when I tested the on the OpenBlocks AX3. The boot
>> media didn't seem to have been overridden ie it still try to boot on the
>> NOR. And if I modify the file arch/arm/boards/plathome-openblocks-ax3//kwbimage.cfg
>> and replace spi by uart, then it works.
>
> Are you sure you used barebox.kwbuart and not barebox.kwb?
Oh I didn't notice this one! Indeed if I use barebox.kwbuart it works.
Sorry for the noise.
Gregory
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2013-05-08 22:11 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 21:10 Thomas Petazzoni
2013-05-08 21:10 ` [PATCH v2 1/7] scripts: new kwbimage manipulation tool for Marvell SoC boot images Thomas Petazzoni
2013-05-08 21:10 ` [PATCH v2 2/7] scripts: add kwboot tool Thomas Petazzoni
2013-05-08 21:10 ` [PATCH v2 3/7] arm: initial support for Marvell Armada 370/XP SoCs Thomas Petazzoni
2013-05-08 21:10 ` [PATCH v2 4/7] arm: integrate kwbimage in the image generation Thomas Petazzoni
2013-05-08 22:18 ` Gregory CLEMENT
2013-05-08 21:10 ` [PATCH v2 5/7] arm: add basic support for Armada XP OpenBlocks AX3 platform Thomas Petazzoni
2013-05-08 21:10 ` [PATCH v2 6/7] arm: add basic support for the Armada 370 Mirabox platform Thomas Petazzoni
2013-05-08 21:10 ` [PATCH v2 7/7] arm: add basic support for the Armada XP GP platform Thomas Petazzoni
2013-05-08 21:53 ` [PATCH v2 0/7] Basic support for Armada 370/XP SOCs Gregory CLEMENT
2013-05-08 21:59 ` Thomas Petazzoni
2013-05-08 22:11 ` Gregory CLEMENT [this message]
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=518ACD8B.30009@free-electrons.com \
--to=gregory.clement@free-electrons.com \
--cc=alior@marvell.com \
--cc=barebox@lists.infradead.org \
--cc=ezequiel.garcia@free-electrons.com \
--cc=thomas.petazzoni@free-electrons.com \
--cc=w@1wt.eu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox