From: slash.tmp@free.fr (Mason)
To: linux-arm-kernel@lists.infradead.org
Subject: Building an uImage with appended DTB
Date: Wed, 25 Nov 2015 17:16:16 +0100 [thread overview]
Message-ID: <5655DED0.5000601@free.fr> (raw)
Hello,
Per Russell's advice (IIRC) I have a script to generate a uImage
of a kernel with an appended DTB:
export LOADADDR=0x80008000
MAKE="make -j2 ARCH=arm"
$MAKE dtbs zImage && \
cat arch/arm/boot/zImage arch/arm/boot/dts/tango4-vantage-1172.dtb >zImage.tmp && \
mv zImage.tmp arch/arm/boot/zImage && \
$MAKE uImage
Russell's version uses an explicit mkimage instead of "MAKE uImage"
perhaps in part to get around the following limitation:
if there is nothing to be done, cat+mv will update arch/arm/boot/zImage
thus the uImage will be rebuilt even when it's not necessary.
Doesn't the top-level Makefile support a target to build a uImage
with appended DTB?
(I suppose someone has submitted a patch for that. Was it perhaps
never merged? Or did I just miss the feature?)
Something like this:
https://patchwork.kernel.org/patch/1133461/
Regards.
next reply other threads:[~2015-11-25 16:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-25 16:16 Mason [this message]
2015-11-25 16:38 ` Building an uImage with appended DTB Grant Likely
2015-11-25 18:45 ` Russell King - ARM Linux
2015-11-25 22:41 ` Mason
2015-11-26 1:20 ` Russell King - ARM Linux
2015-11-27 17:23 ` Nicolas Pitre
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=5655DED0.5000601@free.fr \
--to=slash.tmp@free.fr \
--cc=linux-arm-kernel@lists.infradead.org \
/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.