Differences

This shows you the differences between two versions of the page.

toh:buffalo:wzr-hp-ag300h [2013/07/02 23:38]
rbeede Added note about recovery if tftp flash fails
toh:buffalo:wzr-hp-ag300h [2014/04/07 13:40] (current)
fidelio Just successfully flashed from DD-WRT with factory.bin.
Line 13: Line 13:
===== Installation ===== ===== Installation =====
-==== Flash Layout ==== 
-->[[doc:techref:Flash Layout]] has an example flash layout and all explanations required to understand this. Here the naked hex-values for the WZR-HP-AG300H: 
- 
-|''root@**DD-WRT**:~# cat /proc/mtd 
-dev:    size  erasesize  name 
-mtd0: 00050000 00010000 "RedBoot" 
-mtd1: 01f80000 00010000 "linux" 
-mtd2: 00b11000 00010000 "rootfs" 
-mtd3: 01380000 00010000 "ddwrt" 
-mtd4: 00010000 00010000 "nvram" 
-mtd5: 00010000 00010000 "FIS directory" 
-mtd6: 00010000 00010000 "board_config" 
-mtd7: 02000000 00010000 "fullflash" 
-mtd8: 00010000 00010000 "uboot-env" 
-''|''root@**OpenWrt**:~# cat /proc/mtd 
-dev:    size  erasesize  name 
-mtd0: 01000000 00001000 "spi0.0" 
-mtd1: 01000000 00001000 "spi0.1" 
-mtd2: 00040000 00001000 "u-boot" 
-mtd3: 00010000 00001000 "u-boot-env" 
-mtd4: 00010000 00001000 "art" 
-mtd5: 00100000 00001000 "kernel" 
-mtd6: 01e90000 00001000 "rootfs" 
-mtd7: 01d2c000 00001000 "rootfs_data" 
-mtd8: 00010000 00001000 "user_property" 
-mtd9: 01f90000 00001000 "firmware"''| 
- 
==== Installation using the OEM web interface ==== ==== Installation using the OEM web interface ====
Line 48: Line 21:
  - proceed with [[doc:howto:basic.config]] to complete installation   - proceed with [[doc:howto:basic.config]] to complete installation
 +**NOTE:** It may happen, that the squashfs-factory.bin does not work for this device, if the factory image is based on __DD-WRT__. See [[https://www.mail-archive.com/openwrt-users@lists.openwrt.org/msg02637.html|this thread]]. Please update the thread with your experience or file a bug if you run into a problem. According to the user, for installation from DD-WRT the instructions on the [[http://wiki.openwrt.org/toh/buffalo/wzr-600dhp?s[]=wzr&s[]=hp&s[]=ag300h#installation.using.the.oem.web.interface|WZR-600DHP]] page worked for him.
-==== OEM installation using the TFTP method ====+==== Installation using the TFTP method ====
->  [[doc:howto:generic.flashing.tftp]] ->  [[doc:howto:generic.flashing.tftp]]
Line 77: Line 51:
This is how to do it from serial console: This is how to do it from serial console:
-  - Hold the STRG+C pressed while poweron the Router.+  - Power on the router and wait until you see "Load address" appear shortly after the tftp message: <code>tftp server(receive) go, waiting:4[sec] 
 +... 
 +Load address: 0x84000000</code> 
 +  - Immediately press Control+c
  - After prompt apears do:   - After prompt apears do:
    * setenv accept_open_rt_fmt 1     * setenv accept_open_rt_fmt 1
Line 87: Line 64:
  - Set Your LAN IP to 192.168.11.2   - Set Your LAN IP to 192.168.11.2
  - In a linux terminal use these commands   - In a linux terminal use these commands
-    * wget -O myfirmware.bin "http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin"+    * wget -O firmware-tftp.bin "http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin"
    * sudo ip neigh add 192.168.11.1 dev eth0 lladdr 02:aa:bb:cc:dd:20 nud permanent <enter>     * sudo ip neigh add 192.168.11.1 dev eth0 lladdr 02:aa:bb:cc:dd:20 nud permanent <enter>
    * tftp 192.168.11.1 <enter>     * tftp 192.168.11.1 <enter>
    * verbose <enter>     * verbose <enter>
    * bin <enter>     * bin <enter>
-    * <powerup your device and wait 5 seconds> +    * <powerup your device and wait 12 seconds> 
-    * put myfirmware.bin <enter>+    * put firmware-tftp.bin <enter>
  - In Windows cmd put that Line:   - In Windows cmd put that Line:
    * arp -s 192.168.11.1 02-AA-BB-CC-DD-20     * arp -s 192.168.11.1 02-AA-BB-CC-DD-20
Line 108: Line 85:
==== Failsafe mode ==== ==== Failsafe mode ====
 +
 +Press the 'USB/eject' button while the red 'DIAG' LED is blinking to enter Failsafe mode.
 +
-> [[doc:howto:generic.failsafe]] -> [[doc:howto:generic.failsafe]]
Line 130: Line 110:
  * It's very unlikely that you completely bricked the device, so first try the TFTP Method above.  Note that a red diagnostics light blinking twice means your flash failed, but the device is ok and tftp will work (keep trying).  If you still get nowhere, more drastic measures:   * It's very unlikely that you completely bricked the device, so first try the TFTP Method above.  Note that a red diagnostics light blinking twice means your flash failed, but the device is ok and tftp will work (keep trying).  If you still get nowhere, more drastic measures:
-> [[doc:howto:generic.debrick]] -> [[doc:howto:generic.debrick]]
- 
Line 174: Line 153:
Kernel driver in use: ath9k Kernel driver in use: ath9k
</code> </code>
 +
 +
 +==== Flash Layout ====
 +->[[doc:techref:Flash Layout]] has an example flash layout and all explanations required to understand this. Here the naked hex-values for the WZR-HP-AG300H:
 +
 +|''root@**DD-WRT**:~# cat /proc/mtd
 +dev:    size  erasesize  name
 +mtd0: 00050000 00010000 "RedBoot"
 +mtd1: 01f80000 00010000 "linux"
 +mtd2: 00b11000 00010000 "rootfs"
 +mtd3: 01380000 00010000 "ddwrt"
 +mtd4: 00010000 00010000 "nvram"
 +mtd5: 00010000 00010000 "FIS directory"
 +mtd6: 00010000 00010000 "board_config"
 +mtd7: 02000000 00010000 "fullflash"
 +mtd8: 00010000 00010000 "uboot-env"
 +''|''root@**OpenWrt**:~# cat /proc/mtd
 +dev:    size  erasesize  name
 +mtd0: 01000000 00001000 "spi0.0"
 +mtd1: 01000000 00001000 "spi0.1"
 +mtd2: 00040000 00001000 "u-boot"
 +mtd3: 00010000 00001000 "u-boot-env"
 +mtd4: 00010000 00001000 "art"
 +mtd5: 00100000 00001000 "kernel"
 +mtd6: 01e90000 00001000 "rootfs"
 +mtd7: 01d2c000 00001000 "rootfs_data"
 +mtd8: 00010000 00001000 "user_property"
 +mtd9: 01f90000 00001000 "firmware"''|
 +
 +
==== Photos ==== ==== Photos ====

Back to top

toh/buffalo/wzr-hp-ag300h.1372801104.txt.bz2 · Last modified: 2013/07/02 23:38 by rbeede