Hello,
I have been trying to setup OpenWRT on a new routerboard 750GL, which is supported after r31025, but I have an issue with the internal ethernet link between the CPU and the AR8327 switch. It seems the speed of this link is fixed to 100 Mbps, although according to Mikrotik this should be 1000 Mbps. I noticed that the speed is hardcoded in mach-rb750.c and I tried to change it, but then I totally lost the device from the network, which probably means it didn't work I haven't connected a serial port on it yet (it needs soldering), so I don't have any details on what error it appears (if any).
Has anybody else tried this, or have any information/tips?
This is what I tried:
Index: mach-rb750.c
===================================================================
--- mach-rb750.c (revision 31231)
+++ mach-rb750.c (working copy)
@@ -185,7 +185,7 @@
.pad0_cfg = &rb750gr3_ar8327_pad0_cfg,
.cpuport_cfg = {
.force_link = 1,
- .speed = AR8327_PORT_SPEED_100,
+ .speed = AR8327_PORT_SPEED_1000,
.duplex = 1,
.txpause = 1,
.rxpause = 1,
@@ -260,6 +260,8 @@
ath79_init_mac(ath79_eth0_data.mac_addr, ath79_mac_base, 0);
ath79_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RGMII;
ath79_eth0_data.phy_mask = BIT(0);
+ ath79_eth0_data.speed = SPEED_1000;
+ ath79_eth0_data.duplex = DUPLEX_FULL;
ath79_register_eth(0);
Thanks in advance,
George