This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Previous revision | ||
toh:buffalo:wzr-hp-g300nh2 [2012/12/06 03:02] |
toh:buffalo:wzr-hp-g300nh2 [2017/03/23 19:29] (current) tmomas restructured; OpenWrt spelling; changed external link to internal one; datatables added |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Buffalo WZR-HP-G300NH2 / WZR-300HP ====== | ||
+ | ===== Supported Versions ===== | ||
+ | |||
+ | ---- datatable ---- | ||
+ | cols : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Topic URL_url, Device Techdata_pageid | ||
+ | headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data | ||
+ | align : l,l,c,c,c,c,c | ||
+ | filter : Model=WZR-HP-G300NH2 | ||
+ | filteror : Model=WZR-300HP | ||
+ | ---- | ||
+ | |||
+ | ^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ | ||
+ | | A0A0, A0A1 | 2011-08 | - | since [[https://dev.openwrt.org/changeset/29568|r29568]] | - | | ||
+ | | A0A3 (sold as WZR-300HP) | ? | - | Barrier Breaker | Japanese model | | ||
+ | | A1A0 | 2011-11 | - | 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 | | ||
+ | | B0A1 (sold as WZR-300HP) | ? | - | Barrier Breaker Snapshot r39382 | Might Work: See [[https://forum.openwrt.org/viewtopic.php?id=44009]] | | ||
+ | | C1A0 | ??? | - | r37793 or earlier? | squashfs works, have not tested jffs2 | | ||
+ | |||
+ | ===== Hardware Highlights ===== | ||
+ | ---- datatable ---- | ||
+ | cols : Model, Versions, Platform, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_ | ||
+ | header : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB | ||
+ | align : l,c,c,c,c,c,c,c,c,c,c,c | ||
+ | filter : Model=WZR-HP-G300NH2 | ||
+ | filteror : Model=WZR-300HP | ||
+ | ---- | ||
+ | |||
+ | Lan Port Mappings for /etc/config/network | ||
+ | ^ Hardware Port ^ Logical port ^ LuCI Label ^ Description ^ | ||
+ | | NA | 0 | 1 | CPU port activates/links all ports on Vlan | | ||
+ | | 1 | 1 | 2 | Activates the #1 LAN port | | ||
+ | | 2 | 5 | CPU | Activates the #2 LAN port | | ||
+ | | 3 | 4 | 5 | Activates the #3 LAN port | | ||
+ | | 4 | 3 | 4 | Activates the #4 LAN port | | ||
+ | | WAN | 2 | 3 | Activates the WAN/Internet port | | ||
+ | |||
+ | ==== Info ==== | ||
+ | | **Architecture:** | MIPS | | ||
+ | | **Vendor:** | Atheros | | ||
+ | | **Bootloader:** | U-Boot | | ||
+ | | **System-On-Chip:** | Atheros AR7242 rev 1 | | ||
+ | | **CPU/Speed** | 400 Mhz (MIPS 24Kc) | | ||
+ | | **Flash-Chip:** | [[http://dl.dropbox.com/u/38634684/openwrt/MX25L12845EZNI-10G.pdf|Macronix MX25L128-45E (x2)]] | | ||
+ | | **Flash size:** | 32 MiB | | ||
+ | | **RAM:** | 64 MiB | | ||
+ | | **Wireless:** | Atheros AR9280 Rev:2 | | ||
+ | | **Ethernet:** | AG71xx ethernet with AR8316 switch and vlan | | ||
+ | | **USB:** | Yes 1 x 2.0 (ehci) | | ||
+ | | **Serial:** | [[#Serial|Yes]] | | ||
+ | |||
+ | ==== Serial ==== | ||
+ | | **Pin 1** | VCC +3.3V | | ||
+ | | **Pin 2** | GND | | ||
+ | | **Pin 3** | TX | | ||
+ | | **Pin 4** | RX | | ||
+ | | 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. | ||
+ | |||
+ | **DO NOT CONNECT VCC**, since this will most likely irreversably damage your hardware. | ||
+ | |||
+ | ==== JTAG ==== | ||
+ | |||
+ | * [[https://forum.openwrt.org/viewtopic.php?id=34993]] | ||
+ | |||
+ | ===== Installation 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. **Please try both the WAN and LAN ports**. | ||
+ | |||
+ | ---- datatable ---- | ||
+ | cols : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url | ||
+ | headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock | ||
+ | align : l,c,c | ||
+ | filter : Model=WZR-HP-G300NH2 | ||
+ | filteror : Model=WZR-300HP | ||
+ | ---- | ||
+ | |||
+ | |||
+ | <WRAP box 100%> | ||
+ | FIXME Outdated information below? Please check and correct / update / remove as appropriate to get an up to date status. | ||
+ | |||
+ | ( <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 [[:doc:howto:firstlogin | the normal first login instructions]] regardless of LED status. | ||
+ | </WRAP> | ||
+ | |||
+ | |||
+ | ==== Boot Log ==== | ||
+ | <WRAP bootlog> | ||
+ | <nowiki>BUFFALO U-BOOT Ver 1.03 | ||
+ | == 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 265k 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.03] U-Boot Ver.=[1.03] | ||
+ | ### build_date(env)=[Mar 7 2011 - 05:27:46] build_date(bin)=[Mar 7 2011 - 05:27:46] | ||
+ | ag7240_enet_initialize... | ||
+ | Reading MAC Address from ENV(0x83f8c322) | ||
+ | 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 = 2621476 (280024 hex) | ||
+ | |||
+ | Airstation Public header | ||
+ | Recv fw image [2621444] bytes, now writing... | ||
+ | |||
+ | flash-addr 0xBF060000 - 0xBF2EFFFF | ||
+ | search sector 0xbf060000 - 0xbf2effff | ||
+ | BANK #1 (6 : 46) | ||
+ | 000 PPPP.Poooooooooooooooooooooooooo | ||
+ | 032 ooooooooooooooo................. | ||
+ | 064 ................................ | ||
+ | 096 ................................ | ||
+ | 128 ................................ | ||
+ | 160 ................................ | ||
+ | 192 ................................ | ||
+ | 224 ................................ | ||
+ | BANK #2 (-1 : -1) | ||
+ | 000 ................................ | ||
+ | 032 ................................ | ||
+ | 064 ................................ | ||
+ | 096 ................................ | ||
+ | 128 ................................ | ||
+ | 160 ................................ | ||
+ | 192 ................................ | ||
+ | 224 ................................ | ||
+ | |||
+ | First 0x6 last 0x2e sector size 0x10000 | ||
+ | 46 | ||
+ | Erased 41 sectors | ||
+ | Copy to Flash... | ||
+ | Copy 2621444 byte to Flash... | ||
+ | write data: 81f00020 --> bf060000 (len:280004) | ||
+ | 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),8192k@8192k(flash1),16384k@16384k(flash2) mem=64M product_rev=1 | ||
+ | ## Booting image at bf060000 ... | ||
+ | Image Name: MIPS OpenWrt Linux-2.6.39.4 | ||
+ | Created: 2011-12-15 18:39:27 UTC | ||
+ | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
+ | Data Size: 871284 Bytes = 850.9 kB | ||
+ | Load Address: 80060000 | ||
+ | Entry Point: 80060000 | ||
+ | Verifying Checksum ... crc32_fw: bf060040 - bf134bb3 (len:000d4b74) calc... | ||
+ | crc32_fw: range1 bf060040 - bf134bb3 | ||
+ | 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 2.6.39.4 (mdeneen@build) (gcc version 4.5.4 20110808 (prerelease) (Linaro GCC 4.5-2011.08) ) #1 Thu Dec 15 13:39:21 EST 2011 | ||
+ | [ 0.000000] prom: fw_arg0=00000008, fw_arg1=a3f6bfb0, fw_arg2=a3f6c4b0, fw_arg3=00000020 | ||
+ | [ 0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=00000000 | ||
+ | [ 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_node_map[1] active PFN ranges | ||
+ | [ 0.000000] 0: 0x00000000 -> 0x00004000 | ||
+ | [ 0.000000] On node 0 totalpages: 16384 | ||
+ | [ 0.000000] free_area_init_node: node 0, pgdat 802b9570, node_mem_map 81000000 | ||
+ | [ 0.000000] Normal zone: 128 pages used for memmap | ||
+ | [ 0.000000] Normal zone: 0 pages reserved | ||
+ | [ 0.000000] Normal zone: 16256 pages, LIFO batch:3 | ||
+ | [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 | ||
+ | [ 0.000000] pcpu-alloc: [0] 0 | ||
+ | [ 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: 61848k/65536k available (2013k kernel code, 3688k reserved, 393k data, 184k init, 0k highmem) | ||
+ | [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 | ||
+ | [ 0.000000] NR_IRQS:80 | ||
+ | [ 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.100000] ar71xx: pll_reg 0xb805002c: 0x62000000 | ||
+ | [ 0.530000] registering PCI controller with io_map_base unset | ||
+ | [ 0.540000] bio: create slab <bio-0> at 0 | ||
+ | [ 0.550000] pci 0000:00:00.0: [168c:ff1c] type 0 class 0x000200 | ||
+ | [ 0.550000] pci 0000:00:00.0: fixup device configuration | ||
+ | [ 0.550000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit] | ||
+ | [ 0.550000] pci 0000:00:00.0: supports D1 | ||
+ | [ 0.550000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot | ||
+ | [ 0.550000] pci 0000:00:00.0: PME# disabled | ||
+ | [ 0.550000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit] | ||
+ | [ 0.560000] pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1000ffff 64bit] (PCI address [0x10000000-0x1000ffff]) | ||
+ | [ 0.570000] PCI: mapping irq 72 to pin1@0000:00:00.0 | ||
+ | [ 0.570000] Switching to clocksource MIPS | ||
+ | [ 0.580000] NET: Registered protocol family 2 | ||
+ | [ 0.580000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) | ||
+ | [ 0.580000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) | ||
+ | [ 0.590000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) | ||
+ | [ 0.590000] TCP: Hash tables configured (established 2048 bind 2048) | ||
+ | [ 0.600000] TCP reno registered | ||
+ | [ 0.600000] UDP hash table entries: 256 (order: 0, 4096 bytes) | ||
+ | [ 0.610000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) | ||
+ | [ 0.610000] NET: Registered protocol family 1 | ||
+ | [ 0.620000] PCI: CLS 0 bytes, default 32 | ||
+ | [ 0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher | ||
+ | [ 0.640000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. | ||
+ | [ 0.650000] msgmni has been set to 120 | ||
+ | [ 0.660000] io scheduler noop registered | ||
+ | [ 0.660000] io scheduler deadline registered (default) | ||
+ | [ 0.670000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled | ||
+ | [ 0.690000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A | ||
+ | [ 0.700000] console [ttyS0] enabled, bootconsole disabled | ||
+ | [ 0.710000] Atheros AR71xx SPI Controller driver version 0.2.4 | ||
+ | [ 0.720000] m25p80 spi0.0: found mx25l12805d, expected m25p80 | ||
+ | [ 0.730000] m25p80 spi0.0: mx25l12805d (16384 Kbytes) | ||
+ | [ 0.730000] m25p80 spi0.1: found mx25l12805d, expected m25p80 | ||
+ | [ 0.740000] m25p80 spi0.1: mx25l12805d (16384 Kbytes) | ||
+ | [ 0.750000] Concatenating MTD devices: | ||
+ | [ 0.750000] (0): "spi0.0" | ||
+ | [ 0.750000] (1): "spi0.1" | ||
+ | [ 0.760000] into device "flash" | ||
+ | [ 0.760000] Creating 7 MTD partitions on "flash": | ||
+ | [ 0.760000] 0x000000000000-0x000000040000 : "u-boot" | ||
+ | [ 0.770000] 0x000000040000-0x000000050000 : "u-boot-env" | ||
+ | [ 0.780000] 0x000000050000-0x000000060000 : "art" | ||
+ | [ 0.790000] 0x000000060000-0x000000160000 : "kernel" | ||
+ | [ 0.800000] 0x000000160000-0x000001ff0000 : "rootfs" | ||
+ | [ 0.800000] mtd: partition "rootfs" set to be root filesystem | ||
+ | [ 0.810000] mtd: partition "rootfs_data" created automatically, ofs=2C0000, len=1D30000 | ||
+ | [ 0.820000] 0x0000002c0000-0x000001ff0000 : "rootfs_data" | ||
+ | [ 0.820000] 0x000001ff0000-0x000002000000 : "user_property" | ||
+ | [ 0.830000] 0x000000060000-0x000001ff0000 : "firmware" | ||
+ | [ 0.990000] ag71xx_mdio: probed | ||
+ | [ 0.990000] eth0: Atheros AG71xx at 0xb9000000, irq 4 | ||
+ | [ 1.760000] eth0: AR8316 switch driver attached. | ||
+ | [ 1.780000] ar8316: Using port 4 as switch port | ||
+ | [ 2.740000] eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8316/AR8326] | ||
+ | [ 2.740000] Atheros AR71xx hardware watchdog driver version 0.1.0 | ||
+ | [ 2.740000] ar71xx-wdt: timeout=15 secs (max=21) | ||
+ | [ 2.740000] TCP westwood registered | ||
+ | [ 2.750000] NET: Registered protocol family 17 | ||
+ | [ 2.750000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> | ||
+ | [ 2.760000] All bugs added by David S. Miller <davem@redhat.com> | ||
+ | [ 2.770000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6. | ||
+ | [ 2.780000] Freeing unused kernel memory: 184k freed | ||
+ | [ 5.310000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0 | ||
+ | [ 5.480000] Button Hotplug driver version 0.4.1 | ||
+ | [ 5.550000] Registered led device: buffalo:red:diag | ||
+ | [ 6.780000] eth0: link up (1000Mbps/Full duplex) | ||
+ | [ 8.860000] eth0: link down | ||
+ | [ 9.780000] Compat-wireless backport release: compat-wireless-2011-11-29 | ||
+ | [ 9.790000] Backport based on wireless-testing.git master-2011-12-01 | ||
+ | [ 9.910000] cfg80211: Calling CRDA to update world regulatory domain | ||
+ | [ 10.360000] usbcore: registered new interface driver usbfs | ||
+ | [ 10.360000] usbcore: registered new interface driver hub | ||
+ | [ 10.370000] usbcore: registered new device driver usb | ||
+ | [ 10.950000] cfg80211: World regulatory domain updated: | ||
+ | [ 10.950000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) | ||
+ | [ 10.960000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 10.970000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 10.980000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 10.990000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 10.990000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 11.760000] PCI: Setting latency timer of device 0000:00:00.0 to 64 | ||
+ | [ 11.770000] ath: EEPROM regdomain: 0x0 | ||
+ | [ 11.770000] ath: EEPROM indicates default country code should be used | ||
+ | [ 11.770000] ath: doing EEPROM country->regdmn map search | ||
+ | [ 11.770000] ath: country maps to regdmn code: 0x3a | ||
+ | [ 11.770000] ath: Country alpha2 being used: US | ||
+ | [ 11.770000] ath: Regpair used: 0x3a | ||
+ | [ 11.770000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' | ||
+ | [ 11.770000] Registered led device: ath9k-phy0 | ||
+ | [ 11.770000] Registered led device: buffalo:blue:usb | ||
+ | [ 11.770000] Registered led device: buffalo:green:wireless | ||
+ | [ 11.770000] Registered led device: buffalo:orange:security | ||
+ | [ 11.770000] Registered led device: buffalo:green:router | ||
+ | [ 11.770000] Registered led device: buffalo:blue:movie_engine_on | ||
+ | [ 11.770000] Registered led device: buffalo:blue:movie_engine_off | ||
+ | [ 11.770000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=72 | ||
+ | [ 11.790000] cfg80211: Calling CRDA for country: US | ||
+ | [ 12.100000] PPP generic driver version 2.4.2 | ||
+ | [ 12.110000] cfg80211: Regulatory domain changed to country: US | ||
+ | [ 12.110000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) | ||
+ | [ 12.120000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) | ||
+ | [ 12.130000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) | ||
+ | [ 12.140000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 12.150000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 12.150000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) | ||
+ | [ 12.160000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) | ||
+ | [ 12.280000] ip_tables: (C) 2000-2006 Netfilter Core Team | ||
+ | [ 12.430000] NET: Registered protocol family 24 | ||
+ | [ 12.620000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | ||
+ | [ 12.630000] ar71xx-ehci ar71xx-ehci: Atheros AR91xx built-in EHCI controller | ||
+ | [ 12.630000] ar71xx-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1 | ||
+ | [ 12.670000] ar71xx-ehci ar71xx-ehci: irq 3, io mem 0x1b000000 | ||
+ | [ 12.690000] ar71xx-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00 | ||
+ | [ 12.690000] hub 1-0:1.0: USB hub found | ||
+ | [ 12.700000] hub 1-0:1.0: 1 port detected | ||
+ | [ 12.790000] nf_conntrack version 0.5.0 (969 buckets, 3876 max) | ||
+ | [ 15.100000] device eth0.1 entered promiscuous mode | ||
+ | [ 15.100000] device eth0 entered promiscuous mode | ||
+ | [ 16.940000] eth0: link up (1000Mbps/Full duplex) | ||
+ | [ 16.940000] br-lan: port 1(eth0.1) entering forwarding state | ||
+ | [ 16.950000] br-lan: port 1(eth0.1) entering forwarding state | ||
+ | [ 23.470000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 | ||
+ | [ 23.490000] jffs2_build_filesystem(): unlocking the mtd device... done. | ||
+ | [ 23.490000] jffs2_build_filesystem(): erasing all blocks after the end marker... done. | ||
+ | [ 242.390000] JFFS2 notice: (1173) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. | ||
+ | [ 243.030000] ar71xx-wdt: enabling watchdog timer</nowiki> | ||
+ | </WRAP>\\ | ||
+ | |||
+ | ==== Photos ==== | ||
+ | {{:media:buffalo:g300nh_a2.png?320x240&direct|Front PCB, ver2 A1 A0}} | ||
+ | {{:media:buffalo:g300nh_a2_serial_port.png?320x240&direct|Serial port on PCB ver2 A1 A0}} | ||
+ | |||
+ | |||
+ | ===== Two flashes of diag every few seconds ===== | ||
+ | * If you see the diag light flash twice about every 2-3 seconds, it means the flashing did not work properly. I did a TFTP recovery using the factory firmware ( I count exactly 10 seconds from power on before sending the TFTP File ), and it flashed. ( remember to wait 5-6 minutes after a tftp recovery ). | ||
+ | |||
+ | ===== Revision A1A0 and WZR-HP-G302H A1A0 (Japanese variant) ===== | ||
+ | WZR-HP-G302H is Japanese market name for WZR-HP-G300NH2, and seems to have slightly different WiFi chip, Atheros AR9283-AL1A. It is very probable that WZR-HP-G302H A1A0 and WZR-HP-G302H A1A0 have an identical motherboar inside, as both have dual 16MiB SPI flash chips just like WZR-HP-AG300H, with erase size of 64k. This means default WZR-HP-G300NH2 jffs2 image will not work correctly (one can fix this by modifying target/linux/ar71xx/image/Makefile, search for WZR-HP-G300NH2 profile and change fs_128k to fs_64k). WZR-HP-G302H A1A0 motherboard silk-print label says: | ||
+ | |||
+ | WZR-HP-G302HV2 | ||
+ | 21514W302HV21A2 Rev:A2 | ||
+ | |||
+ | Similarly to Japanese variant of WZR-HP-G300NH, A1A0 comes with locked buffalo u-boot v1.08 (based on U-Boot 1.1.4 for BUFFALO AIRSTATION, PB93), see [[toh/buffalo/wzr-hp-g300h#locked_u-boot_too_short_time_tftp_window]] for details. Furthermore, this newest buffalo u-boot BS does not even provide serial console at boot time! But TFTP "blind" flash to OpenWRT was possible when accept_open_rt_fmt=1 was set (tested and confirmed ok with r31678 squashfs, try it at your own risk). Also, it is possible to circumvent serial console lock by setting force_uart variable in a similar manner to accept_open_rt_fmt. | ||
+ | |||
+ | In addition, proper fw_env.config for uboot-envtools for A1A0 variant is: | ||
+ | #MTD device name Device offset Env. size Flash sector size | ||
+ | /dev/mtd0 0x40000 0x10000 0x10000 | ||
+ | |||
+ | Here is the WZR-HP-G302H boot log of jffs2 image with unlocked serial and fs_64k: | ||
+ | |||
+ | <WRAP bootlog> | ||
+ | <nowiki>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.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(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 | ||
+ | |||
+ | 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 ... | ||
+ | Image Name: MIPS OpenWrt Linux-3.3.6 | ||
+ | Created: 2012-05-24 6:25:32 UTC | ||
+ | Image Type: MIPS Linux Kernel Image (lzma compressed) | ||
+ | Data Size: 901567 Bytes = 880.4 kB | ||
+ | Load Address: 80060000 | ||
+ | Entry Point: 80060000 | ||
+ | Verifying Checksum ... crc32_fw: bf060040 - bf13c1fe (len:000dc1bf) calc... | ||
+ | crc32_fw: range1 bf060040 - bf13c1fe | ||
+ | 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.3.6 (zgembo@buildhost) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Thu May 24 15:25:10 JST 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: 61800k/65536k available (2072k kernel code, 3736k reserved, 389k data, 200k init, 0k highmem) | ||
+ | [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 | ||
+ | [ 0.000000] NR_IRQS:48 | ||
+ | [ 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-0x17ffffff] | ||
+ | [ 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] io scheduler noop registered | ||
+ | [ 0.470000] io scheduler deadline registered (default) | ||
+ | [ 0.480000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled | ||
+ | [ 0.510000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A | ||
+ | [ 0.510000] console [ttyS0] enabled, bootconsole disabled | ||
+ | [ 0.510000] console [ttyS0] enabled, bootconsole disabled | ||
+ | [ 0.530000] m25p80 spi0.0: found mx25l12805d, expected m25p80 | ||
+ | [ 0.530000] m25p80 spi0.0: mx25l12805d (16384 Kbytes) | ||
+ | [ 0.540000] m25p80 spi0.1: found mx25l12805d, expected m25p80 | ||
+ | [ 0.550000] m25p80 spi0.1: mx25l12805d (16384 Kbytes) | ||
+ | [ 0.550000] Concatenating MTD devices: | ||
+ | [ 0.560000] (0): "spi0.0" | ||
+ | [ 0.560000] (1): "spi0.1" | ||
+ | [ 0.560000] into device "flash" | ||
+ | [ 0.570000] Creating 7 MTD partitions on "flash": | ||
+ | [ 0.580000] 0x000000000000-0x000000040000 : "u-boot" | ||
+ | [ 0.580000] 0x000000040000-0x000000050000 : "u-boot-env" | ||
+ | [ 0.590000] 0x000000050000-0x000000060000 : "art" | ||
+ | [ 0.600000] 0x000000060000-0x000000160000 : "kernel" | ||
+ | [ 0.600000] 0x000000160000-0x000001ff0000 : "rootfs" | ||
+ | [ 0.610000] mtd: partition "rootfs" set to be root filesystem | ||
+ | [ 0.620000] split_squashfs: no squashfs found in "flash" | ||
+ | [ 0.620000] 0x000001ff0000-0x000002000000 : "user_property" | ||
+ | [ 0.630000] 0x000000060000-0x000001ff0000 : "firmware" | ||
+ | [ 0.640000] ag71xx_mdio: probed | ||
+ | [ 0.650000] eth0: Atheros AG71xx at 0xb9000000, irq 4 | ||
+ | [ 1.230000] eth0: AR8316 switch driver attached. | ||
+ | [ 1.230000] ar8316: Using port 4 as switch port | ||
+ | [ 1.330000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316] | ||
+ | [ 1.350000] TCP westwood registered | ||
+ | [ 1.350000] NET: Registered protocol family 17 | ||
+ | [ 1.350000] 8021q: 802.1Q VLAN Support v1.8 | ||
+ | [ 3.290000] JFFS2 notice: (1) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. | ||
+ | [ 3.310000] VFS: Mounted root (jffs2 filesystem) readonly on device 31:6. | ||
+ | [ 3.320000] Freeing unused kernel memory: 200k freed | ||
+ | - preinit - | ||
+ | Press the [f] key and hit [enter] to enter failsafe mode | ||
+ | [ 7.330000] eth0: link up (1000Mbps/Full duplex) | ||
+ | - regular preinit - | ||
+ | - init - | ||
+ | [ 9.540000] eth0: link down | ||
+ | Please press Enter to activate this console. [ 10.110000] usbcore: registered new interface driver usbfs | ||
+ | [ 10.120000] usbcore: registered new interface driver hub | ||
+ | [ 10.130000] usbcore: registered new device driver usb | ||
+ | [ 10.180000] loop: module loaded | ||
+ | [ 10.250000] PPP generic driver version 2.4.2 | ||
+ | [ 10.340000] ip_tables: (C) 2000-2006 Netfilter Core Team | ||
+ | [ 10.480000] NET: Registered protocol family 24 | ||
+ | [ 10.580000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | ||
+ | [ 10.580000] ehci-platform ehci-platform: Generic Platform EHCI Controller | ||
+ | [ 10.590000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 | ||
+ | [ 10.630000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 | ||
+ | [ 10.650000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 | ||
+ | [ 10.650000] hub 1-0:1.0: USB hub found | ||
+ | [ 10.660000] hub 1-0:1.0: 1 port detected | ||
+ | [ 10.730000] nf_conntrack version 0.5.0 (968 buckets, 3872 max) | ||
+ | [ 13.600000] device eth0.1 entered promiscuous mode | ||
+ | [ 13.600000] device eth0 entered promiscuous mode | ||
+ | [ 14.340000] eth0: link up (1000Mbps/Full duplex) | ||
+ | [ 14.360000] br-lan: port 1(eth0.1) entered forwarding state | ||
+ | [ 14.370000] br-lan: port 1(eth0.1) entered forwarding state | ||
+ | [ 14.410000] br-lan: port 1(eth0.1) entered disabled state | ||
+ | [ 14.410000] device eth0.1 left promiscuous mode | ||
+ | [ 14.420000] device eth0 left promiscuous mode | ||
+ | [ 14.420000] br-lan: port 1(eth0.1) entered disabled state | ||
+ | [ 14.510000] device eth0.1 entered promiscuous mode | ||
+ | [ 14.510000] device eth0 entered promiscuous mode | ||
+ | [ 14.540000] br-lan: port 1(eth0.1) entered forwarding state | ||
+ | [ 14.550000] br-lan: port 1(eth0.1) entered forwarding state | ||
+ | [ 16.550000] br-lan: port 1(eth0.1) entered forwarding state | ||
+ | |||
+ | BusyBox v1.19.4 (2012-05-23 21:35:24 JST) 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 | ||
+ | ----------------------------------------------------- | ||
+ | ATTITUDE ADJUSTMENT (Bleeding Edge, r31835) | ||
+ | ----------------------------------------------------- | ||
+ | * 1/4 oz Vodka Pour all ingredients into mixing | ||
+ | * 1/4 oz Gin tin with ice, strain into glass. | ||
+ | * 1/4 oz Amaretto | ||
+ | * 1/4 oz Triple sec | ||
+ | * 1/4 oz Peach schnapps | ||
+ | * 1/4 oz Sour mix | ||
+ | * 1 splash Cranberry juice | ||
+ | ----------------------------------------------------- | ||
+ | root@OpenWrt:/#</nowiki> | ||
+ | </WRAP>\\ | ||
+ | |||
+ | ===== 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 ==== | ||
+ | <WRAP bootlog> | ||
+ | <nowiki>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...</nowiki> | ||
+ | </WRAP>\\ | ||
+ | |||
+ | ===== Tags ===== | ||
+ | [[meta:tags|How to add tags]] | ||
+ | {{tag>GigabitEthernet 1NIC 1WNIC 5Port 32flash 64ram}} |