Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MT7915E not detected in totolink x5000r #610

Open
nonyhaha opened this issue Oct 22, 2021 · 13 comments
Open

MT7915E not detected in totolink x5000r #610

nonyhaha opened this issue Oct 22, 2021 · 13 comments

Comments

@nonyhaha
Copy link

Hello everybody,
As I wrote also on the openwrt forums, I have 2 totolink x5000r routers ordered and arrived at the same time, same seller.
flashed them with openwrt and one of them detects the wifi card, one does not. The one that does not was flashed with stock firmware and wireless is working.
dmesg of working router:

root@OpenWrt:/sys/devices/platform# dmesg
...
[    0.797365] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.814030] libphy: dsa slave smi: probed
[    0.818508] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    0.828249] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    0.837962] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    0.847654] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    0.857454] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    0.867211] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    0.878446] DSA: tree 0 setup
[    0.881764] rt2880-pinmux pinctrl: pcie is already enabled
[    0.887420] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    0.895010] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    1.002186] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.007768] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.113033] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.119988] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.124865] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.129745] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.139221] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.145595] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.152465] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.159335] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.164856] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.170892] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.177156] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.183489] pci 0000:00:00.0: supports D1
[    1.187501] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.193632] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.199678] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.205943] pci 0000:00:01.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    1.212265] pci 0000:00:01.0: supports D1
[    1.216277] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.223369] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.231387] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.239584] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    1.245659] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.252891] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.260120] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.267453] pci 0000:01:00.0: supports D1 D2
[    1.271725] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.278369] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.293464] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.298712] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.304800] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.311583] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.318810] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.325641] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    1.331720] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.338950] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.346178] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.353507] pci 0000:02:00.0: supports D1 D2
[    1.357777] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.364418] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.379544] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.384788] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.390880] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.397659] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.404878] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.411533] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.418141] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.425095] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.431702] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.438660] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.445443] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.452668] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    1.459454] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref]
[    1.466671] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    1.473457] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    1.480244] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.487029] pci 0000:00:01.0: BAR 7: assigned [io  0x1e161000-0x1e161fff]
[    1.493819] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.501568] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.509316] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.517062] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.522026] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    1.528809] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.535593] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.542816] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref]
[    1.550565] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref]
[    1.558314] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[    1.566053] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.571038] pci 0000:00:01.0:   bridge window [io  0x1e161000-0x1e161fff]
[    1.577816] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.584605] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.592615] hctosys: unable to open rtc device (rtc0)
[    1.602925] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.614419] Freeing unused kernel memory: 1268K
[    1.618972] This architecture does not have kernel memory protection.
[    1.625400] Run /sbin/init as init process
[    1.630758] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    2.078381] init: Console is alive
[    2.082020] init: - watchdog -
[    2.683580] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.772689] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.782455] init: - preinit -
[    3.445309] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    3.453643] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.462137] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    3.588703] random: jshn: uninitialized urandom read (4 bytes read)
[    3.652816] random: jshn: uninitialized urandom read (4 bytes read)
[    3.691342] random: jshn: uninitialized urandom read (4 bytes read)
[    3.910220] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    3.917246] 8021q: adding VLAN 0 to HW filter on device lan1
[    8.116920] jffs2: notice: (586) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 4 orphan) and 11 of xref (4 dead, 0 orphan) found.
[    8.134258] mount_root: switching to jffs2 overlay
[    8.144920] overlayfs: upper fs does not support tmpfile.
[    8.154989] urandom-seed: Seeding with /etc/urandom.seed
[    8.243230] procd: - early -
[    8.246257] procd: - watchdog -
[    8.834233] procd: - watchdog -
[    8.838135] procd: - ubus -
[    8.935259] procd: - init -
[    9.523157] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.542438] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff
[    9.550094] Backport generated by backports.git v5.10.42-1-0-gbee5c545
[    9.576540] xt_time: kernel timezone is -0000
[    9.628704] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[    9.634148] pci 0000:00:00.0: enabling device (0004 -> 0007)
[    9.639811] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[    9.646675] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[    9.652117] pci 0000:00:01.0: enabling device (0004 -> 0007)
[    9.657794] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[    9.660785] urngd: v1.0.2 started.
[    9.792713] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20201105222230a
[    9.792713]
[    9.802523] random: crng init done
[    9.805912] random: 7 urandom warning(s) missed due to ratelimiting
[   10.118255] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20201105222304
[   10.155509] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20201105222323
[   10.301645] PPP generic driver version 2.4.2
[   10.307387] NET: Registered protocol family 24
[   10.323736] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.983116] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   14.999541] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   15.007877] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.012433] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   15.023354] 8021q: adding VLAN 0 to HW filter on device lan1
[   15.032116] br-lan: port 1(lan1) entered blocking state
[   15.037505] br-lan: port 1(lan1) entered disabled state
[   15.044246] device lan1 entered promiscuous mode
[   15.049027] device eth0 entered promiscuous mode
[   15.057421] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.087040] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   15.094416] 8021q: adding VLAN 0 to HW filter on device lan2
[   15.103719] br-lan: port 2(lan2) entered blocking state
[   15.109146] br-lan: port 2(lan2) entered disabled state
[   15.115691] device lan2 entered promiscuous mode
[   15.131217] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   15.138524] 8021q: adding VLAN 0 to HW filter on device lan3
[   15.147553] br-lan: port 3(lan3) entered blocking state
[   15.152936] br-lan: port 3(lan3) entered disabled state
[   15.159783] device lan3 entered promiscuous mode
[   15.176599] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   15.184008] 8021q: adding VLAN 0 to HW filter on device lan4
[   15.193769] br-lan: port 4(lan4) entered blocking state
[   15.199223] br-lan: port 4(lan4) entered disabled state
[   15.206341] device lan4 entered promiscuous mode
[   15.227106] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   15.234377] 8021q: adding VLAN 0 to HW filter on device wan
[   16.665465] br-lan: port 5(wlan0) entered blocking state
[   16.670881] br-lan: port 5(wlan0) entered disabled state
[   16.676933] device wlan0 entered promiscuous mode
[   16.908724] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   16.915438] br-lan: port 5(wlan0) entered blocking state
[   16.920848] br-lan: port 5(wlan0) entered forwarding state
[   16.927351] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   17.144646] br-lan: port 6(wlan1) entered blocking state
[   17.150035] br-lan: port 6(wlan1) entered disabled state
[   17.155962] device wlan1 entered promiscuous mode
[   17.161261] br-lan: port 6(wlan1) entered blocking state
[   17.166652] br-lan: port 6(wlan1) entered forwarding state
[   17.688139] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[  491.342727] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[  491.350281] br-lan: port 4(lan4) entered blocking state
[  491.355523] br-lan: port 4(lan4) entered forwarding state
[  502.606485] mt7530 mdio-bus:1f lan4: Link is Down
[  502.611619] br-lan: port 4(lan4) entered disabled state
[  505.678639] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[  505.686197] br-lan: port 4(lan4) entered blocking state
[  505.691437] br-lan: port 4(lan4) entered forwarding state
[  973.646535] mt7530 mdio-bus:1f lan4: Link is Down
[  973.651761] br-lan: port 4(lan4) entered disabled state
[ 1768.110795] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1768.118341] br-lan: port 1(lan1) entered blocking state
[ 1768.123601] br-lan: port 1(lan1) entered forwarding state
[ 1855.477317] br-lan: port 6(wlan1) entered disabled state
[ 1855.482825] br-lan: port 5(wlan0) entered disabled state
[ 1855.488281] br-lan: port 1(lan1) entered disabled state
[ 1855.495995] device lan1 left promiscuous mode
[ 1855.500742] br-lan: port 1(lan1) entered disabled state
[ 1855.528303] mt7530 mdio-bus:1f lan1: Link is Down
[ 1855.535167] device lan2 left promiscuous mode
[ 1855.539805] br-lan: port 2(lan2) entered disabled state
[ 1855.562008] device lan3 left promiscuous mode
[ 1855.566630] br-lan: port 3(lan3) entered disabled state
[ 1855.593744] device lan4 left promiscuous mode
[ 1855.598544] br-lan: port 4(lan4) entered disabled state
[ 1855.621600] device wlan0 left promiscuous mode
[ 1855.626228] br-lan: port 5(wlan0) entered disabled state
[ 1855.654766] device wlan1 left promiscuous mode
[ 1855.659389] br-lan: port 6(wlan1) entered disabled state
[ 1855.745205] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[ 1855.752423] 8021q: adding VLAN 0 to HW filter on device lan1
[ 1855.761199] br-lan: port 1(lan1) entered blocking state
[ 1855.766523] br-lan: port 1(lan1) entered disabled state
[ 1855.772795] device lan1 entered promiscuous mode
[ 1855.783592] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[ 1855.790785] 8021q: adding VLAN 0 to HW filter on device lan2
[ 1855.799664] br-lan: port 2(lan2) entered blocking state
[ 1855.805003] br-lan: port 2(lan2) entered disabled state
[ 1855.811656] device lan2 entered promiscuous mode
[ 1855.823689] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[ 1855.830865] 8021q: adding VLAN 0 to HW filter on device lan3
[ 1855.840176] br-lan: port 3(lan3) entered blocking state
[ 1855.845613] br-lan: port 3(lan3) entered disabled state
[ 1855.852179] device lan3 entered promiscuous mode
[ 1855.862826] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[ 1855.870042] 8021q: adding VLAN 0 to HW filter on device lan4
[ 1855.878803] br-lan: port 4(lan4) entered blocking state
[ 1855.884107] br-lan: port 4(lan4) entered disabled state
[ 1855.890888] device lan4 entered promiscuous mode
[ 1855.902008] br-lan: port 5(wlan0) entered blocking state
[ 1855.907437] br-lan: port 5(wlan0) entered disabled state
[ 1855.913477] device wlan0 entered promiscuous mode
[ 1855.921687] br-lan: port 6(wlan1) entered blocking state
[ 1855.927128] br-lan: port 6(wlan1) entered disabled state
[ 1855.933144] device wlan1 entered promiscuous mode
[ 1855.942240] br-lan: port 6(wlan1) entered blocking state
[ 1855.947615] br-lan: port 6(wlan1) entered forwarding state
[ 1855.953327] br-lan: port 5(wlan0) entered blocking state
[ 1855.958738] br-lan: port 5(wlan0) entered forwarding state
[ 1855.964445] br-lan: port 1(lan1) entered blocking state
[ 1855.969762] br-lan: port 1(lan1) entered forwarding state
[ 1856.526650] br-lan: port 1(lan1) entered disabled state
[ 1858.830889] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 1858.838439] br-lan: port 1(lan1) entered blocking state
[ 1858.843710] br-lan: port 1(lan1) entered forwarding state
[ 2775.348277] mt7530 mdio-bus:1f lan1: Link is Down
[ 2775.353387] br-lan: port 1(lan1) entered disabled state
[ 2783.540531] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 2783.548086] br-lan: port 1(lan1) entered blocking state
[ 2783.553342] br-lan: port 1(lan1) entered forwarding state
[ 2794.804493] mt7530 mdio-bus:1f lan1: Link is Down
[ 2794.809338] br-lan: port 1(lan1) entered disabled state
[ 2797.876688] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 2797.884282] br-lan: port 1(lan1) entered blocking state
[ 2797.889577] br-lan: port 1(lan1) entered forwarding state
[ 2810.164661] mt7530 mdio-bus:1f lan1: Link is Down
[ 2810.169504] br-lan: port 1(lan1) entered disabled state
[ 2812.212849] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[ 2812.220402] br-lan: port 1(lan1) entered blocking state
[ 2812.225655] br-lan: port 1(lan1) entered forwarding state

non working router:

root@OpenWrt:/sys/devices/platform# dmesg
...
[    0.792766] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    0.809665] libphy: dsa slave smi: probed
[    0.814206] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [dsa-0.0:00] driver [Generic PHY]
[    0.823974] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [dsa-0.0:01] driver [Generic PHY]
[    0.833661] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [dsa-0.0:02] driver [Generic PHY]
[    0.843360] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [dsa-0.0:03] driver [Generic PHY]
[    0.853208] mt7530 mdio-bus:1f wan (uninitialized): PHY [dsa-0.0:04] driver [Generic PHY]
[    0.862946] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    0.874205] DSA: tree 0 setup
[    0.877470] rt2880-pinmux pinctrl: pcie is already enabled
[    0.883123] mt7621-pci-phy 1e149000.pcie-phy: PHY for 0xbe149000 (dual port = 1)
[    0.890708] mt7621-pci-phy 1e14a000.pcie-phy: PHY for 0xbe14a000 (dual port = 0)
[    0.997890] mt7621-pci-phy 1e149000.pcie-phy: Xtal is 40MHz
[    1.003473] mt7621-pci-phy 1e14a000.pcie-phy: Xtal is 40MHz
[    1.108740] mt7621-pci 1e140000.pcie: pcie0 no card, disable it (RST & CLK)
[    1.115692] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.122647] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.127529] mt7621-pci 1e140000.pcie: PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.136974] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.143341] pci_bus 0000:00: root bus resource [io  0x1e160000-0x1e16ffff]
[    1.150211] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.157077] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.162602] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.168635] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.174913] pci 0000:00:00.0: reg 0x14: [mem 0x60300000-0x6030ffff]
[    1.181242] pci 0000:00:00.0: supports D1
[    1.185254] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.192530] pci 0000:01:00.0: [14c3:7915] type 00 class 0x000280
[    1.198618] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.205849] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.213074] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.220412] pci 0000:01:00.0: supports D1 D2
[    1.224684] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.231329] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5 GT/s x1 link)
[    1.246420] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.251653] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.257740] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.264525] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.271744] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.278391] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.284997] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.291956] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.298743] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.305968] pci 0000:00:00.0: BAR 1: assigned [mem 0x60300000-0x6030ffff]
[    1.312754] pci 0000:00:00.0: BAR 7: assigned [io  0x1e160000-0x1e160fff]
[    1.319546] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.327294] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.335043] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.342787] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.347752] pci 0000:00:00.0:   bridge window [io  0x1e160000-0x1e160fff]
[    1.354536] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.361316] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.369091] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control off
[    1.369396] hctosys: unable to open rtc device (rtc0)
[    1.386360] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.397785] Freeing unused kernel memory: 1268K
[    1.402380] This architecture does not have kernel memory protection.
[    1.408800] Run /sbin/init as init process
[    1.858640] init: Console is alive
[    1.862312] init: - watchdog -
[    2.464429] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.553529] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.562152] init: - preinit -
[    3.228541] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    3.236886] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    3.245382] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    3.371163] random: jshn: uninitialized urandom read (4 bytes read)
[    3.435351] random: jshn: uninitialized urandom read (4 bytes read)
[    3.473997] random: jshn: uninitialized urandom read (4 bytes read)
[    3.693371] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    3.700434] 8021q: adding VLAN 0 to HW filter on device lan1
[    7.782301] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.789834] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[    7.914083] jffs2: notice: (583) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (13 unchecked, 2 orphan) and 19 of xref (2 dead, 0 orphan) found.
[    7.931803] mount_root: switching to jffs2 overlay
[    7.942497] overlayfs: upper fs does not support tmpfile.
[    7.953108] urandom-seed: Seeding with /etc/urandom.seed
[    8.034055] mt7530 mdio-bus:1f lan1: Link is Down
[    8.050671] procd: - early -
[    8.053646] procd: - watchdog -
[    8.641934] procd: - watchdog -
[    8.645744] procd: - ubus -
[    8.742821] procd: - init -
[    9.341977] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.361292] Loading modules backported from Linux version v5.10.42-0-g65859eca4dff
[    9.368978] Backport generated by backports.git v5.10.42-1-0-gbee5c545
[    9.395227] xt_time: kernel timezone is -0000
[    9.450396] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=24
[    9.455847] pci 0000:00:00.0: enabling device (0006 -> 0007)
[    9.461506] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
[    9.471399] urngd: v1.0.2 started.
[    9.593086] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20201105222230a
[    9.593086]
[    9.614170] random: crng init done
[    9.617582] random: 7 urandom warning(s) missed due to ratelimiting
[    9.921740] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20201105222304
[    9.955518] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20201105222323
[   10.113178] mt7915e: probe of 0000:01:00.0 failed with error -22
[   10.133206] PPP generic driver version 2.4.2
[   10.138961] NET: Registered protocol family 24
[   10.153618] kmodloader: done loading kernel modules from /etc/modules.d/*
[   15.943842] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   15.962143] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   15.970666] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   15.974819] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   15.986442] 8021q: adding VLAN 0 to HW filter on device lan1
[   15.995762] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   16.003680] br-lan: port 1(lan1) entered blocking state
[   16.009059] br-lan: port 1(lan1) entered disabled state
[   16.015624] device lan1 entered promiscuous mode
[   16.020397] device eth0 entered promiscuous mode
[   16.055625] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   16.062908] 8021q: adding VLAN 0 to HW filter on device lan2
[   16.078014] br-lan: port 2(lan2) entered blocking state
[   16.083311] br-lan: port 2(lan2) entered disabled state
[   16.089666] device lan2 entered promiscuous mode
[   16.104770] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   16.112028] 8021q: adding VLAN 0 to HW filter on device lan3
[   16.120933] br-lan: port 3(lan3) entered blocking state
[   16.126241] br-lan: port 3(lan3) entered disabled state
[   16.133902] device lan3 entered promiscuous mode
[   16.149587] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   16.156869] 8021q: adding VLAN 0 to HW filter on device lan4
[   16.166453] br-lan: port 4(lan4) entered blocking state
[   16.171726] br-lan: port 4(lan4) entered disabled state
[   16.179025] device lan4 entered promiscuous mode
[   16.204164] mt7530 mdio-bus:1f wan: configuring for phy/gmii link mode
[   16.211550] 8021q: adding VLAN 0 to HW filter on device wan
[   19.142303] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   19.149849] br-lan: port 2(lan2) entered blocking state
[   19.155112] br-lan: port 2(lan2) entered forwarding state
[   19.161444] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   20.102315] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   20.109864] br-lan: port 1(lan1) entered blocking state
[   20.115098] br-lan: port 1(lan1) entered forwarding state
[   20.294387] mt7530 mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   20.301658] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   21.126186] mt7530 mdio-bus:1f lan1: Link is Down
[   21.131270] br-lan: port 1(lan1) entered disabled state
[   25.222230] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   25.229800] br-lan: port 1(lan1) entered blocking state
[   25.235022] br-lan: port 1(lan1) entered forwarding state
[  997.194262] mt7530 mdio-bus:1f wan: Link is Down
[ 1001.098279] mt7530 mdio-bus:1f lan1: Link is Down
[ 1001.103396] br-lan: port 1(lan1) entered disabled state

up until the pcie0 difference all is the same on both routers.
I do not know why, and I have not opened the routers to check if there is any visible difference between the boards.

I do not know how to proceed from here, so I thought somebody here would be more interested to find out what is a miss.

@ptpt52
Copy link

ptpt52 commented Oct 29, 2021

it should works
try hexdump

hexdump -C /dev/mtd2ro

to see factory data good or not?

@nonyhaha
Copy link
Author

Hello @ptpt52 . At this moment I do not know how to use the output.
I will try searching about this.
on running the command I get

00000000  15 79 00 00 5c 92 5e a3  0e d0 00 0c 43 4a 21 4e  |.y..\.^.....CJ!N|
00000010  15 79 c3 14 00 80 02 00  15 79 c3 14 ec 98 01 00  |.y.......y......|
00000020  16 79 c3 14 00 80 02 00  16 79 c3 14 ec a0 01 00  |.y.......y......|
00000030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000050  01 00 80 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000060  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000070  30 1c 0f 00 00 00 07 ae  ef 00 00 00 00 00 00 00  |0...............|
00000080  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000000a0  00 00 00 00 00 00 00 00  d2 2a b2 9d 91 7b 86 8f  |.........*...{..|
000000b0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000190  92 52 06 aa 28 00 00 15  00 00 00 00 00 00 00 00  |.R..(...........|
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000230  00 00 00 00 00 00 00 00  00 00 e4 e4 ee ee fa fa  |................|
00000240  06 06 16 16 df df e7 e7  f3 f3 fb fb 03 03 0b 0b  |................|
00000250  3f 3f c6 c6 c6 c6 c6 c4  00 c6 00 c6 c6 c4 c4 82  |??..............|
00000260  83 84 c6 c6 c6 c4 c4 82  83 84 00 c6 c6 c6 c4 c4  |................|
00000270  82 83 84 86 86 c6 c6 c6  c4 c4 82 83 84 86 86 c6  |................|
00000280  c6 c6 c4 c4 82 83 84 86  86 c6 c6 c6 c4 c4 82 83  |................|
00000290  84 86 86 c6 c6 c6 c4 c4  82 83 84 86 86 c6 c6 c4  |................|
000002a0  c2 00 c6 00 c6 c4 c4 c2  82 83 83 c6 c6 c4 c4 c2  |................|
000002b0  82 83 83 00 c6 c6 c4 c4  c2 82 84 84 00 00 00 c6  |................|
000002c0  c6 c4 c4 c2 81 83 83 84  84 c6 c6 c4 c4 c2 81 83  |................|
000002d0  83 84 84 c6 c6 c4 c4 c2  82 83 83 86 86 c6 c6 c4  |................|
000002e0  c4 c2 81 83 83 84 84 c6  c6 c4 c4 c2 81 83 83 84  |................|
000002f0  84 c6 c6 c4 c4 c2 81 83  83 86 86 02 24 00 02 24  |............$..$|
00000300  00 02 24 00 02 24 00 00  22 22 22 22 22 22 22 22  |..$..$..""""""""|
00000310  22 22 22 22 22 22 22 33  33 33 00 00 00 00 00 00  |"""""""333......|
00000320  00 00 00 00 00 00 00 00  00 00 00 00 00 4c 58 65  |.............LXe|
00000330  71 7d 00 4d 59 65 72 7e  00 4c 58 64 70 7c 00 4c  |q}.MYer~.LXdp|.L|
00000340  58 64 70 7c 00 00 00 00  03 03 03 26 26 26 26 26  |Xdp|.......&&&&&|
00000350  26 26 26 00 03 03 03 26  26 26 26 26 26 26 26 00  |&&&....&&&&&&&&.|
00000360  03 03 03 26 26 26 26 26  26 26 26 00 03 03 03 26  |...&&&&&&&&....&|
00000370  26 26 26 26 26 26 26 00  00 00 00 00 00 00 00 00  |&&&&&&&.........|
00000380  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000003e0  22 22 22 11 11 11 11 11  11 22 22 22 22 22 22 22  |"""......"""""""|
000003f0  22 22 22 22 22 22 22 22  22 22 22 22 22 22 22 22  |""""""""""""""""|
00000400  22 22 22 22 11 11 11 11  11 11 22 22 22 22 22 22  |""""......""""""|
00000410  88 88 88 99 99 99 99 99  99 88 88 88 88 88 88 aa  |................|
00000420  aa aa 99 99 99 88 88 88  11 11 11 11 11 11 88 88  |................|
00000430  88 88 88 88 11 11 11 11  11 11 88 88 88 88 88 88  |................|
00000440  08 42 51 51 63 74 08 42  51 51 64 74 08 42 51 51  |.BQQct.BQQdt.BQQ|
00000450  64 74 08 42 51 51 64 74  08 42 51 51 64 74 08 42  |dt.BQQdt.BQQdt.B|
00000460  51 51 64 74 08 43 54 54  66 74 08 42 56 56 68 74  |QQdt.CTTft.BVVht|
00000470  08 42 51 51 63 72 08 42  51 51 63 74 08 42 50 50  |.BQQcr.BQQct.BPP|
00000480  63 74 08 42 51 51 63 75  08 42 51 51 63 74 08 42  |ct.BQQcu.BQQct.B|
00000490  51 51 63 74 08 42 53 53  65 76 08 42 55 55 66 79  |QQct.BSSev.BUUfy|
000004a0  08 42 51 51 64 74 08 42  51 51 64 75 08 42 51 51  |.BQQdt.BQQdu.BQQ|
000004b0  64 75 08 42 51 51 65 75  08 43 51 51 64 75 08 44  |du.BQQeu.CQQdu.D|
000004c0  52 52 65 76 08 44 54 54  67 78 08 43 56 56 68 7a  |RRev.DTTgx.CVVhz|
000004d0  08 42 51 51 63 74 08 43  52 52 64 76 08 42 51 51  |.BQQct.CRRdv.BQQ|
000004e0  64 74 08 42 51 51 64 74  08 44 53 53 66 77 08 44  |dt.BQQdt.DSSfw.D|
000004f0  53 53 66 77 08 44 55 55  68 79 08 43 57 57 69 7b  |SSfw.DUUhy.CWWi{|
00000500  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000650  00 fe 00 08 08 00 03 00  0b 08 00 00 00 00 00 00  |................|
00000660  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 34  |...............4|
00000670  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000680  00 00 00 00 00 00 00 00  00 00 00 00 00 f9 00 02  |................|
00000690  f9 00 0f 00 07 07 00 00  00 00 b0 00 00 00 00 00  |................|
000006a0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000006b0  00 00 00 00 00 0c 00 02  0d 00 e6 00 f3 f3 00 00  |................|
000006c0  00 00 b2 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000006d0  00 00 00 00 00 00 00 00  00 00 00 00 00 0d 00 02  |................|
000006e0  0d 00 e4 00 f3 f3 00 00  00 00 b4 00 00 00 00 00  |................|
000006f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000700  00 00 00 00 00 0d 00 02  0d 00 e5 00 f3 f3 00 00  |................|
00000710  00 00 a0 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000720  00 00 00 00 00 00 00 00  00 00 00 00 00 0c 00 02  |................|
00000730  0c 00 e9 00 f4 f4 00 00  00 00 a7 00 00 00 00 00  |................|
00000740  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000750  00 00 00 00 00 09 00 02  09 00 ed 00 f7 f6 00 00  |................|
00000760  00 00 b1 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000770  00 00 00 00 00 00 00 00  00 00 00 00 00 09 00 01  |................|
00000780  09 00 ee 00 f7 f6 00 00  00 00 ab 00 00 00 00 00  |................|
00000790  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000007a0  00 00 00 00 00 0a 00 01  0a 00 ec 00 f6 f5 00 00  |................|
000007b0  00 00 aa 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000007c0  00 00 00 00 00 00 00 00  00 00 00 00 00 88 00 90  |................|
000007d0  00 90 00 90 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000007e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000800  00 00 eb 98 65 43 21 00  97 00 db a8 65 43 32 00  |....eC!.....eC2.|
00000810  86 00 eb b9 76 53 32 00  86 00 da 97 54 42 21 00  |....vS2.....TB!.|
00000820  86 00 0c 0c 0c 0b 0d 0f  0f 0e 00 00 00 00 00 03  |................|
00000830  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000008c0  85 82 85 85 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000008d0  00 e8 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000008e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000900  43 c0 c3 c0 43 c1 43 c1  c0 cd 40 cc 40 cb 42 ca  |C...C.C...@.@.B.|
00000910  3e cc 3e cc 3d cc 40 ca  be cb be ca 3e cb c0 ca  |>.>.=.@.....>...|
00000920  3e cc 3e cc 3e cc be ca  c0 cd c0 cb 40 cb 42 ca  |>.>.>.......@.B.|
00000930  be cb 3e cb 3e cb 3e cc  40 ce c0 ca 40 ca c0 c9  |..>.>.>.@...@...|
00000940  40 c9 40 c9 40 c9 40 c9  00 00 00 00 00 00 00 00  |@.@.@.@.........|
00000950  41 cd 41 cd 41 cd 41 cd  00 00 00 00 00 00 00 00  |A.A.A.A.........|
00000960  c0 cf c0 cf c0 cf c0 cf  c0 cf c0 cf c0 cf c0 cf  |................|
00000970  c0 ce c0 ce c0 ce c0 ce  c0 ce c0 ce c0 ce c0 ce  |................|
00000980  c0 d3 40 d3 40 d1 c0 d0  c0 d1 c0 d1 c0 d1 40 d4  |..@.@.........@.|
00000990  40 d4 40 cf c0 d0 40 d0  c0 d0 c0 d0 c0 d0 40 d0  |@.@...@.......@.|
000009a0  02 ae 00 00 00 01 c0 00  b2 84 84 00 00 00 00 00  |................|
000009b0  c9 e3 c6 85 fa df 07 28  00 00 00 00 00 00 00 00  |.......(........|
000009c0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000a00  00 4c 58 64 70 7b 00 4c  58 64 71 7c 00 4b 58 63  |.LXdp{.LXdq|.KXc|
00000a10  70 7a 00 4b 58 63 70 7a  00 00 00 00 08 48 48 5a  |pz.KXcpz.....HHZ|
00000a20  69 7a 08 48 48 5a 69 7a  08 48 48 5a 69 7a 08 48  |iz.HHZiz.HHZiz.H|
00000a30  48 5a 69 7a 08 48 48 5a  69 7a 08 48 48 5a 69 7a  |HZiz.HHZiz.HHZiz|
00000a40  08 48 48 5a 69 7a 08 48  48 5a 69 7a 08 48 48 5a  |.HHZiz.HHZiz.HHZ|
00000a50  6c 75 08 48 48 5a 6c 75  08 48 48 5a 6c 75 08 48  |lu.HHZlu.HHZlu.H|
00000a60  48 5a 6c 75 08 48 48 5a  6c 75 08 48 48 5a 6c 75  |HZlu.HHZlu.HHZlu|
00000a70  08 48 48 5a 6c 75 08 48  48 5a 6c 75 08 47 47 5a  |.HHZlu.HHZlu.GGZ|
00000a80  69 7a 08 49 49 59 6c 79  08 48 48 59 6b 79 08 48  |iz.IIYly.HHYky.H|
00000a90  48 5a 6c 78 08 49 49 58  69 78 08 49 49 58 69 78  |HZlx.IIXix.IIXix|
00000aa0  08 48 48 58 6b 78 08 4a  4a 5b 6d 79 08 46 46 58  |.HHXkx.JJ[my.FFX|
00000ab0  69 79 08 48 48 59 6b 79  08 48 48 59 6b 78 08 48  |iy.HHYky.HHYkx.H|
00000ac0  48 59 6c 78 08 49 49 58  68 78 08 49 49 58 68 78  |HYlx.IIXhx.IIXhx|
00000ad0  08 49 49 57 6b 78 08 4a  4a 5b 6c 79 00 00 00 00  |.IIWkx.JJ[ly....|
00000ae0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000af0  00 00 00 00 00 00 00 00  00 00 00 00 00 01 ff fe  |................|
00000b00  fd fb 00 ff ff fe fd fa  00 ff ff fe fd fa 00 ff  |................|
00000b10  ff fe fd fa 00 ff ff fe  fd fa 00 00 fe fc fb fa  |................|
00000b20  00 ff fe fc fc f9 00 ff  fe fc fb f8 00 ff fe fc  |................|
00000b30  fa fa 00 ff fe fc fa fa  00 01 ff fd fa fa 00 fe  |................|
00000b40  00 fd fc fc 00 fe ff fd  fb fb 00 fe 00 fd fc fb  |................|
00000b50  00 fe 00 fd fb fc 00 02  ff ff ff fe 00 fd ff fe  |................|
00000b60  00 fe 00 fd ff ff 00 fe  00 fd ff fe 00 fe 00 fe  |................|
00000b70  ff ff 00 fe 13 00 f0 d6  c6 af a0 86 13 00 f0 d6  |................|
00000b80  c6 af a0 86 13 00 f0 d8  c6 af 9e 86 13 00 f0 d8  |................|
00000b90  c6 af 9e 86 13 00 f3 d8  c8 b1 a0 87 13 00 f3 d8  |................|
00000ba0  c8 b1 a0 87 10 00 ed d5  c5 ac 9b 84 10 00 ed d5  |................|
00000bb0  c5 ac 9b 84 10 00 f0 d5  c5 ad 9e 86 10 00 f0 d5  |................|
00000bc0  c5 ad 9e 86 10 00 f0 d8  c5 af 9e 88 10 00 f0 d8  |................|
00000bd0  c5 af 9e 88 0e 00 ee d6  c3 ad 9d 83 0e 00 ee d6  |................|
00000be0  c3 ad 9d 83 10 00 f0 da  c7 ac 9e 84 10 00 f0 da  |................|
00000bf0  c7 ac 9e 84 0f 00 ef d5  c6 ae 9f 86 0f 00 ef d5  |................|
00000c00  c6 ae 9f 86 10 00 ef da  c7 ae 9d 85 10 00 ef da  |................|
00000c10  c7 ae 9d 85 0f 00 ef d5  c7 af 9f 86 0f 00 ef d5  |................|
00000c20  c7 af 9f 86 10 00 f0 d8  c6 ae 9d 87 10 00 f0 d8  |................|
00000c30  c6 ae 9d 87 12 00 ef d7  c8 af 9f 89 12 00 ef d7  |................|
00000c40  c8 af 9f 89 10 00 ef d7  c7 ae a0 88 10 00 ef d7  |................|
00000c50  c7 ae a0 88 10 00 f1 d9  ca b0 a1 89 10 00 f1 d9  |................|
00000c60  ca b0 a1 89 10 00 ee d8  c9 b0 a0 86 10 00 ee d8  |................|
00000c70  c9 b0 a0 86 ff 00 fe 00  04 06 02 01 ff 00 fe 00  |................|
00000c80  04 06 02 01 03 00 fc fa  fa fb f5 f6 03 00 fc fa  |................|
00000c90  fa fb f5 f6 02 00 fc f9  f9 fa f3 f3 02 00 fc f9  |................|
00000ca0  f9 fa f3 f3 01 00 fc f9  f8 f9 f2 f2 01 00 fc f9  |................|
00000cb0  f8 f9 f2 f2 00 00 fd fa  fa fa f5 f4 00 00 fd fa  |................|
00000cc0  fa fa f5 f4 00 00 fe fc  fd fd f8 fa 00 00 fe fc  |................|
00000cd0  fd fd f8 fa ff 00 fe fc  fd fe f7 f9 ff 00 fe fc  |................|
00000ce0  fd fe f7 f9 fe 00 fe fc  ff fe f9 f7 fe 00 fe fc  |................|
00000cf0  ff fe f9 f7 ff 00 ff 00  05 07 03 04 ff 00 ff 00  |................|
00000d00  05 07 03 04 01 00 fc fa  fa fb f5 f6 01 00 fc fa  |................|
00000d10  fa fb f5 f6 01 00 fd fb  fb fc f7 f7 01 00 fd fb  |................|
00000d20  fb fc f7 f7 00 00 fd fb  fc fd f8 f9 00 00 fd fb  |................|
00000d30  fc fd f8 f9 ff 00 fc fc  fc fe f7 fa ff 00 fc fc  |................|
00000d40  fc fe f7 fa 00 00 fd fd  fe 00 fd fe 00 00 fd fd  |................|
00000d50  fe 00 fd fe ff 00 fd fd  fe 01 fc fb ff 00 fd fd  |................|
00000d60  fe 01 fc fb ff 00 fd fe  00 01 fe 04 ff 00 fd fe  |................|
00000d70  00 01 fe 04 00 00 00 00  00 00 00 00 40 44 00 00  |............@D..|
00000d80  de e8 f4 00 0c d9 e1 ed  f5 01 09 11 00 00 00 00  |................|
00000d90  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00008000  00 00 00 00 5c 92 5e a3  0e d4 00 00 00 00 00 00  |....\.^.........|
00008010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
0000e000  5c 92 5e a3 0e d0 5c 92  5e a3 0e d1 00 00 00 00  |\.^...\.^.......|
0000e010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00010000

@ptpt52
Copy link

ptpt52 commented Oct 30, 2021

looks good, it should work

@nonyhaha
Copy link
Author

Hauke mentions modified the device tree to allow writing to the factory partition in issue #462 but I do not know how to do that.

@nonyhaha
Copy link
Author

nonyhaha commented Nov 2, 2021

I managed to enablw writing on factory partition with:

# opkg install kmod-mtd-rw
# insmod mtd-rw i_want_a_brick=1
# mtd unlock /dev/mtd2
# dd if=/dev/mtd2ro bs=131072 skip=0 count=8 of=/tmp/factory-fixed
# md5sum /dev/mtd2ro /tmp/factory-fixed # Verify these have the same md5
# mtd write /tmp/factory-fixed /dev/mtd2
# reboot
# opkg remove kmod-mtd-rw

but the wireless card still does not get detected during boot.

@ptpt52
Copy link

ptpt52 commented Nov 5, 2021

Maybe it is a hardware issue?
likely other x5000r works

@ptpt52
Copy link

ptpt52 commented Nov 5, 2021

the working device:

[    9.628704] mt7621-pci 1e140000.pcie: bus=1 slot=0 irq=23
[    9.634148] pci 0000:00:00.0: enabling device (0004 -> 0007)
[    9.639811] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[    9.646675] mt7621-pci 1e140000.pcie: bus=2 slot=1 irq=24
[    9.652117] pci 0000:00:01.0: enabling device (0004 -> 0007)
[    9.657794] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)

the one not working

[    9.455847] pci 0000:00:00.0: enabling device (0006 -> 0007)
[    9.461506] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)

@nonyhaha
Copy link
Author

nonyhaha commented Nov 5, 2021

It may be a hardware issue, but with the totolink firmware it is working. :/

@ptpt52
Copy link

ptpt52 commented Nov 5, 2021

ping @ryderlee1110
any idea on this issue?

@ptpt52
Copy link

ptpt52 commented Nov 5, 2021

@nonyhaha Please try to revert this commit 2f85aa5
and test it.

@nonyhaha
Copy link
Author

nonyhaha commented Nov 7, 2021

@ptpt52
There is no way around this so here it goes. I am not a programmer, I can't say I can easily do that.
I cloned openwrt/mt76 and reverted the changes from the commit you said. The problem is I do not know if now I should compile an updtade .ipk or if I should compile the intire firmware. Either way, I do not know how.

So now I am searching for tutorials.
If, by any chance, it is easy for you to compile a file, please let me know. I guess it is a matter of a few clicks, for those who know.
Or is it possible to edit a file directly on the router?

Thank you anyway.

@ThiloteE
Copy link

Hey, I am a user too and have not compiled anything before, but I think I have found the section with guides on this at the OpenWRT page: https://openwrt.org/docs/guide-developer/start#using_the_toolchain

@dfateyev
Copy link

I have a dozen X5000R devices from Aliexpress, and experience no issues with Wifi chip detection under 21.02.3 — at least, no partition write or package re-build is required.
Although, there is an issue with the same MAC on 5GHz interfaces (see #630 and related), so for multiple devices in one environment some workaround is needed, like those mentioned in #476 — but it's a different story.

I suspect, the OP's issue is related to HW, or probably can be fixed with /etc/config/wireless adjustment, e.g.:

config wifi-device 'radio0'
	option type 'mac80211'
	option hwmode '11g'
	option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
...
config wifi-device 'radio1'
	option type 'mac80211'
	option hwmode '11a'
	option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants