From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aYYjK-0002o0-Tg for barebox@lists.infradead.org; Wed, 24 Feb 2016 12:39:48 +0000 Received: by mail-wm0-x22e.google.com with SMTP id g62so27951538wme.0 for ; Wed, 24 Feb 2016 04:39:26 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20160224111516.GM3939@pengutronix.de> References: <20160223083236.GA3939@pengutronix.de> <20160224111516.GM3939@pengutronix.de> Date: Wed, 24 Feb 2016 13:39:25 +0100 Message-ID: From: Philippe Leduc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: Help configuring i.MX6 IPUv3 with a parrallel display To: Sascha Hauer Cc: barebox@lists.infradead.org > You could try setting it to V4L2_PIX_FMT_RGB24 manually in ipu_crtc_mode_set(). It is working with this trick and I do not get any error: Unfortunately, the display stay white... I tried to write it with "mw -d /dev/fb0 0xXXXXXXXX +0x40000" and splash freeze the board. Note: the LCD is whiter with fb0.enable=1 so something's happening Philippe LEDUC ledphilippe@gmail.com 2016-02-24 12:15 GMT+01:00 Sascha Hauer : > On Wed, Feb 24, 2016 at 09:22:40AM +0100, Philippe Leduc wrote: >> Hi, >> >> Since I do not manage to get a splashscreen with the simple-panel >> driver, I tried the other way: adding a driver for >> imx-parrallel-display that exposes the display-timings. So far I >> managed to add a video mode to my framebuffer: >> >> devinfo fb0 >> Resources: >> num: 0 >> start: 0x2005a000 >> size: 0x0007f800 >> Available modes: >> rk043fn07h: 480x272@0 >> Parameters: >> enable: 0 >> mode_name: rk043fn07h >> shadowfb: 1 >> >> But there is no refresh rate? Don't know if it is a problem, but my >> framebuffer still doesn't want to work (however it is more or less >> better than before): > > The refresh rate is 0 because the code in of_display_timing.c doesn't > set the refresh rate. That's not nice, but shouldn't be a problem. > >> >> fb0.enable=1 >> imx-ipuv3-crtc imx-ipuv3-crtc0: ipu_crtc_mode_set: mode->xres: 480 >> imx-ipuv3-crtc imx-ipuv3-crtc0: ipu_crtc_mode_set: mode->yres: 272 >> imx-ipuv3-crtc imx-ipuv3-crtc0: initializing display controller failed with -22 > > The only way ipu_dc_init_sync() fails is when interface_pix_fmt is > invalid. This means you either have no "interface-pix-fmt" property or > this property doesn't get evaluated. You could try setting it to > V4L2_PIX_FMT_RGB24 manually in ipu_crtc_mode_set(). > > Sascha > > > -- > Pengutronix e.K. | | > Industrial Linux Solutions | http://www.pengutronix.de/ | > Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox