Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] boot/uboot: allow to build multiple Uboot images
Date: Sat, 17 Sep 2016 19:28:37 +0200	[thread overview]
Message-ID: <20160917192837.333f85af@free-electrons.com> (raw)
In-Reply-To: <1472819186-30700-1-git-send-email-brain@jikos.cz>

Hello,

On Fri,  2 Sep 2016 14:26:26 +0200, Petr Kulhavy wrote:
> Sometimes it is desired to build multiple U-boot images. E.g. one to save into
> flash memory and one for serial load. So far this was not possible.
> 
> This change allows to select any combination of the target formats. They are
> all copied to the image folder.
> 
> Signed-off-by: Petr Kulhavy <brain@jikos.cz>
> ---
>  boot/uboot/Config.in | 19 +++++-----
>  boot/uboot/uboot.mk  | 98 +++++++++++++++++++++++++++++++++-------------------
>  2 files changed, 73 insertions(+), 44 deletions(-)

I've applied your patch, with the following changes:

    [Thomas:
     - Handle the BR2_TARGET_UBOOT_FORMAT_BIN, which wasn't handled, and
       therefore u-boot.bin was not copied when
       BR2_TARGET_UBOOT_FORMAT_BIN=y.
     - Rename UBOOT_BIN to UBOOT_BINS, since it can now contain multiple
       values.]

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      reply	other threads:[~2016-09-17 17:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-02 12:26 [Buildroot] [PATCH v2] boot/uboot: allow to build multiple Uboot images Petr Kulhavy
2016-09-17 17:28 ` Thomas Petazzoni [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=20160917192837.333f85af@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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