* [ECOS] AEB additional serial port
@ 2000-02-17 0:34 Sergey Yemets
2000-02-17 9:23 ` Jonathan Larmour
0 siblings, 1 reply; 2+ messages in thread
From: Sergey Yemets @ 2000-02-17 0:34 UTC (permalink / raw)
To: ecos-discuss
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? What size of memory
will be free?
There are two options in pkgconf/*.h files (CYGPKG_IO_SERIAL_HALDIAG,
CYGDBG_HAL_DIAG_DISABLE_GDB_PROTOCOL). I changed them and rebuilt all.
But I didn't see significant changes in code size.
Thanks.
Sergey.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] AEB additional serial port
2000-02-17 0:34 [ECOS] AEB additional serial port Sergey Yemets
@ 2000-02-17 9:23 ` Jonathan Larmour
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-02-17 9:23 UTC (permalink / raw)
To: Sergey Yemets; +Cc: ecos-discuss
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-02-17 9:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-02-17 0:34 [ECOS] AEB additional serial port Sergey Yemets
2000-02-17 9:23 ` Jonathan Larmour
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).