From: Alessandro Rubini <rubini-list@gnudd.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] What linux kernel binary do I use????
Date: Wed, 27 Jan 2010 14:18:27 +0100 [thread overview]
Message-ID: <20100127131827.GA16039@morgana.gnudd.com> (raw)
In-Reply-To: <4B602537.4060404@gmail.com>
> I am really REALLY stuck - I don't know what kernel image to use with
> bootm (and where to load it and quite a few other things but getting the
> right image would be a good start)
I think bootm wants uImage. i.e., the "u-boot image". There is no
rule for "make uImage" for x86, but you can run "mkimage" by yourself.
The image format (thus uImage) is just a 64 byte header in front of a
binary file, with magic number, lenght, checksum and other information.
Actually, common/cmd_bootm.c::bootm_start() calls boot_get_kernel,
which uses img_addr to look for the format. genimg_get_format
then is in common/image.c, where image_header_t is used as
defined in include/image.h. I admin "uImage" doesn't appear in the
functions, though.
Then there is the new FIT format, but I think your want to start with
the legacy format.
Hope this helps
/alessandro
prev parent reply other threads:[~2010-01-27 13:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-27 11:36 [U-Boot] What linux kernel binary do I use???? Graeme Russ
2010-01-27 13:18 ` Alessandro Rubini [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=20100127131827.GA16039@morgana.gnudd.com \
--to=rubini-list@gnudd.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