How to get into AR8035's 100M/1000M Ethernet Test mode for Compliance Test

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

How to get into AR8035's 100M/1000M Ethernet Test mode for Compliance Test

Jump to solution
3,426 Views
bakbad
Contributor III

Hello everyone,

I have a custom board with imx6qp and ar8035, and i want to get into ar8035's 1000M Ethernet test mode.I had already set the reference clock to 125MHz, but it can't ping the gatewayip in u-boot. Error messages just like this: ARP retry count ...

Best Regards,

bo xu

Labels (3)
1 Solution
2,902 Views
bakbad
Contributor III

Hello everyone,

I have succeed set AR8035's 100M and 1000M Ethernet for Compliance test.More details please see the upload attachments. And if someone knows how to compute the PHY's register address to Physical memory address please let me know. Thanks a lot.

Best Regards,

bo xu

View solution in original post

0 Kudos
7 Replies
2,903 Views
bakbad
Contributor III

Hello everyone,

I have succeed set AR8035's 100M and 1000M Ethernet for Compliance test.More details please see the upload attachments. And if someone knows how to compute the PHY's register address to Physical memory address please let me know. Thanks a lot.

Best Regards,

bo xu

0 Kudos
2,902 Views
bruno_chen
Contributor II

Hi, bo xu,

I am trying the test mode, too. But the "rw_net_phy" can't work well on my i.MX8mm + AR8031 board. Could you please share this source code for me?

Thanks,

Bruno

0 Kudos
2,902 Views
bakbad
Contributor III

Hello, Bruno

  I have upload the rw_net_phy's source code , see the rw_net_phy.md.zip file. Hope it helps.

Regards,

bo xu

0 Kudos
2,902 Views
bruno_chen
Contributor II

Hi, bo xu,

Many Thanks!!!

0 Kudos
2,902 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Bo,

     AR8035's circuit is the same as that of AR8031, if you want to use ethernet in u-boot, you should set:

IP address , netmask & gateway. and put it to bootargs.

So check it, please!

Have a nice day!

NXP TIC weidong sun

0 Kudos
2,902 Views
bakbad
Contributor III

Hello, Wigros

   I had set ipaddr, ethaddr, gatewayip & netmask in uboot and  now the Ar8035 can ping the gateway and other local area devices.But it still can't get into AR8035's test mode when i write the phy register value jusk like the AR8035's data sheet said.Are there something i should pay attention to it?

Best regards,

bo xu 

0 Kudos
2,902 Views
bakbad
Contributor III

Hello Wigros,

  I had set ipaddr=192.168.8.160, ethaddr=(AR8035's MAC address) and netmask=255.255.255.0 & gatewayip=192.168.8.1 in u-boot, but it can not work. Still the same messages liks this: The ARP count ....      The PLL_NET frequency in my board is 125MHz, and i had test the pin CLK_25M in AR8035 and ENET_REF_CLK in imx6qp, they are all the 125MHz.Did i missed something?

Best regards,

bo xu 

0 Kudos