Part Number:AM5748
HI ,
I am working on AM574x processor sitting on our custom board, I am trying to establish Ethernet communication through PRU-ICSS, I followed the below link ,
processors.wiki.ti.com/.../PRU-ICSS_Ethernet
I am unable the see the PRU ethernet ports when i use " ifup eth2" and "ifconfig",
I looked into the prueth.c driver and added some prints and tried to trace the issue, it is failing to connect to phy with following error message.
couldn't connect to phy /ocp/pruss_soc_bus@4b2a6004/pruss@0/mdio@32400/ethernet-phy@0
This is caused inside the function "prueth_netdev_init".
I am finding difficulty to understand the entire mechanism.
Is the "prueth.c" driver trying to connect to external Phy or what is it trying to do at this point?
From my initial ground work I assumed that "am57xx-pru0-prueth-fw.elf" is loaded through remoteproc, once this firmware starts executing the PRU Ethernet would be established.
But, now I am observing that prior to loading the firmware to PRU , error message is popping up as "couldn't connect to phy" from "prueth_probe" function itself.
I feel that my understanding of entire process is going wrong. Somebody please provide me an insight view of whats happening and how to resolve the issue.
Also, Where is the point where configurations is being written to external PHY through MDIO lines with reference to PRU ethernet.
Thanks,
Janardan