From: Wolfgang Denk Date: Tue, 30 Mar 2004 23:46:56 +0200 Subject: [U-Boot-Users] 5272 u-boot In-Reply-To: Your message of "Tue, 30 Mar 2004 14:30:11 CDT." <002d01c4168d$6b2b0dc0$a50ba8c0@valcom.com> Message-ID: <20040330214701.513BEC10A0@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <002d01c4168d$6b2b0dc0$a50ba8c0@valcom.com> you wrote: > > My environment is set up between 0xffc02000 and 0xffc03fff > I get the following link command error. > u-boot.lds:143 cannot move location counter backwards (from ffc03f72 to > ffc02400) > > What am I doing wrong? What does it mean? You must edit your linker script and adapt it for you board. The error means that the combined size of all objects that get linked in front of the envrionment occupy all space until 0xffc03f72, which makes it impossible to the linker to place the environment at 0xffc02400, because it "cannot move location counter backwards". Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de "Life and death are seldom logical." "But attaining a desired goal always is." -- McCoy and Spock, "The Galileo Seven", stardate 2821.7