Firefly Open Source Community

Title: How can i add LVDS display to my minimal Linux OS build for rk3568jq using Yocto [Print This Page]

Author: Maverick_by_    Time: 4/19/2023 16:05
Title: How can i add LVDS display to my minimal Linux OS build for rk3568jq using Yocto
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
  1. sudo ./build.sh itx-3568q-lvds-ubuntu.mk
  2. 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

  1. lvds_panel: lvds-panel {
  2.         compatible = "simple-panel";
  3.         status = "<b>okay</b>";
  4.         enable-gpios = <&pca9555 PCA_IO1_2 GPIO_ACTIVE_HIGH>;
  5.         backlight = <&backlight>;
  6.         enable-delay-ms = <35>;
  7.         prepare-delay-ms = <6>;
  8.         unprepare-delay-ms = <0>;
  9.         disable-delay-ms = <20>;
  10.         bus-format = <MEDIA_BUS_FMT_RGB888_1X7X4_SPWG>;
  11.         display-timings {
  12.             native-mode = <&timing0>;
  13.             timing0: timing0 {
  14.                 clock-frequency = <71098000>;
  15.                 hactive = <1280>;
  16.                 vactive = <800>;
  17.                 hfront-porch = <40>;
  18.                 hsync-len = <80>;
  19.                 hback-porch = <40>;
  20.                 vfront-porch = <3>;
  21.                 vsync-len = <10>;
  22.                 vback-porch = <10>;
  23.                 hsync-active = <0>;
  24.                 vsync-active = <0>;
  25.                 de-active = <0>;
  26.                 pixelclk-active = <0>;
  27.         };
  28.     };
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 ?




tchip_askquestions

no log (2).zip

22 Bytes, Down times: 2






Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1