From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] bootm state -- stateful vs stateless
Date: Thu, 07 Aug 2008 22:37:50 -0400 [thread overview]
Message-ID: <489BB17E.1060404@gmail.com> (raw)
In-Reply-To: <91A0A956-0585-43B4-A2F2-16B2066A4933@kernel.crashing.org>
Kumar Gala wrote:
> One of the things that wasn't clear to me is if we are ok with
> maintaining state between 'bootm' subcommand inside u-boot or if we
> really require passing all state via arguments and env.
>
> While I know it would be nice if the subcommands were stateless I dont
> think this is practical.
>
> state we'd have to keep track of:
> * arguments to the "top level" bootm command
> * type of arguments (fit vs plain addresses)
> * Image information, for FIT we get something like:
[snip of killer state information]
> * entry point of OS image
> * region tracking of memory regions used by previous subcommands (OS
> image, bd_t, fdt, initrd, etc.)
>
> This seems like a lot of state to pass around in the env and via
> arguments to commands. My vote is for stateful sub_commands.
>
> - k
Useful info and analysis. I agree, it looks like we will need to be
stateful.
Best regards,
gvb
next prev parent reply other threads:[~2008-08-08 2:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 0:19 [U-Boot] bootm state -- stateful vs stateless Kumar Gala
2008-08-08 2:37 ` Jerry Van Baren [this message]
2008-08-08 13:14 ` 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=489BB17E.1060404@gmail.com \
--to=gvb.uboot@gmail.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