Fwd: Barebox 2017.02 works great but no Linux Framebuffer... :-/

Lucas Stach l.stach at pengutronix.de
Wed Jun 21 04:50:32 PDT 2017


Am Mittwoch, den 21.06.2017, 13:35 +0200 schrieb gianluca:
> 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

The fbdev emulation in the imx-drm driver defaults to 16bpp. If you want
to change this you need to provide the module parameter
"legacyfb_depth=32".

Regards,
Lucas




More information about the barebox mailing list