public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Using u-boot as application-firmware upgrader / Performing logical operations?
@ 2004-12-22  9:23 Martin Egholm Nielsen
  2004-12-22 10:57 ` Wolfgang Denk
  0 siblings, 1 reply; 9+ messages in thread
From: Martin Egholm Nielsen @ 2004-12-22  9:23 UTC (permalink / raw)
  To: u-boot

Hi there,

I have plans of using u-boot as the last-and-ever-working 
application-firmware-upgrade (in case my Linux [from NAND] is somehow 
damged).
Hence my plans are that U-boot should perform the following on startup:

1) Try fetching new application-image using tftp against some hardcoded 
address
2) Timeout after 2 secs if no connection (skip to pt 5) (logigs needed)
3) Perform some simple validation of the image - e.g. check that the 
last bytes of the image is "egholm" (logics needed)
4) If validated, nuke the flash and put the new image on
5) Launch Linux kernel from nor with root-fs in nand

I reckon there is a problem with 2) where the remainder of the script 
should only run in case the tftp-action went well. And the same goes for 3).

Does this idea have a future?
Please let me hear your comments...

BR,
  Martin Egholm

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

end of thread, other threads:[~2004-12-23  9:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-22  9:23 [U-Boot-Users] Using u-boot as application-firmware upgrader / Performing logical operations? Martin Egholm Nielsen
2004-12-22 10:57 ` Wolfgang Denk
2004-12-22 12:29   ` [U-Boot-Users] " Martin Egholm Nielsen
2004-12-22 14:17     ` Wolfgang Denk
2004-12-22 15:57       ` Martin Egholm Nielsen
2004-12-22 16:23         ` Wolfgang Denk
2004-12-23  9:14           ` Martin Egholm Nielsen
2004-12-22 14:44     ` Wolfgang Denk
2004-12-22 15:17       ` Martin Egholm Nielsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox