Dear Qing,
Hi, the frame buffer assignment issue was in the 6x_bootscript file, as it is loaded after the uboot command and it overwrites whatever I specified with uboot commands. After adding the video command (setenv bootargs ${bootargs} video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB24,bpp=32) to 6x_bootscript, I was able to get sort of acceptable signal wave forms from the RGB port. Now the terminal outputs for the above cat commands look like this :
> cat /sys/class/graphics/fb0/fsl_disp_dev_property
> lcd //----------------------------------------- > so fb0 is assigned to our lcd, this must be okay right ?
> root@tengri:/home/ubuntu# cat /sys/class/graphics/fb1/fsl_disp_dev_property
> overlay
> root@tengri:/home/ubuntu# cat /sys/class/graphics/fb2/fsl_disp_dev_property
> cat: /sys/class/graphics/fb2/fsl_disp_dev_property: No such file or directory
And after the i2c settings, I received sort of a cvbs looking signal from the encoder. However the TV does not detect this cvbs signal. I have few doubts about the settings I am using and they are as follows :
--------- DTS Settings ---------
1. pincntrl settings of the lcd are defines as exactly as the way you pointed out (including DI0_PIN4).
2. lcd: lcd@0 {
compatible = "fsl,lcd";
ipu_id = <0>;
disp_id = <0>;
default_ifmt = "RGB24"; //This was originally RGB666 in default dts, is it okay to change this to RGB24 ?
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcd0>;
status = "okay";
};
--------- 6x_bootscript ----------
setenv bootargs ${bootargs} video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB24,bpp=32
--------- But in mxc_lcdif.c ----------
{
/* 800x480 @ 57 Hz , pixel clk @ 27MHz */
"CLAA-WVGA", 57, 800, 480, 37037, 40, 60, 10, 10, 20, 10,
FB_SYNC_CLK_LAT_FALL,
FB_VMODE_NONINTERLACED,
0,},
{
I know this settings in the lcdif is not compatible with the device (in video command) I have used. But instead of compiling the whole kernel (as this is a built in driver, external module installation can't be done) can't we pass following parameters in the boot command ? Specially the command FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, ?
/* 1280x720p @ 60 Hz , pixel clk @ 74.25MHz */
"LCD-720P60", 60, 1280, 720, 13468, 220, 110, 20, 5, 40, 5,
FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
FB_VMODE_NONINTERLACED,
0,},
I've also attached the wave forms observed herewith, I'd be really grateful if you could take a look at them and advise me.....
Thanks in advance !