how to convert a elf file to sim file?

2 messages Options
Embed this post
Permalink
zhhwu

how to convert a elf file to sim file?

Reply Threaded More More options
Print post
Permalink
Hi All:
    i compiled okl4_2.1 for gta01 and i got 2 files: image.bin, image.elf.
how can i get the image.sim file from image.elf?


Best Regards.
zhhwu.


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
Josh Matthews

Re: how to convert a elf file to sim file?

Reply Threaded More More options
Print post
Permalink
Hi Zhhwu,

On Tue, April 21, 2009 8:55 am, [hidden email] wrote:

> i compiled okl4_2.1 for gta01 and i got 2 files: image.bin, image.elf.
> how can i get the image.sim file from image.elf?

Use this command from within your build/images directory:

../../tools/pyelf/elfweaver modify -oimage.sim image.elf --physical_entry

This will produce image.sim from image.elf. You can see this being used in
the build process (tools/build.py, in function CreateImages).

Hope this helps,
Josh


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer