From: Philippe Leduc <ledphilippe@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: Help configuring i.MX6 IPUv3 with a parrallel display
Date: Wed, 24 Feb 2016 13:39:25 +0100 [thread overview]
Message-ID: <CABQt-UnC4FvOPwkHJ8UtefBDLkc65nTr7hVSJ6vPgBYASWAS5w@mail.gmail.com> (raw)
In-Reply-To: <20160224111516.GM3939@pengutronix.de>
> 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 <s.hauer@pengutronix.de>:
> 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
next prev parent reply other threads:[~2016-02-24 12:39 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
2016-02-24 12:39 ` Philippe Leduc [this message]
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=CABQt-UnC4FvOPwkHJ8UtefBDLkc65nTr7hVSJ6vPgBYASWAS5w@mail.gmail.com \
--to=ledphilippe@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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