[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
General PTY and CONSOLE question
- Date: Fri, 19 Sep 2008 13:25:16 -0400
- From: gds at chartertn.net (Gene Smith)
- Subject: General PTY and CONSOLE question
Thanks for the quick answer. But guess I am confused. You *have* to have
a console driver in the conf table even if your board has no uart?
Or maybe I can replace the console driver with
"CONFIGURE_APPICATION_NBEDS_STUB_DRIVER" which pulls in devnull.h ?? I
will try this...
Thomas Doerfler wrote:
> during startup RTEMS tries to open "dev/console". If you don't a device
> of this name, you will run into trouble. PTY will be initialized later
> (AFAIK), so this can't be a replacement.
> Maybe the NULL device can help you as a dummy replacement of the console?
> Gene Smith wrote:
>> Does a PTY driver require the console driver? When I remove
>> CONSOLE_DRIVER_TABLE_ENTRY from the Device_drivers array I get no pty
>> login. Are they somehow tied together? Examples I have seen on the list
>> have the both.
>> I need to run with my UART h/w disabled (I can't have it on, I need its
>> I/O ports for other functions). However I would still like the PTY
>> login/shell to be working (for now).
>> The other problem also might be that print[kf] calls are still present
>> in the code. printk still tries to send chars to the uart even when
>> CONSOLE is gone. I am not sure about printf.
>> rtems-users mailing list
>> rtems-users at rtems.com