
29 Jun
2012
29 Jun
'12
11:42 a.m.
Hi,
I just noticed that using getenv (and friends) does not work on ARM (namely i.MX28) from board_init_f() after running through the init_sequence.
So getenv_ulong() always returns the given default. So the baudrate on affected boards is always set by CONFIG_BAUDRATE and cannot be adjusted by the baudrate env variable and so on. Environment access before relocation is required for some functions: pram, fdtcontroladdr, baudrate, ...
Env access does not work before env_relocate() in board_init_r().
Didn't this behave different sometimes before? Even after the big env rework?
Matthias