我想在 TDA4VL 的 MAIN_CPSW2G 上使用 RGMII。 链路已建立、但无法建立通信。 我可以看到 Rx 工作、但 Tx 不工作。
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.
我想在 TDA4VL 的 MAIN_CPSW2G 上使用 RGMII。 链路已建立、但无法建立通信。 我可以看到 Rx 工作、但 Tx 不工作。
您好!
这是 SDK 8.5和 SDK 8.6中的一个已知问题。 出现该问题的原因是 RGMII 时钟设置不正确、这会影响 RGMII 的 Tx 路径。
要解决此问题、您需要:
对 rm_pm_hal 使用以下补丁。 补丁: e2e.ti.com/.../2677.pll0_5F00_no_5F00_hw_5F00_init.patch
-[PSDK-RTOS-Install-directory]/pdk_j721s2_[version-string]/packages/ti/drv/sciclient/src/rm_pm_hal
git init && git apply <path-to-patch>
[PSDK-RTOS-Install-directory]/pdk_j721s2_[version-string]/packages/ti/build
make BOARD=j721s2_evm CORE=mcu1_0 rm_pm_hal_clean
make BOARD=j721s2_evm CORE=mcu1_0 ipc_echo_testb_freertos
构建的二进制文件将在 [PSDK-RTOS-Install-directory]/pdk_j721s2_[version-string]/packages/ti/binary/ipc_echo_testb_freertos/bin/j721s2_evm/
SDK 8.5二进制文件的预编译版本可从以下位置获得: e2e.ti.com/.../2677.ipc_5F00_echo_5F00_testb_5F00_mcu1_5F00_0_5F00_release_5F00_strip.xer5f
要在 SPL 引导流程中包含 DM,请将二进制文件复制到 [PSDK-Linux-Install-directory]/board-support/prebuilt-images/
并重新编译 Linux 引导加载程序(majorlytiboot3.bin
)。 请参阅下面的、以构建 Linux 引导加载程序。
在 u-boot 上应用以下补丁。 补丁- e2e.ti.com/.../2677.0001_2D00_arch_2D00_arm_2D00_dts_2D00_k3_2D00_j721s2_2D00_Change_2D00_GTC_2D00_and_2D00_CPTS_2D00_clock_2D00_par.patch
[PSDK-Linux-Install-directory]/board-support/u-boot-[commit-hash]/
git apply <path-to-patch>
make u-boot
[PSDK-Linux-Install-directory]/board-support/k3-image-gen-[version]/tiboot3.bin
[PSDK-Linux-Install-directory]/board-support/u-boot_build/a72/tislp.bin
[PSDK-Linux-Install-directory]/board-support/u-boot_build/a72/u-boot.img
这样、您将看到 RGMII 时钟设置为其合适的值、RGMII Tx 将正常工作。
此致、
坦迈