
Dear Peter,
In message 1254577553.23101.14.camel@ptyser-laptop you wrote:
So how should we proceed? My plan was to merge the "reloc" branch by the end of next week. Is this still realistic?
That plan is realistic. The executive summary is: The current "reloc" branch works, and is an improvement on U-Boot's previous "semi-reolcation", so we should merge it for this release.
OK, so let's do that.
There are a few change which would further improve relocation that Jocke and I want to get merged. Whether these improvements occur in this release or the next is not a big deal to me.
- Fix relocation of NULL pointers.
eg the following code would print the relocation fixup offset instead of the expected NULL. void weak_fun(void) __attribute__((weak)); printf("weak_fun:%p\n", weak_fun); This was already an issue, so we're not breaking anything in the "reloc" branch
Move relocation fixup code to C-code
Possibly get true relocation working so that U-Boot could be located
anywhere and still execute.
I tend to get all of this (as far as it's available and considered to be ready) into this release, so we have it all in one big block.
Jocke has 1 and 2 mostly figured out, I just need some time to play with the linker scripts a bit more to ensure nothing breaks. (Sorry Jocke, its been a busy week).
You don't have to apologize. We've all been in similar situations before. And we really appreciate your efforts (and Jocke's, of course).
Best regards,
Wolfgang Denk