From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH] Add 'imload' command
Date: Wed, 13 Feb 2008 23:31:36 +0100 [thread overview]
Message-ID: <20080213223136.7626624050@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 12 Feb 2008 23:10:05 CST." <Pine.LNX.4.64.0802122307330.22593@blarg.am.freescale.net>
In message <Pine.LNX.4.64.0802122307330.22593@blarg.am.freescale.net> you wrote:
> 'imload' provides a more direct means to load from an image file.
What exactly is an "image file" here (which sorts of images are
allowed?) and what does "load" mean (which actions are performed on
the file)?
> Also created a load_image routine out of the code in do_bootm() that
> is shared between do_bootm() and do_imload().
Hm... bootm is restrictred to a certain sub-set of image types. imload
on the other hand sounds pretty generic to me and should not have such
restrictions.
> + switch (image_get_comp (hdr)) {
> + case IH_COMP_NONE:
> + if (dst == (ulong)hdr) {
> + printf (" XIP %s ... ", type_name);
This is an ugly hack in the old code that should be removed by the new
implementation.
> + "imload - load image from application image\n",
> + "[addr] [load addr]\n"
What exactly is an "application image" ?
> + " - load image from application image located at address 'addr'\n"
> + " or $loadaddr if 'addr' is not provided to either the load\n"
> + " address specified in the application image header or the\n"
> + " 'load addr' argument; this includes verification of the\n"
> + " image contents (magic number, header and payload checksums)\n"
Please be terse. We don't want to spend the memory footprint on prosa.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Data is a lot like humans: It is born. Matures. Gets married to
other data, divorced. Gets old. One thing that it doesn't do is die.
It has to be killed." - Arthur Miller
next prev parent reply other threads:[~2008-02-13 22:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 5:10 [U-Boot-Users] [PATCH] Add 'imload' command Kumar Gala
2008-02-13 10:11 ` Bartlomiej Sieka
2008-02-13 13:06 ` Kumar Gala
2008-02-13 19:55 ` Bartlomiej Sieka
2008-02-13 20:15 ` Kumar Gala
2008-02-13 20:22 ` Bartlomiej Sieka
2008-02-13 20:34 ` Kumar Gala
2008-02-14 1:13 ` Grant Likely
2008-02-14 3:54 ` Kumar Gala
2008-02-14 7:38 ` Bartlomiej Sieka
2008-02-15 16:35 ` Detlev Zundel
2008-02-13 22:31 ` Wolfgang Denk [this message]
2008-02-13 22:38 ` Kumar Gala
2008-02-13 23:01 ` Wolfgang Denk
2008-02-13 23:46 ` Kumar Gala
2008-02-14 0:37 ` Wolfgang Denk
2008-02-14 0:50 ` Kumar Gala
2008-02-14 5:35 ` Kumar Gala
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=20080213223136.7626624050@gemini.denx.de \
--to=wd@denx.de \
--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