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.

TDA4VM: How to compile the k3-j721e-common-proc-board.dts file alone without any overlay dependencies

Part Number: TDA4VM
Other Parts Discussed in Thread: J721EXCPXEVM

Tool/software:

Hello TI Team,

I am trying to compile the k3-j721e-common-proc-board.dts file alone without considering the overlays. but getting the following error 

Failed to apply 'arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtbo': FDT_ERR_NOTFOUND

Thank you.

Krishna

  • Hi Krishna,

    Can you walk me through the build steps and commands you have used.

    Regards,
    Tanmay

  • Hello Tanmay,

    I used the  make dtbs (exported the CROSS COMPILER) for building the dtbs.

    Here the situation is,  I have a working k3-j721e-common-proc-board.dts file of  version as below

    // SPDX-License-Identifier: GPL-2.0
    /*
    * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/
    */

    and I am trying to include the above file changes in the following k3-j721e-common-proc-board.dts file of version as below.

    // SPDX-License-Identifier: GPL-2.0-only OR MIT
    /*
    * Copyright (C) 2019-2024 Texas Instruments Incorporated - https://www.ti.com/
    *
    * Product Link: www.ti.com/.../J721EXCPXEVM 

    So May I know how can I integrate the changes to the newer to have a successful build of DTBs

    Thank you,

    Krishna

  • Hi Krishna,

    These are comments right. What changes are you expecting here?

    Are you backporting some newer SDK changes to your older SDK?

    Regards,
    Tanmay

  • Hello Tanmay,

    Yes you are right , thise are only comments from the DTS files.

    I am using the nxp tja11xx ethernet phy driver.

    I  compiled dts file and got the dtbs. but now when I issue ifconfig once the system boots up, I get the following. 

    [root@localhost ~]# ifconfig
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    [root@localhost ~]# ifconfig -a
    eth0: flags=4098<BROADCAST,MULTICAST> mtu 1500
    ether ec:bf:d0:b9:7e:e0 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    [root@localhost ~]#

     

    and not able to make the ethernet interface up. Could you please suggest any trouble shooting points w.r.t dts files,ethernet phy,cpsw. in general?

    Thank you,

    Krishna

  • Hi Krishna,

    Can you share the boot logs (kernel and u-boot) and the changes i device-tree you have done.

    Is this with overlay or have you added the required changes to the common-proc-board dts file?

    Regards,
    Tanmay

  • Hello Tanmay,

    The issue got resolved internally.

    Thank you,

    Krishna