Emmanuel Dreyfus <m...@netbsd.org> wrote: > Another approach would be to use ucom0 as console once it is attached. > How feasible would it be to swap the console during kernel bootstrap?
You could look at what is in sys/dev/ic/com.c to handle a serial console and add the equivalent to sys/dev/usb/ucom.c. Start at the 'struct consdev comcons' declaration, that links to the functions needed.