From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] bootm change for standalone images
Date: Wed, 28 Jul 2004 23:22:07 +0200 [thread overview]
Message-ID: <20040728212212.EB885C109F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 28 Jul 2004 12:59:39 PDT." <1091044779.17855.13.camel@mud>
In message <1091044779.17855.13.camel@mud> you wrote:
>
> > I don't think that this is a "generic" OS.
>
> Do you not like the name. Are you concerned with belittling RTEMS?
I don't like the term "generic OS" because IMHO there is no such
thing.
> > Frankly, I don't like it.
>
> Any reason why or just a gut feeling?
A bit more than this, but difficult to put in words.
What you have is clearly NOT a U-Boot standalone application - which,
by definition, will be based on services provided by U-Boot and after
succesful completion will return to U-Boot. Since you overwrite the
exception vector code you cannot use U-Boot services, and you cannot
return.
So you must have something different...
> I just wanted it to be small and simple. It seems like
Yes, I understand this.
> Would you prefer something like this?
> ....
> case IH_TYPE_STANDALONE:
...
> case IH_TYPE_STANDALONE_DISABLE_IRQ:
No, of course not - see above. The environment for U-Boot standalone
applications is well defined (at least in my head), and it does NOT
allow you to overwrite any of U-Boot's code, including the exception
vectors.
To avoid duplicating code or to use misleading names I see two simple
options: (1) just use "-O RTEMS" when building your images and gnash
your teeth when you see "RTEMS" printed instead of
"your_custom_code_without_a_proper_name", or (2) give your code a
name which we can add as new OS type, and let's use the RTEMS booter
for your new "OS", too.
I think I'd like to see you chosing (1).
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Behind every great man, there is a woman -- urging him on.
-- Harry Mudd, "I, Mudd", stardate 4513.3
next prev parent reply other threads:[~2004-07-28 21:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-27 1:21 [U-Boot-Users] bootm change for standalone images Andrew May
2004-07-27 22:05 ` Wolfgang Denk
2004-07-27 22:31 ` Andrew May
2004-07-28 8:57 ` Wolfgang Denk
2004-07-28 19:59 ` Andrew May
2004-07-28 21:22 ` Wolfgang Denk [this message]
2004-07-29 17:16 ` Andrew May
2004-07-29 17:29 ` Wolfgang Denk
2004-07-29 18:00 ` Andrew May
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=20040728212212.EB885C109F@atlas.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