Then
"mtd -r write /tmp/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin linux"
I now realized that the firmware was for the wrong model.
It returned a bunch of "y"s and now my router's diag light flashes twice every several seconds. I tried TFTP recovery, but it isn't working. I don't get any ping responses either. I followed all of the directions in the peacock thread (up to and including 6i). After doing some reading I figured out that the TFTP server may have been overwritten with my using the mtd command.
What can I do to recover my router? Thank you for your help! Let me know if I can provide any other information.
I was able to get inside and got the proper cables and made a connection. I don't exactly know where to go from here. The output is below: (I pressed ctrl-c twice as you may be able to tell)
Code:
BUFFALO U-BOOT Ver 1.00
== CPU:680MHz, DDR:340MHz, AHB:170MHz ==
AP96 (ar7100) U-boot 0.0.1
DRAM: 128 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 266k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
Stack Pointer at: 83f6bf98
Now running in RAM - U-Boot at: 83fbc000
flash bank #0 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256]
flash bank #1 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256]
Flash: 32 MB
In: serial
Out: serial
Err: serial
Memory Test
uboot use 83F6BFB0 - 84000000
Memory Test start(80000000) end(83F00000) size(03F00000)
Pattern 00000000 Writing... Reading...
Memory Test start(84000000) end(88000000) size(04000000)
Pattern 00000000 Writing... Reading...
Memory Test OK
### buf_ver=[1.00] U-Boot Ver.=[1.00]
### build_date(env)=[May 21 2012 - 08:29:08] build_date(bin)=[May 21 2012 - 08:2 9:08]
ag7100_enet_initialize...
Reading MAC Address from ENV(0x83f8c2f4)
Port 0, Neg Success
Port 1, Neg Success
Port 2, Neg Success
Port 3, Neg Success
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010;$eth0: 02:aa:bb:cc:dd:20
eth0 up
Reading MAC Address from ENV(0x83f8c2f4)
Port 4, Neg Success
eth1: Phy Specific Status=0010
eth1: 02:aa:bb:cc:dd:21
eth1 up
eth0 02:AA:BB:CC:DD:20
, eth1 02:AA:BB:CC:DD:21
eth0 link down
tftp server(receive) go, waiting:4[sec]
eth0 link down
Load address: 0x84000000
TftpServer Timeout;
no file was loaded.
change bootargs
console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7100 -nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@32 0k(ART),64k@8128k(properties),8192k@8192k(flash1),16384k@16384k(flash2) mem=128M
## Booting image at bf060000 ...
Bad Magic Number
# LED(0x2) Blink[2] (Please press 'Ctrl+c' to stop)
Bad Header Checksum
# LED(0x2) Blink[2] (Please press 'Ctrl+c' to stop)