[U-Boot] 'run' no longer aborts on an error, can someone please verify

Timo Ketola timo at exertus.fi
Mon Apr 23 10:33:49 CEST 2012


On 23.04.2012 11:20, Wolfgang Denk wrote:
> I cannot confirm a problem with the "run' command; tested with
> v2012.04 in "sandbox" :
> 
> ------------------------------------
> $ echo 'setenv fail printenv foo;setenv bug echo === BUG ===;run fail bug; reset' | ./u-boot

I can confirm it:

EXE4026> setenv fail printenv foo;setenv bug echo === BUG ===;run fail bug
## Error: "foo" not defined
=== BUG ===
EXE4026>

With the fix I showed earlier:

EXE4026> setenv fail printenv foo;setenv bug echo === BUG ===;run fail bug
## Error: "foo" not defined
EXE4026>

> Which exact version of U-Boot and which board configuration are you testing?

This is u-boot-imx.git next with not yet merged board adaptation.

> Are you using hush shell, or plain old command interpreter?

Plain old...

--

Timo


More information about the U-Boot mailing list