AnsweredAssumed Answered

Setting fb other than fb0 as a primary

Question asked by Ambika . on Feb 6, 2017
Latest reply on Feb 15, 2017 by Ambika .

Hii,

 

I'm working on imx6q processor with yocto dizzy(linux kernel 3.14).

 

Currently the data is writing to /dev/fb0 and from there to my primary display through the first LVDS channel  (LVDS0).

 

ldb node in dtsi is as below,

...

...

&ldb {
status = "okay";

lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
primary;
crtc = "ipu1-di0";
status = "okay";

display-timings {
native-mode = <&timing0>;
timing0: ldb-wvga {
clock-frequency = <33260000>;
hactive = <800>;
vactive = <480>;
hback-porch = <88>;
hfront-porch = <40>;
vback-porch = <33>;
vfront-porch = <10>;
hsync-len = <128>;
vsync-len = <2>;
};
};
};
};

...

...

From u-boot mxcfb0 tis set to primary display

I assume that currently the data write will be to ipu1_di0 i.e /dev/fb0 and that fb0 is configured to display.

 

I want to achieve the following,

  1. Write the data to other than ipu1_di0 (if possible to virtual frame buffer) say to fbx.
  2. From fbx to fb0 (on doing some operations like scaling on data in fbx to fb0)

Configuration /dev/fb0 to display is okey.

Please let know the procedure to achieve (1)

 

Thanks in advance.

Regards,

Ambika

Outcomes