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.

Linux: am5728-idk pru1 mii0 error

Tool/software: Linux

Hi,

TI,

I use the am572x-dik board,and I found that the pru1-mii0 can not work fine.When the board boot up first time.The board can not detect the phy of pru1-mii0,but if I reboot the board,the pru1-mii0 can be detect!

[ 12.573251] prueth pruss1_eth: couldn't connect to phy /ocp/pruss@4b200000/mdio@4b232400/ethernet-phy@0
[ 12.582779] prueth pruss1_eth: netdev init ethernet-mii0 failed: -19

What the reason it may be?

here are my dts configuration for pru1-mii:

BR,

vefone

  • Hi Vefone,

    Could you give more details about the issue?
    1. Which Linux kernel and SDK version you are using?
    2. Is the issue appear with different SW releases?
    3. Can you reproduce the issue every time time or it appears sometimes?

    BR
    Tsvetolin Shulev
  • Hi,

    Tsvetolin Shulev,

    1. the kernel version is linux4.4.19,which is from the SDK03.01.

    2. I only test on the linux4.4.19,not others.

    3. it always happen when the board boot up first time.

    Do you test the pru1-mii on the am5728-dik board?

    BR,

    vefone

  • Hi,

    Tsvetolin Shulev

    I test it on my board,when I take off the R209 on my board (set the address of phy from 0 to 3),it works ok! May be there are some problem of pru1_eth0_col pin configuration.I had test PIN_INPUT_PULLUP/PIN_INPUT_PULLDOWN/PIN_OUTPUT_PULLUP/PIN_OUTPUT_PULLDOWN,but no one is ok,so I slove the problem by set the address of phy  to 3.