public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Retallack, Mark \(Siemens\)" <mark.retallack@siemens.com>
To: "Stefan Sommerfeld" <zerocom@cs.tu-berlin.de>
Cc: <ecos-discuss@ecos.sourceware.org>
Subject: RE: [ECOS] Reboot flashing from eCos system?
Date: Tue, 16 Aug 2005 07:27:00 -0000	[thread overview]
Message-ID: <B573B0465A4EFB42997BADDC2FBDE1547ADD97@ples506a.stcl.siemens.co.uk> (raw)

Hi, I have done this. And it works very well (no problems so far!!). 

I load a flash based version of redboot via TFTP or from the filesystem
into ram. I then disable interrupts and use the eCos version of the
flash programming functions (not the redboot ones), to program the first
section of flash with redboot. Note that the flash programming functions
must not use any redboot virtual vector functions (mine don't). You need
to then reboot.  

I have not found a way of making this fail-safe, once you start the
upgrade you cannot stop. However you could make a copy of the original
redboot image and write it back if something failed.


-----Original Message-----
From: ecos-discuss-owner@ecos.sourceware.org
[mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Stefan
Sommerfeld
Sent: 20 July 2005 22:28
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Reboot flashing from eCos system?


Hi,

Is it possible to re-flash reboot from a running ecos system? I need to 
flash a whole system (inclusive reboot) for production, but i'm not sure
if 
i can flash reboot besides the normal system (ecos and configs).

Bye... 


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

             reply	other threads:[~2005-08-16  7:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-16  7:27 Retallack, Mark (Siemens) [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-07-20 21:27 Stefan Sommerfeld
2005-07-20 21:30 ` Gary Thomas
2005-07-20 21:38   ` Stefan Sommerfeld
2005-07-20 22:49     ` Gary Thomas
2005-08-15 16:29       ` Stefan Sommerfeld
2005-08-15 16:38         ` Gary Thomas
2005-08-15 16:53           ` Stefan Sommerfeld

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=B573B0465A4EFB42997BADDC2FBDE1547ADD97@ples506a.stcl.siemens.co.uk \
    --to=mark.retallack@siemens.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=zerocom@cs.tu-berlin.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).