Help configuring i.MX6 IPUv3 with a parrallel display
Sascha Hauer
s.hauer at pengutronix.de
Wed Feb 24 03:15:16 PST 2016
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 at 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 |
More information about the barebox
mailing list