public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] environment access before relocation does not work on (some) arm
@ 2012-06-29  9:42 Matthias Fuchs
  2012-06-29 11:26 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Matthias Fuchs @ 2012-06-29  9:42 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-03 18:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-29  9:42 [U-Boot] environment access before relocation does not work on (some) arm Matthias Fuchs
2012-06-29 11:26 ` Wolfgang Denk
2012-07-03 14:51   ` Matthias Fuchs
2012-07-03 18:04     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox