[ECOS] Disable serial device
Thu Mar 9 20:54:00 GMT 2006
On Wed, Mar 08, 2006 at 11:48:53PM +0000, Adrian K wrote:
> A serial device connected to my redboot board interferes with redboot's
> startup. How would I go about disabling the serial io on this port and only
> use the tcp-ip channel so that redboot can continue its work uninterupted?
> I noticed someone else also had this issue, but was unable to locate a
> resolution. I appologise if this has been answered elsewhere
You would need to hack the hal_diag.c for the hal you are using so
that it does not register the serial port. There will probably be a function
cyg_hal_plf_serial_init() which has something like:
// Set channel 0
comm = CYGACC_CALL_IF_CONSOLE_PROCS();
Disable this code.
I've never done this myself, so it might not be this simple. Hopefully
this at least has pointed you in the right direction...
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss