All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/3] linux: Fix appended DTB image generation
Date: Sun, 18 Oct 2015 23:04:59 +0200	[thread overview]
Message-ID: <1445202302-2720-1-git-send-email-thomas.petazzoni@free-electrons.com> (raw)

Hello,

What initially prompted this short series is the oldest patch
currently sitting in patchwork, i.e
http://patchwork.ozlabs.org/patch/394002/. In this patch, Guido
Mart?nez wanted to fix a problem in our implementation of the appended
DTB image generation: we are concatenating over and over again the DTB
at the end of the same file, so that if you do "make linux-rebuild"
multiple times, your kernel image ends up having your DTB concatenated
multiple times to it. This is because we do the appending "in place",
directly on zImage.

To solve this problem, this series moves to generating the appended
image under a different name: zImage.<dtb> (or uImage.<dtb> if the
uImage format is used).

But since this naming allows to generate *multiple* appended DTB
images (which was forbidden until now), we take this opportunity to
make such a thing possible.

This is all done in the last patch of this series, the two first
patches being merely preparation work for the last patch.

Please help get rid of the oldest patch in patchwork by
reviewing/testing this series!

Best regards,

Thomas

Thomas Petazzoni (3):
  linux: de-duplicate DTB and Linux image installation
  linux: only install the DTBs when not in appended DTB mode
  linux: don't build appended DTB image in place and support multiple
    images

 linux/linux.mk | 70 ++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 39 insertions(+), 31 deletions(-)

-- 
2.6.2

             reply	other threads:[~2015-10-18 21:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-18 21:04 Thomas Petazzoni [this message]
2015-10-18 21:05 ` [Buildroot] [PATCH 1/3] linux: de-duplicate DTB and Linux image installation Thomas Petazzoni
2015-10-18 21:05 ` [Buildroot] [PATCH 2/3] linux: only install the DTBs when not in appended DTB mode Thomas Petazzoni
2015-10-18 21:05 ` [Buildroot] [PATCH 3/3] linux: don't build appended DTB image in place and support multiple images Thomas Petazzoni
2015-10-20  5:22   ` Peter Korsgaard
2015-12-20 14:26 ` [Buildroot] [PATCH 0/3] linux: Fix appended DTB image generation Thomas Petazzoni

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=1445202302-2720-1-git-send-email-thomas.petazzoni@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 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.