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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Sommerfeld Sent: 20 July 2005 22:28 To: [email protected] 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
