05 Aug, 2015

1 commit

  • With EFI the start address of U-Boot is specified differently. We could
    consider just setting GD_FLG_RELOC and then setting up reloc_off. But that
    flag has other implementations and we are not able to use U-Boot relocation
    which this flag implies.

    Instead, just add a special case for EFI.

    Signed-off-by: Simon Glass
    Reviewed-by: Bin Meng

    Simon Glass
     

30 Dec, 2014

1 commit

  • Commit "initcall: Improve debugging support" makes sense and indeed
    simplifies process of matching initcalls executed with static
    disassembly.

    Until you are debugging relocation functionality.

    Existign output may make you think that at some point execution somehow
    returned back to non-relocated area. And there're many reasons/problems
    that may provoke this behavior.

    In order to make things clear let's add explicit mention in case initall
    was actually relocated like this:
    --->---
    initcall: 810015f8
    Relocation Offset is: 0efcf000
    Relocating to 8ffcf000, new gd at 8fdced3c, sp at 8fdced20
    initcall: 810015b8
    initcall: 8ffd093c
    initcall: 8ffd0a14
    initcall: 81001940 (relocated to 8ffd0940)
    initcall: 81001958 (relocated to 8ffd0958)
    --->---

    Note "unexpected" jump from 0x8f... area to 0x81... area.
    Without explanation this raises many questions: execution jumped in
    relocated area right as expected and then for some reason returned back?

    But I hope comment in brackets will save some time for those curious
    developers who are careful enough to catch "unexpected jump to pre-reloc
    area" or those unlucky ones who'll have to deal with relocation
    debugging.

    Signed-off-by: Alexey Brodkin
    Cc: Simon Glass
    Cc: Minkyu Kang

    Alexey Brodkin
     

23 Oct, 2014

1 commit


28 May, 2014

1 commit

  • Add the ability to display the code offset of an initcall even after it
    is relocated. This makes it much easier to relate initcalls back to the
    U-Boot System.map file.

    Signed-off-by: Simon Glass
    Signed-off-by: Minkyu Kang

    Simon Glass
     

24 Jul, 2013

1 commit


16 Mar, 2013

1 commit