ADM6996M on a DSL-G624T

Utilities and tools for networking, routers, setup etc
Post Reply
maxoomax
Newbie
Newbie
Posts: 1
Joined: Thu Mar 21, 2013 2:52 pm

ADM6996M on a DSL-G624T

Post by maxoomax » Sat Mar 23, 2013 7:55 pm

Hi everyone!
I recently decided to give a new life to my old d-link DSL-G624 as a simple ap.
But i have a common problem: bad capacitors who gives errors @100Mbit/s ethernet speed.
But the ethernet link works perfectly @10Mbit/s and i don't need more speed since my dsl line only provides me 2Mbit/s.

Plugging it to a computer isn't a problem, simply by manually setting the link negotiation @10M, but the router will be linked to a simple gigabit switch, in this case both sides uses automatic negotiation and so the link between those two won't come up.

So i tried the routertech FW in order to set the link speed manually on the router side, but the internal switch of the router isn't fully supported so i can't set the speed via the interface.
After investigation, i found the ADM6996tool and i was able to view my internal switch configuration.

My question is, with adm6996tool am i able to force the router to provide 10Mbit instead of 100?
If yes, what is the command(s) to do that?
Considering the ADM6996 has its own eeprom/flash-like memory, the changes will be effectives even after a hard reboot or a firmware flash, am i wrong?

thanks in advance :D
and sorry for my eventual bad english ;)

Here is my adm6996tool dump (performed on the original fw):

Code: Select all

# ./admtool dumpall
/dev/mem opened.
Mapped 8192 bytes from 08610000 at 0x2aaa9000.

(0000) EEPROM Signature: ffff

(0001) Port 0 Configuration: 040f
	ENABLED 100M FD AUTO TP 
	VLAN:1
	priority: VLAN > TOS

(0002) Reserved: 0000

(0003) Port 1 Configuration: 040f
	ENABLED 100M FD AUTO TP 
	VLAN:1
	priority: VLAN > TOS

(0004) Reserved: 0000

(0005) Port 2 Configuration: 040f
	ENABLED 100M FD AUTO TP 
	VLAN:1
	priority: VLAN > TOS

(0006) Reserved: 0000

(0007) Port 3 Configuration: 040f
	ENABLED 100M FD AUTO TP 
	VLAN:1
	priority: VLAN > TOS

(0008) Port 4 Configuration: 040f
	ENABLED 100M FD AUTO TP 
	VLAN:1
	priority: VLAN > TOS

(0009) Port 5 Configuration: 040f
	ENABLED 100M FD AUTO TP 
	VLAN:1
	priority: VLAN > TOS

(000a) VID 0, 1 option: 5902

(000b) Configuration Register: 8001
	Far End Fault detection: Disabled
	IPG: 96b

(000c) Reserved: 0000

(000d) Reserved: 0000

(000e) VLAN priority Map High: fa50
	VLAN 0: 0
	VLAN 1: 0
	VLAN 2: 1
	VLAN 3: 1
	VLAN 4: 2
	VLAN 5: 2
	VLAN 6: 3
	VLAN 7: 3

(000f) TOS priority Map High: fa50
	TOS 0: 0
	TOS 1: 0
	TOS 2: 1
	TOS 3: 1
	TOS 4: 2
	TOS 5: 2
	TOS 6: 3
	TOS 7: 3

(0010) Miscellaneous Configuration 0: 0040
	Broadcast Storming Threshold: 0
	Broadcast Storming: Disabled
	XCRC: Enabled
	Aging: Enabled
	Discard mode (drop scheme for Q0): 0
	Discard mode (drop scheme for Q1): 0
	Discard mode (drop scheme for Q2): 0
	Discard mode (drop scheme for Q3): 0

(0011) VLAN mode select: e300
	MAC Clone: Disabled
	VLAN mode: 802.1Q base VLAN

(0012) Miscellaneous Configuration 2: 3600
	Port MAC Lock: 
	Power Saving: 3

(0013) VLAN 0 outbound Port Map: 01d5
	Ports: 0, 1, 2, 3, 4, 5, 

(0014) VLAN 1 outbound Port Map: 01d5
	Ports: 0, 1, 2, 3, 4, 5, 

(0015) VLAN 2 outbound Port Map: 01d5
	Ports: 0, 1, 2, 3, 4, 5, 

(0016) VLAN 3 outbound Port Map: 01d5
	Ports: 0, 1, 2, 3, 4, 5, 

(0017) VLAN 4 outbound Port Map: 01d5
	Ports: 0, 1, 2, 3, 4, 5, 

(0018) VLAN 5 outbound Port Map: 01d5
	Ports: 0, 1, 2, 3, 4, 5, 

(0019) VLAN 6 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(001a) VLAN 7 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(001b) VLAN 8 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(001c) VLAN 9 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(001d) VLAN 10 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(001e) VLAN 11 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(001f) VLAN 12 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(0020) VLAN 13 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(0021) VLAN 14 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(0022) VLAN 15 outbound Port Map: ffd5
	Ports: 0, 1, 2, 3, 4, 5, 

(0023) Reserved: 0000

(0024) Reserved: 0000

(0025) Reserved: 1000

(0026) Reserved: 1000

(0027) Reserved: 1000

(0028) P0 PVID: 0000

(0029) P1 PVID: 0000

(002a) P2 PVID: 3f00

(002b) P4/P3 PVID: 0000

(002c) VLAN Group Configuration/P5 PVID: d000

(002d) Reserved: 4442

(002e) Reserved: 0000

(002f) PHY Restart: 0000

(0030) Miscellaneous Configuration 3: 0987
	Port4 LED Mode: LinkAct/DupCol/Speed
	Dual Speed Hub COL_LED: Disabled
	MII Speed Double: 25MHz
	MAC Clone Enable bit: Disabled

(0031) Bandwidth control register 3,2,1,0: 0000

(0032) Bandwidth control register 5,4: 0000

(0033) Bandwidth control enable: 1000
	Bandwidth Control Enable ports: 

(00a0) Chip Identifier: 1022

(00a1) Chip Identifier: 0007

(00a2) Port Status 0: 0805
	Port0: UP 10Mb/s FD NOFLOW
	Port1: DOWN 10Mb/s HD FLOW

(00a3) Port Status 0: f808
	Port2: DOWN 10Mb/s HD FLOW
	Port3: DOWN 10Mb/s HD FLOW
	Port4: UP 100Mb/s FD FLOW

(00a4) Port Status 1: 001b
	Port5: UP 100Mb/s FD FLOW

(00a5) Port Status 1: 0000

(00a6) Cable Broken Status: 0000

(00a7) Cable Broken Status: 0000

(00a8) Port 0 Receive Packet Count: 0968

(00a9) Port 0 Receive Packet Count: 0000

(00aa) Reserved: 0000

(00ab) Reserved: 0000

(00ac) Port 1 Receive Packet Count: 0000

(00ad) Port 1 Receive Packet Count: 0000

(00ae) Reserved: 0000

(00af) Reserved: 0000

(00b0) Port 2 Receive Packet Count: 0000

(00b1) Port 2 Receive Packet Count: 0000

(00b2) Reserved: 0000

(00b3) Reserved: 0000

(00b4) Port 3 Receive Packet Count: 0000

(00b5) Port 3 Receive Packet Count: 0000

(00b6) Port 4 Receive Packet Count: 0000

(00b7) Port 4 Receive Packet Count: 0000

(00b8) Port 5 Receive Packet Count: 033a

(00b9) Port 5 Receive Packet Count: 0000

(00ba) Port 0 Receive Packet Byte Count: 57aa

(00bb) Port 0 Receive Packet Byte Count: 000e

(00bc) Reserved: 0000

(00bd) Reserved: 0000

(00be) Port 1 Receive Packet Byte Count: 0000

(00bf) Port 1 Receive Packet Byte Count: 0000

(00c0) Reserved: 0000

(00c1) Reserved: 0000

(00c2) Port 2 Receive Packet Byte Count: 0000

(00c3) Port 2 Receive Packet Byte Count: 0000

(00c4) Reserved: 0000

(00c5) Reserved: 0000

(00c6) Port 3 Receive Packet Byte Count: 0000

(00c7) Port 3 Receive Packet Byte Count: 0000

(00c8) Port 4 Receive Packet Byte Count: 0000

(0200) PHY0 Control: 3100
	Collision test: Disabled
	Duplex Mode: Full
	Isolate D7001 from Network: Normal
	Power Down Mode: Disabled
	Auto Negotiation: Enabled
	Speed: 100Mbits/s
	Loopback: Disabled

(0201) PHY0 Status: 786d
	EXTENDED UP AUTO_OK 

(0202) PHY0 Identifier: 0302

(0203) PHY0 Identifier 2: 6071

(0204) PHY0 Auto Negotiation Advertisement: 05e1
	10T-HD 10T-FD 100TX-HD 100TX-FD PAUSE 

(0205) PHY0 Auto Negotiation Link Partner Ability: c041
	10T-FD ACK NPAGE 

(0206) PHY0 Auto Negotiation Expansion Register: 000b

(0207) PHY0 Next Page Transmit: 2001

(0208) PHY0 Link Partner Next Page: 0000

(0220) PHY1 Control: 3100
	Collision test: Disabled
	Duplex Mode: Full
	Isolate D7001 from Network: Normal
	Power Down Mode: Disabled
	Auto Negotiation: Enabled
	Speed: 100Mbits/s
	Loopback: Disabled

(0221) PHY1 Status: 7849
	EXTENDED DOWN 

(0222) PHY1 Identifier: 0302

(0223) PHY1 Identifier 2: 6071

(0224) PHY1 Auto Negotiation Advertisement: 05e1
	10T-HD 10T-FD 100TX-HD 100TX-FD PAUSE 

(0225) PHY1 Auto Negotiation Link Partner Ability: 01e1
	10T-HD 10T-FD 100TX-HD 100TX-FD 

(0226) PHY1 Auto Negotiation Expansion Register: 0000

(0227) PHY1 Next Page Transmit: 2001

(0228) PHY1 Link Partner Next Page: 0000

(0240) PHY2 Control: 3100
	Collision test: Disabled
	Duplex Mode: Full
	Isolate D7001 from Network: Normal
	Power Down Mode: Disabled
	Auto Negotiation: Enabled
	Speed: 100Mbits/s
	Loopback: Disabled

(0241) PHY2 Status: 7849
	EXTENDED DOWN 

(0242) PHY2 Identifier: 0302

(0243) PHY2 Identifier 2: 6071

(0244) PHY2 Auto Negotiation Advertisement: 05e1
	10T-HD 10T-FD 100TX-HD 100TX-FD PAUSE 

(0245) PHY2 Auto Negotiation Link Partner Ability: 01e1
	10T-HD 10T-FD 100TX-HD 100TX-FD 

(0246) PHY2 Auto Negotiation Expansion Register: 0000

(0247) PHY2 Next Page Transmit: 2001

(0248) PHY2 Link Partner Next Page: 0000

(0260) PHY3 Control: 3100
	Collision test: Disabled
	Duplex Mode: Full
	Isolate D7001 from Network: Normal
	Power Down Mode: Disabled
	Auto Negotiation: Enabled
	Speed: 100Mbits/s
	Loopback: Disabled

(0261) PHY3 Status: 7849
	EXTENDED DOWN 

(0262) PHY3 Identifier: 0302

(0263) PHY3 Identifier 2: 6071

(0264) PHY3 Auto Negotiation Advertisement: 05e1
	10T-HD 10T-FD 100TX-HD 100TX-FD PAUSE 

(0265) PHY3 Auto Negotiation Link Partner Ability: 01e1
	10T-HD 10T-FD 100TX-HD 100TX-FD 

(0266) PHY3 Auto Negotiation Expansion Register: 0000

(0267) PHY3 Next Page Transmit: 2001

(0268) PHY3 Link Partner Next Page: 0000

(0280) PHY4 Control: 2900
	Collision test: Disabled
	Duplex Mode: Full
	Isolate D7001 from Network: Normal
	Power Down Mode: Enabled
	Auto Negotiation: Disabled
	Speed: 100Mbits/s
	Loopback: Disabled

(0281) PHY4 Status: 6041
	EXTENDED DOWN 

(0282) PHY4 Identifier: 0302

(0283) PHY4 Identifier 2: 6071

(0284) PHY4 Auto Negotiation Advertisement: 0581
	100TX-HD 100TX-FD PAUSE 

(0285) PHY4 Auto Negotiation Link Partner Ability: 01e1
	10T-HD 10T-FD 100TX-HD 100TX-FD 

(0286) PHY4 Auto Negotiation Expansion Register: 0000

(0287) PHY4 Next Page Transmit: 2001

(0288) PHY4 Link Partner Next Page: 0000
DONE!
# 
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: ADM6996M on a DSL-G624T

Post by thechief » Mon Mar 25, 2013 9:36 am

the admtool writes directly to the eeprom, and so changes that it makes should survive reboots, firmware changes, etc., unless overwritten by a driver.

As to what commands/parameters you need to run, it's anyone's guess. You'll just have to search the forum for everything that anyone has ever posted on the admtool. Perhaps you will see examples. I can remember posting examples myself - but I gave up my G624T a long time ago.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
duke
Regular
Regular
Posts: 61
Joined: Mon Nov 26, 2012 7:03 pm

Re: ADM6996M on a DSL-G624T

Post by duke » Mon Mar 25, 2013 8:01 pm

:shakehead: if you never figure it out using the software
its easy doing it in hardware just pulling a pin high or low depending on what you need
https://docs.google.com/viewer?a=v&q=ca ... tibCNTzmug

page 12 to 16 give you the information on how to set the port speed
to pull pin low connect to to ground
to pull high connect to 1.8 v (need to go through more info , not sure)

but if you are willing to do that you might as well replace the capacitors

;
also in care you decide to replace caps if the caps near the cpu are dead/exploded please also replace the caps near the power jack with higher volt ratings
Post Reply