This is the mail archive of the ecos-discuss@sourceware.cygnus.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]

Re: AEB additional serial port


Sergey Yemets wrote:
> 
> Hi.
> 
> AEB board has 3 serial ports. They are called #0,#1,#2.
> DB9 connector is attached to serial port #1.
> Device 'haldiag' use this port.
> 
> What hardware is assumed in pkgconf/io_serial.h
> (CYGPKG_IO_SERIAL_ARM_AEB_SERIAL0 and CYGPKG_IO_SERIAL_ARM_AEB_SERIAL1)?
> 
> One more question:
> Can one remove gdb support code (including 'haldiag' device driver,
> including all debugging facilities) to reduce size?

You can do so by ensuring you don't use any functions that require it. Have
a look at the linker map (pass -Wl,-Map,link.map on the gcc link line to ask
the linker to generate a map file called link.map), or use arm-elf-nm
<executable file> to see what has actually been included. arm-elf-objdump
--syms can also be used. Anything with an address of '00000000' has been
removed due to the linker garbage collection and can be ignored.

> What size of memory
> will be free?

Not much.

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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