This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Separate console and debug ports?
- To: Grant Edwards <grante at visi dot com>
- Subject: Re: [ECOS] Separate console and debug ports?
- From: Jesper Skov <jskov at cambridge dot redhat dot com>
- Date: 08 Mar 2001 08:13:23 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- References: <20010307164159.A26702@visi.com>
>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:
Grant> I've given up on network debugging, so now I really need to get
Grant> serial debugging to work. The porting guide recommends using
Grant> separate ports for GDB debugging and for console I/O. I've got
Grant> two diagnostic serial ports, so I'm trying to configure RedBoot
Grant> to use one for console I/O and the other for GDB debugging.
Grant> I guess I need to set CYGPKG_REDBOOT_ANY_CONSOLE to 0 (will
Grant> that disable console on TCP port 9000?). I can't figure out
Grant> how to tell it to use diag serial port 0 for console and port 1
Grant> for debugger. Can anybody loan me a clue?
You're looking for the CYGNUM_HAL_VIRTUAL_VECTOR_DEBUG_CHANNEL and
CYGNUM_HAL_VIRTUAL_VECTOR_CONSOLE_CHANNEL options.
You also need to disable CYGSEM_HAL_VIRTUAL_VECTOR_INHERIT_CONSOLE and
CYGDBG_HAL_DIAG_TO_DEBUG_CHAN.
Jesper