public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Andreas Bießmann" <andreas.devel@googlemail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] how to make mkimage command work?
Date: Fri, 18 May 2012 12:26:37 +0200	[thread overview]
Message-ID: <4FB623DD.7080606@gmail.com> (raw)
In-Reply-To: <SNT139-W44162AFF85311A54D1D4AE3190@phx.gbl>

Dear apple pie,

On 18.05.2012 01:12, apple pie wrote:

<snip>

> From a u-boot user group, I have learned that by using the command: "mkimage" it would be able to package a raw
> image into a blob understood by u-boot. I have discovered a few "mkimage" files, such as mkimage.o, mkimage, other
> than mkimage.c, mkimage.h and mkimage.l. But, I soon found out that I could not execute the command: mkimage.
> What should I do in order to execute the command? There isn't a file called mkimage.bin generated!!

mkimage is a HOST tool running on your build machine. You may build it
from u-boot source by calling something like:

---8<---
# cd $UBOOT_SRC
# HOSTCC=gcc make tools
# ./tools/mkimage
--->8---

The tool is often required, therefore some distributions provide it
(debian: u-boot-tools: /usr/bin/mkimage). But this may not include some
newer features.

To understand mkimage, the binary format of the header a.s.o please read
$UBOOT_SRC/README and/or the source.

best regards

Andreas Bie?mann

  reply	other threads:[~2012-05-18 10:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-17 23:12 [U-Boot] how to make mkimage command work? apple pie
2012-05-18 10:26 ` Andreas Bießmann [this message]
2012-05-18 11:43 ` Wolfgang Denk

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=4FB623DD.7080606@gmail.com \
    --to=andreas.devel@googlemail.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