Port-ofppc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NOTICE: major changes to ofppc incoming



Aymeric Vincent wrote:
> Frank Wille <frank%phoenix.owl.de@localhost> writes:
> 
>> In ofw_consinit.c, function cninit(), the device_type is "serial", but the
>> name-property of the console_node is "failsafe" in my case. So nothing in
>> the function applies and no console is attached.
> 
> You have to use nvedit/nvstore to explicitly select serial as your IO
> system on the Efika.
> 
> Something like
> 
> " /builtin/serial" io
> 
> at the end of the script.

You should fix the NetBSD code first!

We had this discussion with the Linux guys. stdout is stdout and serial
is serial; checking for node *names* in order to attach is really out
of this world crazy.

Are you going to list every ppc serial port on every machine in there, or
just attach to the first one that says 'serial'? If stdin/sdout are set
to failsafe, then this is your console (it means there is no display
and/or keyboard pair).

Note; NetBSD should *also* be able to attach to the display node if
present. In VGA text mode (3) the firmware emulates a serial terminal
anyway. Just treat it like a serial port.

-- 
Matt Sealey <matt%genesi-usa.com@localhost>
Genesi, Manager, Developer Relations



Home | Main Index | Thread Index | Old Index