mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Philippe Leduc <ledphilippe@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: Help configuring i.MX6 IPUv3 with a parrallel display
Date: Wed, 24 Feb 2016 12:15:16 +0100	[thread overview]
Message-ID: <20160224111516.GM3939@pengutronix.de> (raw)
In-Reply-To: <CABQt-U=jXuJMJY1Uew4cVa2Ap=dpX9rzW91JbiuRSDpeuf+C0g@mail.gmail.com>

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

  reply	other threads:[~2016-02-24 11:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22 16:41 Philippe Leduc
2016-02-23  8:32 ` Sascha Hauer
2016-02-23 11:47   ` Philippe Leduc
2016-02-24  8:22     ` Philippe Leduc
2016-02-24 11:15       ` Sascha Hauer [this message]
2016-02-24 12:39         ` Philippe Leduc
2016-02-24 12:43           ` Sascha Hauer
2016-02-24 12:50             ` Philippe Leduc
2016-02-24 13:46               ` Philippe Leduc
2016-02-24 18:15                 ` Sascha Hauer
2016-02-25  8:44                   ` Philippe Leduc
2016-02-25  9:16                 ` Holger Schurig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160224111516.GM3939@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=ledphilippe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox