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.

TMDX654IDKEVM: No Tx traffic with PRU-ICSSG on MII mode

Part Number: TMDX654IDKEVM


Hello,

I am working on IDK board with PHYs on MII. My issue is that the interface does not transmit any frame.
The receiving works, tcpdump capture valid received frames.
Also for received ARP frame system generates corresponding ARP response, which is in capture also, but is not transmitted on the line.


Used versions

TMDX654IDKEVM - PROCA with PG2.1
SDK - PROCESSOR-SDK-LINUX-RT-AM65X 08.02.00.01
GCC - gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu
PinMuxTool - last available cloud version


Changes which are done

1. HW changes - EVM User's guide (www.ti.com/.../spruim6)
 - Applied all changes according to chapter 7.1 Ethernet PHY Initial Conditions and TX Clock Signal Change


2. Generated pin reconfiguration - Used PinMux tool dev.ti.com/.../
 - Generated pin configuration for "AM65xx_SR2.0_beta" and only added PRU_ICSSG0_MII_G_RT and PRU_ICSSG1_MII_G_RT without any other changes
 - Attached "AM65xMII.syscfg" and generated "devicetree.dtsi"


3. Changed related devicetree file in SDK (k3-am654-idk.dts)
 - Used new pin configuration from PinMux for icssg0_eth and icssg1_eth
 - Phy mode reconfigured to "mii"
 - Attached final updated file "k3-am654-idk.dts"


4. Recompiled devicetree files

$ export PATH=<PATH_TO_COMPILER>/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu/bin/:$PATH
$ export ARCH=arm64
$ export CROSS_COMPILE=aarch64-none-linux-gnu-
$ cd <PATH_TO_SDK>/ti-processor-sdk-linux-rt-am65xx-evm-08_02_00_01/board-support/linux-rt-5.10.100+gitAUTOINC+204ec708dc-g204ec708dc
$ make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- tisdk_am65xx-evm-rt_defconfig
$ make ARCH=arm64 CROSS_COMPILE=aarch64-none-linux-gnu- dtbs


5. Create SD card with reconfigured devicetree

Create SD card with default SDK system image
$ <PATH_TO_SDK>/bin/mksdboot.sh --device <SDCARD_DEVICE> --pg 2 --sdk ./

Rewrite devicetree files on SDCARD with changed and recompiled devicetree files
$ cd <PATH_TO_SDK>/ti-processor-sdk-linux-rt-am65xx-evm-08_02_00_01/board-support/linux-rt-5.10.100+gitAUTOINC+204ec708dc-g204ec708dc/arch/arm64/boot/dts/ti/
$ cp k3-am654-*.dtb* <SDCARD_ROOTFS>/boot

After these steps system behaves how is described no Tx on the line

My questions are

1. Is the MII working on IDK board with PRU firmware from SDK?

2. Do I have correct devicetree configuration for MII?

3. What are all necessary steps for switch to MII, miss I something?

attachment.tar.gz

Thank you for your support
Lukas