From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Field upgrade
Date: Wed, 03 Dec 2003 01:29:11 +0100 [thread overview]
Message-ID: <20031203002916.AF7FAC5F5F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Wed, 03 Dec 2003 00:53:28 +0100." <3FCD25F8.4080308@corelatus.com>
In message <3FCD25F8.4080308@corelatus.com> you wrote:
>
> Well, if you want to be able to safely upgrade u-boot in field, you
> have two choices.
U-Boot is not special in this respect. Either you treat U-boot as
boot loader, or as application package.
> a) Do it in hardware
> Requires you to have control over card design.
>
> b) Do it in software
> Can be done on "any" card.
I don't know of a reliable way to field-update the boot loader.
Period.
> * If you make an error in your pre u-boot program, you may
> have to upgrade it. If so, card will die if something
> happens while you rewrite that sector.
You just shifted levels. U-Boot becomes an application, and the
problem still exists with your new (smaller, simpler) boot loader.
You added complexity and duplicated code (for example to check the
CRC's). In general that means that your system is more likely to have
errors than a simpler system.
> Which solution is better?
This was not a question. The question was about a reliable way for a
field upgrade of the boot loader.
There is none, except with special hardware support.
Let's stop this fruitless discussion here, please. You have a setup
which works fine for you, no doubt about that. But it does not fix
the problem discussed here.
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
To the systems programmer, users and applications serve only to
provide a test load.
next prev parent reply other threads:[~2003-12-03 0:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-02 14:39 [U-Boot-Users] Field upgrade Chris Simmonds
2003-12-02 15:15 ` Wolfgang Denk
2003-12-02 21:25 ` Thomas Lange
2003-12-02 22:01 ` Wolfgang Denk
2003-12-02 22:44 ` Thomas Lange
2003-12-02 22:59 ` Wolfgang Denk
2003-12-02 23:53 ` Thomas Lange
2003-12-03 0:29 ` Wolfgang Denk [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-12-02 16:10 Callebaut, Benoit
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=20031203002916.AF7FAC5F5F@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