Re: U-Boot, d-i and selecting the console device
On Sun, Jun 21, 2015 at 10:07:17PM +0200, Geert Stappers wrote:
> On Sun, Jun 21, 2015 at 05:52:20PM +0200, Karsten Merker wrote:
> > Hello everybody,
> > AFAICS there is no way to determine the "active" console in
> > u-boot and set either the u-boot console variable or the
> > stdout-path property accordingly. Even if there was such a
> > mechanism, the question remains: what is the "active" console?
> SUN servers check the presence of a keyboard.
> If a keyboard is found, console is at the video hardware.
> Otherwise console at serial port.
> d-i could check for USB keyboard
> in the absence of 'console=ttyS0' kernelparameter.
That seems rather arbetrary.
It seems if you can do ssh d-i operations after a slight bit of setup,
then it ought to be possible to have d-i running on two interfaces at
once, even if only one is being used at a time.
I could be wrong though.
Could even have a prompt saying 'press enter to start d-i on this
interface' and present that on every possible console.