[U-Boot-Users] 5272 u-boot

u-boot runs great from sdram.
When I change the text base to 0xffc00400 and undefined MONITOR_IS_IN_RAM,
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?

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
participants (2)
-
Robert Williams
-
Wolfgang Denk