[coreboot] [PATCH][RFC] A new way using a binary file to add-stage to a rom file on ARM

Hamo hamo.by at gmail.com
Tue Jul 19 02:38:13 CEST 2011


On Tue, Jul 19, 2011 at 2:00 AM, Patrick Georgi <patrick at georgi-clan.de> wrote:
> As I understand it, you're actually doing 1:1 mapping on your system.
> The "only" issue is that on your platform the ROM is mapped at 64k
> (instead of 0, what the ARM support code in cbfstool assumes right now).
>
> No need to add special cases here.
>
Yes. It is 1:1 mapping. But the rombase is variable from one board to another.
I find a problem when using the formal parse_elf_to_stage function
that it can not
copy the right binary code from the elf file to the rom, I think it is
related to the
address map of X86 but I could not find the real problem. So I moved
to using bin
file to add-stage to the rom file. Could you help me to figure out the
problem and
the way to using an elf file?

Thanks,
Hamo




More information about the coreboot mailing list