This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3359: where are dt files located?

Part Number: AM3359

Hello, In context of LCD display of project build on BBB, I came across thread "

AM3359: PROCESSOR-SDK-LINUX-AM335X 06_03_00_106 Add LCD on beaglebone black"

I tried to locate dt files in system, but due to being naive to linux ,the attempt was unsuccessful.

The LCD displayed project being compiled and run on AM625x, all demo files of matrix app are running.

But,with  AM335x SDK_08.02.00.24, to run on Beaglebone black(when prompted command to run the executable file) , LCD is not displaying (after copying executable file from host pc to beaglebone board).

Can you please guide with steps.

  • Hello,

    Could you please share what steps you have used to modified the DTS and what files you copied/where you copied them?

    Regards,
    Krunal

  • Hello,

    Steps I followed were:

    1. Modify .dts and .dtb files as per link
    "">git.ti.com/.../am335x-boneblack.dts with code fragment of lcdc settings in link-
    " https://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components/Kernel/Kernel_Drivers/Display/LCDC.html"

    2.Copy these .dts and .dtb files to filesystem of AM335x_SDK stored at location /opt/ti-processor-sdk-linux-rt-am335x-evm-08.02.00.24.

    Regards

    Vivek Chitte

  • Also,The code fragment of lcd display settings were modified as follows in another attempt.

    &lcdc {
    status = "okay";
    pinctrl-names = "default","sleep";
    pinctrl-0 = <&lcd_pins_default>;
    pinctrl-1 = <&lcd_pins_sleep>;
    display-timings {
    native-mode = <&timing0>;
    timing0:320x240p16 {
    hactive = <320>;
    vactive = <240>;
    hback-porch = <68>;
    hfront-porch = <17>;
    hsync-len = <1>;
    vback-porch = <10>;
    vfront-porch = <7>;
    vsync-len = <2>;
    clock-frequency = <6500000>;
    hsync-active = <0>;
    vsync-active = <0>;
    };
    };

    };

  • Hello,

    1. Modify .dts and .dtb files as per link

    -> I just want to clarify that the DTB file gets generated after compiling the DTS file. I am not sure how you modified a DTB file but could you share your DTS file with me. 

    "2.Copy these .dts and .dtb files to filesystem of AM335x_SDK stored at location /opt/ti-processor-sdk-linux-rt-am335x-evm-08.02.00.24".

    -> Did you create a SD card with boot and rootfs partition? The DTB files go into the rootfs/boot directory. I am not sure why you are copying into the /opt location.

    Regards,
    Krunal

  • Hi,

    Thanks for reply firstly.

    1. Yes, I modified DTS file and then after Dtb file was generated. till here I did the same.

         I don't know why dts file is not getting uploaded here in Insert section.

    2. yes, SD card was created and board was booted with boot and rootfs .I copied into /opt because of path specified in documentation available that copy modified dts and dtb files to filesystem of installed SDK.If dtb file goes into rootfs/boot directory also, I will try by placing file at rootfs/boot location.

    Regards

    Vivek Chitte