General PTY and CONSOLE question

Thomas Doerfler Thomas.Doerfler at embedded-brains.de
Fri Sep 19 17:08:04 UTC 2008


Gene,

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?

wkr,
Thomas.


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.
> 
> Thanks,
> -gene
> 
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users


-- 
--------------------------------------------
embedded brains GmbH
Thomas Doerfler           Obere Lagerstr. 30
D-82178 Puchheim          Germany
Tel. : +49-89-18 90 80 79-2
Fax  : +49-89-18 90 80 79-9
email: Thomas.Doerfler at embedded-brains.de
PGP public key available on request

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list