Have wayland use /dev/fb1

Showing results for 
Search instead for 
Did you mean: 

Have wayland use /dev/fb1

Contributor I

I have two displays in my boundary devices i.mx8m mini system. The first is HDMI (via the DSI and a converter) and an ssd1306 oled via i2c.

The oled is getting mapped to /dev/fb0 and the dsi/hdmi to /dev/fb1

Is there a way to swap these? 

Or, is there a way to make wayland use /dev/fb1?

0 Kudos
1 Reply

NXP TechSupport
NXP TechSupport

Hello richc128,

The kernel command line configuration for display may vary according the kernel release. You will find the correct parameters at release notes contained at the BSP package you're using. For example, for BSP release the video command line is: video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:dev=hdmi, 1920x1080M@60,if=RGB24

If you switch the fb0 with fb1, Linux will switch the primary display. For example, if lcd was the /dev/fb0, it will now be the /dev/fb1. all this is done in uboot.


0 Kudos