From: Wolfgang Denk Date: Wed, 19 Aug 2009 21:21:57 +0200 Subject: [U-Boot] Switch to backup image after failure to boot In-Reply-To: <25047967.post@talk.nabble.com> References: <25047967.post@talk.nabble.com> Message-ID: <20090819192157.0EAEE833DBD2@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear dbrazeau, In message <25047967.post@talk.nabble.com> you wrote: > > Correct me if I'm wrong, but I thought I read in some document that you can > set some environment variable that will load the image from an alternate > location (address) after failing to boot the image at the primary location. > I was just wondering if someone could give me some details about this as I > can't remember where I read it, or if this is even possible. Thanks. As usual it depends on architecturew, CPU and board if this featuresis available and enabled for your hardware. What you are looking for is the "boot count limit". See http://www.denx.de/wiki/view/DULG/UBootBootCountLimit Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Certainly there are things in life that money can't buy, but it's very funny - Did you ever try buying them without money? - Ogden Nash