Adding second frame buffer for iMX8 LVDS1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding second frame buffer for iMX8 LVDS1

Jump to solution
3,036 Views
tony-atlismv
Contributor III


I would like to know how to setup a second frame buffer on the iMX8. I am using the imx8qm-mek with two different sized screens, where each screen is connected through a LVDS to HDMI converter. The first screen is connected to lvds0, and the second screen is connected to lvds1 of the im8qm mek. The problem is, there is only one frame buffer representing the two screens, /dev/fb0, where the second screen is extended from the first screen. I would like to have one screen with a frame buffer device node of /dev/fb0, and the other screen with a frame buffer device node of /dev/fb1 for example.

Looking through the imx8qm dts files, there is no alias referencing the frame buffer. I did see that the second LVDS Display Bridge (&ldb2) is setup with "lvds-channel@0" in the im8qm-mek.dts file. Although, changing it to "lvds-channel@1" just caused compiler errors. So, what do I need to change/modify in the dts files with the LVDS Display Bridge so the Linux kernel creates a second frame buffer for lvds1 on the imx8qm mek board? Linux kernel version is 5.4.70 (linux-imx).

Note, that I did find a NXP community reference article with a link on how to set up a custom screen, but this is for the iMX6 and the method has since been deprecated for the iMX8.

Any help would be greatly appreciated.

0 Kudos
Reply
1 Solution
3,025 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Tony,

See i.MX_Yocto_Project_User's_Guide.pdf of L5.4.70_2.3.0, please!

.....

• fsl-imx-fb - Frame Buffer graphics - no X11 or Wayland. Frame Buffer is not supported on i.MX 8.

......

Only i.MX6 & i.MX7 support Frame buffer.

 

Have a  nice day!

Regards,

weidong

View solution in original post

0 Kudos
Reply
3 Replies
3,023 Views
tony-atlismv
Contributor III

Weidong,

Thanks for the reply. I appologize, but I forgot that the iMX8 didn't support the frame buffer. Although, ironically, there is still a usable frame buffer that is created by the Linux kernel when executed on the iMX8QM MEK board. I will look to other sources as how to separate the two screens.

Thanks,

Tony S.

0 Kudos
Reply
1,978 Views
PunitTeksun
Contributor I

Hello Tony,

Did you find any solution? I am also facing the same issue

0 Kudos
Reply
3,026 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hi Tony,

See i.MX_Yocto_Project_User's_Guide.pdf of L5.4.70_2.3.0, please!

.....

• fsl-imx-fb - Frame Buffer graphics - no X11 or Wayland. Frame Buffer is not supported on i.MX 8.

......

Only i.MX6 & i.MX7 support Frame buffer.

 

Have a  nice day!

Regards,

weidong

0 Kudos
Reply