[U-Boot] [PATCH v2 2/2] arm920t: implement elf relocation

Andreas Bießmann
2010-11-20T11:48:47Z

Dear Sebastien,

sorry for being late, I was quite busy last days.

Am 18.11.2010 um 11:44 schrieb Sebastien Carlier:

> Dear Andreas,
>
> Could you please inform me of the status of your patch for ELF relocs
> for the arm920t?

I did some more changes to the posted patch. Mostely to address the 'do not fixup NULL pointer' mentioned by Joakim Tjernlund and to get a cleaner architecture (e.g. do not copy register content that often; before the decision if we need the fixup the original version does some unnecessary copies and on some other places also).

> I have been keeping my own version based on yours (see the attached
> patch based on u-boot/master) which has small fixes and cleanups and
> seems to run well here on an AT91RM9200.

Will have a look for your patch tomorrow (I'm still busy today ;(
Will send another version of my patch also tomorrow, maybe in the evening.

> U-Boot loads and relocates,
> but crashes later due to some problem with loading the initial
> environment because of a heap problem, which I am still investigating.
>
> I am not sure what to do with my patch. I had to copy your patch from
> an archive of the mailing list but this likely messed up whitespace.
> Can you please send me the latest version of your patch so that I can
> then send you a patch that applies cleanly on top of yours? Also, are
> you working against u-boot, or u-boot-arm?

Normally I work on top of u-boot. There where some changes these days so I will have to rebase and see whats happened.

regards

Andreas Bie?mann