[U-Boot] ARM relocation, probably trivial mistake - back to original problem

Wolfgang Denk wd at denx.de
Fri Oct 1 14:55:02 CEST 2010


Dear Reinhard Meyer,

In message <4CA5D857.5010009 at emk-elektronik.de> you wrote:
>
> The environment issues still persist. I am at a loss
> there now.
> 
> Observation: the old style commands "setenv", "printenv", etc.
> work, but any "env" command except for "env" alone crashes.

OK. If "printenv" works and "env print" fails then it has nothing to
do with the environment code itself, as both call the same function.

It must have something to do with the implementation of subcommands
then. See do_env() in "common/cmd_nvedit.c"; check if the command
table address for find_cmd_tbl() is OK.

Eventually other commands with subcommands fail as well (i2c ?) ?

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
Es ist nicht genug zu wissen, man muß auch anwenden; es ist nicht ge-
nug zu wollen, man muß auch tun.   -- Goethe, Maximen und Reflexionen


More information about the U-Boot mailing list