On Sun, Sep 26, 2010 at 3:25 AM, Wolfgang Denk <[email protected]> wrote:
> Dear Xianghua Xiao,
>
> In message <[email protected]> you 
> wrote:
>>
>> > U-Boot 1.2.0 is also way over 3 years old.
> ...
>> my bad, it's 2.20.1 instead of 2.10.1.
>> also tried 2.19 the same problem stays.
>> of course 2.20.1 with newest u-boot works perfectly fine.
>
> Combining recent tool chains with very old code is also a pretty
> reliable recipy to run into trouble.  Don't do it, then.
>
> 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: [email protected]
> You get a wonderful view from the point of no return.
>                                    - Terry Pratchett, _Making_Money_
>

looking at the u-boot elf I found rodata.str1.1 is located far from
the rest sections, which is causing gap-fill to make a 4G u-boot.srec,
I moved all *rodata* in 8349's linker script to a separate rodata
section:
------------------------
.rodata :
  {
    *(.rodata)
    *(.rodata1)
    *(.rodata.str1.4)
  }
------------------------

seems it did the trick.

xianghua
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to