1

Temat: Naprawa TP-Link Archer A7 v5

Cześć

Znajoma dzisiaj przyniosła mi router TP-Link Archer A7 v5, w którym próbowała wgrywać OpenWrt później oryginalny soft i zrobił się jej klops.
Problem jest taki, że router nie chce się uruchamiać. W ramach eksperymentu wlutowałem do płytki routera cztery PIN-y, które podłączyłem do portu COM1 na USB. PuTTY prawidłowo znalazł router i połączył się do niego, ale nic nie mogę zrobić bo PuTTY nie reaguje na ani jeden klawisz.

Gdy włączam router przyciskając guzik "Reset" to w konsoli otrzymuję takie wpisy:

flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
T Tx Timed out
T Tx Timed out
Tftp server tranfer fail!
tftpboot firmware failed, now start normally.
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
T Tx Timed out


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
T Tx Timed out
T Tx Timed out
Tftp server tranfer fail!
tftpboot firmware failed, now start normally.
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
▒▒▒T Tx Timed out
T Tx Timed out
Tftp server tranfer fail!
tftpboot firmware failed, now start normally.
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath> ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒@▒▒▒▒▒▒▒▒▒


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
T Tx Timed out
T Tx Timed out
Tftp server tranfer fail!
tftpboot firmware failed, now start normally.
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
T Tx Timed out
T Tx Timed out
Tftp server tranfer fail!
tftpboot firmware failed, now start normally.
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
T Tx Timed out
T Tx Timed out
Tftp server tranfer fail!
tftpboot firmware failed, now start normally.
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
eth0 link down
FAIL
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: Tx Timed out
T Tx Timed out
T Tx Timed out
Tftp server tranfer fail!
tftpboot firmware failed, now start normally.
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>

W oko rzuciło mi się, że router próbuje wgrać plik ArcherC7v5_tp_recovery.bin czyli do modelu C7 zamiast do modelu A7. Skąd jest zatem brany ten plik ArcherC7v5_tp_recovery.bin? I jak naprawić ten router?

Tak jak wcześniej pisałem PuTTY nie reaguje na żaden z klawiszy.

2

Odp: Naprawa TP-Link Archer A7 v5

Z tftp. Uruchom sobie serwer tftp, umiesc na na nim odpowiedni plik jaki on  chce i zobacz  co będzie. Ot zwykle rexovery jak w większości tplinkow.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Naprawa TP-Link Archer A7 v5

Wrzuciłem ten plik do folderu z tftp i połączył się z routerem a po około 40 sekundach wystąpił błąd:

Connection received from 192.168.0.86 on port 3804 [03/11 20:59:23.973]
Read request for file <ArcherC7v5_tp_recovery.bin>. Mode octet [03/11 20:59:23.973]
Using local port 56693 [03/11 20:59:23.989]
TIMEOUT waiting for Ack block #10946  [03/11 20:59:44.037]

4

Odp: Naprawa TP-Link Archer A7 v5

Pisałeś, że to jest Archer A7 v5, a nie C7 v5, więc tego ArcherC7v5_tp_recovery.bin może nie przyjmować przez TFTP.

5

Odp: Naprawa TP-Link Archer A7 v5

Tak, to jest Archer A7 v5 ale w PuTTY ciągle pisze, że to ma być plik do C7...

6 (edytowany przez Focus 2023-11-03 23:38:10)

Odp: Naprawa TP-Link Archer A7 v5

Obrazy do A7 v5 i C7 v5 mają po 9,5 MB, więc jak jesteś pewien, że to A7, a nie C7 to wgrywaj ten od A7 przez TFTP.

Edit.
Nie patrz na to co tam PuTTy teraz pokazuje, bo jak obraz został wgrany nie od tego routera to będzie pokazywał głupoty.

7

Odp: Naprawa TP-Link Archer A7 v5

Focus napisał/a:

Obrazy do A7 v5 i C7 v5 mają po 9,5 MB, więc jak jesteś pewien, że to A7, a nie C7 to wgrywaj ten od A7 przez TFTP.

Edit.
Nie patrz na to co tam PuTTy teraz pokazuje, bo jak obraz został wgrany nie od tego routera to będzie pokazywał głupoty.

Hej, dzięki za podpowiedź.
Pamiętam, że po wgraniu OpenWrt jak się chciało wgrać oryginalny soft to trzeba było wgrać obcięty plik z firmwarem oryginalnym. Czy można samemu obciąć ten plik? I w jaki sposób no i o ile bajtów?

8

Odp: Naprawa TP-Link Archer A7 v5

tgsx1 napisał/a:
Focus napisał/a:

Obrazy do A7 v5 i C7 v5 mają po 9,5 MB, więc jak jesteś pewien, że to A7, a nie C7 to wgrywaj ten od A7 przez TFTP.

Edit.
Nie patrz na to co tam PuTTy teraz pokazuje, bo jak obraz został wgrany nie od tego routera to będzie pokazywał głupoty.

Hej, dzięki za podpowiedź.
Pamiętam, że po wgraniu OpenWrt jak się chciało wgrać oryginalny soft to trzeba było wgrać obcięty plik z firmwarem oryginalnym. Czy można samemu obciąć ten plik? I w jaki sposób no i o ile bajtów?

No ale chcesz wgrać OpenWrt? Bo teraz to nie rozumiem?

9

Odp: Naprawa TP-Link Archer A7 v5

Focus napisał/a:

No ale chcesz wgrać OpenWrt? Bo teraz to nie rozumiem?

Teraz wgrałem OpenWrt i router ruszył więc nie jest uszkodzony fizycznie. A chciałbym wgrać oryginalny soft TP-Linka.

10 (edytowany przez Focus 2023-11-04 00:27:20)

Odp: Naprawa TP-Link Archer A7 v5

tgsx1 napisał/a:
Focus napisał/a:

No ale chcesz wgrać OpenWrt? Bo teraz to nie rozumiem?

Teraz wgrałem OpenWrt i router ruszył więc nie jest uszkodzony fizycznie. A chciałbym wgrać oryginalny soft TP-Linka.

Musiałbyś poczekać do rana na Cezarego jak to jest w tym przypadku.
Zazwyczaj bierzesz firmware ze strony TP-Linka i robisz tak samo jak w OpenWrt przez TFTP, czyli zmieniasz nazwę pliku itd.

Edit.
Według OpenWrt mimo, że to A7 v5 to plik do wgrania przez TFTP ma się nazywać "ArcherC7v5_tp_recovery.bin".
Link do powrotu do oryginału Archer A7(US)_V5_1.2.1 Build 20220714 https://static.tp-link.com/upload/firmw … 220714.zip

11

Odp: Naprawa TP-Link Archer A7 v5

tgsx1 napisał/a:

Wrzuciłem ten plik do folderu z tftp i połączył się z routerem a po około 40 sekundach wystąpił błąd:

Connection received from 192.168.0.86 on port 3804 [03/11 20:59:23.973]
Read request for file <ArcherC7v5_tp_recovery.bin>. Mode octet [03/11 20:59:23.973]
Using local port 56693 [03/11 20:59:23.989]
TIMEOUT waiting for Ack block #10946  [03/11 20:59:44.037]

Timeout. Masz jakiegoś antywirusa czy firewalla który blokuje tansmisję?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: Naprawa TP-Link Archer A7 v5

Cezary napisał/a:

Timeout. Masz jakiegoś antywirusa czy firewalla który blokuje tansmisję?

Raczej nic mi nie blokuje portów ponieważ przy próbie wgrania OpenWrt proces przebiegł prawidłowo. Problem pojawia się przy próbie wgrania oryginalnego firmware.

13 (edytowany przez Cezary 2023-11-04 08:10:19)

Odp: Naprawa TP-Link Archer A7 v5

Z nim się kłóć że pokazuje timeout a nie powinien. Nadal twierdzę że to problem dostępu do serwera tftp.

EDIT: jeżeli wchodzi openwrt to wgraj openwrt, uruchom, później skorzystaj z https://argsnd.github.io/tp-link-stock- … index.html skonwertuj sobie oryginalny soft i wgraj jako sysupgrade koniecznie bez zachowania konfiguracji i ew z wymuszeniem (-F)

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: Naprawa TP-Link Archer A7 v5

Cezary napisał/a:

jeżeli wchodzi openwrt to wgraj openwrt, uruchom, później skorzystaj z https://argsnd.github.io/tp-link-stock- … index.html skonwertuj sobie oryginalny soft i wgraj jako sysupgrade koniecznie bez zachowania konfiguracji i ew z wymuszeniem (-F)

Skorzystałem z tego linku, następnie przesyłam obraz przez WinSCP do routera do lokalizacji /tmp/ i wpisuję

sysupgrade --force -n /tmp/tplink.bin

i otrzymuję błędy:

Sat Oct 28 07:35:16 UTC 2023 upgrade: Image metadata not present
Image check failed but --force given - will update anyway!
Sat Oct 28 07:35:16 UTC 2023 upgrade: Commencing upgrade. Closing all shell sessions.
Failed to connect to ubus

15

Odp: Naprawa TP-Link Archer A7 v5

To normalne komunikaty są.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Naprawa TP-Link Archer A7 v5

tgsx1 napisał/a:

Skorzystałem z tego linku, następnie przesyłam obraz przez WinSCP do routera do lokalizacji /tmp/ i wpisuję

sysupgrade --force -n /tmp/tplink.bin

i otrzymuję błędy:

Sat Oct 28 07:35:16 UTC 2023 upgrade: Image metadata not present
Image check failed but --force given - will update anyway!
Sat Oct 28 07:35:16 UTC 2023 upgrade: Commencing upgrade. Closing all shell sessions.
Failed to connect to ubus

Być może próbujesz wgrać zbyt nowy soft TP-Linka.
Spróbuj jeszcze tak:  połącz router z komputerem przez switcha, wrzuć przez SCP do /tmp ten plik: https://drive.google.com/file/d/1i31BEQ … yOmad/view i w SSH wbij: mtd -r write ArcherC7v5_tp_recovery.bin
Jak i to nie zadziała, to wgraj najpierw DD-WRT i tym plikiem powyżej zrób upgrade.
A TFTPD lepiej używaj wersji 32-bitowej jak coś.

17

Odp: Naprawa TP-Link Archer A7 v5

Wstało, nie wstało? Co masz teraz na konsoli?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: Naprawa TP-Link Archer A7 v5

Cybe napisał/a:

Być może próbujesz wgrać zbyt nowy soft TP-Linka.
Spróbuj jeszcze tak:  połącz router z komputerem przez switcha, wrzuć przez SCP do /tmp ten plik: https://drive.google.com/file/d/1i31BEQ … yOmad/view i w SSH wbij: mtd -r write ArcherC7v5_tp_recovery.bin
Jak i to nie zadziała, to wgraj najpierw DD-WRT i tym plikiem powyżej zrób upgrade.
A TFTPD lepiej używaj wersji 32-bitowej jak coś.


Zrobiłem tak jak pisałeś i nadal lipa. To znaczy działa OpenWrt ale nie działa na oryginalnym sofcie i nie działa DDWrt.

Cezary napisał/a:

Wstało, nie wstało? Co masz teraz na konsoli?

Nie wstaje, w konsoli mam teraz takie wpisy:

U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
run command setenv serverip 192.168.0.66;setenv ipaddr 192.168.0.86
run command tftp 0x80060000 ArcherC7v5_tp_recovery.bin
Trying eth0
dup 1 speed 1000
Using eth0 device
TFTP from server 192.168.0.66; our IP address is 192.168.0.86
Download Filename 'ArcherC7v5_tp_recovery.bin'.
Download to address: 0x80060000
Loading: checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
checksum bad
T ################################
done
Bytes transferred = 15568476 (ed8e5c hex)
Firmware downloaded... filesize = 0xed8e5c fileaddr = 0x80060000.
Firmware Recovery file length : 15568476

Firmware process id 2.

handle_fw_cloud 138

Image verify OK!

Firmware file Verify ok!

[Error]sysmgr_proinfo_buildStruct():  659 @ unknown id(device_name), skip it.

[Error]sysmgr_proinfo_buildStruct():  659 @ unknown id(country), skip it.

[Error]sysmgr_proinfo_buildStruct():  659 @ unknown id(hw_ver), skip it.

Firmware supports, check OK.

(curFw_ver, newFw_ver) == (7.0, 1.0)

[NM_Error](nm_checkSoftVer) 00962: Firmwave not supports, check failed.

[NM_Error](nm_checkUpdateContent) 01219: the firmware software version dismatched

[NM_Error](nm_buildUpgradeStruct) 01314: checkUpdateContent failed.

recovery failed.
now restart...

U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
   Image Name:   MIPS OpenWrt Linux-5.15.134
   Created:      2023-10-28   7:19:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2328797 Bytes =  2.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f040040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 5.15.134 (cezary@eko.one.pl) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23004-7f0db09513) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Sat Oct 28 07:19:46 2023
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer A7 v5
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120880K/131072K available (6077K kernel code, 591K rwdata, 780K rodata, 1184K init, 217K bss, 10192K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000001] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008289] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.074816] pid_max: default: 32768 minimum: 301
[    0.080514] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.088253] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.103096] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113511] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.120860] pinctrl core: initialized pinctrl subsystem
[    0.128045] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.134870] thermal_sys: Registered thermal governor 'step_wise'
[    0.147229] clocksource: Switched to clocksource MIPS
[    0.160244] NET: Registered PF_INET protocol family
[    0.165624] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.174173] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.183051] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.191242] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.199342] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.206781] TCP: Hash tables configured (established 1024 bind 1024)
[    0.213635] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.220587] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.228346] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.234353] PCI: CLS 0 bytes, default 32
[    0.241823] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.253408] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.259631] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.271301] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.282731] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.289454] gpio-export gpio-export: 1 gpio(s) exported
[    0.295957] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.305224] printk: console [ttyS0] disabled
[    0.309844] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.318966] printk: console [ttyS0] enabled
[    0.318966] printk: console [ttyS0] enabled
[    0.328033] printk: bootconsole [early0] disabled
[    0.328033] printk: bootconsole [early0] disabled
[    0.356707] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.361812] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.368449] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.375313] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.382483] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.389390] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.396691] Creating 7 MTD partitions on "spi0.0":
[    0.401707] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.412367] 0x000000020000-0x000000040000 : "u-boot"
[    0.418539] 0x000000040000-0x000000f00000 : "firmware"
[    0.426449] 2 uimage-fw partitions found on MTD device firmware
[    0.432635] Creating 2 MTD partitions on "firmware":
[    0.437783] 0x000000000000-0x000000240000 : "kernel"
[    0.444681] 0x000000240000-0x000000ec0000 : "rootfs"
[    0.450801] mtd: setting mtd4 (rootfs) as root device
[    0.456885] 1 squashfs-split partitions found on MTD device rootfs
[    0.463357] 0x000000990000-0x000000ec0000 : "rootfs_data"
[    0.470733] 0x000000f40000-0x000000f60000 : "info"
[    0.476753] 0x000000f60000-0x000000fb0000 : "config"
[    0.484378] 0x000000fc0000-0x000000fd0000 : "partition-table"
[    0.491411] 0x000000ff0000-0x000001000000 : "art"
[    1.231333] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.888872] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.900210] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.907120] i2c_dev: i2c /dev entries driver
[    1.914778] NET: Registered PF_INET6 protocol family
[    1.932650] Segment Routing with IPv6
[    1.936519] In-situ OAM (IOAM) with IPv6
[    1.940773] NET: Registered PF_PACKET protocol family
[    1.946099] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.959813] 8021q: 802.1Q VLAN Support v1.8
[    1.965385] PCI host bridge to bus 0000:00
[    1.969682] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.976788] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.982553] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.990787] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    1.997024] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    2.004097] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.011109] pci 0000:00:00.0: supports D1 D2
[    2.016507] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    2.023397] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    2.030983] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    2.050328] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.064002] Freeing unused kernel image (initmem) memory: 1184K
[    2.070159] This architecture does not have kernel memory protection.
[    2.076820] Run /sbin/init as init process
[    2.784192] init: Console is alive
[    2.788285] init: - watchdog -
[    5.617898] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.683661] usbcore: registered new interface driver usbfs
[    5.689510] usbcore: registered new interface driver hub
[    5.695091] usbcore: registered new device driver usb
[    5.763308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.780891] SCSI subsystem initialized
[    5.790648] fsl-ehci: Freescale EHCI Host controller driver
[    5.799450] ehci-platform: EHCI generic platform driver
[    5.805193] ehci-platform 1b000000.usb: EHCI Host Controller
[    5.811126] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    5.819405] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[    5.847247] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    5.854550] hub 1-0:1.0: USB hub found
[    5.859254] hub 1-0:1.0: 1 port detected
[    5.872646] usbcore: registered new interface driver usb-storage
[    5.881637] usbcore: registered new interface driver uas
[    5.888489] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.906463] init: - preinit -
[    7.560027] random: jshn: uninitialized urandom read (4 bytes read)
[    8.011084] random: jshn: uninitialized urandom read (4 bytes read)
[    8.282565] random: jshn: uninitialized urandom read (4 bytes read)
[    8.710442] random: jshn: uninitialized urandom read (4 bytes read)
[    9.775052] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    9.867309] eth0: link up (1000Mbps/Full duplex)
[    9.872129] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.901619] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    9.927646] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   12.162562] mount_root: loading kmods from internal overlay
[   12.224044] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.237294] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   13.426194] jffs2: notice: (479) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (6 unchecked, 3 orphan) and 15 of xref (3 dead, 0 orphan) found.
[   13.443084] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.456179] block: extroot: not configured
[   13.535064] jffs2: notice: (477) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (6 unchecked, 3 orphan) and 15 of xref (3 dead, 0 orphan) found.
[   13.552989] mount_root: loading kmods from internal overlay
[   13.606671] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   13.618087] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   14.486717] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.502772] block: extroot: not configured
[   14.508710] mount_root: switching to jffs2 overlay
[   14.516172] overlayfs: upper fs does not support tmpfile.
[   14.528382] urandom-seed: Seeding with /etc/urandom.seed
[   14.618962] eth0: link down
[   14.642173] procd: - early -
[   14.645463] procd: - watchdog -
[   15.459928] procd: - watchdog -
[   15.463695] procd: - ubus -
[   15.695384] random: jshn: uninitialized urandom read (4 bytes read)
[   15.711433] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.724237] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.811306] procd: - init -
Please press Enter to activate this console.
[   17.164283] random: jshn: uninitialized urandom read (4 bytes read)
[   17.196659] random: ubusd: uninitialized urandom read (4 bytes read)
[   18.209430] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.967497] tun: Universal TUN/TAP device driver, 1.6
[   19.038508] ksmbd: The ksmbd server is experimental, use at your own risk.
[   19.107483] ntfs3: Max link count 4000
[   19.111374] ntfs3: Enabled Linux POSIX ACLs support
[   19.163906] usbcore: registered new interface driver cdc_acm
[   19.169811] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.219837] usbcore: registered new interface driver cdc_wdm
[   19.258197] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   19.265943] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   19.376547] usbcore: registered new interface driver usblp
[   19.420945] usbcore: registered new interface driver usbserial_generic
[   19.427834] usbserial: USB Serial support registered for generic
[   19.473116] usbcore: registered new interface driver cdc_ether
[   19.509655] usbcore: registered new interface driver cdc_ncm
[   19.582355] usbcore: registered new interface driver huawei_cdc_ncm
[   20.483502] PPP generic driver version 2.4.2
[   20.499134] NET: Registered PF_PPPOX protocol family
[   20.539734] usbcore: registered new interface driver qmi_wwan
[   20.579436] usbcore: registered new interface driver rndis_host
[   20.609279] usbcore: registered new interface driver sierra
[   20.615118] usbserial: USB Serial support registered for Sierra USB modem
[   20.675641] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   20.683783] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   20.890450] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[   20.938464] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   20.945096] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   21.298715] urngd: v1.0.2 started.
[   22.992322] random: crng init done
[   22.995856] random: 37 urandom warning(s) missed due to ratelimiting
[   34.394434] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   34.404031] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   34.415979] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   34.531613] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   35.286722] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   36.280070] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   36.296902] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   36.303406] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   36.311726] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   36.361828] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   36.374802] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   36.569468] usbcore: registered new interface driver cdc_mbim
[   36.626880] usbcore: registered new interface driver option
[   36.632776] usbserial: USB Serial support registered for GSM modem (1-port)
[   36.683672] usbcore: registered new interface driver qcserial
[   36.689752] usbserial: USB Serial support registered for Qualcomm USB modem
[   36.747735] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   36.786536] kmodloader: done loading kernel modules from /etc/modules.d/*
[   63.309278] eth0: link up (1000Mbps/Full duplex)
[   63.314101] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   63.337718] br-lan: port 1(eth0.1) entered blocking state
[   63.343319] br-lan: port 1(eth0.1) entered disabled state
[   63.349229] device eth0.1 entered promiscuous mode
[   63.354187] device eth0 entered promiscuous mode
[   63.408235] br-lan: port 1(eth0.1) entered blocking state
[   63.413836] br-lan: port 1(eth0.1) entered forwarding state
[   64.337582] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   64.345329] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is down
[   65.098582] ksmbd: The ksmbd server is experimental, use at your own risk.
[   67.457815] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[  305.234400] reboot: Restarting system


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
   Image Name:   MIPS OpenWrt Linux-5.15.134
   Created:      2023-10-28   7:19:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2328797 Bytes =  2.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f040040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 5.15.134 (cezary@eko.one.pl) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23004-7f0db09513) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Sat Oct 28 07:19:46 2023
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer A7 v5
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120880K/131072K available (6077K kernel code, 591K rwdata, 780K rodata, 1184K init, 217K bss, 10192K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000001] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008288] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.074816] pid_max: default: 32768 minimum: 301
[    0.080516] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.088251] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.103067] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113486] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.120836] pinctrl core: initialized pinctrl subsystem
[    0.128022] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.134850] thermal_sys: Registered thermal governor 'step_wise'
[    0.147098] clocksource: Switched to clocksource MIPS
[    0.160114] NET: Registered PF_INET protocol family
[    0.165495] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.174051] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.182935] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.191124] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.199215] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.206657] TCP: Hash tables configured (established 1024 bind 1024)
[    0.213512] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.220471] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.228228] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.234236] PCI: CLS 0 bytes, default 32
[    0.241703] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.253272] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.259489] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.271162] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.282583] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.289312] gpio-export gpio-export: 1 gpio(s) exported
[    0.295826] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.305054] printk: console [ttyS0] disabled
[    0.309676] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.318800] printk: console [ttyS0] enabled
[    0.318800] printk: console [ttyS0] enabled
[    0.327867] printk: bootconsole [early0] disabled
[    0.327867] printk: bootconsole [early0] disabled
[    0.356704] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.361807] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.368442] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.375307] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.382474] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.389375] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.396677] Creating 7 MTD partitions on "spi0.0":
[    0.401695] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.412352] 0x000000020000-0x000000040000 : "u-boot"
[    0.418526] 0x000000040000-0x000000f00000 : "firmware"
[    0.426432] 2 uimage-fw partitions found on MTD device firmware
[    0.432621] Creating 2 MTD partitions on "firmware":
[    0.437769] 0x000000000000-0x000000240000 : "kernel"
[    0.444664] 0x000000240000-0x000000ec0000 : "rootfs"
[    0.450783] mtd: setting mtd4 (rootfs) as root device
[    0.456869] 1 squashfs-split partitions found on MTD device rootfs
[    0.463334] 0x000000990000-0x000000ec0000 : "rootfs_data"
[    0.470696] 0x000000f40000-0x000000f60000 : "info"
[    0.476708] 0x000000f60000-0x000000fb0000 : "config"
[    0.484331] 0x000000fc0000-0x000000fd0000 : "partition-table"
[    0.491363] 0x000000ff0000-0x000001000000 : "art"
[    1.231210] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.888743] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.900074] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.906984] i2c_dev: i2c /dev entries driver
[    1.914654] NET: Registered PF_INET6 protocol family
[    1.932584] Segment Routing with IPv6
[    1.936452] In-situ OAM (IOAM) with IPv6
[    1.940702] NET: Registered PF_PACKET protocol family
[    1.946030] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.959744] 8021q: 802.1Q VLAN Support v1.8
[    1.965270] PCI host bridge to bus 0000:00
[    1.969569] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.976676] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.982440] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.990673] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    1.996913] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    2.003983] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.010986] pci 0000:00:00.0: supports D1 D2
[    2.016383] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    2.023276] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    2.030863] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    2.050188] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.063862] Freeing unused kernel image (initmem) memory: 1184K
[    2.070021] This architecture does not have kernel memory protection.
[    2.076680] Run /sbin/init as init process
[    2.784148] init: Console is alive
[    2.788241] init: - watchdog -
[    5.618081] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.683534] usbcore: registered new interface driver usbfs
[    5.689390] usbcore: registered new interface driver hub
[    5.694972] usbcore: registered new device driver usb
[    5.763827] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.781504] SCSI subsystem initialized
[    5.791234] fsl-ehci: Freescale EHCI Host controller driver
[    5.799998] ehci-platform: EHCI generic platform driver
[    5.805740] ehci-platform 1b000000.usb: EHCI Host Controller
[    5.811665] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    5.819945] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[    5.847117] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    5.854409] hub 1-0:1.0: USB hub found
[    5.859107] hub 1-0:1.0: 1 port detected
[    5.872499] usbcore: registered new interface driver usb-storage
[    5.881517] usbcore: registered new interface driver uas
[    5.888381] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.906349] init: - preinit -
[    7.561536] random: jshn: uninitialized urandom read (4 bytes read)
[    8.011032] random: jshn: uninitialized urandom read (4 bytes read)
[    8.283256] random: jshn: uninitialized urandom read (4 bytes read)
[    8.722878] random: jshn: uninitialized urandom read (4 bytes read)
[    9.784913] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    9.877167] eth0: link up (1000Mbps/Full duplex)
[    9.881990] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.910714] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    9.937508] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   12.166587] mount_root: loading kmods from internal overlay
[   12.228062] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.241244] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   13.429915] jffs2: notice: (479) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (6 unchecked, 4 orphan) and 18 of xref (4 dead, 0 orphan) found.
[   13.446777] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.460420] block: extroot: not configured
[   13.535161] jffs2: notice: (477) jffs2_build_xattr_subsystem: complete building xattr subsystem, 15 of xdatum (6 unchecked, 4 orphan) and 18 of xref (4 dead, 0 orphan) found.
[   13.558035] mount_root: loading kmods from internal overlay
[   13.613893] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   13.624382] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   14.494896] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.505996] block: extroot: not configured
[   14.511962] mount_root: switching to jffs2 overlay
[   14.520476] overlayfs: upper fs does not support tmpfile.
[   14.532322] urandom-seed: Seeding with /etc/urandom.seed
[   14.628148] eth0: link down
[   14.651327] procd: - early -
[   14.654632] procd: - watchdog -
[   15.469145] procd: - watchdog -
[   15.488134] procd: - ubus -
[   15.705313] random: jshn: uninitialized urandom read (4 bytes read)
[   15.712046] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.721597] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.821708] procd: - init -
Please press Enter to activate this console.
[   17.112900] random: jshn: uninitialized urandom read (4 bytes read)
[   17.136483] random: ubusd: uninitialized urandom read (4 bytes read)
[   18.171591] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.911988] tun: Universal TUN/TAP device driver, 1.6
[   18.997424] ksmbd: The ksmbd server is experimental, use at your own risk.
[   19.057389] ntfs3: Max link count 4000
[   19.061282] ntfs3: Enabled Linux POSIX ACLs support
[   19.123763] usbcore: registered new interface driver cdc_acm
[   19.129665] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.188688] usbcore: registered new interface driver cdc_wdm
[   19.228280] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   19.236030] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   19.349068] usbcore: registered new interface driver usblp
[   19.380523] usbcore: registered new interface driver usbserial_generic
[   19.387407] usbserial: USB Serial support registered for generic
[   19.424919] usbcore: registered new interface driver cdc_ether
[   19.459526] usbcore: registered new interface driver cdc_ncm
[   19.540244] usbcore: registered new interface driver huawei_cdc_ncm
[   20.444370] PPP generic driver version 2.4.2
[   20.478301] NET: Registered PF_PPPOX protocol family
[   20.519597] usbcore: registered new interface driver qmi_wwan
[   20.559337] usbcore: registered new interface driver rndis_host
[   20.574471] usbcore: registered new interface driver sierra
[   20.580389] usbserial: USB Serial support registered for Sierra USB modem
[   20.661412] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   20.669571] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   20.870293] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[   20.918303] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   20.924949] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   21.165824] urngd: v1.0.2 started.
[   22.961011] random: crng init done
[   22.964544] random: 37 urandom warning(s) missed due to ratelimiting
[   34.411172] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   34.420779] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   34.432736] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
   Image Name:   MIPS OpenWrt Linux-5.15.134
   Created:      2023-10-28   7:19:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2328797 Bytes =  2.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f040040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 5.15.134 (cezary@eko.one.pl) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23004-7f0db09513) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Sat Oct 28 07:19:46 2023
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer A7 v5
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120880K/131072K available (6077K kernel code, 591K rwdata, 780K rodata, 1184K init, 217K bss, 10192K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000001] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008288] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.074816] pid_max: default: 32768 minimum: 301
[    0.080515] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.088252] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.103094] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113511] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.120860] pinctrl core: initialized pinctrl subsystem
[    0.128050] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.134883] thermal_sys: Registered thermal governor 'step_wise'
[    0.147148] clocksource: Switched to clocksource MIPS
[    0.160164] NET: Registered PF_INET protocol family
[    0.165541] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.174097] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.182975] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.191167] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.199268] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.206706] TCP: Hash tables configured (established 1024 bind 1024)
[    0.213560] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.220514] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.228272] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.234278] PCI: CLS 0 bytes, default 32
[    0.241735] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.253304] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.259522] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.271200] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.282645] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.289367] gpio-export gpio-export: 1 gpio(s) exported
[    0.295881] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.305139] printk: console [ttyS0] disabled
[    0.309760] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.318883] printk: console [ttyS0] enabled
[    0.318883] printk: console [ttyS0] enabled
[    0.327951] printk: bootconsole [early0] disabled
[    0.327951] printk: bootconsole [early0] disabled
[    0.356761] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.361863] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.368499] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.375363] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.382534] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.389441] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.396745] Creating 7 MTD partitions on "spi0.0":
[    0.401769] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.412406] 0x000000020000-0x000000040000 : "u-boot"
[    0.418577] 0x000000040000-0x000000f00000 : "firmware"
[    0.426496] 2 uimage-fw partitions found on MTD device firmware
[    0.432687] Creating 2 MTD partitions on "firmware":
[    0.437836] 0x000000000000-0x000000240000 : "kernel"
[    0.444758] 0x000000240000-0x000000ec0000 : "rootfs"
[    0.450871] mtd: setting mtd4 (rootfs) as root device
[    0.456948] 1 squashfs-split partitions found on MTD device rootfs
[    0.463417] 0x000000990000-0x000000ec0000 : "rootfs_data"
[    0.470807] 0x000000f40000-0x000000f60000 : "info"
[    0.476825] 0x000000f60000-0x000000fb0000 : "config"
[    0.484428] 0x000000fc0000-0x000000fd0000 : "partition-table"
[    0.491477] 0x000000ff0000-0x000001000000 : "art"
[    1.231255] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.888793] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.900117] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.907029] i2c_dev: i2c /dev entries driver
[    1.914695] NET: Registered PF_INET6 protocol family
[    1.932568] Segment Routing with IPv6
[    1.936437] In-situ OAM (IOAM) with IPv6
[    1.940689] NET: Registered PF_PACKET protocol family
[    1.946015] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.959733] 8021q: 802.1Q VLAN Support v1.8
[    1.965284] PCI host bridge to bus 0000:00
[    1.969580] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.976688] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.982451] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.990683] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    1.996922] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    2.003995] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.010997] pci 0000:00:00.0: supports D1 D2
[    2.016392] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    2.023285] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    2.030874] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    2.050169] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.063848] Freeing unused kernel image (initmem) memory: 1184K
[    2.070004] This architecture does not have kernel memory protection.
[    2.076664] Run /sbin/init as init process
[    2.784322] init: Console is alive
[    2.788418] init: - watchdog -
[    5.617983] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.683820] usbcore: registered new interface driver usbfs
[    5.689668] usbcore: registered new interface driver hub
[    5.695248] usbcore: registered new device driver usb
[    5.763413] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.781032] SCSI subsystem initialized
[    5.790798] fsl-ehci: Freescale EHCI Host controller driver
[    5.799583] ehci-platform: EHCI generic platform driver
[    5.805321] ehci-platform 1b000000.usb: EHCI Host Controller
[    5.811248] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    5.819528] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[    5.847165] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    5.854451] hub 1-0:1.0: USB hub found
[    5.859157] hub 1-0:1.0: 1 port detected
[    5.872558] usbcore: registered new interface driver usb-storage
[    5.881552] usbcore: registered new interface driver uas
[    5.888413] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.906391] init: - preinit -
[    7.562134] random: jshn: uninitialized urandom read (4 bytes read)
[    8.011474] random: jshn: uninitialized urandom read (4 bytes read)
[    8.283663] random: jshn: uninitialized urandom read (4 bytes read)
[    8.723356] random: jshn: uninitialized urandom read (4 bytes read)
[    9.785118] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
[    9.877238] eth0: link up (1000Mbps/Full duplex)
[    9.882063] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.911021] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    9.937599] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   12.167530] mount_root: loading kmods from internal overlay
[   12.229106] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.242279] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   13.452768] block: attempting to load /etc/config/fstab
[   13.469085] block: unable to load configuration (fstab: Entry not found)
[   13.476330] block: no usable configuration
[   13.481614] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   13.496288] urandom-seed: Seed file not found (/etc/urandom.seed)
[   13.585662] eth0: link down
[   13.609030] procd: - early -
[   13.612323] procd: - watchdog -
[   14.430611] procd: - watchdog -
[   14.434387] procd: - ubus -
[   14.638126] random: jshn: uninitialized urandom read (4 bytes read)
[   14.645236] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.672966] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.766045] procd: - init -
Please press Enter to activate this console.
[   16.042970] random: jshn: uninitialized urandom read (4 bytes read)
[   16.066516] random: ubusd: uninitialized urandom read (4 bytes read)
[   17.074096] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.830228] tun: Universal TUN/TAP device driver, 1.6
[   17.897482] ksmbd: The ksmbd server is experimental, use at your own risk.
[   17.957466] ntfs3: Max link count 4000
[   17.961355] ntfs3: Enabled Linux POSIX ACLs support
[   18.028644] usbcore: registered new interface driver cdc_acm
[   18.034506] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   18.083025] usbcore: registered new interface driver cdc_wdm
[   18.118310] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   18.126058] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   18.233317] usbcore: registered new interface driver usblp
[   18.274117] usbcore: registered new interface driver usbserial_generic
[   18.281020] usbserial: USB Serial support registered for generic
[   18.318889] usbcore: registered new interface driver cdc_ether
[   18.349531] usbcore: registered new interface driver cdc_ncm
[   18.426524] usbcore: registered new interface driver huawei_cdc_ncm
[   19.304056] PPP generic driver version 2.4.2
[   19.348334] NET: Registered PF_PPPOX protocol family
[   19.356531] usbcore: registered new interface driver qmi_wwan
[   19.399434] usbcore: registered new interface driver rndis_host
[   19.435129] usbcore: registered new interface driver sierra
[   19.441042] usbserial: USB Serial support registered for Sierra USB modem
[   19.513907] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   19.522053] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   19.710433] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[   19.768094] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   19.774754] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   20.057654] urngd: v1.0.2 started.
[   21.802698] random: crng init done
[   21.806234] random: 37 urandom warning(s) missed due to ratelimiting
[   24.938628] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   24.948212] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   24.960182] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   25.067674] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   25.823359] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   26.815079] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   26.831894] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   26.838384] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   26.846669] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   26.896773] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   26.909730] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   27.119887] usbcore: registered new interface driver cdc_mbim
[   27.215441] usbcore: registered new interface driver option
[   27.221342] usbserial: USB Serial support registered for GSM modem (1-port)
[   27.235846] usbcore: registered new interface driver qcserial
[   27.241937] usbserial: USB Serial support registered for Qualcomm USB modem
[   27.304176] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   27.364950] kmodloader: done loading kernel modules from /etc/modules.d/*
[   77.949160] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   77.956294] jffs2_build_filesystem(): unlocking the mtd device...
[   77.956301] done.
[   77.964707] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   78.692182] eth0: link up (1000Mbps/Full duplex)
[   78.722183] br-lan: port 1(eth0.1) entered blocking state
[   78.727847] br-lan: port 1(eth0.1) entered disabled state
[   78.733694] device eth0.1 entered promiscuous mode
[   78.738698] device eth0 entered promiscuous mode
[   78.767981] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   78.814599] br-lan: port 1(eth0.1) entered blocking state
[   78.820248] br-lan: port 1(eth0.1) entered forwarding state
[   79.699646] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  104.596098] done.
[  104.598144] jffs2: notice: (3223) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  104.961659] overlayfs: upper fs does not support tmpfile.
[  106.055684] ksmbd: The ksmbd server is experimental, use at your own risk.
[  106.898164] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is down
[  108.977635] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up
Watchdog handover: fd=3
- watchdog -
Watchdog did not previously reset the system
Sat Oct 28 10:18:59 CEST 2023 upgrade: Sending TERM to remaining processes ...
Sat Oct 28 10:19:03 CEST 2023 upgrade: Sending KILL to remaining processes ...
[ 3579.321200] stage2 (4916): drop_caches: 3
Sat Oct 28 10:19:09 CEST 2023 upgrade: Switching to ramdisk...
mount: mounting /dev/mtdblock5 on /overlay failed: Resource busy
[ 3583.773254] VFS: Busy inodes after unmount of jffs2. Self-destruct in 5 seconds.  Have a nice day...
Sat Oct 28 08:19:14 UTC 2023 upgrade: Performing system upgrade...
[ 3583.864081] do_stage2 (4916): drop_caches: 3
Unlocking firmware ...

Writing from <stdin> to firmware ...  [w][ 3588.337190] ksmbd: No IPC daemon response for 20s                                                                [w][ 3638.817862] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is down        [w][ 3642.977547] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up          [e]

U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
Bad Magic Number
ath>

Tak jak wcześniej pisałem, router wstaje tylko na OpenWrt.

19

Odp: Naprawa TP-Link Archer A7 v5

Nawet napisał dlaczego:

(curFw_ver, newFw_ver) == (7.0, 1.0)

[NM_Error](nm_checkSoftVer) 00962: Firmwave not supports, check failed.

[NM_Error](nm_checkUpdateContent) 01219: the firmware software version dismatched

[NM_Error](nm_buildUpgradeStruct) 01314: checkUpdateContent failed.

Nowy firmware ma wersję 1.0 i mu to nie pasuje.

Ale nie miałeś tak robić. Miałeś wgrać soft przez sysupgrade po konwersji a nie po tftp. Wtedy pokaż co wpisuje na konsoli.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

20

Odp: Naprawa TP-Link Archer A7 v5

Cezary napisał/a:

Ale nie miałeś tak robić. Miałeś wgrać soft przez sysupgrade po konwersji a nie po tftp. Wtedy pokaż co wpisuje na konsoli.

A więc zrobiłem tak:

1. Przez WinSCP przesłałem do routera do katalogu /tmp/ skonwertowany plik oryginalnego softu za pomocą linku: https://argsnd.github.io/tp-link-stock- … index.html
2. Zalogowałem się przez PuTTY do routera i wykonałem polecenie:

sysupgrade -F -n sysupgrade.bin

po czym PuTTY wyświetliło mi takie komunikaty:

Sun Nov  5 08:44:12 UTC 2023 upgrade: Image metadata not present
Image check failed but --force given - will update anyway!
Sun Nov  5 08:44:12 UTC 2023 upgrade: Commencing upgrade. Closing all shell sessions.
Failed to connect to ubus

3. Wykonałem reboot routera i nadal siedzi tam OpenWrt z zachowaną konfiguracją więc sysupgrade nic nie zmienił. Ponowne uruchomienie routera wygenerowało takie wpisy w PuTTY:

U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:47:06)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 408k for U-Boot at: 87f98000
Reserving 16448k for malloc() at: 86f88000
Reserving 44 Bytes for Board Info at: 86f87fd4
Reserving 36 Bytes for Global Data at: 86f87fb0
Reserving 128k for boot params() at: 86f67fb0
Stack Pointer at: 86f67f98
Now running in RAM - U-Boot at: 87f98000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
factory boot check integer ok.

factory boot load fs uboot len 131072 to addr 0x80010000.
Hit any key to stop autoboot:  0
## Starting application at 0x80010000 ...


U-Boot 1.1.4-gcdf6499e-dirty (May 11 2019 - 14:41:00)

ap152 - Dragonfly 1.0

DRAM:  128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 125k for U-Boot at: 87fe0000
Reserving 16448k for malloc() at: 86fd0000
Reserving 44 Bytes for Board Info at: 86fcffd4
Reserving 36 Bytes for Global Data at: 86fcffb0
Reserving 128k for boot params() at: 86faffb0
Stack Pointer at: 86faff98
Now running in RAM - U-Boot at: 87fe0000
Flash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ath_gmac_enet_initialize...
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
athr_mgmt_init ::done
Dragonfly  ----> S17 PHY *
athrs17_reg_init: complete
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x80000000 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
eth0 up
eth0
Setting 0x181162c0 to 0x40802100
Hit any key to stop autoboot:  0
## Booting image at 9f040000 ...
   Image Name:   MIPS OpenWrt Linux-5.15.134
   Created:      2023-10-28   7:19:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2328797 Bytes =  2.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum at 0x9f040040 ...OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 134217728

Starting kernel ...

[    0.000000] Linux version 5.15.134 (cezary@eko.one.pl) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23004-7f0db09513) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Sat Oct 28 07:19:46 2023
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019750 (MIPS 74Kc)
[    0.000000] MIPS: machine is TP-Link Archer A7 v5
[    0.000000] SoC: Qualcomm Atheros QCA956X ver 1 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 120880K/131072K available (6077K kernel code, 591K rwdata, 780K rodata, 1184K init, 217K bss, 10192K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 775.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 4932285024 ns
[    0.000001] sched_clock: 32 bits at 387MHz, resolution 2ns, wraps every 5541893118ns
[    0.008288] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.074816] pid_max: default: 32768 minimum: 301
[    0.080513] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.088253] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.103092] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.113511] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.120862] pinctrl core: initialized pinctrl subsystem
[    0.128045] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.134861] thermal_sys: Registered thermal governor 'step_wise'
[    0.147120] clocksource: Switched to clocksource MIPS
[    0.160136] NET: Registered PF_INET protocol family
[    0.165514] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.174070] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.182950] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.191142] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.199242] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.206681] TCP: Hash tables configured (established 1024 bind 1024)
[    0.213537] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.220497] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.228254] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.234262] PCI: CLS 0 bytes, default 32
[    0.241720] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.253287] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.259505] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.271179] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.282612] pinctrl-single 1804002c.pinmux: 544 pins, size 68
[    0.289326] gpio-export gpio-export: 1 gpio(s) exported
[    0.295833] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.305078] printk: console [ttyS0] disabled
[    0.309703] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.318824] printk: console [ttyS0] enabled
[    0.318824] printk: console [ttyS0] enabled
[    0.327892] printk: bootconsole [early0] disabled
[    0.327892] printk: bootconsole [early0] disabled
[    0.356671] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.361777] 7 fixed-partitions partitions found on MTD device spi0.0
[    0.368416] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.375279] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.382446] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.389356] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.396660] Creating 7 MTD partitions on "spi0.0":
[    0.401683] 0x000000000000-0x000000020000 : "factory-uboot"
[    0.412285] 0x000000020000-0x000000040000 : "u-boot"
[    0.418454] 0x000000040000-0x000000f00000 : "firmware"
[    0.426349] 2 uimage-fw partitions found on MTD device firmware
[    0.432539] Creating 2 MTD partitions on "firmware":
[    0.437688] 0x000000000000-0x000000240000 : "kernel"
[    0.444590] 0x000000240000-0x000000ec0000 : "rootfs"
[    0.450703] mtd: setting mtd4 (rootfs) as root device
[    0.456777] 1 squashfs-split partitions found on MTD device rootfs
[    0.463242] 0x000000990000-0x000000ec0000 : "rootfs_data"
[    0.470624] 0x000000f40000-0x000000f60000 : "info"
[    0.476643] 0x000000f60000-0x000000fb0000 : "config"
[    0.484253] 0x000000fc0000-0x000000fd0000 : "partition-table"
[    0.491296] 0x000000ff0000-0x000001000000 : "art"
[    1.231234] switch0: Atheros AR8337 rev. 2 switch registered on mdio.0
[    1.888763] ag71xx 19000000.eth: connected to PHY at mdio.0:00 [uid=004dd036, driver=Atheros AR8216/AR8236/AR8316]
[    1.900093] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: sgmii
[    1.906993] i2c_dev: i2c /dev entries driver
[    1.914667] NET: Registered PF_INET6 protocol family
[    1.932551] Segment Routing with IPv6
[    1.936423] In-situ OAM (IOAM) with IPv6
[    1.940674] NET: Registered PF_PACKET protocol family
[    1.945998] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.959707] 8021q: 802.1Q VLAN Support v1.8
[    1.965326] PCI host bridge to bus 0000:00
[    1.969621] pci_bus 0000:00: root bus resource [mem 0x12000000-0x13ffffff]
[    1.976729] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.982491] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.990723] pci 0000:00:00.0: [168c:003c] type 00 class 0x028000
[    1.996964] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    2.004035] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[    2.011037] pci 0000:00:00.0: supports D1 D2
[    2.016435] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    2.023327] pci 0000:00:00.0: BAR 0: assigned [mem 0x12000000-0x121fffff 64bit]
[    2.030914] pci 0000:00:00.0: BAR 6: assigned [mem 0x12200000-0x1220ffff pref]
[    2.050211] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.063887] Freeing unused kernel image (initmem) memory: 1184K
[    2.070045] This architecture does not have kernel memory protection.
[    2.076706] Run /sbin/init as init process
[    2.784277] init: Console is alive
[    2.788366] init: - watchdog -
[    5.618043] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.683722] usbcore: registered new interface driver usbfs
[    5.689575] usbcore: registered new interface driver hub
[    5.695152] usbcore: registered new device driver usb
[    5.763345] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.780937] SCSI subsystem initialized
[    5.790699] fsl-ehci: Freescale EHCI Host controller driver
[    5.799514] ehci-platform: EHCI generic platform driver
[    5.805258] ehci-platform 1b000000.usb: EHCI Host Controller
[    5.811191] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[    5.819470] ehci-platform 1b000000.usb: irq 13, io mem 0x1b000000
[    5.847139] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[    5.854430] hub 1-0:1.0: USB hub found
[    5.859124] hub 1-0:1.0: 1 port detected
[    5.872535] usbcore: registered new interface driver usb-storage
[    5.881546] usbcore: registered new interface driver uas
[    5.888381] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.906355] init: - preinit -
[    7.561413] random: jshn: uninitialized urandom read (4 bytes read)
[    8.010591] random: jshn: uninitialized urandom read (4 bytes read)
[    8.282749] random: jshn: uninitialized urandom read (4 bytes read)
[    8.711581] random: jshn: uninitialized urandom read (4 bytes read)
[    9.775016] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 1 is up
[    9.867177] eth0: link up (1000Mbps/Full duplex)
[    9.871996] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.901263] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[    9.927597] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[   12.149552] mount_root: loading kmods from internal overlay
[   12.211121] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.224295] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   13.409623] jffs2: notice: (479) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (6 unchecked, 1 orphan) and 15 of xref (1 dead, 0 orphan) found.
[   13.426506] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.440306] block: extroot: not configured
[   13.512780] jffs2: notice: (477) jffs2_build_xattr_subsystem: complete building xattr subsystem, 12 of xdatum (6 unchecked, 1 orphan) and 15 of xref (1 dead, 0 orphan) found.
[   13.535579] mount_root: loading kmods from internal overlay
[   13.591533] kmodloader: loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   13.601887] kmodloader: done loading kernel modules from /tmp/overlay/upper/etc/modules-boot.d/*
[   14.470551] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   14.481747] block: extroot: not configured
[   14.487713] mount_root: switching to jffs2 overlay
[   14.499134] overlayfs: upper fs does not support tmpfile.
[   14.511605] urandom-seed: Seeding with /etc/urandom.seed
[   14.607583] eth0: link down
[   14.630764] procd: - early -
[   14.634064] procd: - watchdog -
[   15.458015] procd: - watchdog -
[   15.468406] procd: - ubus -
[   15.621522] random: jshn: uninitialized urandom read (4 bytes read)
[   15.778435] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.788009] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.806622] procd: - init -
Please press Enter to activate this console.
[   16.646475] random: usbmode: uninitialized urandom read (4 bytes read)
[   17.158648] random: jshn: uninitialized urandom read (4 bytes read)
[   18.152519] kmodloader: loading kernel modules from /etc/modules.d/*
[   18.902597] tun: Universal TUN/TAP device driver, 1.6
[   18.988337] ksmbd: The ksmbd server is experimental, use at your own risk.
[   19.047394] ntfs3: Max link count 4000
[   19.051290] ntfs3: Enabled Linux POSIX ACLs support
[   19.123558] usbcore: registered new interface driver cdc_acm
[   19.129465] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[   19.183605] usbcore: registered new interface driver cdc_wdm
[   19.208065] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   19.215814] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   19.332158] usbcore: registered new interface driver usblp
[   19.367167] usbcore: registered new interface driver usbserial_generic
[   19.373992] usbserial: USB Serial support registered for generic
[   19.428307] usbcore: registered new interface driver cdc_ether
[   19.449472] usbcore: registered new interface driver cdc_ncm
[   19.764349] usbcore: registered new interface driver huawei_cdc_ncm
[   20.420657] PPP generic driver version 2.4.2
[   20.458314] NET: Registered PF_PPPOX protocol family
[   20.489616] usbcore: registered new interface driver qmi_wwan
[   20.519454] usbcore: registered new interface driver rndis_host
[   20.559141] usbcore: registered new interface driver sierra
[   20.564983] usbserial: USB Serial support registered for Sierra USB modem
[   20.641625] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   20.649787] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   20.840350] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x3c.
[   20.898387] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   20.905044] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   21.207609] urngd: v1.0.2 started.
[   22.913109] random: crng init done
[   22.916643] random: 37 urandom warning(s) missed due to ratelimiting
[   34.341073] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   34.350686] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   34.362636] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[   34.488382] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   35.234706] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   36.226264] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   36.243080] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[   36.249570] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   36.257886] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[   36.308015] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[   36.320950] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   36.519172] usbcore: registered new interface driver cdc_mbim
[   36.612723] usbcore: registered new interface driver option
[   36.618628] usbserial: USB Serial support registered for GSM modem (1-port)
[   36.633151] usbcore: registered new interface driver qcserial
[   36.639222] usbserial: USB Serial support registered for Qualcomm USB modem
[   36.705972] ieee80211 phy1: Atheros AR9561 Rev:0 mem=0xb8100000, irq=2
[   36.782005] kmodloader: done loading kernel modules from /etc/modules.d/*
[   63.326438] eth0: link up (1000Mbps/Full duplex)
[   63.353398] br-lan: port 1(eth0.1) entered blocking state
[   63.359048] br-lan: port 1(eth0.1) entered disabled state
[   63.364911] device eth0.1 entered promiscuous mode
[   63.369924] device eth0 entered promiscuous mode
[   63.378446] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   63.437447] br-lan: port 1(eth0.1) entered blocking state
[   63.443047] br-lan: port 1(eth0.1) entered forwarding state
[   64.337202] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   65.109224] ksmbd: The ksmbd server is experimental, use at your own risk.
[  110.097572] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 2 is up

21

Odp: Naprawa TP-Link Archer A7 v5

No to jedyne co bym zrobił to wgranie na kernel i rootfs osobnych partycji bezpośrednio przez mtd.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

22

Odp: Naprawa TP-Link Archer A7 v5

Albo pod Linuxem jeszcze spróbować i ATFTP - próbować różnych wersji oprogramowania TP-Linka. Któraś musi w końcu ruszyć nawet przez TFTP.

23

Odp: Naprawa TP-Link Archer A7 v5

Cezary napisał/a:

No to jedyne co bym zrobił to wgranie na kernel i rootfs osobnych partycji bezpośrednio przez mtd.

Aż tak głęboko nie wchodziłem w OpenWrt. Jak to zrobić? Bo przyznam, że nie mam fioletowego pojęcia.

24

Odp: Naprawa TP-Link Archer A7 v5

Polecenie się nazywa mtd, uruchom bez żadnych argumentów zobaczysz help i krótką instrukcję zastosowania.

Musisz mieć dwa pliki - kernel i sam roofs, w to możesz wyciąć z sysupgrade.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

25

Odp: Naprawa TP-Link Archer A7 v5

Dziękuję Wam wszystkim za okazaną pomoc. Udało się wgrać oryginalny soft tp-linka.

Próbowałem zrobić zgodnie z Waszymi sugestiami i ciągle nic nie pomagało. Ciągle tylko OpenWrt wgrywało się prawidłowo a inne pliki za Chiny Ludowe nie chciały się wgrać.

W końcu wpadłem na pomysł, żeby wgrać najstarszą możliwą wersję OpenWrt z 2019 roku z poziomu TFTP. Później z poziomu konsoli przez PuTTY próbwałem wgrać soft i dalej nic.
Na sam koniec jeszcze raz połączyłem się przez TFTP i wgrałem oryginalny soft tp-linka i to pomogło smile