public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Grant Edwards <grante@visi.com>
To: "Lewin A.R.W. Edwards" <larwe@larwe.com>
Cc: eCos Disuss <ecos-discuss@sourceware.cygnus.com>
Subject: Re: [ECOS] RedBoot porting
Date: Tue, 09 Jan 2001 10:30:00 -0000	[thread overview]
Message-ID: <20010109123338.A12625@visi.com> (raw)
In-Reply-To: <4.3.2.7.2.20010109125209.00ae5430@larwe.com>

On Tue, Jan 09, 2001 at 01:08:29PM -0500, Lewin A.R.W. Edwards wrote:

> > > This is only a problem if interrupts can occur while you're
> > > actually writing/erasing the flash (not a good idea in my
> > > mind).  Otherwise,
> >
> >Grants comment is spot on. eCos is a multi-tasking system. Do we realy
> >what to stop all other tasks while doing an erase/write
> >option. Erase's on the EBSA can take a couple of seconds. In my
> >application i cannot disable interupts for that long. All sorts of
> >nasty things happen which can take a long time to recover from.
> 
> This is strictly my $0.02 and could be totally irrelevant to
> everyone else's situations, but:
> 
> We are talking here about upgrading the bootable OS on the
> unit.

Ah. That's not what I was talking about.  I was talking about
the general case of burning flash.  My board has a single 4MB
(later to be 8MB) flash rom that contains a bunch of stuff in
addition to RedBoot: application image(s), IP configuraiton,
Ethernet MAC configuration, board model/revision info,
application configuration info, web pages (possibly in a
filesystem), Java applets, etc.

> When reprogramming a device's boot ROM, I feel much much safer
> if all interrupts are disabled and I would feel safer still if
> I could legally electrify the power switch and cable so that
> the user couldn't touch them ;) But then I am working with
> consumer electronics, and high availability is not a priority;
> preventing a return-to-factory with erased boot flash IS a
> prority.

Sure, it would be ideal if I could disable interrupts and
insure uninterruptible power while burning flash.  I can't.

FWIW, we don't plan on allowing the user to upgrade the
bootloader (RedBoot) in the field.  However, if I'm going to
take advantage of the virtual vector stuff, RedBoot needs to
remain usable while all that other stuff that resides in flash
is being burned by a running eCos application.

-- 
Grant Edwards
grante@visi.com

  reply	other threads:[~2001-01-09 10:30 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20010108171508.U10158@biferten.ma.tech.ascom.ch>
     [not found] ` <XFMail.20010108095423.gthomas@redhat.com>
2001-01-09  0:50   ` Andrew Lunn
2001-01-09  8:57     ` Grant Edwards
2001-01-09  9:05       ` Andrew Lunn
2001-01-09  9:12         ` Grant Edwards
2001-01-09  9:09       ` Gary Thomas
2001-01-09  9:24         ` Grant Edwards
2001-01-09  9:47         ` Andrew Lunn
2001-01-09 10:08           ` Lewin A.R.W. Edwards
2001-01-09 10:30             ` Grant Edwards [this message]
2001-01-09 10:39             ` Andrew Lunn
2001-01-09 11:24               ` Grant Edwards
2003-09-16  2:55 [ECOS] redboot porting yu weiping
  -- strict thread matches above, loose matches on Subject: below --
2001-01-08  5:32 [ECOS] RedBoot porting Doug Fraser
2001-01-08  4:36 Doug Fraser
2001-01-08  4:54 ` Jesper Skov
2001-01-08  7:34 ` Grant Edwards
2001-01-05  9:49 Grant Edwards
2001-01-05 15:41 ` Jonathan Larmour
2001-01-08  0:08 ` Jesper Skov
2001-01-08  0:29 ` Andrew Lunn
2001-01-08  1:09   ` Jesper Skov
2001-01-08  2:36     ` Andrew Lunn
2001-01-08  3:04       ` Jesper Skov
2001-01-08  7:31   ` Grant Edwards
2001-01-08  7:40     ` Lewin A.R.W. Edwards
2001-01-08  8:24       ` Grant Edwards
2001-01-08  7:42     ` Gary Thomas
2001-01-08  7:57       ` Grant Edwards
2001-01-08  7:59       ` Andrew Lunn
2001-01-08  8:07         ` Gary Thomas
2001-01-08 14:42 ` Grant Edwards
2001-01-08 16:26   ` Gary Thomas
2001-01-09  7:33     ` Grant Edwards

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=20010109123338.A12625@visi.com \
    --to=grante@visi.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=larwe@larwe.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).