From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Amol Lad" Subject: Dynamic switch from Console on ttyS0 to fbcon Date: Wed, 20 Aug 2008 09:48:44 +0530 Message-ID: <8c675e9b0808192118g598fc380kf3cb3aa22cf969c8@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1KVf9h-0004p0-Uv for linux-fbdev-devel@lists.sourceforge.net; Tue, 19 Aug 2008 21:18:46 -0700 Received: from fg-out-1718.google.com ([72.14.220.156]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1KVf9h-0005Gh-JC for linux-fbdev-devel@lists.sourceforge.net; Tue, 19 Aug 2008 21:18:45 -0700 Received: by fg-out-1718.google.com with SMTP id d23so180721fga.32 for ; Tue, 19 Aug 2008 21:18:44 -0700 (PDT) Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: linux-fbdev-devel@lists.sourceforge.net Hi, I'm trying to switch the console from ttyS0 to frame buffer. This is achieved using fbcon; you can either link it statically in kernel or "modprobe fbcon" (Documentation/fb/fbcon.txt) The problem is if "console=ttyS0,115200n8" is passed on u-boot command line then the console switch to framebuffer does not happen after doing modprobe fbcon. If "console=ttyS0,115200n8" argument is not passed on u-boot then the console switch happens after modprobe fbcon. Any ideas why switch does not happen when "console=" argument is passed to the kernel ? (In my application, I need to switch the console dynamically to framebuffer from ttyS0. This decision cannot be done in u-boot so u-boot will pass "console=ttyS0,115200n8" argument) Thanks Amol ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/