Temat: RT-AC58U bootloop
Witam
Dostałem ruterek Asusa RT-AC58U. Router cały czas przechodzi w tryb odzyskiwania, ale niestety przy wgrawaniu oprogramowania z PC przez Firmware Restoration pokazuje bład przetwarzania. Rozebrałem go i podłaczyłem przez serial (ktoś go wcześniej dośc nieudolnie wlutował) i otrzymuje cos takiego
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00096
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000020
S - Core 0 Frequency, 0 MHz
B - 261 - PBL, Start
B - 1338 - bootable_media_detect_entry, Start
B - 1678 - bootable_media_detect_success, Start
B - 1692 - elf_loader_entry, Start
B - 5068 - auth_hash_seg_entry, Start
B - 7209 - auth_hash_seg_exit, Start
B - 572126 - elf_segs_hash_verify_entry, Start
B - 686840 - PBL, End
B - 686864 - SBL1, Start
B - 775190 - pm_device_init, Start
D - 6 - pm_device_init, Delta
B - 776701 - boot_flash_init, Start
D - 54247 - boot_flash_init, Delta
B - 835135 - boot_config_data_table_init, Start
D - 3845 - boot_config_data_table_init, Delta - (419 Bytes)
B - 842354 - clock_init, Start
D - 7563 - clock_init, Delta
B - 854440 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:1,Subtype:0
B - 857930 - sbl1_ddr_set_params, Start
B - 862918 - cpr_init, Start
D - 2 - cpr_init, Delta
B - 867410 - Pre_DDR_clock_init, Start
D - 4 - Pre_DDR_clock_init, Delta
D - 13148 - sbl1_ddr_set_params, Delta
B - 881112 - pm_driver_init, Start
D - 2 - pm_driver_init, Delta
B - 951692 - sbl1_wait_for_ddr_training, Start
D - 29 - sbl1_wait_for_ddr_training, Delta
B - 966919 - Image Load, Start
D - 134999 - QSEE Image Loaded, Delta - (262104 Bytes)
B - 1102416 - Image Load, Start
D - 1444 - SEC Image Loaded, Delta - (2048 Bytes)
B - 1112785 - Image Load, Start
D - 223544 - APPSBL Image Loaded, Delta - (457299 Bytes)
B - 1336751 - QSEE Execution, Start
D - 58 - QSEE Execution, Delta
B - 1342927 - SBL1, End
D - 658174 - SBL1, Delta
S - Flash Throughput, 2006 KB/s (721870 Bytes, 359855 us)
S - DDR Frequency, 537 MHz
U-Boot 2012.07-05763-g80e4eb4 [local,local] (Jul 06 2016 - 11:01:57)
RT-AC58U bootloader version: 1.0.0.3
smem ram ptable found: ver: 1 len: 3
ASUS RT-AC58U gpio init : wps / reset pin
DRAM: 128 MiB
machid : 0x8010100
Maximum malloc length: 4096 KBytes
mem_malloc_start/brk/end: 0x86ef0000/86ef0000/87300000
Relocation offset: 0
NAND: spi_nand: spi_nand_flash_probe SF NAND ID 0:ef:aa:21
SF: Detected W25N01GV with page size 2 KiB, total 128 MiB
SF: Detected MX25L1605D with page size 4 KiB, total 2 MiB
ipq_spi: page_size: 0x100, sector_size: 0x1000, size: 0x200000
130 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
name : offset size
0:SBL1 : 00000000 00040000
0:MIBIB : 00040000 00020000
0:QSEE : 00060000 00060000
0:CDT : 000c0000 00010000
0:DDRPARAMS : 000d0000 00010000
0:APPSBLENV : 000e0000 00010000
0:APPSBL : 000f0000 00080000
0:ART : 00170000 00010000
machid: 8010100
Net: MAC0 addr:0:3:7f:ba:db:ad
PHY ID1: 0x4d
PHY ID2: 0xd0b1
ipq40xx_ess_sw_init done
eth0
Creating 1 MTD partitions on "nand1":
0x00000000-0x08000000 : "mtd=0"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: max. sequence number: 8397
UBI: attached mtd2 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 128 MiB
UBI: number of good PEBs: 1024
UBI: number of bad PEBs: 0
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 6
UBI: available PEBs: 30
UBI: total number of reserved PEBs: 994
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 143/8
UBI: image sequence number: 1543254291
UBI: vol_id reserved_pebs alignment data_pad vol_type usable_leb_size used_ebs used_bytes last_eb_bytes corrupted upd_marker name_len name
UBI: 0 3 1 0 dynamic 1f000 3 5d000 1f000 0 0 5 nvram
UBI: 1 1 1 0 dynamic 1f000 1 1f000 1f000 0 0 7 Factory
UBI: 2 1 1 0 dynamic 1f000 1 1f000 1f000 0 0 8 Factory2
UBI: 3 18d 1 0 dynamic 1f000 18d 3013000 1f000 0 0 5 linux
UBI: 4 18d 1 0 dynamic 1f000 18d 3013000 1f000 0 0 6 linux2
UBI: 5 b5 1 0 dynamic 1f000 b5 15eb000 1f000 0 0 5 jffs2
UBI: 7fffefff 2 1 0 dynamic 1f000 2 3e000 2 0 0 d layout volume
Read 0x1f000 bytes from volume [Factory] offset 0x0 to 86ec0ce8
EEPROM set 0: OK (version 20)
Read 0x1f000 bytes from volume [Factory2] offset 0x0 to 86ec0ce8
EEPROM set 1: OK (version 20)
Read 0x1f000 bytes from volume [Factory] offset 0x0 to 86ef3480
Select EEPROM set 0 at offset 0x0.
Please choose the operation:
1: Load System code to SDRAM via TFTP.
2: Load System code then write to Flash via TFTP.
3: Boot System code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
1 0
3: Boot System code via Flash (default).
RT-AC58U bootloader version: 1.0.0.3
MAC Address: 2C:4D:54:08:A5:D0
Read 0x40 bytes from volume [linux] offset 0x0 to 84000000
FIT/FDT format image found at 0x84000000, size 0x0137e0c4
Read 0x137e104 bytes from volume [linux] offset 0x0 to 84000000
## Booting kernel from FIT Image at 84000000 ...
ERROR: can't get kernel image!
Read 0x40 bytes from volume [linux2] offset 0x0 to 84000000
FIT/FDT format image found at 0x84000000, size 0x0137e0c4
Read 0x137e104 bytes from volume [linux2] offset 0x0 to 84000000
## Booting kernel from FIT Image at 84000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM OpenWrt Linux-3.0
Type: Unknown Image
data abort
pc : [<87349f50>] lr : [<87343e00>]
sp : 86edfb90 ip : 00000001 fp : 8d5be12c
r10: 0000000b r9 : 87360c69 r8 : 86edff68
r7 : 86edfbe4 r6 : 84202c98 r5 : 00202c60 r4 : 84000000
r3 : 8d5be12d r2 : 8d5be12c r1 : 08240220 r0 : 8d5be12c
Flags: NzCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
resetting ...
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00096
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000020
S - Core 0 Frequency, 0 MHz
B - 261 - PBL, Start
B - 1338 - bootable_media_detect_entry, Start
B - 1678 - bootable_media_detect_success, Start
B - 1692 - elf_loader_entry, Start
B - 5068 - auth_hash_seg_entry, Start
B - 7209 - auth_hash_seg_exit, Start
B - 572125 - elf_segs_hash_verify_entry, Start
B - 686839 - PBL, End
B - 686864 - SBL1, Start
B - 775181 - pm_device_init, Start
D - 6 - pm_device_init, Delta
B - 776691 - boot_flash_init, Start
D - 54250 - boot_flash_init, Delta
B - 835130 - boot_config_data_table_init, Start
D - 3844 - boot_config_data_table_init, Delta - (419 Bytes)
B - 842347 - clock_init, Start
D - 7557 - clock_init, Delta
B - 854427 - CDT version:2,Platform ID:8,Major ID:1,Minor ID:1,Subtype:0
B - 857916 - sbl1_ddr_set_params, Start
B - 862904 - cpr_init, Start
D - 2 - cpr_init, Delta
B - 867396 - Pre_DDR_clock_init, Start
D - 4 - Pre_DDR_clock_init, Delta
D - 13148 - sbl1_ddr_set_params, Delta
B - 881098 - pm_driver_init, Start
D - 2 - pm_driver_init, Delta
B - 951599 - sbl1_wait_for_ddr_training, Start
D - 29 - sbl1_wait_for_ddr_training, Delta
B - 966825 - Image Load, Start
D - 134996 - QSEE Image Loaded, Delta - (262104 Bytes)
B - 1102318 - Image Load, Start
D - 1445 - SEC Image Loaded, Delta - (2048 Bytes)
B - 1112694 - Image Load, Start
D - 223557 - APPSBL Image Loaded, Delta - (457299 Bytes)
B - 1336675 - QSEE Execution, Start
D - 58 - QSEE Execution, Delta
B - 1342850 - SBL1, End
D - 658096 - SBL1, Delta
S - Flash Throughput, 2005 KB/s (721870 Bytes, 359866 us)
S - DDR Frequency, 537 MHz
U-Boot 2012.07-05763-g80e4eb4 [local,local] (Jul 06 2016 - 11:01:57)
RT-AC58U bootloader version: 1.0.0.3
smem ram ptable found: ver: 1 len: 3
ASUS RT-AC58U gpio init : wps / reset pin
DRAM: 128 MiB
machid : 0x8010100
Maximum malloc length: 4096 KBytes
mem_malloc_start/brk/end: 0x86ef0000/86ef0000/87300000
Relocation offset: 0
NAND: spi_nand: spi_nand_flash_probe SF NAND ID 0:ef:aa:21
SF: Detected W25N01GV with page size 2 KiB, total 128 MiB
SF: Detected MX25L1605D with page size 4 KiB, total 2 MiB
ipq_spi: page_size: 0x100, sector_size: 0x1000, size: 0x200000
130 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
name : offset size
0:SBL1 : 00000000 00040000
0:MIBIB : 00040000 00020000
0:QSEE : 00060000 00060000
0:CDT : 000c0000 00010000
0:DDRPARAMS : 000d0000 00010000
0:APPSBLENV : 000e0000 00010000
0:APPSBL : 000f0000 00080000
0:ART : 00170000 00010000
machid: 8010100
Net: MAC0 addr:0:3:7f:ba:db:ad
PHY ID1: 0x4d
PHY ID2: 0xd0b1
ipq40xx_ess_sw_init done
eth0
Creating 1 MTD partitions on "nand1":
0x00000000-0x08000000 : "mtd=0"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: max. sequence number: 8397
UBI: attached mtd2 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 128 MiB
UBI: number of good PEBs: 1024
UBI: number of bad PEBs: 0
UBI: number of corrupted PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 6
UBI: available PEBs: 30
UBI: total number of reserved PEBs: 994
UBI: number of PEBs reserved for bad PEB handling: 10
UBI: max/mean erase counter: 143/8
UBI: image sequence number: 1543254291
UBI: vol_id reserved_pebs alignment data_pad vol_type usable_leb_size used_ebs used_bytes last_eb_bytes corrupted upd_marker name_len name
UBI: 0 3 1 0 dynamic 1f000 3 5d000 1f000 0 0 5 nvram
UBI: 1 1 1 0 dynamic 1f000 1 1f000 1f000 0 0 7 Factory
UBI: 2 1 1 0 dynamic 1f000 1 1f000 1f000 0 0 8 Factory2
UBI: 3 18d 1 0 dynamic 1f000 18d 3013000 1f000 0 0 5 linux
UBI: 4 18d 1 0 dynamic 1f000 18d 3013000 1f000 0 0 6 linux2
UBI: 5 b5 1 0 dynamic 1f000 b5 15eb000 1f000 0 0 5 jffs2
UBI: 7fffefff 2 1 0 dynamic 1f000 2 3e000 2 0 0 d layout volume
Read 0x1f000 bytes from volume [Factory] offset 0x0 to 86ec0ce8
EEPROM set 0: OK (version 20)
Read 0x1f000 bytes from volume [Factory2] offset 0x0 to 86ec0ce8
EEPROM set 1: OK (version 20)
Read 0x1f000 bytes from volume [Factory] offset 0x0 to 86ef3480
Select EEPROM set 0 at offset 0x0.
Please choose the operation:
1: Load System code to SDRAM via TFTP.
2: Load System code then write to Flash via TFTP.
3: Boot System code via Flash (default).
4: Entr boot command line interface.
7: Load Boot Loader code then write to Flash via Serial.
9: Load Boot Loader code then write to Flash via TFTP.
1 0
3: Boot System code via Flash (default).
RT-AC58U bootloader version: 1.0.0.3
MAC Address: 2C:4D:54:08:A5:D0
Read 0x40 bytes from volume [linux] offset 0x0 to 84000000
FIT/FDT format image found at 0x84000000, size 0x0137e0c4
Read 0x137e104 bytes from volume [linux] offset 0x0 to 84000000
## Booting kernel from FIT Image at 84000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM OpenWrt Linux-3.0
Type: Kernel Image
Compression: lzma compressed
Data Start: 0x840000e0
Data Size: 2108285 Bytes = 2 MiB
Architecture: Unknown Architecture
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Hash algo: crc32
Hash value: 83ab30ca
Can't get image compression!
Read 0x40 bytes from volume [linux2] offset 0x0 to 84000000
FIT/FDT format image found at 0x84000000, size 0x0137e0c4
Read 0x137e104 bytes from volume [linux2] offset 0x0 to 84000000
## Booting kernel from FIT Image at 84000000 ...
ERROR: can't get kernel image!
Hello!! Enter Recuse Mode: (Check error)
preferred nic: eth0
eth0 PHY0 Down Speed :10 Half duplex
eth0 PHY1 Down Speed :10 Half duplex
eth0 PHY2 Down Speed :10 Half duplex
eth0 PHY3 up Speed :1000 Full duplex
eth0 PHY4 Down Speed :10 Half duplex
switch prereq:0
tftpd start
Our IP address is:(192.168.1.1)
Wait for TFTP request...
tftpd open
Got ARP REQUEST, return our IP
D D D
Get read request from:(192.168.1.10)
Firmware Restoration assigns IP address: 192.168.1.49
Got ARP REPLY, set eth addr (e0:d5:5e:6d:6a:cf)
Got ARP REQUEST, return our IP
D #
First block received
################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######
done
RAMtoFLASH
Chk trx magic
Download of 0x163fc74 bytes completed
Check TRX and write it to FLASH
Solve TRX, ptr=0x84000000
## Booting kernel from Legacy Image at 84000000 ...
Image Name:
Image Type: ARM Linux Kernel Image (lzma compressed)
Data Size: 23329844 Bytes = 22.2 MiB
Load Address: 80208000
Entry Point: 80208000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
Check trx error!
rescue failed! (1)
SYSTEM RESET!!!
resetting ...Czy ten router mozna jeszcze uratować ?? Będę wdzięczny za każdą poradę.
Pozdrawiam
CPS