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.
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
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