Re: chosen/stdout-path and userland (Re: Can't boot kernel v4.0-rc2 on Koelsch)

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

 




Hi Geert,

On 03/11/2015 09:23 AM, Geert Uytterhoeven wrote:
> Hi Peter,
> 
> On Wed, Mar 11, 2015 at 2:05 PM, Peter Hurley <peter@xxxxxxxxxxxxxxxxxx> wrote:
>> The first console listed is the primary console.
>> tty0 is not resolved to its underlying tty device name.
> 
> Are you sure about that? Isn't the last one the primary console?
> 
> root@koelsch:~# cat  /sys/class/tty/console/active
> tty0 ttySC0
> 
> If tty0 would be the primary console, getty on /dev/console wouldn't work for
> my serial console, as only input on the primary console can be read through
> /dev/console if my memory serves me well (or perhaps this has changed?).
> 
> Ah, Documentation/ABI/testing/sysfs-tty agrees with me:
> 
> What:           /sys/class/tty/console/active
> Date:           Nov 2010
> Contact:        Kay Sievers <kay.sievers@xxxxxxxx>
> Description:
>                  Shows the list of currently configured
>                  console devices, like 'tty1 ttyS0'.
>                  The last entry in the file is the active
>                  device connected to /dev/console.

Did I write 'first'?  <blushes>
Yeah, it is 'last', as the documentation states.

>> That said, is the original reporter of this problem even interested in
>> upgrading their userspace, even if this is fixed in Linaro eventually?
>> What about other Linaro users?
> 
> We'll see...
> 
>> I think the only reasonable course here is to continue to support
>> "console=" in /chosen/bootargs.
> 
> Hmm...
> If you really need it, you can always add it to the U-Boot bootargs variable.

Is u-boot a given?

Regards,
Peter Hurley
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux