public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Updating application in the field via Redboot
@ 2005-06-20 15:44 Ali Sina
  2005-06-21  6:08 ` Dirk Eibach
  0 siblings, 1 reply; 3+ messages in thread
From: Ali Sina @ 2005-06-20 15:44 UTC (permalink / raw)
  To: ecos-discuss

Hello,

is anyone using Redboot (installed as a bootloader) to update their 
applications in the field?

The idea would be to have a host based application or script that initiates 
communication with Redboot via serial or otherwise. The script triggers 
actions on the redboot end: load the new app image and write it to flash.

Does this seem reasonable, or are there more elegant ways to do this?

Any ideas and suggestions are very welcome.
Thank you for your time.


Ali

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Updating application in the field via Redboot
  2005-06-20 15:44 [ECOS] Updating application in the field via Redboot Ali Sina
@ 2005-06-21  6:08 ` Dirk Eibach
  2005-06-21 13:15   ` Ali Sina
  0 siblings, 1 reply; 3+ messages in thread
From: Dirk Eibach @ 2005-06-21  6:08 UTC (permalink / raw)
  To: replay688; +Cc: ecos-discuss

Hi,

> The idea would be to have a host based application or script that initiates 
> communication with Redboot via serial or otherwise. The script triggers 
> actions on the redboot end: load the new app image and write it to flash.

We we do it exactly this way using a multi platform Qt solution. Works 
dead reliable. If you don't need the graphical front-end, maybe "expect" 
is the tool for you. A sample script has been posted to this list before.

> Does this seem reasonable, or are there more elegant ways to do this?

When the application loaded by Redboot is up and running, we provide an 
alternative way to update. You can connect with a client via network and 
then upload an image that is flashed as it comes in. If something goes 
wrong there you still have the opportunity to repair the system via Reboot.

Regards,
Dirk


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] Updating application in the field via Redboot
  2005-06-21  6:08 ` Dirk Eibach
@ 2005-06-21 13:15   ` Ali Sina
  0 siblings, 0 replies; 3+ messages in thread
From: Ali Sina @ 2005-06-21 13:15 UTC (permalink / raw)
  To: eibach; +Cc: ecos-discuss

Hi Dirk,

thanks a lot for your reply This helps a lot.

I have taken a look at EXPECT and it looks good from what I can tell so far. 
A very useful pointer. I understand you can use TclApp to package everything 
into a standalone application (I do not want to assume that Tcl is installed 
on the update host). That application can easily be started by the end user 
and will execute the update by talking to Redboot on the target. Exactly 
what I am looking for. Also your script from November 2004 looks very 
useful.

By the way, which Qt package are you using? Does it work in a way similar to 
EXPECT? Right now the update application does not necessarily require a GUI, 
as it should work as "fire and forget" - well maybe with a return phrase 
like "success" or "fail". But just in case..

Thanks again for the great help,

Ali


>From: Dirk Eibach <eibach@gdsys.de>
>To: replay688@hotmail.com
>CC: ecos-discuss@ecos.sourceware.org
>Subject: Re: [ECOS] Updating application in the field via Redboot
>Date: Tue, 21 Jun 2005 08:08:01 +0200
>
>Hi,
>
>>The idea would be to have a host based application or script that 
>>initiates communication with Redboot via serial or otherwise. The script 
>>triggers actions on the redboot end: load the new app image and write it 
>>to flash.
>
>We we do it exactly this way using a multi platform Qt solution. Works dead 
>reliable. If you don't need the graphical front-end, maybe "expect" is the 
>tool for you. A sample script has been posted to this list before.
>
>>Does this seem reasonable, or are there more elegant ways to do this?
>
>When the application loaded by Redboot is up and running, we provide an 
>alternative way to update. You can connect with a client via network and 
>then upload an image that is flashed as it comes in. If something goes 
>wrong there you still have the opportunity to repair the system via Reboot.
>
>Regards,
>Dirk
>

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-06-21 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-20 15:44 [ECOS] Updating application in the field via Redboot Ali Sina
2005-06-21  6:08 ` Dirk Eibach
2005-06-21 13:15   ` Ali Sina

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).