Differences

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

toh:buffalo:wzr-hp-g300nh2 [2012/10/11 16:13]
toh:buffalo:wzr-hp-g300nh2 [2014/01/26 02:38] (current)
Line 1: Line 1:
-====== Buffalo WZR-HP-G300NH2 ======+====== Buffalo WZR-HP-G300NH2 / WZR-300HP ====== 
===== 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 ^
| A0A0, A0A1 |  2011-08  | - | svn, since r29568 | - | | A0A0, A0A1 |  2011-08  | - | svn, since r29568 | - |
| A1A0  |  2011-11  | - | svn, since r31678 or earlier? | squashfs should work, jffs2 need flash erase size set to 64k | | A1A0  |  2011-11  | - | svn, since r31678 or earlier? | squashfs should work, jffs2 need flash erase size set to 64k |
 +| B0A0 (marked WZR-300HP)|  2012-11  | - | Attitude Adjustment | squashfs works, have not tested jffs2 |
 +| C1A0  | ??? | - | svn, r37793 or earlier?| squashfs works, have not tested jffs2 |
 +| B0A1 (sold as WZR-300HP) | ? | -|Barrier Breaker Snapshot r39382 |Might Work: See https://forum.openwrt.org/viewtopic.php?id=44009 |
===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 34: Line 38:
==== Flash procedure ==== ==== Flash procedure ====
-To flash the WZR-HP-G300NH2, follow the same procedure as the [[toh/buffalo/wzr-hp-g300h]], but use 02:AA:BB:CC:DD:1A for the static arp entry. Download the latest image here: [[http://downloads.openwrt.org/attitude_adjustment/12.09-beta/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin | Nightly snapshot build]] ( Flashing Backfire to this router will brick the router ( solid red light ) as this version has a new ethernet driver ). +To flash the WZR-HP-G300NH2, follow the same procedure as the [[toh/buffalo/wzr-hp-g300h]], but use 02:AA:BB:CC:DD:1A for the static arp entry. Download the latest image here: [[http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin | Stable release]] ( <color red>Flashing Backfire to this router will brick the router</color> ( solid red light ) as this version has a new ethernet driver ).
As noted under [[https://forum.openwrt.org/viewtopic.php?pid=176220#p176220 | forum post #452 ]] **current fimwares sometimes don't show the correct LED status (due to a bug)**. This means the flash might appear to have failed (solid red light) but instead was successful. After any flash it is therefore recommended to follow [[http://wiki.openwrt.org/doc/howto/firstlogin | the normal first login instructions]] regardless of LED status. As noted under [[https://forum.openwrt.org/viewtopic.php?pid=176220#p176220 | forum post #452 ]] **current fimwares sometimes don't show the correct LED status (due to a bug)**. This means the flash might appear to have failed (solid red light) but instead was successful. After any flash it is therefore recommended to follow [[http://wiki.openwrt.org/doc/howto/firstlogin | the normal first login instructions]] regardless of LED status.
Line 317: Line 321:
</p> </p>
</HTML> </HTML>
 +
 +==== Photos ====
 +{{:toh:buffalo:g300nh_a2.png?320x240&direct|Front PCB, ver2 A1 A0}}
 +{{:toh:buffalo:g300nh_a2_serial_port.png?320x240&direct|Serial port on PCB ver2 A1 A0}}
 +
===== Serial ===== ===== Serial =====
Line 324: Line 333:
|**Pin 4**| RX | |**Pin 4**| RX |
|Settings| 115200,8,N,1| |Settings| 115200,8,N,1|
 +
 +On the WZR-300HP, Pin 1 does not supply +3.3V.  There is a 0 K resistor right next to pin one which can be bridged to complete the +3.3V circuit.  Unfortunately, it is covered in solder now, but I believe that it was labeled R347 on the silk screen.  Once this is completed, the serial console will function.  If you are using a USB TTL cable, this may not be necessary.
===== Two flashes of diag every few seconds ===== ===== Two flashes of diag every few seconds =====
Line 545: Line 556:
</p> </p>
</HTML> </HTML>
 +===== Revision B0A0 (marketed as N300 HIGHPOWER GIGABIT / WZR-300HP) =====
 +
 +This board, marked WZR-HP-G302HV2 Rev: A3, is nearly identical to the other revisions, and the same image appears to flash successfully.  A visual inspection shows a different DDR2 module (both Nanya, but it looks like the previous chip was EOL'd), various capacitors in different positions, and a coil on the back of the board is covered in epoxy now.
 +
 +
 +==== Boot Log ====
 +<HTML>
 +<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF">
 +<code>
 +BUFFALO U-BOOT Ver 1.00
 +  == CPU:400MHz, DDR:400MHz, AHB:200MHz ==
 +PB93 (ar7241 - Virian) U-boot
 +DRAM:  64 MB
 +WAN port disabling: done
 +Top of RAM usable for U-Boot at: 84000000
 +Reserving 267k 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 [MX25L128-45E, blk:0x10000, sectors:256]
 +flash bank #1 found 16 MB flash [MX25L128-45E, 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 OK
 +### buf_ver=[1.00] U-Boot Ver.=[1.00]
 +### build_date(env)=[May 21 2012 - 06:39:59] build_date(bin)=[May 21 2012 - 06:39:59]
 +ag7240_enet_initialize...
 +Reading MAC Address from ENV(0x83f8c2f8)
 +No valid address in Flash. Using fixed address
 +Virian MDC CFG Value ==> 4
 +: cfg1 0x7 cfg2 0x7014
 +eth0: 02:aa:bb:cc:dd:1a
 +eth0 up
 +Virian MDC CFG Value ==> 4
 +: cfg1 0xf cfg2 0x7214
 +eth1: 00:03:7f:09:0b:ad
 +ATHRS26: resetting s26
 +ATHRS26: s26 reset done
 +eth1 up
 +eth0  02:AA:BB:CC:DD:1A
 +, eth1  00:03:7F:09:0B:AD
 +
 +dup 1 speed 1000
 +
 +tftp server(receive) go, waiting:4[sec]
 +Load address: 0x81f00000
 +$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +        $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
 +tftp server done
 +Bytes transferred = 2949156 (2d0024 hex)
 +
 +Airstation Public header
 +Recv fw image [2949124] bytes, now writing...
 +
 +flash-addr 0xBF060000 - 0xBF33FFFF
 +search sector 0xbf060000 - 0xbf33ffff
 +BANK #1 (6 : 51)
 +  000  PPPP.Poooooooooooooooooooooooooo
 +  032  oooooooooooooooooooo............
 +  064  ................................
 +  096  ................................
 +  128  ................................
 +  160  ................................
 +  192  ................................
 +  224  ................................
 +BANK #2 (-1 : -1)
 +  000  ................................
 +  032  ................................
 +  064  ................................
 +  096  ................................
 +  128  ................................
 +  160  ................................
 +  192  ................................
 +  224  ................................
 +
 +First 0x6 last 0x33 sector size 0x10000
 +  51
 +Erased 46 sectors
 +Copy to Flash...
 + Copy 2949124 byte to Flash...
 +write data: 81f00020 --> bf060000  (len:2d0004)
 +done
 +change bootargs
 +console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties) mem=64M product_rev=1 UART=1
 +## Booting image at bf060000 ...
 +  Image Name:  MIPS OpenWrt Linux-3.3.8
 +  Created:      2012-11-18  4:37:08 UTC
 +  Image Type:  MIPS Linux Kernel Image (lzma compressed)
 +  Data Size:    955998 Bytes = 933.6 kB
 +  Load Address: 80060000
 +  Entry Point:  80060000
 +  Verifying Checksum ... crc32_fw: bf060040 - bf14969d (len:000e965e) calc...
 +crc32_fw: range1 bf060040 - bf14969d
 +OK
 +  Uncompressing Kernel Image ... OK
 +Ethernet Disabled!
 +No initrd
 +## Transferring control to Linux (at address 80060000) ...
 +## Giving linux memsize in bytes, 67108864
 +
 +Starting kernel ...
 +
 +[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Nov 18 04:31:55 UTC 2012
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
 +[    0.000000] SoC: Atheros AR7242 rev 1
 +[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
 +[    0.000000] Determined physical RAM map:
 +[    0.000000]  memory: 04000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone PFN ranges:
 +[    0.000000]  Normal  0x00000000 -> 0x00004000
 +[    0.000000] Movable zone start PFN for each node
 +[    0.000000] Early memory PFN ranges
 +[    0.000000]    0: 0x00000000 -> 0x00004000
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
 +[    0.000000] Kernel command line:  board=WZR-HP-G300NH2 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
 +[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 +[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
 +[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
 +[    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] Writing ErrCtl register=00000000
 +[    0.000000] Readback ErrCtl register=00000000
 +[    0.000000] Memory: 61496k/65536k available (2209k kernel code, 4040k reserved, 412k data, 212k init, 0k highmem)
 +[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
 +[    0.000000] NR_IRQS:51
 +[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
 +[    0.080000] pid_max: default: 32768 minimum: 301
 +[    0.080000] Mount-cache hash table entries: 512
 +[    0.090000] NET: Registered protocol family 16
 +[    0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
 +[    0.100000] MIPS: machine is Buffalo WZR-HP-G300NH2
 +[    0.330000] registering PCI controller with io_map_base unset
 +[    0.340000] bio: create slab <bio-0> at 0
 +[    0.350000] PCI host bridge to bus 0000:00
 +[    0.350000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
 +[    0.360000] pci_bus 0000:00: root bus resource [io  0x0000]
 +[    0.360000] pci 0000:00:00.0: fixup device configuration
 +[    0.370000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
 +[    0.370000] pci 0000:00:00.0: using irq 40 for pin 1
 +[    0.380000] Switching to clocksource MIPS
 +[    0.380000] NET: Registered protocol family 2
 +[    0.390000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.390000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
 +[    0.400000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
 +[    0.400000] TCP: Hash tables configured (established 2048 bind 2048)
 +[    0.410000] TCP reno registered
 +[    0.410000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.420000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.430000] NET: Registered protocol family 1
 +[    0.450000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 +[    0.450000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.470000] msgmni has been set to 120
 +[    0.470000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
 +[    0.480000] io scheduler noop registered
 +[    0.480000] io scheduler deadline registered (default)
 +[    0.490000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
 +[    0.520000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
 +[    0.530000] console [ttyS0] enabled, bootconsole disabled
 +[    0.530000] console [ttyS0] enabled, bootconsole disabled
 +[    0.540000] m25p80 spi0.0: found mx25l12805d, expected m25p80
 +[    0.550000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
 +[    0.550000] m25p80 spi0.1: found mx25l12805d, expected m25p80
 +[    0.560000] m25p80 spi0.1: mx25l12805d (16384 Kbytes)
 +[    0.570000] Concatenating MTD devices:
 +[    0.570000] (0): "spi0.0"
 +[    0.570000] (1): "spi0.1"
 +[    0.580000] into device "flash"
 +[    0.590000] Creating 7 MTD partitions on "flash":
 +[    0.590000] 0x000000000000-0x000000040000 : "u-boot"
 +[    0.600000] 0x000000040000-0x000000050000 : "u-boot-env"
 +[    0.600000] 0x000000050000-0x000000060000 : "art"
 +[    0.610000] 0x000000060000-0x000000160000 : "kernel"
 +[    0.620000] 0x000000160000-0x000001ff0000 : "rootfs"
 +[    0.620000] mtd: partition "rootfs" set to be root filesystem
 +[    0.630000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=1CC0000
 +[    0.640000] 0x000000330000-0x000001ff0000 : "rootfs_data"
 +[    0.650000] 0x000001ff0000-0x000002000000 : "user_property"
 +[    0.650000] 0x000000060000-0x000001ff0000 : "firmware"
 +[    0.660000] ag71xx_mdio: probed
 +[    0.670000] eth0: Atheros AG71xx at 0xb9000000, irq 4
 +[    1.250000] eth0: Atheros AR8316 switch driver attached.
 +[    1.250000] ar8316: Using port 4 as switch port
 +[    1.350000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316]
 +[    1.370000] TCP cubic registered
 +[    1.370000] NET: Registered protocol family 17
 +[    1.370000] Bridge firewalling registered
 +[    1.380000] 8021q: 802.1Q VLAN Support v1.8
 +[    1.390000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
 +[    1.400000] Freeing unused kernel memory: 212k freed
 +- preinit -
 +Press the [f] key and hit [enter] to enter failsafe mode
 +[    5.350000] eth0: link up (1000Mbps/Full duplex)
 +- regular preinit -
 +jffs2 not ready yet; using ramdisk
 +- init -
 +[    7.130000] eth0: link down
 +[    9.150000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
 +[    9.150000] Backport based on wireless-testing.git master-2012-09-07
 +[    9.160000] compat.git: wireless-testing.git
 +[    9.190000] cfg80211: Calling CRDA to update world regulatory domain
 +[    9.200000] cfg80211: World regulatory domain updated:
 +[    9.200000] cfg80211:  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
 +[    9.210000] cfg80211:  (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[    9.220000] cfg80211:  (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[    9.230000] cfg80211:  (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[    9.240000] cfg80211:  (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[    9.240000] cfg80211:  (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[    9.650000] usbcore: registered new interface driver usbfs
 +[    9.660000] usbcore: registered new interface driver hub
 +[    9.670000] usbcore: registered new device driver usb
 +[  10.400000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
 +[  10.420000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
 +[  10.430000] cfg80211: Calling CRDA for country: US
 +[  10.440000] cfg80211: Regulatory domain changed to country: US
 +[  10.440000] cfg80211:  (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
 +[  10.450000] cfg80211:  (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
 +[  10.460000] cfg80211:  (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
 +[  10.470000] cfg80211:  (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[  10.470000] cfg80211:  (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[  10.480000] cfg80211:  (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[  10.490000] cfg80211:  (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
 +[  10.540000] PPP generic driver version 2.4.2
 +[  10.800000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[  11.020000] NET: Registered protocol family 24
 +[  11.040000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
 +[  11.050000] ehci-platform ehci-platform: Generic Platform EHCI Controller
 +[  11.050000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
 +[  11.090000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
 +[  11.110000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
 +[  11.110000] hub 1-0:1.0: USB hub found
 +[  11.120000] hub 1-0:1.0: 1 port detected
 +[  11.140000] nf_conntrack version 0.5.0 (964 buckets, 3856 max)
 +[  11.370000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
 +
 +Please press Enter to activate this console. [  15.220000] device eth0.1 entered promiscuous mode
 +[  15.220000] device eth0 entered promiscuous mode
 +[  16.390000] eth0: link up (1000Mbps/Full duplex)
 +[  16.400000] br-lan: port 1(eth0.1) entered forwarding state
 +[  16.400000] br-lan: port 1(eth0.1) entered forwarding state
 +[  18.400000] br-lan: port 1(eth0.1) entered forwarding state
 +[  25.930000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
 +[  25.930000] jffs2_build_filesystem(): unlocking the mtd device... done.
 +[  25.940000] jffs2_build_filesystem(): erasing all blocks after the end marker...
 +</code>
 +</p>
 +</HTML>
 +
 +
 +===== Tags =====
 +{{tag>GigabitEthernet 1NIC 1WNIC 5Port}}

Back to top

toh/buffalo/wzr-hp-g300nh2.1349964789.txt.bz2 · Last modified: 2012/10/11 16:13 (external edit)