Re: boot> set tty uplcom0 ... is this feasible?

2005-08-05 Thread Nick Holland
Ed Wandasiewicz wrote:
> I have noticed that some hardware do not have a serial port.  
> e.g. Thinkpad X40 and mac mini.
> 
> However, you can access a serial console through uplcom(8). 
> 
> As of OpenBSD 3.5, /etc/ttys
> 
> ttyU0   "/usr/libexec/getty std.9600"   vt100 on secure
> 
> If you can show boot messages through a serial console, is it feasible
> to do so through a USB-serial interface?
> 
> i.e.  boot> set tty uplcom0
> switching console to uplcom0

no.
There is *no* uplcom0 until the OS is loaded.  Up to that point, the
only HW that is accessable is HW that is supported by the BIOS.  The
BIOS barely supports the standard serial ports, there is no one standard
 "Serial port on a USB port" adapter, and even if there was, it is
unlikely anyone would have supported it in a standard,
cross-manufacturer way.

Of course, we could through all kinds of fancy stuff in the boot loader,
but then the boot loader becomes an OS...  That's not going to happen.

Nick.



boot> set tty uplcom0 ... is this feasible?

2005-08-05 Thread Ed Wandasiewicz
I have noticed that some hardware do not have a serial port.  
e.g. Thinkpad X40 and mac mini.

However, you can access a serial console through uplcom(8). 

As of OpenBSD 3.5, /etc/ttys

ttyU0   "/usr/libexec/getty std.9600"   vt100 on secure

If you can show boot messages through a serial console, is it feasible
to do so through a USB-serial interface?

i.e.  boot> set tty uplcom0
switching console to uplcom0

Ed.