This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Converting Binaries for LEON CPU


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

Am I missing something?

Regards,
Andrew Lai 


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]