This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Default CME555 too big
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Eric Castle <ecastle at umich dot edu>
- Cc: Bob Koninckx <bob dot koninckx at o-3s dot com>,Ecos-Discuss <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 8 Jun 2004 22:19:20 +0200
- Subject: Re: [ECOS] Default CME555 too big
- References: <FHEHIHJPBAMHEPDCEAOGAEDECAAA.ecastle@umich.edu>
> However, when we built the eCos library (using the CME555 template and the
> default package) and made the example programs, they came in around 1 MB,
> much too big to run from external RAM. Is there a different package we
> should be using here to build the library?
I presume the 1MB is the size of the elf file and not the binary. Run
powerpc-eabi-size(1) on the elf to find out the size of the binary.
> But downloading that to RAM via gdb hasn't produced anything. Generally we
> do the following:
>
> % powerpc-eabi-gdb hello
>
> (gdb) set remotebaud 38400
> (gdb) target remote /dev/ttyS0
> (gdb) continue
Err, what about the load command?
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss