[U-Boot] [RFC] [PATCH V2] arm: arm926ejs: use ELF relocations

Reinhard Meyer
2010-10-05T07:05:43Z

Dear Wolfgang Denk, dear Albert Aribaud,

Initial Test reports:

File Size with Heiko's patch: 244k
U-Boot works.

File size with Albert's V2 patch: 255k
U-Boot stops at:
U-Boot 2010.09-00113-g3c5eeb8-dirty (Oct 05 2010 - 10:04:25)

CPU: AT91SAM9XE
Crystal frequency: 18.432 MHz
CPU clock : 198.656 MHz
Master clock : 99.328 MHz
I2C: ready
DRAM: 64 MiB
<dead here>

File size with Wolfgang's patch: 244k (strange!)
U-Boot stops at:
U-Boot 2010.09-00114-g1b05d80 (Oct 05 2010 - 10:14:32)

CPU: AT91SAM9XE
Crystal frequency: 18.432 MHz
CPU clock : 198.656 MHz
Master clock : 99.328 MHz
I2C: ready
DRAM: 64 MiB
FLASH: 512 KiB
NAND: 256 MiB
<dead here>

I only added #define CONFIG_RELOC_FIXUP_WORKS to my board config
(compared to the Heiko-version).
Did I miss to change anything else.

I find it strange that the file size shrinks back to the
Heiko version size when Wolfgang's patch variant is used.

Later I might have more time to investigate.

Best Regards,
Reinhard