1 (edytowany przez matrix 2017-03-27 22:13:00)

Temat: Netgear WNR2200

Niestety można się do niego dostać bez rozbierania więc brak obrazu. DD v3 po trzech dniach chodzenia wywalił u-boota. Jedyne dostępne obrazy z Chin nie do końca działają.Objawy poniżej

U-Boot 1.1.4-TTHR-0.1.1 (Jun  7 2012 - 09:45:22)@TTHR

WNR2200 (ar7241) U-boot TTHR V1.1

sri
ar7240_ddr_initial_config(139): virian ddr1 init
#### TAP VALUE 1 = 0x2, 2 = 0x2 [0xffffffff: 0xffffffff]
CPU_FREQ=400##DDR_FREQ=400##AHB_FREQ=200
DRAM:64 MB
sector count = 128
Flash:  8 MB
In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
ag7240_get_ethaddr:Fetching MAC Address from 0x9f7f0000
ag7240_get_ethaddr:Fetching MAC Address from 0x9f7f0006
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7014
eth0: 00:11:22:33:44:55
eth0 up
Virian MDC CFG Value ==> 4
: cfg1 0xf cfg2 0x7214
eth1: 00:11:22:33:44:55
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Autobooting in 2 seconds press tt to abort
Trying eth1
eth1 link down
FAIL
Trying eth0
eth0 link down
FAIL

The Router is in TFTP Server Firmware Recovery mode NOW!
Listening on Port : 69, IP Address: 192.168.1.1...
Upgrade Mode
i miganie ostatniej linii (wcześniej pluł się jeszcze o CRC ale saveboot zalatwił komunikat.

tt  i ...

Autobooting in 2 seconds press tt to abort
ar7241#boot
### SQUASHFS loading 'image/uImage' to 0x80800000
### SQUASHFS load complete: 1267259 bytes loaded to 0x80800000
## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-4.4.50
   Created:      2017-02-20  17:13:44 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1267195 Bytes =  1.2 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 4.4.50 (buildbot@builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3101-bce140e) ) #0 Mon Feb 20 17:13:44 2017
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)

boot OK (lede , 1.0.0.32 wersja gdzieś polecana do przywracania, 1.0.1.96 najnowsza) AP działa ale po każdym resecie (i próbie przywracania wartości fabrycznych) konieczne tt/boot

I na koniec env

ar7241#printenv
bootargs=console=ttyS0,115200 root=31:02 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),2752k(rootfs),896k(uImage),64k(NVRAM),64k(ART) REVISIONID
bootdelay=4
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
bootcmd=fsload 80800000 image/uImage;bootm 80800000
serverip=192.168.1.27
ipaddr=192.168.1.12
stdin=serial
stdout=serial
stderr=serial
ethact=eth0

Environment size: 395/65532 bytes
ar7241#

Jakieś pomysły by wstał automatycznie (ew poprawny u-boot + env)
Oczywiście podejrzewam że bootargs zwalone ... bo dziwnie mi to 3420 4M przypomina