Перейти к содержимому
Калькуляторы

Восстановление DLINK DWL-8500AP

Прошу помощи с восстановлением точки. :(

Прошивал две точки, первая прошилась идеально и работает идеально, а вот при прошивке второй возникли трудности из-за обрыва...

 

Восстанавливал через com командами:

load -r -h 192.168.1.55 -b 0x80400000 kernel1.bin

fis write -f 0xBE050000 -b 0x80400000 -l 0x00090000

load -r -h 192.168.1.55 -b 0x80001000 rootfs.bin

fis write -f 0xBE0E0000 -b 0x80001000 -l 0x006C0000

 

Лог после перезагрузки:

~+Ethernet eth0: MAC address 00:1c:f0:09:59:60

IP: 192.168.1.30/255.255.255.0, Gateway: 0.0.0.0

Default server: 192.168.1.100, DNS server IP: 0.0.0.0

 

RedBoot bootstrap and debug environment [ROM]

Non-certified release, version v2_0 - built 16:27:39, Jul 5 2006

 

Copyright © 2000, 2001, 2002, Red Hat, Inc.

Copyright © 2005, Devicescape Software, Inc.

Copyright © 2006, LVL7 Systems, Inc.

 

RAM: 0x80000400-0x82000000, 0x80000400-0x81fe1000 available

FLASH: 0xbe000000 - 0xbe7d0000, 125 blocks of 0x00010000 bytes each.

 

ART_FLAG = 0

== Executing boot script in 2.000 seconds - enter ^C to abort

RedBoot> fis load -b 0x80400000 kernel

RedBoot> exec -b 0x80500000

Now booting linux kernel:

Base address 0x80500000ДCPU revision is: 00018009

Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.

Primary data cache 16kB, 4-way, linesize 16 bytes.

Linux version 2.4.27-devicescape.3 (lvl7build@lc-rdub-07) ( /tools/devicescape/c

olusa14/toolchains/mipsf-linux/bin/../libexec/gcc/mips-linux/3.4.1/collect2 --eh

-frame-hdr -EB -dynamic-linker /lib/ld.so.1 -L/tools/devicescape/colusa14/toolch

ains/mipsf-linux/mips-linux-uclibc/lib -L/tools/devicescape/colusa14/toolchains/

mipsf-linux/mips-linux-uclibc/lib -L/tools/devicescape/colusa14/toolchains/mipsf

-linux/bin/../lib/gcc/mips-linux/3.4.1 -L/tools/devicescape/colusa14/toolchains/

mipsf-linux/bin/../lib/gcc -L/tools/devicescape/colusa14/toolchains/mipsf-linux/

bin/../lib/gcc/mips-linux/3.4.1/../../../../mips-linux/lib --dynamic-linker /lib

/ld-uClibc.so.0 -rpath-link /tools/devicescape/colusa14/toolchains/mipsf-linux/m

ips-linux-uclibc/lib /tools/devicescape/colusa14/toolchains/mipsf-linux/mips-lin

ux-uclibc/lib/crti.o /tools/devicescape/colusa14/toolchains/mipsf-linux/mips-lin

ux-uclibc/lib/crtbegin.o /tools/devicescape/colusa14/toolchains/mipsf-linux/mips

-linux-uclibc/lib/crt1.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /tooDetermined physic

al RAM map:

memory: 02000000 @ 00000000 (usable)

NOFS reserved @ 0x80176800

On node 0 totalpages: 8192

zone(0): 8192 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: console=ttyS0,9600 root=/dev/mtdblock3 rw

Using 110.000 MHz high precision timer.

Calibrating delay loop... 219.54 BogoMIPS

Memory: 30908k/32768k available (1160k kernel code, 1860k reserved, 84k data, 60

k init, 0k highmem)

Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)

Inode cache hash table entries: 2048 (order: 2, 16384 bytes)

Mount cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)

Page-cache hash table entries: 8192 (order: 3, 32768 bytes)

Checking for 'wait' instruction... available.

POSIX conformance testing by UNIFIX

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

JFFS2 version 2.1. © 2001 Red Hat, Inc., designed by Axis Communications AB.

Serial driver version 5.05c (2001-07-08) with no serial options enabled

ttyS00 at 0xbc000003 (irq = 37) is a 16550A

Software Watchdog Timer: 0.05, timer margin: 60 sec

physmap flash device: 800000 at be000000

CFI: Found no Physically mapped flash device at location zero

Search for id:(40 1a) interleave(1) type(1)

Search for id:(40 1a) interleave(1) type(1)

Search for id:(40 1a) interleave(1) type(1)

Search for id:(40 60) interleave(1) type(2)

Search for id:(40 60) interleave(1) type(2)

Search for id:(40 60) interleave(1) type(2)

JEDEC: Found no Physically mapped flash device at location zero

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 2048 bind 4096)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

Ebtables v2.0 registered

NET4: Ethernet Bridge 008 for NET4.0

802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>

Other stuff added by David S. Miller <davem@redhat.com>

VFS: Cannot open root device "mtdblock3" or 1f:03

Please append a correct "root=" boot option

Kernel panic: VFS: Unable to mount root fs on 1f:03

<0>Rebooting in 2 seconds..

 

и лог удачно прошитой точки:

ь+Ethernet eth0: MAC address 00:1c:f0:09:59:40

IP: 192.168.1.30/255.255.255.0, Gateway: 0.0.0.0

Default server: 192.168.1.100, DNS server IP: 0.0.0.0

 

RedBoot bootstrap and debug environment [ROM]

Non-certified release, version v2_0 - built 16:27:39, Jul 5 2006

 

Copyright © 2000, 2001, 2002, Red Hat, Inc.

Copyright © 2005, Devicescape Software, Inc.

Copyright © 2006, LVL7 Systems, Inc.

 

RAM: 0x80000400-0x82000000, 0x80000400-0x81fe1000 available

FLASH: 0xbe000000 - 0xbe7d0000, 125 blocks of 0x00010000 bytes each.

 

ART_FLAG = 0

== Executing boot script in 2.000 seconds - enter ^C to abort

RedBoot> fis load -b 0x80400000 kernel

RedBoot> exec -b 0x80500000

Now booting linux kernel:

Base address 0x80500000 Entry 0x80400000

*МDCPU revision is: 00018009

Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.

Primary data cache 16kB, 4-way, linesize 16 bytes.

Linux version 2.4.27-devicescape.3 (lvl7build@lc-rdub-07) ( /tools/devicescape/c

olusa14/toolchains/mipsf-linux/bin/../libexec/gcc/mips-linux/3.4.1/collect2 --eh

-frame-hdr -EB -dynamic-linker /lib/ld.so.1 -L/tools/devicescape/colusa14/toolch

ains/mipsf-linux/mips-linux-uclibc/lib -L/tools/devicescape/colusa14/toolchains/

mipsf-linux/mips-linux-uclibc/lib -L/tools/devicescape/colusa14/toolchains/mipsf

-linux/bin/../lib/gcc/mips-linux/3.4.1 -L/tools/devicescape/colusa14/toolchains/

mipsf-linux/bin/../lib/gcc -L/tools/devicescape/colusa14/toolchains/mipsf-linux/

bin/../lib/gcc/mips-linux/3.4.1/../../../../mips-linux/lib --dynamic-linker /lib

/ld-uClibc.so.0 -rpath-link /tools/devicescape/colusa14/toolchains/mipsf-linux/m

ips-linux-uclibc/lib /tools/devicescape/colusa14/toolchains/mipsf-linux/mips-lin

ux-uclibc/lib/crti.o /tools/devicescape/colusa14/toolchains/mipsf-linux/mips-lin

ux-uclibc/lib/crtbegin.o /tools/devicescape/colusa14/toolchains/mipsf-linux/mips

-linux-uclibc/lib/crt1.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh /tooDetermined physic

al RAM map:

memory: 02000000 @ 00000000 (usable)

NOFS reserved @ 0x8017b8e0

On node 0 totalpages: 8192

zone(0): 8192 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: console=ttyS0,9600 root=/dev/mtdblock3 rw

Using 110.000 MHz high precision timer.

Calibrating delay loop... 219.54 BogoMIPS

Memory: 30888k/32768k available (1180k kernel code, 1880k reserved, 84k data, 64

k init, 0k highmem)

Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)

Inode cache hash table entries: 2048 (order: 2, 16384 bytes)

Mount cache hash table entries: 512 (order: 0, 4096 bytes)

Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)

Page-cache hash table entries: 8192 (order: 3, 32768 bytes)

Checking for 'wait' instruction... available.

POSIX conformance testing by UNIFIX

Linux NET4.0 for Linux 2.4

Based upon Swansea University Computer Society NET3.039

Initializing RT netlink socket

Starting kswapd

JFFS2 version 2.1. © 2001 Red Hat, Inc., designed by Axis Communications AB.

Serial driver version 5.05c (2001-07-08) with no serial options enabled

ttyS00 at 0xbc000003 (irq = 37) is a 16550A

Software Watchdog Timer: 0.05, timer margin: 60 sec

physmap flash device: 800000 at be000000

Amd/Fujitsu Extended Query Table v1.3 at 0x0040

number of CFI chips: 1

cfi_cmdset_0002: Disabling fast programming due to code brokenness.

physmap: Using RedBoot partition definition

Creating 6 MTD partitions on "Physically mapped flash":

0x00000000-0x00050000 : "RedBoot"

0x00050000-0x000e0000 : "kernel"

0x000e0000-0x007a0000 : "rootfs"

0x007a0000-0x007b0000 : "unallocated"

0x007b0000-0x007b1000 : "RedBoot config"

0x007c0000-0x007d0000 : "FIS directory"

NET4: Linux TCP/IP 1.0 for NET4.0

IP Protocols: ICMP, UDP, TCP

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP: Hash tables configured (established 2048 bind 4096)

NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.

Ebtables v2.0 registered

NET4: Ethernet Bridge 008 for NET4.0

802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>

Other stuff added by David S. Miller <davem@redhat.com>

AP MAC: 00:1c:f0:09:59:40 - Config Changed: 0

AP MAC: 00:1c:f0:09:59:40 - Config Changed: 0

VFS: Mounted root (jffs2 filesystem).

Freeing unused kernel memory: 64k freed

init started: BusyBox v1.00 (2Algorithmics/MIPS FPU Emulator v1.5

008.02.22-00:10+0000) multi-call binary

init started: BusyBox v1.00 (2008.02.22-00:10+0000) multi-call binary

Starting pid 11, console /dev/console: '/etc/init.d/rc'

Mounting filesystems...

DWL8500AP detected

Inserting Captive Portal code: wlext_cp.oUsing /lib/modules/2.4.27-deviceap cp d

ata allocated

scape.3/kernel/dvap cp data allocated

rivers/net/wireless/wlext_cp.o

.

Inserting IP tunnel code: wlext_iptunnel.oUsing /lib/modules/2.4ap tunnel alloca

ted

.27-devicescape.vap tunnel allocated

3/kernel/drivers/net/wireless/wlext_iptunnel.o

.

Using /lib/modules/2.4.27-devicescape.3/kernel/drivers/misc/button.o

Inserting Wireless Datapath driver: 80211.oUsing /lib/modules/2.4.27-devicescape

.3/kernel/drivers/net/wireless/80211.o

Using /lib/modules/2.4.27-devicescape.3/kernel/drivers/net/wireless/rate_control

.o

Using /lib/modules/2.4.27-devicescape.3/kernel/drivers/net/wireless/rate_control

_ath.o

insmod: rate_control_engim.o: no module by that name found

.

Inserting Atheros Radio driver: oahu-ar5312.oUsing /lib/modules/2.4.27-devicesca

pe.3/kernel/drivers/net/wireless/oahu-ar5312.o

ar5211.c : Atheros AR5211 driver v0.0-jan18

soc = 87

Attach AR5212 0x1113 0x81d43044

wlan0.11: MAC rev 5.7 too old for Michael MIC hwaccel with WMM

ar5211 hwaddr: 00:03:7F:BE:F0:77

ar5211 wlan0.11: Device at 0xb8000000, IRQ 2

soc = 87

Attach AR5212 0x1113 0x81d03044

wlan1.11: MAC rev 5.7 too old for Michael MIC hwaccel with WMM

ar5211 hwaddr: 00:03:7F:BE:F0:79

ar5211 wlan1.11: Device at 0xb8500000, IRQ 5

.

Noise floor failed detected 0 higher than thresh -54

Inserting rate_control_ath.oUsing /lib/modules/2.4.27-devicescape.3/kernel/drive

rs/net/wireless/rate_control_ath.o

insmod: A module named rate_control_ath already exists

.

Loading insert1q moduleUsing /lib/modules/2.4.27-devicescape.3/kernel/kernel/net

/ebt_insert1q.o

.

Loading strip1q moduleUsing /lib/modules/2.4.27-devicescape.3/kernel/kernel/net/

ebt_strip1q.o

.

Starting dmandman: Daemonizing...

.

dman: Daemonized.

No Hardware Watchdog Timer reset detected.

dman: Starting mapd ....

dman: Initialization complete.

 

DLINK-WLAN-AP login: AP User Config Country Code: 1 - Config Changed: 0

AP Countr

y Code: US - Config Changed: 0

AP MAC: 00:1c:f0:09:59:40 - Config Changed: 0

AP Se

rial number: H00127665 - Config Changed: 0

dman: hostapd-all sent standalone mode

response.

 

 

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Народ help me..... Почему не создаются разделы на убитой точке как в живой?

убитая

physmap flash device: 800000 at be000000

CFI: Found no Physically mapped flash device at location zero

Search for id:(40 1a) interleave(1) type(1)

Search for id:(40 1a) interleave(1) type(1)

Search for id:(40 1a) interleave(1) type(1)

Search for id:(40 60) interleave(1) type(2)

Search for id:(40 60) interleave(1) type(2)

Search for id:(40 60) interleave(1) type(2)

JEDEC: Found no Physically mapped flash device at location zero

живая

physmap: Using RedBoot partition definition

Creating 6 MTD partitions on "Physically mapped flash":

0x00000000-0x00050000 : "RedBoot"

0x00050000-0x000e0000 : "kernel"

0x000e0000-0x007a0000 : "rootfs"

0x007a0000-0x007b0000 : "unallocated"

0x007b0000-0x007b1000 : "RedBoot config"

0x007c0000-0x007d0000 : "FIS directory"

 

и кто их не создает - RedBoot или Linux? Как создать? :)

До заливки файлов в точку разделы создавались, контрольная сумма файлов на обоих точках совпадают. (проверял fis list -c)

В самой прошивке скачаной с http://ftp.dlink.ru/pub/Switch/DWS-3000%20...b1%5d.1.0.9.tar куча файлов:

kernel1.bin 567 868

kernel2.bin 576 044

rootfs.bin 4 610 378

kernel1.md5 36

kernel2.md5 36

rootfs.md5 36

model 5

board 8

version 9

 

Заливались только kernel1.bin и rootfs.bin, может надо еще заливать куда-то kernel2.bin

 

Помогите что делать, куда рыть и что ломать.... :) еще живая одна точка....

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Итог такой:

rootfs.bin оказался архивом, распаковал и залил load -r -h 192.168.1.55 -b 0x80001000 rootfs.jffs2 и залил kernel2.bin.... и все поехало :))

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

хотелось бы узнать подробнее про управление и перепрошивку точки 8500ар через rs232. на плате нашел вывод, сделал null-modem кабель rx-gnd-tx. через терминал на скорости 115200 точка не откликается - только некоторые последовательности кидает и все. ставлю cygwin. потом накачу redboot. где найти мануал касательно прошивки точки доступа?

 

http://www.lammertbies.nl/comm/info/RS-232...modem.html#loop - вот такой вот кабель

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

DenXkc а чем распаковали rootfs.bin? Столкнулся с той же проблемой как и в первом посте

Изменено пользователем froxmox

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

DenXkc а чем распаковали rootfs.bin? Столкнулся с той же проблемой как и в первом посте

7zip обычно их разгрызает вполне ок

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

DenXkc а чем распаковали rootfs.bin? Столкнулся с той же проблемой как и в первом посте

7zip обычно их разгрызает вполне ок

огромное спасибо за помощь!

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Это так давно было, я уже и не помню )))

сорри

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Будущим поколениям!

инструкции подходят для DWL-8500 и DWL-3500

 

load -r -h 10.90.90.100 -b 0x80400000 kernel1.bin

load -r -h 10.90.90.100 -b 0x80400000 kernel2.bin

fis write -f 0xBE050000 -b 0x80400000 -l 0x00090000

load -r -h 10.90.90.100 -b 0x80001000 rootfs.jffs2

fis write -f 0xBE0E0000 -b 0x80001000 -l 0x006C0000

 

fconfig(по дефолту за исключением скрипта)

RedBoot> fis load -b 0x80400000 kernel

RedBoot> exec -b 0x80500000

Поделиться сообщением


Ссылка на сообщение
Поделиться на других сайтах

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 смайлов.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.