> 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?

In 5.2 and earlier, this happened routinely on some ports; for example,
NetBSD/sparc would start up using the OBP output and then, once the
console device (framebuffer or serial port, depending on the console
setting) got attached, would switch to using it.  I would assume it
still does, but I don't actually know; I haven't used post-5.2 on
anything but amd64.

Maybe looking at what they did would be useful?

/~\ The ASCII                             Mouse
\ / Ribbon Campaign
 X  Against HTML                mo...@rodents-montreal.org
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B

Reply via email to