OpenWrt Forum Archive

Topic: AR7242 1000Mbps issue

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

My router is AR7xx/AR9xxx based. Its ethernet interface fails when it is configured as 1000Mbps. I can see the interface changing its pll register value when it changes from 100 to 1000mbps. But when I ping the router from a 1000mbps interface, I dont recieve any replies, where as I can see packets recieved and replied, on the router, with the help of TCPdump. The chipset is ar7242 to be exact.

I am using openwrt backfire.

-sf

What router is it?
Is it officially supported or did you hack this in?
I had similar problem and found my pll setting for 1000 mbps was wrong...

Thanks for replying.

My pll settings for 1000Mbps are
@0xb805002c = 0x1c000000
For 100 Mbps
@0xb805002c = 0x101


Are they correct?

-sf

Can you try the value 0x72000000 when in 1000Mbps case?


Some years ago I do this debug...but now I almost forget the detail...

What I did (and would suggest in your case), search for router with same SOC / switch (and same clock) that is supported, check what is the setting for it and try that (that's how I found a right one for me).

Let us know if this helped.

But this is default one, this would be used if you would not put anything in your mach file, so I guess you can just remove your value from mach file.

Anyway, nice to hear I hit it spot on with PLL value suggestion smile

In backfire the value is defined as

#define AR7242_PLL_VAL_1000     0x1c000000

in file /backfire/target/linux/ar71xx/files/arch/mips/ar71xx/devices.c

With this value 1000Mbps was not working.


-Sf

Aaa... I missed you are using backfire,my bad.

The discussion might have continued from here.