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

gianluca gianlucarenzi at eurekelettronica.it
Wed Jun 21 04:35:09 PDT 2017


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


-- 
Eurek s.r.l.                          |
Electronic Engineering                | http://www.eurek.it
via Celletta 8/B, 40026 Imola, Italy  | Phone: +39-(0)542-609120
p.iva 00690621206 - c.f. 04020030377  | Fax:   +39-(0)542-609212



More information about the barebox mailing list