This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Reboot flashing from eCos system?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]