[Skiboot] [PATCH] Set boot consoles to be used by the bootloader

Sam Mendoza-Jonas sam at mendozajonas.com
Wed Mar 9 11:45:20 AEDT 2016


On Wed, Mar 09, 2016 at 10:50:56AM +1030, Joel Stanley wrote:
> On Wed, Mar 9, 2016 at 10:00 AM, Sam Mendoza-Jonas <sam at mendozajonas.com> wrote:
> > If nothing is specified on the kernel command line the boot console will
> > only be displayed on hvc0 by default.
> > Specify both tty0 and hvc0 so that the boot console can also be seen on
> > the VGA device if it is available.
> 
> > Technically this could also be done by patching it to be the default
> > in the kernel (ie. a patch in op-build) but this seems to be a cleaner
> > way of setting it for any bootloader we may have.
> > Tested on a Habanero and Tuleta machine, although I don't have a monitor
> > attached to any Tuletas at the moment.
> 
> Where/how does hvc0 added as an output before this change?

AFAIK the kernel will choose the first available device by default,
which has been hvc0 on everything I've seen so far.

> 
> It would be cool if the kernel had a console=all option.

Absolutely, I spent some time reading around to see if it was valid but
I couldn't find a mention of it, and digging into kernel/printk/printk.c
seems to say it isn't a thing either.

> 
> Cheers,
> 
> Joel



More information about the Skiboot mailing list