Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] How can i add LVDS display to my minimal Linux OS build for rk3568jq using Yocto

154

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
154

【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:1773 | Replies:0        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
  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 ?




no log (2).zip

22 Bytes, Down times: 2

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list