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.

CCS/TDA4VM: Two tda4 cascaded through PCIE

Part Number: TDA4VM

Tool/software: Code Composer Studio

hi ,

When debugging pcie's driver according to the link, I found that the corresponding version below PSDK7.0, patch cannot be used for kernel 5.4.40

http://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-jacinto7/latest/exports/docs/linux/Foundational_Components/Kernel/Kernel_Drivers/PCIe/PCIe_End_Point.html

Is there a patch of PSDK7.0 kernel 5.4.40 ?

Background link:https://e2e.ti.com/support/tools/sim-hw-system-design/f/234/t/926492

thanks

hubing

  • Hi Hubing,

    To enable pcie_ep for a pcie instance, remove the status = "disabled" flag from pcieX_ep and add that flag to pcieX_rc.
    For ex: do the below change for enabling pcie0 in ep mode.

    diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    index 6788a3611..b7cd6c7b6 100644
    --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
    @@ -813,6 +813,7 @@
            phys = <&serdes0_pcie_link>;
            phy-names = "pcie_phy";
            num-lanes = <1>;
    +       status = "disabled";
     };
    
     &pcie1_rc {
    @@ -833,7 +834,6 @@
            phys = <&serdes0_pcie_link>;
            phy-names = "pcie_phy";
            num-lanes = <1>;
    -       status = "disabled";
     };
    
     &pcie1_ep {
    


    Regards,
    Vishal

  • hi Vishal

    wow, got it, thanks for your reply

    I will try and then feed back soon