[U-Boot] binutils 2.10.1 did not work with old u-boot(1.2.0)

Xianghua Xiao xiaoxianghua at gmail.com
Mon Sep 27 00:49:41 CEST 2010


On Sun, Sep 26, 2010 at 3:25 AM, Wolfgang Denk <wd at denx.de> wrote:
> Dear Xianghua Xiao,
>
> In message <AANLkTimb_BmZCaF9nn3ic13xV2NX_QJqWTJRsUj7vt5B at mail.gmail.com> 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: wd at denx.de
> 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


More information about the U-Boot mailing list