[LEDE-DEV] MT7620: wan eth port doesn't work

Giuseppe Lippolis giu.lippolis at gmail.com
Thu Aug 3 13:30:05 PDT 2017


Hi,
Here an update.

I collected the switch configuration from the oem and lede systems (base
registers:	0x10110000).

Here are the differences.

In case you find something suspect please ask me to double check the
registers because I get the data using some manual processing (error prone).

oem_switch_cfg_dump.txt
lede_switch_cfg_dump.txt

0000090: 0f 00 00 00 01 00 00 40 00 00 00 00 00 00 00 00  	0000090: 0f
10 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000100: 02 10 00 00 03 40 00 00 05 60 00 00 07 80 00 00  	0000100: 00
10 00 00 02 30 00 00 04 50 00 00 06 70 00 00
0000110: 09 a0 00 00 0b c0 00 00 0d e0 00 00 0f 00 01 00  	0000110: 08
90 00 00 0a b0 00 00 0c d0 00 00 0e f0 00 00

0000490: 0f 00 00 00 01 00 00 40 00 00 00 00 00 00 00 00  	0000490: 0f
10 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000500: 02 10 00 00 03 40 00 00 05 60 00 00 07 80 00 00	0000500: 00
10 00 00 02 30 00 00 04 50 00 00 06 70 00 00
0000510: 09 a0 00 00 0b c0 00 00 0d e0 00 00 0f 00 01 00  	0000510: 08
90 00 00 0a b0 00 00 0c d0 00 00 0e f0 00 00

0000890: 0f 00 00 00 01 00 00 40 00 00 00 00 00 00 00 00  	0000890: 0f
10 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000900: 02 10 00 00 03 40 00 00 05 60 00 00 07 80 00 00  	0000900: 00
10 00 00 02 30 00 00 04 50 00 00 06 70 00 00
0000910: 09 a0 00 00 0b c0 00 00 0d e0 00 00 0f 00 01 00  	0000910: 08
90 00 00 0a b0 00 00 0c d0 00 00 0e f0 00 00

0000c90: 0f 00 00 00 01 00 00 40 00 00 00 00 00 00 00 00  	0000c90: 0f
10 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000d00: 02 10 00 00 03 40 00 00 05 60 00 00 07 80 00 00  	0000d00: 00
10 00 00 02 30 00 00 04 50 00 00 06 70 00 00
0000d10: 09 a0 00 00 0b c0 00 00 0d e0 00 00 0f 00 01 00  	0000d10: 08
90 00 00 0a b0 00 00 0c d0 00 00 0e f0 00 00

0001680: 00 00 00 00 03 00 00 00 00 00 00 00 00 00 00 00  	0001680: 00
00 00 00 04 00 00 00 00 00 00 00 00 00 00 00

0001fc0: e8 01 c9 01 00 00 00 00 00 00 00 00 00 00 00 00  	0001fc0: e7
01 dc 01 00 00 00 00 00 00 00 00 00 00 00 00

0002510: c0 00 00 81 01 00 01 00 01 00 01 00 00 00 00 00 	0002510: 00
00 00 81 00 00 01 00 01 00 01 00 00 00 00 00

0002600: ff ff 00 00 03 00 ff 20 00 80 00 00 00 ff 0f 00  	0002600: ff
ff 00 00 03 00 ff 00 00 80 00 00 00 ff 0f 00
0002610: 00 00 00 81 01 00 01 00 01 00 01 00 00 00 00 00  	0002610: 00
00 00 81 00 00 01 00 01 00 01 00 00 00 00 00

0002700: ff ff 00 00 03 00 ff 20 00 80 00 00 00 ff 0f 00  	0002700: ff
ff 00 00 03 00 ff 00 00 80 00 00 00 ff 0f 00
0002710: 00 00 00 81 01 00 01 00 01 00 01 00 00 00 00 00  	0002710: 00
00 00 81 00 00 01 00 01 00 01 00 00 00 00 00

0003300: 30 63 05 00 e0 01 1e 11 37 00 00 00 00 00 00 00  	0003300: 30
63 05 00 e0 01 1e 11 00 00 00 00 00 00 00 00
0003310: 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 	0003310: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0003400: 30 63 05 00 e0 01 1e 11 77 00 00 00 00 00 00 00  	0003400: 30
63 05 00 e0 01 1e 11 06 00 00 00 00 00 00 00
0003410: 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00  	0003410: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0003500: 00 80 00 00 e0 01 1e 11 00 00 00 00 00 00 00 00  	0003500: 30
63 05 00 e0 01 1e 11 00 00 00 00 00 00 00 00

0003610: 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00  	0003610: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0003fe0: 25 3f 00 00 64 80 28 43 0c 00 00 00 00 00 00 00  	0003fe0: 25
3f 00 00 51 d5 26 13 6f e4 00 00 00 00 00 00

0004000: 00 00 00 00 03 00 00 00 ff ff ff ff 00 00 00 00  	0004000: 00
00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00

0004300: 1c 00 06 00 06 00 00 00 ff ff ff ff 00 00 00 00  	0004300: 00
00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00
0004310: d9 08 00 00 00 00 00 00 4a 65 14 00 00 00 00 00  	0004310: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0004320: b4 07 00 00 00 00 00 00 54 cc 05 00 00 00 00 00  	0004320: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0004330: 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  	0004330: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0004400: 1c 00 06 00 05 00 00 00 ff ff ff ff 00 00 00 00  	0004400: 00
00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00
0004410: f2 01 00 00 00 00 00 00 43 2d 01 00 00 00 00 00  	0004410: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0004420: d1 04 00 00 00 00 00 00 4d fa 10 00 00 00 00 00  	0004420: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0004500: 00 00 00 00 02 00 00 00 ff ff ff ff 00 00 00 00  	0004500: 00
00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00

0004610: 84 0c 00 00 00 00 00 00 51 f6 16 00 00 00 00 00  	0004610: 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0004620: d5 0a 00 00 00 00 00 00 4b b0 15 00 00 00 00 00  	0004620: e2
03 00 00 00 00 00 00 64 1f 05 00 00 00 00 00
0004630: 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  	0004630: e2
03 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0004700: 00 00 00 00 02 00 01 00 ff ff ff ff 00 00 00 00 	0004700: 00
00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00

0007000: 04 05 00 45 00 33 55 00 c0 7f ff ff 00 00 00 f0  	0007000: 04
05 00 45 0f 0f 35 20 80 ff ff ff 00 20 00 f0
0007010: 00 0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 08 	0007010: 00
0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 07

0007400: 04 05 00 45 00 33 55 00 c0 7f ff ff 00 00 00 f0  	0007400: 04
05 00 45 0f 0f 35 20 80 ff ff ff 00 20 00 f0
0007410: 00 0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 08  	0007410: 00
0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 07
	
0007800: 04 05 00 45 00 33 55 00 c0 7f ff ff 00 00 00 f0 	0007800: 04
05 00 45 0f 0f 35 20 80 ff ff ff 00 20 00 f0
0007810: 00 0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 08  	0007810: 00
0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 07

0007c00: 04 05 00 45 00 33 55 00 c0 7f ff ff 00 00 00 f0 	0007c00: 04
05 00 45 0f 0f 35 20 80 ff ff ff 00 20 00 f0
0007c10: 00 0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 08  	0007c10: 00
0c 3e 88 0c 00 e0 00 f0 7f 00 00 0c 00 00 07


Bye.




More information about the Lede-dev mailing list