Am Montag, den 18.07.2011, 22:07 +0800 schrieb Hamo:
Since the way we use to add stage to a rom file is highly depended on the 1-1 address map on X86 so we can not use it to add stage to a rom file on ARM.
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.
Patrick
On Tue, Jul 19, 2011 at 2:00 AM, Patrick Georgi patrick@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