From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/3] tools: mkimage (type=kwbimage) kirkwood boot image support
Date: Sat, 18 Jul 2009 23:25:01 +0200 [thread overview]
Message-ID: <20090718212501.GA31924@game.jcrosoft.org> (raw)
In-Reply-To: <1247967958-4446-2-git-send-email-prafulla@marvell.com>
On 07:15 Sun 19 Jul , Prafulla Wadaskar wrote:
> For more details refer docs/README.kwbimage
>
> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
> ---
> Makefile | 5 ++
> common/image.c | 1 +
> doc/README.kwbimage | 77 ++++++++++++++++++++++
> include/image.h | 1 +
> tools/Makefile | 1 +
> tools/kwbimage.c | 181 +++++++++++++++++++++++++++++++++++++++++++++++++++
> tools/kwbimage.h | 105 +++++++++++++++++++++++++++++
> tools/mkimage.c | 23 ++++++-
> 8 files changed, 393 insertions(+), 1 deletions(-)
> create mode 100644 doc/README.kwbimage
> create mode 100644 tools/kwbimage.c
> create mode 100644 tools/kwbimage.h
>
> diff --git a/Makefile b/Makefile
> index 55fc2a3..b9e45ed 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -339,6 +339,10 @@ $(obj)u-boot.img: $(obj)u-boot.bin
> sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
> -d $< $@
>
> +$(obj)u-boot.kwb: $(obj)u-boot.bin
> + ./tools/mkimage -n ./board/$(BOARDDIR)/kwbimage.cfg \
> + -T kwbimage -a $(TEXT_BASE) -e $(TEXT_BASE) -d $< $@
It will be better to make it a few more generic (and btw fix the out of tree
support) as this
MKIMAGE = $(OBJTREE)/tools/mkimage
$(obj)u-boot.kwb: $(obj)u-boot.bin
$(MKIMAGE) -n $(KWD_CONFIG) -T kwbimage -a $(TEXT_BASE) \
-e $(TEXT_BASE) -d $< $@
and in the board config.mk or soc anyother config.mk
KWD_CONFIG = $(SRCTREE)/board/$(BOARDDIR)/kwbimage.cfg
Best Regards,
J.
next prev parent reply other threads:[~2009-07-18 21:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-19 1:45 [U-Boot] [PATCH 1/3] tools: mkimage: hdr_size used to facilitate customized support Prafulla Wadaskar
2009-07-18 21:33 ` Wolfgang Denk
2009-07-19 5:41 ` Prafulla Wadaskar
2009-07-19 1:45 ` [U-Boot] [PATCH 2/3] tools: mkimage (type=kwbimage) kirkwood boot image support Prafulla Wadaskar
2009-07-18 21:25 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-07-20 6:55 ` Prafulla Wadaskar
2009-07-18 22:02 ` Wolfgang Denk
2009-07-19 5:27 ` Prafulla Wadaskar
2009-07-20 6:24 ` Prafulla Wadaskar
2009-07-20 15:05 ` Wolfgang Denk
2009-07-20 14:57 ` Wolfgang Denk
2009-07-22 7:20 ` Prafulla Wadaskar
2009-07-19 1:45 ` [U-Boot] [PATCH 3/3] Kirkwood: Sheevaplug: kwimage configuration Prafulla Wadaskar
2009-07-18 21:26 ` Jean-Christophe PLAGNIOL-VILLARD
2009-07-19 4:41 ` Prafulla Wadaskar
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=20090718212501.GA31924@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=u-boot@lists.denx.de \
/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