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:/#
(Last edited by lorenzen on 7 Jan 2014, 22:39)