[U-Boot] [RFC] arm926ejs: fix linker file for newer ld support

Wolfgang Denk wd at denx.de
Sun Oct 31 21:32:43 CET 2010


Dear Albert ARIBAUD,

In message <4CCDD02D.2050304 at free.fr> you wrote:
>
> > U-Boot code: 81200000 ->  81226E50  BSS: ->  81230758
> 
> Weird... display_banner() is called before relocation and uses whatever 
> the linker put in the literals; but these values above do not match 
> those of the u-boot you sent me last.
> 
> According to the .map, the *whole* of the tx25 image ends at 0x81230398, 
> and BSS itself goes from 0x812235f4 to 0x8122c700. So *before* 
> relocation there already is an issue.
> 
> Can you double-check that the u-boot you sent me is the one you ran?
> 
> > monitor len: 00030758
> 
> Should have been 0x2c700.

The difference probably comes from globally enabling DEBUG.

When I enable DEBUG only in board.c I see this instead:

U-Boot 2010.12-rc1-00027-g03ab00d-dirty (Oct 31 2010 - 20:31:12)

U-Boot code: 81200000 -> 81224E6C  BSS: -> 8122DF70
CPU:   Freescale i.MX25 at 399 MHz

monitor len: 0002DF70
ramsize: 02000000
TLB table at: 81ff0000
Top of RAM usable for U-Boot at: 81ff0000
Reserving 183k for U-Boot at: 81fc2000
Reserving 1024k for malloc() at: 81ec2000
Reserving 24 Bytes for Board Info at: 81ec1fe8
Reserving 92 Bytes for Global Data at: 81ec1f8c
New Stack Pointer is: 81ec1f88
RAM Configuration:
Bank #0: 80000000 32 MiB
relocation Offset is: 00dc2000



Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There is no distinctly American criminal class except Congress."
- Mark Twain


More information about the U-Boot mailing list