public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] new CONFIG_RETURN_FROM_BOOTM
@ 2007-07-20 13:57 Wilson Callan
  2007-07-20 14:22 ` Jerry Van Baren
  0 siblings, 1 reply; 2+ messages in thread
From: Wilson Callan @ 2007-07-20 13:57 UTC (permalink / raw)
  To: u-boot

Hi,

I've added an option similar to the  netretry=no environment option  
which allows a script to control the retry operation for networking.   
This option controls a retry operation for bootm.  Here is the README  
entry:

+- CONFIG_RETURN_FROM_BOOTM
+
+		Return from the bootm command instead of rebooting.  This
+		is useful for setting up multiple boot image options in a
+		script.  It allows the script to control the retry
+		operation.  For example, these scripts setup a system that
+		will attempt a primary flash image, then a backup image
+		location, then resort to TFTP:
+		  "boot_tftp=dhcp 3c0;bootm 3c0;reset\0" /* if fails, reset */ \
+		  "boot_flash=bootm ff050000 3c0;bootm ffc00000 3c0;run  
boot_tftp;reset\0"


CHANGELOG:

Added CONFIG_RETURN_FROM_BOOTM to control retry operation of bootm  
command.

Signed-off-by: Wilson Callan <wcallan@savantav.com>



-------------- next part --------------
A non-text attachment was scrubbed...
Name: CONFIG_RETURN_FROM_BOOTM.patch
Type: application/octet-stream
Size: 2926 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20070720/a7909ce9/attachment.obj 

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

end of thread, other threads:[~2007-07-20 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-20 13:57 [U-Boot-Users] [PATCH] new CONFIG_RETURN_FROM_BOOTM Wilson Callan
2007-07-20 14:22 ` Jerry Van Baren

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