【Linux】
How can i add LVDS display to my minimal Linux OS build for rk3568jq using Yocto
Posted at 4/19/2023 16:05:00
View:3385
|
Replies:1
Print
Only Author
[Copy Link]
1 #
Type:
Self-Compiled Firmware
SDK Package Name:
rk356x_linux_release_v1.3.0b_20221213
Last Commit:
0000-00-00 00:00:00
Modification Content:
LVDS configuration
Log:
no log (2).zip
Problem description and steps to reproduce:
I have a custom board based on RK3568jq.
I made Linux minimal image using Yocto:
https://wiki.t-firefly.com/en/Fi ... e/manual_yocto.html
Everything works fine, but current configuration is HDMI.
I have a question:
How can i add LVDS display to my minimal Linux OS build for rk3568jq using Yocto system ?
What dts file should i change and how ?
I did it before but not for Yocto, i used stardard FireFly compile Linux firmware system:
https://wiki.t-firefly.com/en/iCore-3568JQ/linux_compile.html
sudo ./build.sh itx-3568q-lvds-ubuntu.mk
sudo ./build.sh Copy the code
I made changes in file
/rk356x_linux_release_20211019/kernel/arch/arm64/boot/dts/rockchip/rk3568j-firefly-itxq-lvds_m10r800.dts
lvds_panel: lvds-panel {
compatible = "simple-panel";
status = "<b>okay</b>";
enable-gpios = <&pca9555 PCA_IO1_2 GPIO_ACTIVE_HIGH>;
backlight = <&backlight>;
enable-delay-ms = <35>;
prepare-delay-ms = <6>;
unprepare-delay-ms = <0>;
disable-delay-ms = <20>;
bus-format = <MEDIA_BUS_FMT_RGB888_1X7X4_SPWG>;
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <71098000>;
hactive = <1280>;
vactive = <800>;
hfront-porch = <40>;
hsync-len = <80>;
hback-porch = <40>;
vfront-porch = <3>;
vsync-len = <10>;
vback-porch = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
}; Copy the code
How can i add LVDS display to my minimal Linux OS build for rk3568jq using Yocto system ?
What dts file should i change and how ?