From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-iy0-f179.google.com (mail-iy0-f179.google.com [209.85.210.179]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id D7F7CB6F57 for ; Tue, 3 May 2011 06:12:54 +1000 (EST) Received: by iym7 with SMTP id 7so6032553iym.38 for ; Mon, 02 May 2011 13:12:51 -0700 (PDT) MIME-Version: 1.0 Sender: glikely@secretlab.ca In-Reply-To: <4DBF065C.3030407@freescale.com> References: <4DBF065C.3030407@freescale.com> From: Grant Likely Date: Mon, 2 May 2011 14:12:31 -0600 Message-ID: Subject: Re: Login prompt on a video console instead of serial port? To: Timur Tabi Content-Type: text/plain; charset=ISO-8859-1 Cc: linux-fbdev@vger.kernel.org, devicetree-discuss , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, May 2, 2011 at 1:30 PM, Timur Tabi wrote: > I'm using a Freescale P1022DS (PowerPC e500 core) system, which has a bui= lt-in > video controller. =A0I have a framebuffer driver that works fine, and if = I add > "video=3Dfslfb:1280x1024-32@60,monitor=3D0 console=3Dtty0" to the command= -line, then > *most* of the kernel boot log appears on the serial port and the video di= splay. > > However, the login prompt is always on the serial port. =A0This happens e= ven if I > delete the "console=3DttyS0,115200" from the command-line. =A0I presume t= his is > because the "linux,stdout-path" property in the device tree always points= to a > serial port node. > > So my question is: what do I need to do get the login prompt on the video > console? =A0That is, stdout goes to /dev/fb0 but stdin is still from /dev= /ttyS0. > I presume I need to direct "linux,stdout-path" to the fslfb node in the d= evice > tree, but there doesn't appear to be support for "linux,stdin-path". Look in /etc/inittab. That's usually where the login gettys are specified. g. > > -- > Timur Tabi > Linux kernel developer at Freescale > > _______________________________________________ > devicetree-discuss mailing list > devicetree-discuss@lists.ozlabs.org > https://lists.ozlabs.org/listinfo/devicetree-discuss > --=20 Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.