From mboxrd@z Thu Jan 1 00:00:00 1970 From: Detlev Zundel Date: Thu, 06 Mar 2008 17:33:06 +0100 Subject: [U-Boot-Users] [PATCH] Replace "run load; run update" with conditionalized "run load update". In-Reply-To: <200803061659.37130.sr@denx.de> (Stefan Roese's message of "Thu, 6 Mar 2008 16:59:36 +0100") References: <1204818353-15841-1-git-send-email-dzu@denx.de> <200803061659.37130.sr@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Stefan, > On Thursday 06 March 2008, Detlev Zundel wrote: >> The latter version stops when "run load" fails for whatever reasons >> rendering the combination *a lot* more secure. >> >> Signed-off-by: Detlev Zundel > > Thanks for spotting. Actually the sequoia part of the patch bit Markus hard preparing for a training. To put the board into a defined state he first erased the environment, reset the board and did a "run upd". Seemed a pretty natural thing to do, but becourse of the erased environment, the tftp failed and because of the ";" u-boot was erased anyway. The nasty part he only realized at that moment - although he had U-Boot still running, tftp would only work with "ethaddr" set _after_ a reset :( Oddly enough, a BDI penalty loop reflashing a board reminds me a lot of biathlon... Cheers Detlev PS: Yes I know, he could have used serial download or even a USB stick, but we only realized that later. -- Lobbing insults is not a useful technique for reaching understanding. -- Thomas Bushnell, BSG -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de