[U-Boot-Users] [PATCH] Replace "run load; run update" with conditionalized "run load update".

Detlev Zundel dzu at denx.de
Thu Mar 6 17:33:06 CET 2008


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 <dzu at denx.de>
>
> 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




More information about the U-Boot mailing list