IMX6DL LINUX4.9 How to add fb2?

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

IMX6DL LINUX4.9 How to add fb2?

1,330 Views
sendong
Contributor I

I have a imx6dl board,and I use yocto project 2.2 to bitbake fsl-image-qt5,linux 4.9.0 and qt5.8,

but when I boot the board,and setenv mmcargs 'setenv bootargs console=${console},${baudrate} ${smp} root=${mmcroot} video=mxcfb0:dev=ldb,if=RGB24 ldb=sin0 video=mxcfb2:dev=hdmi,1280x800M@60,if=RGB24'.

In /dev/,there are only fb0 and fb1,I want to use fb2 to display hdmi.

Here is the error:

mxc_sdc_fb fb@0: registered mxc display driver ldb
imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Console: switching to colour frame buffer device 160x50
mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
fbcvt: 1280x800@60: CVT Name - 1.024MA
mxc_sdc_fb fb@2: registered mxc display driver hdmi
mxc_sdc_fb fb@2: ipu0-di0 already in use
mxc_sdc_fb: probe of fb@2 failed with error -16

Please help me ,thank you !!!

Labels (4)
0 Kudos
Reply
3 Replies

1,143 Views
joanxie
NXP TechSupport
NXP TechSupport

if you need to use fb2, you need to set mxcfb1. fb2 is relevent to mxcfb1

0 Kudos
Reply

1,143 Views
sendong
Contributor I

Thanks,I already solve the problem.

The problem is "mxc_sdc_fb fb@2: ipu0-di0 already in use".

So,I change hdmi to ipu0-di1 in  dts file,and I can use fb2 to display HDMI.

0 Kudos
Reply

1,143 Views
joanxie
NXP TechSupport
NXP TechSupport

yes your issue is that IPU0-DI0 is used, you just change another channel, even IPU1-DI0 in source code, but let me correct,mxcfb2 doesn't equal to fb2.

0 Kudos
Reply