From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fuchs Date: Fri, 29 Jun 2012 11:42:15 +0200 Subject: [U-Boot] environment access before relocation does not work on (some) arm Message-ID: <4FED7877.2020505@esd.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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