This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: AEB additional serial port
- To: Sergey Yemets <yemets at javad dot ru>
- Subject: Re: [ECOS] AEB additional serial port
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Thu, 17 Feb 2000 17:22:52 +0000
- CC: "ecos-discuss at sourceware dot cygnus dot com" <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <38ABB274.5EBCACC8@javad.ru>
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