Hi,
I have a SABRE SD and fsl-L3.14.28_1.0.0_iMX6qdls_Bundle.
I had success to configure video to HDMI and LVDS1 by using the commands (U-Boot) bellow
/* HDMI */
setenv mmcargs setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk1p2 maxcpus=4 rootwait rw video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:off
/* LVDS */
setenv mmcargs setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk1p2 maxcpus=4 rootwait rw video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb1:off
/* HDMI & LVDS */
setenv mmcargs setenv bootargs console=ttymxc0,115200 root=/dev/mmcblk1p2 maxcpus=4 rootwait rw video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666
I need to use the LVDS0. How can I do to configure it?
I already tried many suggests in the forum, but it doesn't solve my problem.
Thanks.
Solved! Go to Solution.
Well,
After a short period of time taking care of other problems, I could go back and settle this matter.
For LVDS0 in this kernel, the change was made below:
#######################################################################
...arch/arm/boot/dts/imx6qdl-sabresd.dtsi
&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
+ primary;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <768>;
hback-porch = <220>;
hfront-porch = <40>;
vback-porch = <21>;
vfront-porch = <7>;
hsync-len = <60>;
vsync-len = <10>;
};
};
};
lvds-channel@1 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
- primary;
status = "okay";
display-timings {
native-mode = <&timing1>;
timing1: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <768>;
hback-porch = <220>;
hfront-porch = <40>;
vback-porch = <21>;
vfront-porch = <7>;
hsync-len = <60>;
vsync-len = <10>;
};
};
};
};
#######################################################################
Just changing "primary" to the lvds-channel@0, the problem was solved.
Regards.
Well,
After a short period of time taking care of other problems, I could go back and settle this matter.
For LVDS0 in this kernel, the change was made below:
#######################################################################
...arch/arm/boot/dts/imx6qdl-sabresd.dtsi
&ldb {
status = "okay";
lvds-channel@0 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
+ primary;
status = "okay";
display-timings {
native-mode = <&timing0>;
timing0: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <768>;
hback-porch = <220>;
hfront-porch = <40>;
vback-porch = <21>;
vfront-porch = <7>;
hsync-len = <60>;
vsync-len = <10>;
};
};
};
lvds-channel@1 {
fsl,data-mapping = "spwg";
fsl,data-width = <18>;
- primary;
status = "okay";
display-timings {
native-mode = <&timing1>;
timing1: hsd100pxn1 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <768>;
hback-porch = <220>;
hfront-porch = <40>;
vback-porch = <21>;
vfront-porch = <7>;
hsync-len = <60>;
vsync-len = <10>;
};
};
};
};
#######################################################################
Just changing "primary" to the lvds-channel@0, the problem was solved.
Regards.
Hi,
I'm using this command for LVDS0 and HDMI:
setenv mmcargs "setenv bootargs console=${console},${baudrate} root=${mmcroot} rootwait rw video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 ldb=sin0 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24"
For LVDS1 you can change ldb=sin0 to ldb=sin1.
Best Regards,
Vilem
Hi osmarfrisonjunior2
I think you can try command given in as attached Release Notes p.18
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hello igorpadykov,
Thanks for the reply.
I tried your suggestion, but it hasn't had effect (neither LVDS0 or LVDS1). Maybe because this command is for the SABRE-AI. At the previous field (SABRE-SD - page 17) LVDS0 is not mentioned.
I was thinking... If I need to change the Display configurations, I won't be able to do it, because de source code still isn't available.
Might be better to use an earlier version. What do you think?
Hi igorpadykov ,
I read the documents that you post, and I and my computer are prepared to use bitbake to do my configurations in the BSP.
I need some help to configure my LCD to LVDS out. What recipe I must edit?
How do I do to generate my .sdcard?
Thanks.
Hello igorpadykov
This presentation helped me to clarify my ideas.
I did the procedure presented at the "Freescale_Yocto_Project_User's_Guide", and generated my images (included .sdcard) to the target "fsl-image-qt5".
So at this moment, I have all the source code necessary to configure my board.
I am trying understand some things, but I need help to configure my Display. Can you give me a way to do it?
LCD 800x480 LB070WV8 LG
Thanks.