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.

TMDSIDK572: Rewriting EtherPHY registers using "mdio-tool"

Genius 5300 points
Part Number: TMDSIDK572

Hi experts,

I have the same issue as the original thread. I want to perform 10Base-T communication via PRU-ICSS in an environment running LinuxOS.
The hardware uses TMDSIDK572 and the software uses ”SDK-LINUX-AM57X 06_03_00_106”.
I thought I changed the EtherPHY registers directly from "mdio-tool", but it doesn't seem to work.

Q1:Are there any settings missing to enable 10Base-T functionality? Any advice you can think of would be helpful.

[Detail]
I used "mdio-tool" to dump eth0 and eth2 register information.
I used "mdio-tool" to write to the following registers on eth2.
Address0x00: Writing 0x01140 resulted in reading 0x1100.
Address0x04: Writing 0x01f1 resulted in reading 0x0111.

I used "ethtool" to check the information before and after changing the register of eth2, but there is no change. (10Base-T is not supported.)

[mdio-tool dump]

Address

eth0:Gb ethernet0

eth2:PUR 2ETH0

0x00

0x1140

0x3100

0x01

0x7949

0x7849

0x02

0x0022

0x2000

0x03

0x1622

0xa212

0x04

0x01e1

0x0101

0x05

0x0000

0x0000

0x06

0x0004

0x0004

0x07

0x2001

0x2001

0x08

0x0000

0x0000

0x09

0x0300

0x7800

0x0A

0x0000

0x0104

0x0B

0x0000

0x1000

0x0C

0x0000

0x0000

0x0D

0x4000

0x0000

0x0E

0x1a80

0x0000

0x0F

0x3000

0x0000

0x10

0x0000

0x4002

0x11

0x00f4

0x0108

0x12

0x0000

0x0000

0x13

0x0078

0x0800

0x14

0x0000

0x0000

0x15

0x0000

0x0000

0x16

0x0000

0x0100

0x17

0x0200

0x0041

0x18

0x0000

0x0400

0x19

0x0000

0x8000

0x1A

0x0000

0x0000

0x1B

0x0000

0x007d

0x1C

0x0000

0x05ee

0x1D

0x0000

0x0000

0x1E

0x0000

0x0102

0x1F

0x0300

0x0000

0x20

0xffea

0xffea

[ethtool dump]

/ *Before change register */
root@am57xx-evm:~# ethtool eth2
Settings for eth2:
        Supported ports: [ TP MII ]
        Supported link modes:   100baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Link detected: no
/* After change register */
root@am57xx-evm:~/mdio-tool# ethtool eth2
Settings for eth2:
        Supported ports: [ TP MII ]
        Supported link modes:   100baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Link detected: no

Best regards,
O.H