From mboxrd@z Thu Jan 1 00:00:00 1970 From: arno@natisbad.org (Arnaud Ebalard) Subject: Re: [PATCH 0/5] OMAP: RX51: Add LCD Panel Support for N900 Date: Tue, 06 Apr 2010 22:41:55 +0200 Message-ID: <87iq84cnzg.fsf@small.ssi.corp> References: <1269338191-10734-1-git-send-email-roger.quadros@nokia.com> <87pr2datft.fsf@small.ssi.corp> <4BBB03F2.5050706@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from copper.chdir.org ([88.191.97.87]:38656 "EHLO copper.chdir.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927Ab0DFUlf (ORCPT ); Tue, 6 Apr 2010 16:41:35 -0400 In-Reply-To: <4BBB03F2.5050706@nokia.com> (Roger Quadros's message of "Tue, 06 Apr 2010 12:50:42 +0300") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Roger Quadros Cc: "tony@atomide.com" , "Valkeinen Tomi (Nokia-D/Helsinki)" , "linux-omap@vger.kernel.org" , "linux-fbdev@vger.kernel.org" Hi, >> Roger Quadros writes: >> >>> These patches get the N900 LCD panel working. >>> Apply's cleanly on 2.6.34-rc2 >>> >>> Pre-requisites: >>> https://patchwork.kernel.org/patch/86318/ >>> https://patchwork.kernel.org/patch/86319/ >>> https://patchwork.kernel.org/patch/86320/ >> >> First, thanks for pushing the missing bits for N900 hardware support >> upstream! I wanted to give your patches a try and test a l-o kernel on >> my N900 (I know I won't have full hardware support ... at the moment). >> >> Using current l-o tree with your 5 panel patches and the 3 you link on >> patchwork, I initially ended up with a kernel panic in >> omap3_onenand_write_bufferram() (i.e. unrelated to your patches). >> >> With http://patchwork.ozlabs.org/patch/48337/ (mtd: OneNAND: OMAP3: >> unmap correct DMA buffer), I am able to get the official Nokia >> /sbin/preinit called: then, getbootstate reports a malfunction but >> AFAICT, the panel is working ok. >> > The getbootstate malfunction is expected as there is no support for it > yet in mainline. But you should get to shell without that. > > You could hack the startup script to spawn a getty on ttyS2. This > should get you to shell. > > so in /sbin/preinit, in start_shell() > > -/sbin/getty 115200 ttyS0 -n -l /bin/sh > +/sbin/getty 115200 ttyS2 -n -l /bin/sh For the records, just in case someone wants to do the same, I had to use: /sbin/getty 115200 tty0 -n -l /bin/sh I also had to set CONFIG_KEYBOARD_TWL4030 to get the keyboard working. Any reason for that option not be enabled by default in rx51_defconfig? Additionally, after something like 25 seconds, the screen goes black and the device stops. Any clue? Can be panel realted? Cheers, a+