[ECOS] Converting Binaries for LEON CPU
Jonathan Larmour
jlarmour@redhat.com
Wed Apr 3 20:35:00 GMT 2002
Andrew Lai wrote:
>
> Hi all,
>
> I have a particular file called "tm_basic.o", which was produced in the
> eCos development environment. Have been experimenting with eCos over the
> LEON. "tm_basic.o" was compiled in the eCos environment. The question is:
>
> How to convert tm_basic.o into a form that can be run by LEON and TSIM?
>
> I suspect that I should be using sparc-rtems-objcopy. Have tried this
> without success. Am probably missing something in the switches. This the
> why i've used the command:
>
> sparc-rtems-objcopy -O elf32-sparc tm_basic.o tm_basic
> sparc-rtems-objcopy -O srec tm_basic.o tm_basic.srec
Don't bother with the .o file - that's not the test. You need to use the
test executable which should be in the "tests" directory underneath your
install tree.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list