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]

Re: making and running tests


I've noticed the same thing when doing builds for the straight EB40.
Large ~1MB output files are generated that appears to be elf
files but gdb dosn't like them. I have to convert to binary only and
strip all the debug/source out of them with objcopy. I used redboot
to xfer them to 0x02020000 to run which they do just fine.

arm-elf-objcopy -O binary tm_basic.exe tm_basic.bin

I use both Windows and Linux to develop. If someone knows
how to make file that gdb like please let me know.

Greg

> 
> I must be doing something wrong.  I'm trying to build and run the tests
> for the eb40a port I've done.  To build the tests I do:
> 
> ecosconfig new eb40a
> ecosconfig tree
> make ; make tests
> 
> Looking at hal/common/current/tests I see 'basic' is 1.14MB.
> When I build redboot it's only 1/4 that size.  Why is basic so
> large?
> 
> When I try to load and run it nothing happens.  And that brings
> me to another question.  I'm loading it using redboot in the ROMRAM
> configuration.  But don't I have to load the test image at the base
> of RAM?  Isn't redboot running there?  Should I be relocating the
> image to free ram?
> 
> Couldn't find much on this in the docs or mailing list archives.
> 
> Thanks,
> 
> -tim
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 


-- 
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]