From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from qmail34.e-mind.com ([188.94.192.34] helo=qmail.e-mind.com) by bombadil.infradead.org with smtp (Exim 4.87 #1 (Red Hat Linux)) id 1dNdvC-0003oW-BW for barebox@lists.infradead.org; Wed, 21 Jun 2017 11:35:44 +0000 References: <63687e34-f354-81d3-aed7-1a59866925c5@eurekelettronica.it> <2f43179e-2aa0-1dba-eafa-a9c0025afd24@eurekelettronica.it> <1487689380.2268.18.camel@pengutronix.de> <82857526-9f9a-2878-9b8e-070f124e2a41@eurekelettronica.it> <20170621063246.wdfct6r2boyx4xo3@pengutronix.de> From: gianluca Message-ID: <126e2527-f179-0c82-c384-c6c975a7c8e9@eurekelettronica.it> Date: Wed, 21 Jun 2017 13:35:09 +0200 MIME-Version: 1.0 In-Reply-To: <20170621063246.wdfct6r2boyx4xo3@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/ To: Sascha Hauer Cc: barebox@lists.infradead.org On 06/21/2017 08:32 AM, Sascha Hauer wrote: > Hi Gianluca, > > On Mon, Jun 19, 2017 at 05:49:41PM +0200, gianluca wrote: >> Hello Lucas, Sascha and the barebox mailing list guys! >> >> I am back with the new boards batch release (now QuadPlus and DualLite iMX6) >> >> Now I adapted barebox to fit both processors and it works quite well. >> >> From Barebox point-of-view the ldb node of the device-tree is using three >> timings and they are working good depending on which panel bridge board I am >> connecting to (1280x800, 1024x600 and 800x480). >> >> The custom startup code of barebox is looking for a special eeprom on the >> panel-bridge and set the device tree accordingly, i.e. setting the >> native-mode node to the correct display-timing. >> >> The same device-tree is used in Linux (as in attachment) as you can see the >> ldb section and the panel section, using a simple-panel and a correct panel >> timing using the innolux,g101ice_l01 panel driver timings. >> >>> >>>> No, Linux does not support DT defined modes in the panel. You need a >>>> panel with a proper compatible and driver. >>>> >>>> See drivers/gpu/drm/panel. For most LVDS panels simple-panel is what you >>>> want to use. >>>> >> >> They are ignored in the Barebox starup (as you know barebox can use the >> display-timings in the ldb section) but the panel section is used in linux. >> >> Nevertheless it does not work. > > What exactly does not work? No picture in barebox? Any error messages? > Does it work in Linux? > In Barebox no problem at all (screen frequency apart. For every display-timing found it gives me @0 Hz...). The problem is in Linux. The utility fbset is giving me 16bpp!! The panel driver used (innolux,g101ice-l01) has the RGB888 format and the ldb in the device-tree section has fsl,data-width = <24> This issue is present for every panel I use (lg,lb070wv8 and auo,b101aw03 too) so maybe some misconfiguration somewhere... I was supposed to have 24 or 32 bit in the framebuffer driver using fbset... May be some fbset issue? Some issue??? I have no Xorg. only fbdev -- Eurek s.r.l. | Electronic Engineering | http://www.eurek.it via Celletta 8/B, 40026 Imola, Italy | Phone: +39-(0)542-609120 p.iva 00690621206 - c.f. 04020030377 | Fax: +39-(0)542-609212 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox