Topic: Buffalo WZR-300hp / WZR-G300NH2 supported?

Hi i am hoping to be able to put open-wrt on a buffalo WZR-300HP.
I am not very technically inclined however i do know enough to wreck something.
I was wondering if there is a openwrt version that can go on this router? by simply doing a "firmware upgrade" from the webgui.

I have this one download:
             openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin

However when i trade to do a firmware upgrade, it said it was sucessful however the origanal firmware remained and i could not telnet to 192.168.1.1. only 192.168.11.1 (dd-wrt router router default). Which mean it was not sucessful.

I tried reading the wiki but found it a little confusing and it made me kind of nervous for fear of bricking my device.

Any and all help would be appreciated!

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Hi.  Wanted to let folks know that I tried to install OpenWrt (attitude adjustment, pulled from nightly build section on 16 November 2013) on a WZR-300HP, revision B0A1. Seems that I bricked it. I first tried to load the image via TFTP.  Despite trying several times with and without a switch, I couldn't get that to work.  I eventually used the MTD method; I was able to telnet into the router with the stock firmware. The MTD method seemed to work until I rebooted, then it was a brick.  I plan to open the case on this thing to see what I can learn from its innards, and how it might be different from the B0A0, which I understand will work.

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

beckolamuffin wrote:

Hi.  Wanted to let folks know that I tried to install OpenWrt (attitude adjustment, pulled from nightly build section on 16 November 2013) on a WZR-300HP, revision B0A1. Seems that I bricked it. I first tried to load the image via TFTP.  Despite trying several times with and without a switch, I couldn't get that to work.  I eventually used the MTD method; I was able to telnet into the router with the stock firmware. The MTD method seemed to work until I rebooted, then it was a brick.  I plan to open the case on this thing to see what I can learn from its innards, and how it might be different from the B0A0, which I understand will work.

I'm in the exact same boat. Did you have any progress?

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Not much yet.  Got the cover off and am planning on attaching a serial cable. Markings on the board are a little different than earlier models.

PCB is marked:
WZR-HP-G302HV2
21514 W302HV21A3 Rev:A3

To get off the cover, you need a T10 "tamper proof" torx bit, the kind with the little hole in the center.

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Same markings on mine; i was able to recover mine back to the stock dd-wrt firmware today without having to serial port the router.

6 (edited by erpadmin 2013-12-04 02:12:22)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Just picked one of these up.  This is my 3rd one and they are all different revisions lol.

Its good that it flashed back to stock keyboardgnome. 

beckolamuffin are you actually adding the port so you can see what failed in the boot process; maybe driver issue or something?  Interested in seeing that output and please update this thread on any progress.

7 (edited by keyboardgnome 2013-12-04 03:25:00)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

erpadmin wrote:

Its good that it flashed back to stock keyboardgnome.

Two tricks:
First trick was not using windows or the linksys util, but linux and tftp. In windows, it would get up to, oh, about 70-75 percent reflashed, then bomb out. In linux, smooth and silk. (http://g300nh.blogspot.com/2010/06/firmware-flash-and-brick-recovery.html)

Second trick was making sure that the switch for router mode (auto/on/off) was set to ON, and not the others.


Here's the obligatory bootlog on the new one

<5>[    0.000000] Linux version 3.2.21 (root@dd-wrt) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #226 Mon Jul 9 09:28:28 CEST 2012
<4>[    0.000000] flash_size passed from bootloader = 32
<6>[    0.000000] bootconsole [early0] enabled
<6>[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
<6>[    0.000000] Determined physical RAM map:
<6>[    0.000000]  memory: 04000000 @ 00000000 (usable)
<4>[    0.000000] Zone PFN ranges:
<4>[    0.000000]   Normal   0x00000000 -> 0x00004000
<4>[    0.000000] Movable zone start PFN for each node
<4>[    0.000000] early_node_map[1] active PFN ranges
<4>[    0.000000]     0: 0x00000000 -> 0x00004000
<7>[    0.000000] On node 0 totalpages: 16384
<7>[    0.000000] free_area_init_node: node 0, pgdat 80327e80, node_mem_map 81000000
<7>[    0.000000]   Normal zone: 128 pages used for memmap
<7>[    0.000000]   Normal zone: 0 pages reserved
<7>[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
<7>[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[    0.000000] pcpu-alloc: [0] 0
<4>[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
<5>[    0.000000] Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd init=/sbin/init
<6>[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
<6>[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
<4>[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
<4>[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
<6>[    0.000000] Writing ErrCtl register=00000000
<6>[    0.000000] Readback ErrCtl register=00000000
<6>[    0.000000] Memory: 61264k/65536k available (2367k kernel code, 4272k reserved, 857k data, 164k init, 0k highmem)
<6>[    0.000000] NR_IRQS:80
<6>[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
<6>[    0.080000] pid_max: default: 32768 minimum: 301
<6>[    0.080000] Mount-cache hash table entries: 512
<6>[    0.090000] NET: Registered protocol family 16
<6>[    0.090000] found calibration data for slot 0 on 0xBF051000
<4>[    0.300000] registering PCI controller with io_map_base unset
<6>[    0.320000] bio: create slab <bio-0> at 0
<6>[    0.320000] usbcore: registered new interface driver usbfs
<6>[    0.330000] usbcore: registered new interface driver hub
<6>[    0.330000] usbcore: registered new device driver usb
<7>[    0.340000] pci 0000:00:00.0: [168c:ff1c] type 0 class 0x000200
<6>[    0.340000] pci 0000:00:00.0: fixup device configuration
<0>[    0.340000] bootstrap returns device 168C:2A
<7>[    0.350000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
<7>[    0.350000] pci 0000:00:00.0: supports D1
<7>[    0.350000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
<7>[    0.350000] pci 0000:00:00.0: PME# disabled
<6>[    0.350000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
<6>[    0.350000] pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1000ffff 64bit] (PCI address [0x10000000-0x1000ffff])
<6>[    0.360000] PCI: mapping irq 72 to pin1@0000:00:00.0
<6>[    0.360000] Switching to clocksource MIPS
<6>[    0.370000] NET: Registered protocol family 2
<6>[    0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[    0.380000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
<6>[    0.390000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
<6>[    0.390000] TCP: Hash tables configured (established 2048 bind 2048)
<6>[    0.400000] TCP reno registered
<6>[    0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.410000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[    0.420000] NET: Registered protocol family 1
<7>[    0.420000] PCI: CLS 0 bytes, default 32
<5>[    0.420000] gpio_proc: module loaded and /proc/gpio/ created
<5>[    0.430000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created
<6>[    0.440000] squashfs: version 3.0 (2006/03/15) Phillip Lougher
<6>[    0.440000] msgmni has been set to 119
<6>[    0.450000] alg: No test for stdrng (krng)
<6>[    0.450000] io scheduler noop registered
<6>[    0.460000] io scheduler deadline registered (default)
<6>[    0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
<6>[    0.490000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
<6>[    0.500000] console [ttyS0] enabled, bootconsole disabled
<4>[    0.510000] check spi banks 2
<4>[    0.510000] 0000 : C2 20 18
<4>[    0.520000] found MX25L128-45E device on bank#0
<4>[    0.520000] 0000 : C2 20 18
<4>[    0.520000] found MX25L128-45E device on bank#1
<4>[    0.530000] SPI flash size total:32 Mbytes
<0>[    0.610000]
<0>[    0.610000] found squashfs at 182000
<5>[    0.610000] Creating 9 MTD partitions on "ar7240-nor0":
<5>[    0.620000] 0x000000000000-0x000000050000 : "RedBoot"
<5>[    0.630000] 0x000000060000-0x000001fe0000 : "linux"
<5>[    0.630000] 0x000000182000-0x000000d50000 : "rootfs"
<4>[    0.640000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
<5>[    0.650000] mtd: partition "rootfs" set to be root filesystem
<5>[    0.660000] 0x000000d50000-0x000001fe0000 : "ddwrt"
<5>[    0.660000] 0x000001fe0000-0x000001ff0000 : "nvram"
<5>[    0.670000] 0x000001ff0000-0x000002000000 : "FIS directory"
<5>[    0.680000] 0x000001ff0000-0x000002000000 : "board_config"
<5>[    0.680000] 0x000000000000-0x000002000000 : "fullflash"
<5>[    0.690000] 0x000000040000-0x000000050000 : "uboot-env"
<6>[    0.700000] tun: Universal TUN/TAP device driver, 1.6
<6>[    0.700000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
<7>[    0.710000] ar71xx: pll_reg 0xb805002c: 0x62000000
<6>[    0.820000] ag71xx_mdio: probed
<6>[    1.020000] eth0: Atheros AG71xx at 0xb9000000, irq 4
<6>[    1.680000] eth0: AR8316 switch driver attached.
<6>[    1.690000] ar8316: Using port 4 as switch port
<6>[    2.170000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316]
<6>[    2.180000] PPP generic driver version 2.4.2
<6>[    2.180000] PPP BSD Compression module registered
<6>[    2.190000] PPP Deflate Compression module registered
<6>[    2.190000] PPP MPPE Compression module registered
<6>[    2.200000] NET: Registered protocol family 24
<6>[    2.200000] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout= 0)
<7>[    2.210000] Registered led device: generic_0
<7>[    2.210000] Registered led device: generic_1
<7>[    2.210000] Registered led device: generic_2
<7>[    2.210000] Registered led device: generic_3
<7>[    2.210000] Registered led device: generic_4
<7>[    2.210000] Registered led device: generic_5
<7>[    2.210000] Registered led device: generic_6
<7>[    2.220000] Registered led device: generic_7
<7>[    2.220000] Registered led device: generic_8
<7>[    2.220000] Registered led device: generic_9
<7>[    2.220000] Registered led device: generic_10
<7>[    2.220000] Registered led device: generic_11
<7>[    2.220000] Registered led device: generic_12
<7>[    2.220000] Registered led device: generic_13
<7>[    2.220000] Registered led device: generic_14
<7>[    2.220000] Registered led device: generic_15
<7>[    2.220000] Registered led device: generic_16
<7>[    2.220000] Registered led device: generic_17
<7>[    2.220000] Registered led device: generic_18
<7>[    2.220000] Registered led device: generic_19
<7>[    2.220000] Registered led device: generic_20
<7>[    2.220000] Registered led device: generic_21
<7>[    2.220000] Registered led device: generic_22
<7>[    2.220000] Registered led device: generic_23
<7>[    2.220000] Registered led device: generic_24
<7>[    2.220000] Registered led device: generic_25
<7>[    2.220000] Registered led device: generic_26
<7>[    2.220000] Registered led device: generic_27
<7>[    2.220000] Registered led device: generic_28
<7>[    2.220000] Registered led device: generic_29
<7>[    2.220000] Registered led device: generic_30
<7>[    2.220000] Registered led device: generic_31
<7>[    2.220000] Registered led device: wireless_generic_0
<7>[    2.220000] Registered led device: wireless_generic_1
<7>[    2.220000] Registered led device: wireless_generic_2
<7>[    2.220000] Registered led device: wireless_generic_3
<7>[    2.220000] Registered led device: wireless_generic_4
<7>[    2.230000] Registered led device: wireless_generic_5
<7>[    2.230000] Registered led device: wireless_generic_6
<7>[    2.230000] Registered led device: wireless_generic_7
<7>[    2.230000] Registered led device: wireless_generic_8
<7>[    2.230000] Registered led device: wireless_generic_9
<7>[    2.230000] Registered led device: wireless_generic_10
<7>[    2.230000] Registered led device: wireless_generic_11
<7>[    2.230000] Registered led device: wireless_generic_12
<7>[    2.230000] Registered led device: wireless_generic_13
<7>[    2.230000] Registered led device: wireless_generic_14
<7>[    2.230000] Registered led device: wireless_generic_15
<6>[    2.230000] u32 classifier
<6>[    2.230000]     input device check on
<6>[    2.240000]     Actions configured
<6>[    2.240000] Netfilter messages via NETLINK v0.30.
<6>[    2.240000] nf_conntrack version 0.5.0 (957 buckets, 3828 max)
<4>[    2.250000] nf_conntrack_rtsp v0.6.21 loading
<4>[    2.250000] nf_nat_rtsp v0.6.21 loading
<6>[    2.260000] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[    2.260000] IPP2P v0.8.2 loading
<6>[    2.270000] TCP westwood registered
<6>[    2.270000] TCP hybla registered
<6>[    2.270000] TCP vegas registered
<6>[    2.280000] NET: Registered protocol family 17
<5>[    2.280000] Bridge firewalling registered
<6>[    2.290000] 8021q: 802.1Q VLAN Support v1.8
<6>[    2.290000] searching for nvram
<6>[    2.290000] nvram size = -2144485110
<6>[    2.370000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
<6>[    2.380000] Freeing unused kernel memory: 164k freed
<6>[    6.640000] Compat-wireless backport release: compat-wireless-2012-04-13-1-r31296
<6>[    6.650000] Backport based on wireless-testing.git master-2012-04-13
<6>[    6.820000] cfg80211: Calling CRDA to update world regulatory domain
<6>[    7.160000] cfg80211: World regulatory domain updated:
<6>[    7.160000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6>[    7.170000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[    7.180000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
<6>[    7.190000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
<6>[    7.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[    7.200000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<7>[    7.430000] PCI: Setting latency timer of device 0000:00:00.0 to 64
<7>[    7.430000] ath: EEPROM regdomain: 0x0
<7>[    7.430000] ath: EEPROM indicates default country code should be used
<7>[    7.430000] ath: doing EEPROM country->regdmn map search
<7>[    7.430000] ath: country maps to regdmn code: 0x3a
<7>[    7.430000] ath: Country alpha2 being used: US
<7>[    7.430000] ath: Regpair used: 0x3a
<7>[    7.440000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
<7>[    7.440000] Registered led device: ath9k-phy0
<6>[    7.440000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=72
<6>[    7.450000] cfg80211: Calling CRDA for country: US
<6>[    7.560000] cfg80211: Regulatory domain changed to country: US
<6>[    7.560000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6>[    7.570000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
<6>[    7.580000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
<6>[    7.590000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[    7.600000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[    7.600000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[    7.610000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
<6>[    8.240000] eth0: link up (1000Mbps/Full duplex)
<6>[    9.960000] device vlan1 entered promiscuous mode
<6>[    9.970000] device eth0 entered promiscuous mode
<6>[    9.990000] br0: port 1(vlan1) entering forwarding state
<6>[    9.990000] br0: port 1(vlan1) entering forwarding state
<6>[   10.070000] cfg80211: Calling CRDA to update world regulatory domain
<6>[   10.110000] cfg80211: World regulatory domain updated:
<6>[   10.110000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6>[   10.120000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[   10.130000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
<6>[   10.140000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
<6>[   10.140000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[   10.150000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[   10.160000] cfg80211: Calling CRDA for country: US
<6>[   10.180000] cfg80211: Regulatory domain changed to country: US
<6>[   10.190000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6>[   10.200000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
<6>[   10.200000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
<6>[   10.210000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[   10.220000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[   10.230000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6>[   10.230000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
<6>[   11.990000] br0: port 1(vlan1) entering forwarding state
<6>[   17.640000] device ath0 entered promiscuous mode
<6>[   17.960000] br0: port 2(ath0) entering forwarding state
<6>[   17.960000] br0: port 2(ath0) entering forwarding state
<6>[   19.320000] device vlan2 entered promiscuous mode
<6>[   19.350000] device vlan2 left promiscuous mode
<6>[   19.960000] br0: port 2(ath0) entering forwarding state
<6>[   20.850000] etherip: Ethernet over IPv4 tunneling driver

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

I got it to boot using the tftp in linux and the latest beta firmware. The red diagnostic LED will flash, but it's booted.

9 (edited by erpadmin 2013-12-05 01:04:54)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

by beta I assume that you mean Openwrt trunk? more specifically, http://downloads.openwrt.org/snapshots/ … s-tftp.bin ?

These are the steps I do right after flashing trunk to make configuration easier, in case you might find this useful.  I assume this is still applicable since my last upgrade some months ago:

## POST FIRMWARE UPGRADE FIXUPS
opkg update
opkg install luci
ln -s  /etc/init.d/uhttpd /etc/rc.d/S50uhttpd
/etc/init.d/uhttpd start

in luci i think there's a section regading LED configuration (IIRC)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

@keyboardgnome Do you mind updating the thread on what you've achieved so far?

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

I also picked up one of these WZR-300HP routers and got revision B0A1.  I flashed the trunk build (revision 38999).  I then applied your "Post Firmware Upgrade Fixups" and it all seems to be working for me.  It still detects it as a WZR-HP-G300NH2 but I am not sure how you could tell the difference between them in software yet.

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Yes, I want to put on the serial port to find out what is going on, and wrong, with the boot process.  I am also hoping I can coax the boot loader into loading a different firmware image.  I just got the parts I needed today from DigiKey.  I hope to do the soldering sometime this weekend.  I will report back.

13 (edited by lorenzen 2014-01-07 22:39:20)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Hi

I have a Buffalo wzr-300hp BO A1

I first tried openwrt-ar71xx-generic-wzr-hp-g300nh-squashfs-tftp.bin - but that was a mistake - it paniced

Then I tried to flash
http://downloads.openwrt.org/snapshots/ … s-tftp.bin

and it seems to work, I get this result on the serial console:
=====
BUFFALO U-BOOT Ver 1.08
  == 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 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 [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.08] U-Boot Ver.=[1.08]
### build_date(env)=[Sep 26 2011 - 00:19:46] build_date(bin)=[Sep 26 2011 - 00:19:46]
ag7240_enet_initialize...
Reading MAC Address from ENV(0x83f8c2ef)
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 = 2883620 (2c0024 hex)

Airstation Public header
Recv fw image [2883588] bytes, now writing...

flash-addr 0xBF060000 - 0xBF32FFFF
search sector 0xbf060000 - 0xbf32ffff
BANK #1 (6 : 50)
  000  PPPP.Poooooooooooooooooooooooooo
  032  ooooooooooooooooooo.............
  064  ................................
  096  ................................
  128  ................................
  160  ................................
  192  ................................
  224  ................................
BANK #2 (-1 : -1)
  000  ................................
  032  ................................
  064  ................................
  096  ................................
  128  ................................
  160  ................................
  192  ................................
  224  ................................

First 0x6 last 0x32 sector size 0x10000
  50
Erased 45 sectors
Copy to Flash...
Copy 2883588 byte to Flash...
write data: 81f00020 --> bf060000  (len:2c0004)
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.10.24
   Created:      2014-01-06  20:44:32 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1067176 Bytes =  1 MB
   Load Address: 80060000
   Entry Point:  80060000
   Verifying Checksum ... crc32_fw: bf060040 - bf1648e7 (len:001048a8) calc...
crc32_fw: range1 bf060040 - bf1648e7
OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80060000) ...
## Giving linux memsize in bytes, 67108864

Starting kernel ...

[    0.000000] Linux version 3.10.24 (thepeople@trabant) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39203) ) #1
Mon Jan 6 21:40:09 CET 2014
[    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 ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    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] 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] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61132k/65536k available (2323k kernel code, 4404k reserved, 610k data, 264k init, 0k highmem)
[    0.000000] SLUB: 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.100000] MIPS: machine is Buffalo WZR-HP-G300NH2
[    0.340000] registering PCI controller with io_map_base unset
[    0.350000] bio: create slab <bio-0> at 0
[    0.360000] PCI host bridge to bus 0000:00
[    0.360000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.370000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.370000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.380000] pci 0000:00:00.0: fixup device configuration
[    0.380000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.390000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.390000] Switching to clocksource MIPS
[    0.400000] NET: Registered protocol family 2
[    0.400000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.410000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.420000] TCP: Hash tables configured (established 512 bind 512)
[    0.420000] TCP: reno registered
[    0.430000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.430000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.440000] NET: Registered protocol family 1
[    0.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.470000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.480000] msgmni has been set to 119
[    0.480000] io scheduler noop registered
[    0.490000] io scheduler deadline registered (default)
[    0.490000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.530000] 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.550000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[    0.550000] m25p80 spi0.0: found mx25l12805d, expected m25p80
[    0.560000] m25p80 spi0.0: mx25l12805d (16384 Kbytes)
[    0.570000] m25p80 spi0.1: found mx25l12805d, expected m25p80
[    0.570000] m25p80 spi0.1: mx25l12805d (16384 Kbytes)
[    0.580000] Concatenating MTD devices:
[    0.590000] (0): "spi0.0"
[    0.590000] (1): "spi0.1"
[    0.590000] into device "flash"
[    0.600000] Creating 5 MTD partitions on "flash":
[    0.600000] 0x000000000000-0x000000040000 : "u-boot"
[    0.610000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.620000] 0x000000050000-0x000000060000 : "art"
[    0.630000] 0x000000060000-0x000001ff0000 : "firmware"
[    0.650000] switch0: Atheros AR8316 rev. 1 switch registered on ag71xx-mdio.0
[    0.650000] libphy: ag71xx_mdio: probed
[    1.240000] 2 uimage-fw partitions found on MTD device firmware
[    1.240000] 0x000000060000-0x0000001648e8 : "kernel"
[    1.250000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase bloc
k -- forcing read-only
[    1.260000] 0x0000001648e8-0x000001ff0000 : "rootfs"
[    1.270000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase bloc
k -- forcing read-only
[    1.280000] mtd: device 7 (rootfs) set to be root filesystem
[    1.290000] 1 squashfs-split partitions found on MTD device rootfs
[    1.300000] 0x000000320000-0x000001ff0000 : "rootfs_data"
[    1.300000] 0x000001ff0000-0x000002000000 : "user_property"
[    1.310000] ar8316: Using port 4 as switch port
[    1.470000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316]
[    1.480000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[    1.490000] TCP: cubic registered
[    1.490000] NET: Registered protocol family 17
[    1.490000] Bridge firewalling registered
[    1.500000] can: controller area network core (rev 20120528 abi 9)
[    1.510000] NET: Registered protocol family 29
[    1.510000] 8021q: 802.1Q VLAN Support v1.8
[    1.520000] VFS: Mounted root (squashfs filesystem) readonly on device 31:7.
[    1.530000] Freeing unused kernel memory: 264K (8033e000 - 80380000)
procd: Console is alive
procd: - watchdog -
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    4.940000] usbcore: registered new interface driver usbfs
[    4.940000] usbcore: registered new interface driver hub
[    4.950000] usbcore: registered new device driver usb
[    4.960000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.970000] ehci-platform: EHCI generic platform driver
[    4.970000] ehci-platform ehci-platform: EHCI Host Controller
[    4.980000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    4.990000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    5.010000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    5.010000] hub 1-0:1.0: USB hub found
[    5.020000] hub 1-0:1.0: 1 port detected
[    5.030000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    5.510000] eth0: link up (1000Mbps/Full duplex)
mount_root: jffs2 is not ready - EOF marker found
[    7.190000] eth0: link down
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    8.130000] NET: Registered protocol family 10
[    8.150000] nf_conntrack version 0.5.0 (959 buckets, 3836 max)
[    8.160000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    8.190000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[    8.200000] Backport generated by backports.git backports-20130802-0-gdb67a3f
[    8.210000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.260000] xt_time: kernel timezone is -0000
[    8.330000] cfg80211: Calling CRDA to update world regulatory domain
[    8.330000] cfg80211: World regulatory domain updated:
[    8.340000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.350000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.350000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.360000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.370000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    8.380000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[    8.390000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[    8.420000] PPP generic driver version 2.4.2
[    8.420000] NET: Registered protocol family 24
[    8.510000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[    8.540000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[    8.550000] cfg80211: Calling CRDA for country: US
[    8.570000] cfg80211: Regulatory domain changed to country: US
[    8.580000] cfg80211:  DFS Master region FCC
[    8.580000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.590000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    8.600000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 1700 mBm)
[    8.610000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[    8.610000] cfg80211:   (5490000 KHz - 5600000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[    8.620000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2400 mBm)
[    8.630000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 3000 mBm)
[    8.640000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[   14.880000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   14.910000] jffs2_build_filesystem(): unlocking the mtd device... done.
[   14.910000] jffs2_build_filesystem(): erasing all blocks after the end marker... [   18.020000] IPv6: ADDRCONF(NETDEV
_UP): eth0: link is not ready
[   18.040000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[   18.040000] device eth0.1 entered promiscuous mode
[   18.050000] device eth0 entered promiscuous mode
[   18.090000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   18.140000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[   19.590000] eth0: link up (1000Mbps/Full duplex)
[   19.630000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.630000] br-lan: port 1(eth0.1) entered forwarding state
[   19.640000] br-lan: port 1(eth0.1) entered forwarding state
[   19.640000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   19.650000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[   19.700000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

[   21.640000] br-lan: port 1(eth0.1) entered forwarding state



BusyBox v1.19.4 (2014-01-06 21:28:37 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r39203)
-----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Cool! smile

Thanks for posting!  How did you flash it?  Using TFTP?  If so, what operating procedure?

Thanks!

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

I flashed it from dd-wrt

cd /tmp
wget http://downloads.openwrt.org/snapshots/ … s-tftp.bin
mtd -r write openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin linux

/Peter

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Was curious about different model references in the code.  I haven't custom rolled openwrt before.

for file in `find . -type f`; do if [ $(grep -c WZR-HP-G300NH2 $file) -gt 0 ]; then echo $file; grep -c WZR-HP-G300NH2 $file; fi; done

./target/linux/ar71xx/base-files/lib/ar71xx.sh
1
./target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g300nh2.c
3
./target/linux/ar71xx/generic/profiles/buffalo.mk
2
./target/linux/ar71xx/image/Makefile
1
./target/linux/ar71xx/patches-3.10/610-MIPS-ath79-openwrt-machines.patch
2



$ for file in `find . -type f`; do if [ $(grep -c WZR-HP-G300NH2 $file) -gt 0 ] ; then echo $file; grep WZR-HP-G300NH2 $file; fi; done

./target/linux/ar71xx/base-files/lib/ar71xx.sh
        *WZR-HP-G300NH2)
./target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g300nh2.c
 *  Buffalo WZR-HP-G300NH2 board support
MIPS_MACHINE(ATH79_MACH_WZR_HP_G300NH2, "WZR-HP-G300NH2",
             "Buffalo WZR-HP-G300NH2", wzrhpg300nh2_setup);
./target/linux/ar71xx/generic/profiles/buffalo.mk
        NAME:=Buffalo WZR-HP-G300NH2
        Package set optimized for the Buffalo WZR-HP-G300NH2
./target/linux/ar71xx/image/Makefile
$(eval $(call SingleProfile,WZRHP64K,64kraw,WZRHPG300NH2,wzr-hp-g300nh2,WZR-HP-G
300NH2,ttyS0,115200,WZR-HP-G300NH2))
./target/linux/ar71xx/patches-3.10/610-MIPS-ath79-openwrt-machines.patch
+       ATH79_MACH_WZR_HP_G300NH2,      /* Buffalo WZR-HP-G300NH2 */
+       bool "Buffalo WZR-HP-G300NH2 board support"

Lorenzen do you mind posting your `cat /proc/cpuinfo` while booted on openwrt?

17 (edited by lorenzen 2014-01-13 22:10:26)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

Here is openwrt_release, cpuinfo and u-boot-env

/Peter

root@gbgw1:/# cat /etc/openwrt_release

DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="Bleeding Edge"
DISTRIB_REVISION="r39203"
DISTRIB_CODENAME="barrier_breaker"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker r39203"

root@gbgw1:/# cat /proc/cpuinfo

system type             : Atheros AR7242 rev 1
machine                 : Buffalo WZR-HP-G300NH2
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0000, 0x0930, 0x0e
78, 0x0db8]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root@gbgw1:/# fw_printenv

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)
bootcmd=bootm BF060000
baudrate=115200
ethaddr=02:AA:BB:CC:DD:1A
ipaddr=192.168.11.1
serverip=192.168.11.2
tmp_ram=81F00000
tmp_bottom=83F00000
fw_eaddr=BF060000 BEFFFFFF
uboot_eaddr=BF000000 BF03FFFF
u_fw=erase $fw_eaddr; cp.fw $fileaddr BF060000 $filesize; bootm BF060000;
ut_fw=tftp $tmp_ram firmware.bin; erase $fw_eaddr; cp.fw $fileaddr BF060000 $filesize; bootm BF060000;
ut_uboot=tftp $tmp_ram u-boot.bin; protect off $uboot_eaddr; erase $uboot_eaddr; cp.b $fileaddr BF000000 $filesize;
melco_id=RD_BB10085
tftp_wait=4
uboot_ethaddr=02:AA:BB:CC:DD:1A
DEF-p_wireless_ath0_11bg-authmode=psk
DEF-p_wireless_ath0_11bg-crypto=tkip+aes
DEF-p_wireless_ath0_11bg-authmode_ex=mixed-psk
buf_ver=1.08
hw_rev=4
custom_id=0
pincode=70714807
DEF-p_wireless_ath0_11bg-wpapsk=87033717
region=US
accept_open_rt_fmt=1
product_rev=1
build_date=Sep 26 2011 - 00:19:46
buf_crc=618051D5

root@gbgw1:/#

18 (edited by beckolamuffin 2014-01-26 03:34:24)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

At long last, I was able to put on a serial header to my WZR-300HP, revision B0A1, that I thought I bricked. I had loaded Attitude Adjustment 12.09 via the MTD flash method, and it quit working.  Here is the serial console output:


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 55555555  Writing...            Reading...Pattern AAAAAAAA  Writing...            Reading...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

eth0 link down

tftp server(receive) go, waiting:4[sec]
eth0 link down
Load address: 0x81f00000

TftpServer Timeout;
no file was loaded.
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 ...
Bad Magic Number
 # LED(0x10000) Blink[2] (Please press 'Ctrl+c' to stop)

Bad Header Checksum
 # LED(0x10000) Blink[2] (Please press 'Ctrl+c' to stop)

   Image Name:   'VqƒCÒPDï…
   Created:      2031-11-21  22:34:22 UTC
   Image Type:   Invalid CPU Invalid OS Invalid Image (uncompressed)
   Data Size:    542143842 Bytes = 517 MB
   Load Address: 6c696320
   Entry Point:  466d7431
   Verifying Checksum ... crc32_fw: bf060040 - df5675a1 (len:20507562) calc...
crc32_fw: range1 bf060040 - bf04ffff, range2 bf060000 - df5775a1

19 (edited by beckolamuffin 2014-01-26 02:13:59)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

I was able to flash openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin from Barrier Breaker's snapshot directory (25 January 2014 {OpenWrt Barrier Breaker r39382 / LuCI Trunk (svn-r9951) }).  The flash was accomplished using TFTP.  Note that I used the LAN port furthest away from the WAN port to accomplish this.

I used the following settings on my Linux desktop (the TFTP server).

ifconfig em1: 192.168.11.2
arp -s 192.168.11.1 02:aa:bb:cc:dd:1a
tftp -m binary 192.168.11.1 -c put openwrt-ar71xx-generic-wzr-hp-g300nh2-squashfs-tftp.bin

Note that when setting up the serial terminal, I did the following:
*Soldered on a 4 pin header;
*Attached a cell phone data cable, in this case an old Radio Shack "Mobile Phone Data Cable, Cable 22" (part number 170-0762){might not be available any more};
*Connected pin 1 (VCC +3.3v) {left hand side pin, where all ethernet and USB ports are on the left} to nothing;
*Connected pin 2 (GND) to green;
*Connected pin 3 (TX) to white;
*Connected pin 4 (RX) to orange;

I did not have to short any resistors.

20 (edited by beckolamuffin 2014-12-22 02:07:05)

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

I was able to install the stable version of barrier breaker on this rig.

Note that I had best success using minicom on the serial port with hardware and software flow control both set to 'yes'.

Also, the Linux laptop is the tftp client. I misspoke in the previous post.

Re: Buffalo WZR-300hp / WZR-G300NH2 supported?

trunk (chaos calmer) is listed as supporting this model which i interpret as initial support given hardware variances are not known and also implies using the wzr-hp-g300nh2 image.  i installed trunk on the older wzr-hp-g300nh (no 2) variant tonight and it is running well so far.

at some point i may try the mtd flash method if things seems safe.  i really don't want to do the serial port mod.