Other Parts Discussed in Thread: DRA821, DRA829, , TDA4VH
I am facing issues in configuring serdes from Ethfw/Enet lld aaplications for serial communication protocols. How can I disable serdes from Linux so that I am not reconfiguring it?
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.
Hi,
Serdes driver in both linux and RTOS have a check to confirm if the serdes is already configured or not. And if configured, the serdes configuration is skipped. But when working on mcu cores along with HLOS it is required for us to configure the serdes from RTOS (for ethfw/enet lld) for testing and debugging purposes. To ensure seamless configuration of serdes, we should ideally disable the serdes configuration from linux and u-boot.
[PSDK-Linux-Install-Dir]/board-support/u-boot-[Commit-Hash]/configs/<config_name>
"
<config name>
will depend on the type of board you are using. The defaults are mentioned here -
j7200_evm_a72_defconfig
" for DRA821j721e_evm_a72_defconfig
" for TDA4VM/DRA829j784s4_evm_a72_defconfig
" for TDA4VHCONFIG_PHY_CADENCE_SIERRA
", "CONFIG_PHY_CADENCE_TORRENT
" and "CONFIG_PHY_J721E_WIZ
", whichever are present.[PSDK-Linux-Install-Dir]
make u-boot
"[PSDK-Linux-Install-Dir]/board-support/u-boot_build/a72/
" to boot partition of the boot media.status = "disabled";
" in the corresponding wiz node.
&serdes_wiz0 { status = "disabled"; }
[PSDK-Linux-Install-Dir]/board-support/linux-[Commit-Hash]/arch/arm64/boot/dts/ti/k3-j7200-commom-proc-board.dts
" for DRA821[PSDK-Linux-Install-Dir]/board-support/linux-[Commit-Hash]/arch/arm64/boot/dts/ti/k3-j721e-commom-proc-board.dts
" for TDA4VM/DAR829"[PSDK-Linux-Install-Dir]/board-support/linux-[Commit-Hash]/arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
" for TDA4VH [PSDK-Linux-Install-Dir]
make linux-dtbs
"[PSDK-Linux-Install-Dir]/board-support/linux-[Commit-Hash]/arch/arm64/boot/dts/ti/<dtb-name>
" to "[Boot-media-rootfs-partition]/boot/
"
<dtb-name>
will depend on the type of board you are using. The defaults are mentioned here -
k3-j7200-commom-proc-board.dtb
" for DRA821k3-j721e-commom-proc-board.dtb
" for TDA4VM/DRA829k3-j784s4-evm.dtb
" for TDA4VHRegards,
Tanmay