Differences

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

toh:buffalo:wzr-hp-ag300h [2013/01/03 08:17]
hnyman TFTP flash region change and example
toh:buffalo:wzr-hp-ag300h [2014/04/07 13:40] (current)
fidelio Just successfully flashed from DD-WRT with factory.bin.
Line 4: Line 4:
===== Supported Versions ===== ===== Supported Versions =====
^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| v1  |  2011-02  | - | ar71xx trunk r27434 | - |+| v1  |  2011-02  | - | Attitude Adjustment - 12.09 - ar71xx | - |
===== Hardware Highlights ===== ===== Hardware Highlights =====
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 ====
The easiest way to install OpenWrt is by using the firmware utility of the OEM web interface: The easiest way to install OpenWrt is by using the firmware utility of the OEM web interface:
  - Connect to the WebInterface at [[http://192.168.11.1]] and go to //"Administration"// -> //"Firmware Upgrade"//   - Connect to the WebInterface at [[http://192.168.11.1]] and go to //"Administration"// -> //"Firmware Upgrade"//
-  - Upload the OpenWrt-Image you want to install, e.g. [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin]]+  - Upload the OpenWrt-Image you want to install, e.g. [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-factory.bin]]
  - Make your PC obtain a new IP address from OpenWrt (''dhclient eth0'' or ''pump -i eth0'' or ''ipconfig /renew'')   - Make your PC obtain a new IP address from OpenWrt (''dhclient eth0'' or ''pump -i eth0'' or ''ipconfig /renew'')
  - 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 57: Line 31:
| Bootloader tftp server IPv4 address | 192.168.11.1 | | Bootloader tftp server IPv4 address | 192.168.11.1 |
| Bootloader MAC address (special) | 02:aa:bb:cc:dd:20 | | Bootloader MAC address (special) | 02:aa:bb:cc:dd:20 |
-| Latest firmware tftp image | [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin]] (**''NOTE:''** Name must contain //"tftp"//) |+| Latest firmware tftp image | [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-ag300h-squashfs-tftp.bin]] (**''NOTE:''** Name must contain //"tftp"//) |
| TFTP Transfer Window | 4 seconds | | TFTP Transfer Window | 4 seconds |
| TFTP Window Start | approximately 10-20 seconds after power on | | TFTP Window Start | approximately 10-20 seconds after power on |
Line 69: Line 43:
  * Successful flashes via tftp using Windows 7 directly plugged into the router have been done.  It helps to add arp entries and disable media sensing as per the generic tftp instructions.   * Successful flashes via tftp using Windows 7 directly plugged into the router have been done.  It helps to add arp entries and disable media sensing as per the generic tftp instructions.
  * Flash should have reset all settings as well.  The IP address of the router should be 192.168.1.1 now since 192.168.11.1 is only for the bootloader at boot-time   * Flash should have reset all settings as well.  The IP address of the router should be 192.168.1.1 now since 192.168.11.1 is only for the bootloader at boot-time
-  * If your router has two red flashes of the DIAG LED followed by no flash and repeats then the flash failed or the image given is corrupt.  Start over and try again.+  * If your router has two red flashes of the DIAG LED followed by no flash and repeats then the flash failed or the image given is corrupt.  You can still recover with tftp.  Start over and try again.
=== TFTP advice, wrong region === === TFTP advice, wrong region ===
-There are apparently several regional versions of the OEM firmware. You may have to adjust the region in u-boot first. Below is example of a succesful region change and flash procedure Source: [[https://forum.openwrt.org/viewtopic.php?pid=187714#p187714 | forum article]]+There are apparently several regional versions of the OEM firmware. You may have to adjust the region in u-boot first. Below is example of a successful region change and flash procedure. Source: [[https://forum.openwrt.org/viewtopic.php?pid=187714#p187714 | forum article]]
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 86: Line 63:
  - After Reboot Power your Device down!   - After Reboot Power your Device down!
  - 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
 +    * 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>
 +    * tftp 192.168.11.1 <enter>
 +    * verbose <enter>
 +    * bin <enter>
 +    * <powerup your device and wait 12 seconds>
 +    * 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
    * tftp -i 192.168.11.1 PUT wzrhpag300h-pro-v24sp2-19154.enc  **(don't hit enter, yet)**     * tftp -i 192.168.11.1 PUT wzrhpag300h-pro-v24sp2-19154.enc  **(don't hit enter, yet)**
  - Power on the Device and 10 Seconds after that **hit enter in Windows CMD** to start the TFTP. (it tooks about ten Minutes to Complete the flash procedure)   - Power on the Device and 10 Seconds after that **hit enter in Windows CMD** to start the TFTP. (it tooks about ten Minutes to Complete the flash procedure)
- 
Line 101: 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 123: 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 167: 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.1357197479.txt.bz2 · Last modified: 2013/01/03 08:17 by hnyman