How to use the IMX-RMII-BRPHY auto ethernet board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use the IMX-RMII-BRPHY auto ethernet board?

691 Views
wtt
Contributor I

Hello,

I have bought two sets of imx8qmmek evm board, each assembed with the base board and IMX-RMII-BRPHY accessory board. and i connected the 'sel' and "mast/slv" pins on one IMX-RMII-BRPHY board, another one left the two pin disconnected. finally, the two board connected by the auto ethernet cable.

As for software, i have made the 5.4.24 version linux system by yocto project for testing.

If i used the  default dtb "imx8qm-mek-rpmsg.dtb" in two boards, the two board eth0 setted as "192.168.8.99" and "192.168.8.99" , but they can't pass the ping checking like below.

rtt min/avg/max/mdev = 0.040/0.060/0.099/0.020 ms
root@imx8qmmek:~# ping 192.168.8.99
PING 192.168.8.99 (192.168.8.99) 56(84) bytes of data.
From 192.168.8.88 icmp_seq=1 Destination Host Unreachable
From 192.168.8.88 icmp_seq=2 Destination Host Unreachable
From 192.168.8.88 icmp_seq=3 Destination Host Unreachable
From 192.168.8.88 icmp_seq=4 Destination Host Unreachable
From 192.168.8.88 icmp_seq=5 Destination Host Unreachable
From 192.168.8.88 icmp_seq=6 Destination Host Unreachable
From 192.168.8.88 icmp_seq=7 Destination Host Unreachable
From 192.168.8.88 icmp_seq=8 Destination Host Unreachable

If the "imx8qm-mek-enet2-tja1100.dtb" was used, when I ran the "ifconfig eth1 up" or "ifconfig eth0 up"

There were messages showed as follwoing.

root@imx8qmmek:~# ifconfig eth1 up
[ 46.540894] fec 5b050000.ethernet eth1: Unable to connect to phy
SIOCSIFFLAGS: No such device
root@imx8qmmek:~# ifconfig eth0 up
[ 49.880889] fec 5b040000.ethernet eth0: Unable to connect to phy
[ 49.891723] arm-smmu 51400000.iommu: Unhandled context fault: fsr=0x402, iova=0xff4036c0, fsynr=0x1a0013, cbfrsynra=0x852, cb=1
SIOCSIFFLAGS: No such device

Please give me some advise to check the auto ethernet board function.

Thanks in advance!

TaoTao Wang

 

 

Tags (1)
0 Kudos
1 Reply

626 Views
xu_ji1
Contributor V

Is anyone help this issue,I met this issue on imx8qm  also:

Mar 25 17:33:08 imx8qm kernel: [ 316.109047] fec 5b040000.ethernet eth1: Link is Down
Mar 25 17:33:08 imx8qm kernel: [ 316.110299] arm-smmu 51400000.iommu: Unhandled context fault: fsr=0x402, iova=0x00000000, fsynr=0x150001, cb=1

Mar 25 17:33:09 imx8qm kernel: [ 317.168917] fec 5b040000.ethernet eth1: MDIO address write timeout

0 Kudos