|
本帖最后由 ssg338c 于 2018-5-16 13:27 编辑
https://www.right.com.cn/forum/thread-320378-1-1.html看了这个帖子后,把3800拿出来通过WEB页面刷4.14的,结果开机后什么灯都不亮了,用网线连接LAN口有绿灯亮,但是PING不通了。
现在寻求TTL方式刷,工具都有,就是不清楚下面这个刷机命令具体的数据要怎么改?
ar7100> erase 0xbf070000 +0x004d0004Erase Flash from 0xbf070000 to 0xbf54ffff in Bank # 1
First 0x7 last 0x54 sector size 0x10000
84
Erased 78 sectors
ar7100> cp.b 0x80800000 0xbf070000 0x004d0004
Copy to Flash... write addr: bf070000
don
ear7100> boot
网络上已经下载了“WNDR3800-V1.0.0.16编程器固件.bin”和WNDR3800-V1.0.0.16和原厂固件
参考帖子
https://www.right.com.cn/forum/forum.php?mod=viewthread&tid=138705&highlight=wndr3800%2BTTL
https://wiki.openwrt.org/toh/netgear/wndr3700#flashing_over_serial
U-Boot 1.1.4 (Apr 27 2015 - 09:16:56)
AP96 (AR7161 rev 2) U-Boot
DRAM: 128 MB
Flash: Macronix MX25L12835E (16 MB)
Using default environment
Clocks: CPU:680MHz, DDR:340MHz, AHB:170MHz, Ref:40MHz
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed MAC Address
No valid address in Flash. Using fixed MAC Address
GMAC: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
GMAC: cfg1 0xf cfg2 0x7014
eth1: 00:03:7f:09:0b:ad
eth1 up
eth0, eth1
Hit any key to stop autoboot: 0
ar7100>
U-Boot 1.1.4 (Apr 27 2015 - 09:16:56)
AP96 (AR7161 rev 2) U-Boot
DRAM: 128 MB
Flash: Macronix MX25L12835E (16 MB)
Using default environment
Clocks: CPU:680MHz, DDR:340MHz, AHB:170MHz, Ref:40MHz
In: serial
Out: serial
Err: serial
Net: ag7100_enet_initialize...
No valid address in Flash. Using fixed MAC Address
No valid address in Flash. Using fixed MAC Address
GMAC: cfg1 0xf cfg2 0x7014
eth0: 00:03:7f:09:0b:ad
eth0 up
GMAC: cfg1 0xf cfg2 0x7014
eth1: 00:03:7f:09:0b:ad
eth1 up
eth0, eth1
Hit any key to stop autoboot: 0
### SQUASHFS loading 'image/uImage' to 0x80800000
### SQUASHFS load complete: 1638400 bytes loaded to 0x80800000
## Booting image at 80800000 ...
Image Name: MIPS OpenWrt Linux-4.14.37
Created: 2018-05-15 12:31:11 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1588299 Bytes = 1.5 MB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum at 0x80800040 ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.14.37 (jack@jack-R478-R429) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6644-eda27d7)) #0 Tue May 15 12:31:11 2018
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNDR3800
[ 0.000000] SoC: Atheros AR7161 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 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] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: mem=128M rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 123372K/131072K available (3665K kernel code, 143K rwdata, 868K rodata, 1204K init, 212K bss, 7700K 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: 680.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5621354254 ns
[ 0.000008] sched_clock: 32 bits at 340MHz, resolution 2ns, wraps every 6316128254ns
[ 0.007797] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[ 0.074063] pid_max: default: 32768 minimum: 301
[ 0.078862] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.085467] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.095692] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.105548] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.111699] pinctrl core: initialized pinctrl subsystem
[ 0.117324] NET: Registered protocol family 16
[ 0.426119] PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
[ 0.432569] MEM 0x0000000010000000..0x0000000016ffffff
[ 0.437781] IO 0x0000000000000000..0x0000000000000000
[ 0.453916] PCI host bridge to bus 0000:00
[ 0.458016] pci_bus 0000:00: root bus resource [mem 0x10000000-0x16ffffff]
[ 0.464925] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.470487] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.477266] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.485686] pci 0000:00:11.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[ 0.492500] pci 0000:00:12.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[ 0.499809] clocksource: Switched to clocksource MIPS
[ 0.505686] NET: Registered protocol family 2
[ 0.510744] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.517709] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.524109] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.530591] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.536425] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.542917] NET: Registered protocol family 1
[ 0.550324] Crashlog allocated RAM at address 0x3f00000
[ 0.556376] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[ 0.566771] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.572639] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.588211] io scheduler noop registered
[ 0.592181] io scheduler deadline registered (default)
[ 0.597517] ar7100-usb-phy 18030000.usb-phy: phy reset is missing
[ 0.604443] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.611411] console [ttyS0] disabled
[ 0.615017] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 8, base_baud = 10625000) is a 16550A
|
|