[U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support

Albert ARIBAUD
2010-11-10T07:53:03Z

Le 10/11/2010 00:43, Eric Cooper a ?crit :
> I have been periodically rebasing my patches for the Seagate DockStar
> on master. But ever since the elf_reloc changes were merged, I have
> been unable to get a working build. First I saw symptoms similar to
> what Alexander Holler reported (failing during NAND initialization due
> to incorrect BSS relocation), but the latest arm926ejs ld script
> patches did not fix it. The system would hang here:
>
> U-Boot 2010.12-rc1 (Nov 09 2010 - 17:52:38)
> Seagate FreeAgent DockStar
>
> SoC: Kirkwood 88F6281_A0
> DRAM: 128 MiB
> NAND:
>
> This was built with the CodeSourcery 2010q1 toolchain. I also
> included Alexander's patch to double-check the relocation, and no
> error message gets printed.
>
> Today, I decided to try out Sebastien Carlier's patch to change to
> partial linking, and to my surprise it now works.
>
> I have the two ELF images in case anyone can suggest what I should
> look for to see why one is working and the other isn't. But I don't
> know much about interpreting readelf or objdump output.

Can you make the ELF images available? I'll do the readlf/objdump
analysis and feed back on what I find.

Amicalement,
--
Albert.