LINUX.ORG.RU

D-link DIR-300 NRU B5 полусдох после официальной перепрошивки

 , , ,


0

1

Решил обновить официальную прошивку до последней версии 2.5.12 (была установлена официальная 1.4.4 от 2013 года). Все делал по инструкции. В результате полудохлое тело. Только индикаторами светится и больше ничего. Сброс к заводским настройкам не помогает.

Прошу знающих людей помочь советом. Лог загрузки, полученный через uart, прилагаю.

U-Boot 1.1.3 (Jun  2 2015 - 17:26:40)
Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb0000
spi_wait_nsec: 42 
spi device id: ef 40 16 0 0 (40160000)
find flash: W25Q32BV
raspi_read: from:30000 len:1000 
.*** Warning - bad CRC, using default environment
============================================ 
Ralink UBoot Version: 4.1.1.0
-------------------------------------------- 
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: SDRAM 
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Jun  2 2015  Time:17:26:40
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384 
 ##### The CPU freq = 360 MHZ #### 
 estimate memory size =32 Mbytes
raspi_read: from:40028 len:6 
.e 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. 
You choosed 3 System Boot 
system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40 
.   Image Name:   DIR_300NRUB5
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1036964 Bytes = 1012.7 kB
   Load Address: 80000000
   Entry Point:  802404a0
raspi_read: from:50040 len:fd2a4 
................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 802404a0) ...
## Giving linux memsize in MB, 32
Starting kernel ...
LINUX started...
 THIS IS ASIC
[    0.000000] Linux version 2.6.36+ (builder@rd) (gcc version 4.1.2) #1 Mon Sep 7 17:05:28 MSK 2015
[    0.000000] 
[    0.000000]  The CPU feqenuce set to 360 MHz
[    0.000000] CPU revision is: 0001964c (MIPS 24Kc)
[    0.000000] Software DMA cache coherency
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS1,57600n8 root=/dev/mtdblock5
[    0.000000] HZ = 100
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, I-cache aliases, , 4-waylinesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00037448
[    0.000000] Readback ErrCtl register=00037448
[    0.000000] Memory: 29268k/32768k available (2340k kernel code, 3500k reserved, 620k data, 144k init, 0k highmem)
[    0.000000] SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:128
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS1] enabled
[    0.010000] Calibrating delay loop... 239.20 BogoMIPS (lpj=1196032)
[    0.260000] pid_max: default: 32768 minimum: 301
[    0.270000] Mount-cache hash table entries: 512
[    0.280000] NET: Registered protocol family 16
[    0.290000] bio: create slab <bio-0> at 0
[    0.300000] dru mark: unknown type 772 for dev lo
[    0.310000] cfg80211: Calling CRDA to update world regulatory domain
[    0.320000] Switching to clocksource MIPS
[    0.330000] dru filter: 80% -> 0x00000666 avenrun
[    0.330000] dru filter: 80% -> 0x00000666 avenrun
[    0.340000] dru filter: 120% -> 0x00000999 avenrun
[    0.350000] Registered /proc/sys/dru
[    0.360000] NET: Registered protocol family 2
[    0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.400000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.410000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.420000] TCP reno registered
[    0.430000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.440000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.450000] multicast routing: unresolved cache size is 200, expires at 1.0 sec (HZ = 100)
[    0.470000] NET: Registered protocol family 1
[    0.480000] deice id : ef 40 16 0 0 (40160000)
[    0.490000] W25Q32BV(ef 40160000) (4096 Kbytes)
[    0.500000] mtd .name = raspi, .size = 0x00400000 (0M) .erasesize = 0x00000004 (0K) .numeraseregions = 65536
[    0.520000] raspi: squashfs filesystem found at block 1376256
[    0.530000] Creating 7 MTD partitions on "raspi":
[    0.540000] 0x000000000000-0x000000400000 : "ALL"
[    0.550000] 0x000000000000-0x000000030000 : "Bootloader"
[    0.560000] 0x000000030000-0x000000040000 : "Config"
[    0.570000] 0x000000040000-0x000000050000 : "Factory"
[    0.580000] 0x000000050000-0x000000400000 : "Linux"
[    0.590000] 0x000000150000-0x000000400000 : "RootFS"
[    0.600000] 0x000000050000-0x000000400000 : "Kernel"
[    0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.620000] msgmni has been set to 57
[    0.630000] alg: No test for stdrng (krng)
[    0.640000] io scheduler noop registered (default)
[    1.050000] HDLC line discipline maxframe=4096
[    1.060000] error registering line discipline: -22
[    1.070000] N_HDLC: init failure -22
[    1.080000] Ralink gpio driver initialized
[    1.080000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.100000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37) is a 16550A
[    1.110000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12) is a 16550A
[    1.130000] loop: module loaded
[    1.140000] GMAC1_MAC_ADRH -- : 0x0000000c
[    1.150000] GMAC1_MAC_ADRL -- : 0x43305077
[    1.160000] Ralink APSoC Ethernet Driver Initilization. v3.1  512 rx/tx descriptors allocated, mtu = 1500!
[    1.180000] NAPI enable, Tx Ring = 512, Rx Ring = 512
[    1.190000] GMAC1_MAC_ADRH -- : 0x0000000c
[    1.190000] GMAC1_MAC_ADRL -- : 0x43305077
[    1.200000] PROC INIT OK!
[    1.210000] PPP generic driver version 2.4.2
[    1.220000] PPP_async: error -22 registering line disc.
[    1.230000] PPP_sync: error -22 registering line disc.
[    1.240000] PPP Deflate Compression module registered
[    1.250000] PPP BSD Compression module registered
[    1.260000] PPP MPPE Compression module registered
[    1.270000] NET: Registered protocol family 24
[    1.280000] PPTP driver version 0.8.5
[    1.290000] Ralink APSoC Hardware Watchdog Timer
[    1.300000] Netfilter messages via NETLINK v0.30.
[    1.310000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
[    1.320000] GRE over IPv4 demultiplexor driver
[    1.330000] gre: can't add protocol
[    1.340000] ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Linux
[    1.350000] arp_tables: (C) 2002 David S. Miller
[    1.360000] TCP cubic registered
[    1.370000] NET: Registered protocol family 17
[    1.370000] Bridge firewalling registered
[    1.380000] Ebtables v2.0 registered
[    1.390000] L2TP core driver, V2.0
[    1.400000] PPPoL2TP kernel driver, V2.0
[    1.400000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[    1.420000] All bugs added by David S. Miller <davem@redhat.com>
[    1.430000] nlmon: nlmon_init entry
[    1.510000] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.520000] Freeing unused kernel memory: 144k freed
D-link init started
Jan  1 00:00:02 init[1]: Kernel threads-max value (457) is too small. Set it to 512.
updateboot :: checking bootloader...
updateboot :: bootloader not need to update
Reading config from flash...
load section
result read config from flash is 0
[    3.950000] gpiom: module license 'Proprietary' taints kernel.
[    3.960000] Disabling lock debugging due to kernel taint
[    3.970000] gpiom: module starting ...
[    3.980000] gpiom: using profile DIR_300NRUB5_6.
[    3.990000] gpiom: button support enabled.
[    4.000000] gpiom: led support enabled.
Lenght of avalible memory for title 142 bytes
resident starting...
Event pipe size is 4096 bytes
Initializing device...
Jan  1 00:00:02 autoupdate[44]: Config reset
Init netfilter
[    6.030000] nf_conntrack_rtsp v0.6.21 loading
[    6.060000] nf_nat_rtsp v0.6.21 loading
res = 1
Config is good
Check SSID
Jan  1 00:00:03 dms_check_config_by_default[44]: this config is NO default
Do preinit ifaces
Set[    7.090000] Raeth v3.1 ( mNAPI
ac[    7.090000] ,SkbRecycle f)
c:75:16:e8:76:[    7.100000] 
[    7.100000] phy_tx_ring = 0x01454000, tx_ring = 0xa1454000
dd on if[    7.120000] 
[    7.120000] phy_rx_ring0 = 0x01456000, rx_ring0 = 0xa1456000
ace eth2 - OK
[    7.140000] GMAC1_MAC_ADRH -- : 0x0000fc75
[    7.140000] GMAC1_MAC_ADRL -- : 0x16e876dd
[    7.150000] RT305x_ESW: Link Status Changed
---libshared | write_config_file: begin
start generate config
config 02
BssidNum=1
WirelessMode=9
Channel=auto
---libshared | write_config_file: end
[    8.730000] RT305x_ESW: Link Status Changed
[    8.730000] message received before monitor task is initialized kerSysSendtoNlMonTask 
Jan  1 00:00:07 libshared:stop_wifi[44]: begin
killall: rt2860apd: no process killed
Jan  1 00:00:07 DMS_NL_API[44]: Cannot find device: br0
Jan  1 00:00:07 DMS_ROUTE_ERROR[44]: DEL 239.255.255.250 via (null) dev br0 metr 0 table 254 (stop_wps)
killall: wscd: no process killed
ra0       no private ioctls.
deleting ifaces...
set_group_vlan: start
set_group_vlan: group #0
set_group_vlan: group dest lan
brname: br0; iface_list: ra0 eth2.1
iface: ra0
[   18.680000] =====================================================
[   18.690000] Channel 1 : Dirty = 30, ApCnt=1, Busy Time = 6246, Skip Channel = FALSE
[   18.700000] Channel 2 : Dirty = 2, ApCnt=0, Busy Time = 5442, Skip Channel = FALSE
[   18.720000] Channel 3 : Dirty = 2, ApCnt=0, Busy Time = 3910, Skip Channel = FALSE
[   18.730000] Channel 4 : Dirty = 2, ApCnt=0, Busy Time = 3726, Skip Channel = FALSE
[   18.750000] Channel 5 : Dirty = 2, ApCnt=0, Busy Time = 10592, Skip Channel = FALSE
[   18.760000] Channel 6 : Dirty = 31, ApCnt=1, Busy Time = 33193, Skip Channel = FALSE
[   18.780000] Channel 7 : Dirty = 2, ApCnt=0, Busy Time = 7667, Skip Channel = FALSE
[   18.790000] Channel 8 : Dirty = 2, ApCnt=0, Busy Time = 3153, Skip Channel = FALSE
[   18.810000] Channel 9 : Dirty = 2, ApCnt=0, Busy Time = 3955, Skip Channel = FALSE
[   18.820000] Channel 10 : Dirty = 1, ApCnt=0, Busy Time = 2899, Skip Channel = FALSE
[   18.840000] Channel 11 : Dirty = 1, ApCnt=0, Busy Time = 3821, Skip Channel = FALSE
[   18.850000] Channel 12 : Dirty = 1, ApCnt=0, Busy Time = 3701, Skip Channel = FALSE
[   18.870000] Channel 13 : Dirty = 1, ApCnt=0, Busy Time = 2585, Skip Channel = FALSE
[   18.890000] =====================================================
[   18.900000] d-link final_channel = 10
[   18.900000] =====================================================
[   18.930000] 0x1300 = 00064380
[   18.940000] device ra0 entered promiscuous mode
iface: eth[   18.950000] device eth2.1 entered promiscuous mode
2.[   18.960000] device eth2 entered promiscuous mode
1
[   18.970000] br0: port 2(eth2.1) entering learning state
[   18.980000] br0: port 2(eth2.1) entering learning state
[   18.990000] br0: port 1(ra0) entering learning state
[   19.000000] br0: port 1(ra0) entering learning state
set_group_vlan: group #1
set_group_vlan: group dest wan
Jan  1 00:00:16 get_target_wan_mac[44]: get mac FC:75:16:E8:76:DD from config on iface wan1
Set mac FC:75:16:E8:76:DD on iface eth2.2 - OK
Jan  1 00:00:16 if_rename[44]: Setting : Interface `eth2.2' renamed to `wan1'.
set_group_vlan: group #0
Jan  1 00:00:16 libshared:start_wifi[44]: end
Do clear ifaces
Jan  1 00:00:16 try_get_uuid[44]: Unable to open uuid.conf
Jan  1 00:00:16 init_lan[44]: start
Jan  1 00:00:16 init_lan[44]: no grouping style
Jan  1 00:00:16 init_lan[44]: iface br0
init_lan: iface = br0
init ipfilter
init vserver
[   20.770000] do_page_fault() #2: sending SIGSEGV to resident for invalid read access from
[   20.770000] 00000008 (epc == 2b521390, ra == 2b47f2ac)
init_device: killed by signal 9
Can't init device
Resident is dead!!! Try reboot device.
Welcome to
     _______          ___     __  ____   _  _   ___
    |  ___  \        |   |   |__||    \ | || | /  /
    | |   | ||  ___  |   |__  __ |     \| || |/  /
    | |___| || |___| |      ||  || |\     ||     \
    |_______/        |______||__||_| \____||_|\___\
                     = Building Networks for People =
D-link init done
[   34.000000] br0: port 2(eth2.1) entering forwarding state
[   34.040000] br0: port 1(ra0) entering forwarding statet-in shell (ash)lt-in commands.

А на официальном форуме не пробовал спросить ?

Если флешка не сдохла, если есть консоль и живой u-boot ( у тебя он похоже жив) то шанс воскресить устройство очень большой.

Описание процедуры восстановления скорее всего есть на openwrt.

vel ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.