Buffalo WZR-HP-G450H
Supported Versions
Hardware Highlights
Installation
TFTP Recovery
To perform a TFTP recovery on this model:
- Set your IP address to
192.168.11.2
- Set a static arp entry for
192.168.11.1
to02:aa:bb:cc:dd:23
- TFTP the image during the 4 second window and wait
Migrate from DD-WRT to OpenWrt
- Enable SSH or Telnet on the router
- Login to the router via SSH or Telnet
- Change directory to
/tmp
and download OpenWrt firmware image file:cd /tmp wget http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-g450h-squashfs-sysupgrade.bin
- Overwrite current firmware with the downloaded one:
mtd -r write openwrt-ar71xx-generic-wzr-hp-g450h-squashfs-sysupgrade.bin linux
After flashing, the router should go down for a reboot and return running OpenWrt.
How to recover from a broken firmware
- Start a TFTP server on your computer.
- On Fedora, you can do it with:
$ sudo yum install tftpd-server $ sudo service xinetd start $ cd /var/lib/tftpboot
- On OS X, you can use TftpServer.
- Download the sysupgrade image
$ sudo wget http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-g450h-jffs2-sysupgrade.bin
- Set up minicom:
$ sudo minicom -s
- Set serial device to /dev/ttyUSDB0
- Turn OFF Hardware Flow Control
- Save the configuration as default and exit
- Plugin in the FTDI USB cable that's wired to the router's pins above with router being turned off, start minicom and then turn the router on.
- Keep pressing Control + C until you see a
ar7240>
prompt. - Find out at which IP address the TFTP server should be running and set up your LAN connection accordingly. By default, your computer should have a static IP address at 192.168.11.1. (use
printenv
command andipaddr
andserverip
properties) - Copy the sysupgrade image to RAM. Write down the number of transferred bytes in hex:
ar7240> tftpboot 81F00000 openwrt-ar71xx-generic-wzr-hp-g450h-jffs2-sysupgrade.bin
- Erase existing firmware (or whatever was there; u-boot won't be erased with this, you're safe; it will take a while.
ar7240> erase BF060000 BEFFFFFF
- Copy the image you uploaded in step 6 to flash memory
ar7240> cp.b 81f00000 BF060000 <number of bytes copied in step 6, hex>
- Boot into your, now fully-functional, router! (first boot will take some time)
ar7240> bootm BF060000
- Now flash the same image you downloaded in step 2 but through Open-WRTs administration interface (System > Software > Flash Firmware) and reboot your router.
- on windows you need to use Teraterm from here https://ttssh2.osdn.jp connect serial @ 115200/8/n/1 power on the router you will see
BUFFALO U-BOOT Ver 1.00 == CPU:400MHz, DDR:400MHz, AHB:200MHz == AP111 (ar7241 - Virian) U-boot DRAM: 64 MB WAN port disabling: done Top of RAM usable for U-Boot at: 84000000 Reserving 258k 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 [W25Q128BV, blk:0x10000, sectors:256] flash bank #1 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256] Flash: 32 MB In: serial Out: serial Err: serial Memory Test (address line) uboot use 83F6BFB0 - 84000000 Memory Test start(0x80000000) end(0x83F00000) size(67108864) Data line test start:0x80000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA Address line test start:0x80000000 len:0x3f00000 pattern 0xAAAAAAAA 0x55555555 Fill test patnum:5 fill Pattern 5555AAAA Writing... Reading... fill Pattern AAAA5555 Writing... Reading... fill Pattern 0000FFFF Writing... Reading... fill Pattern FFFF0000 Writing... Reading... fill Pattern AAAAAAAA Writing... Reading... Memory Test OK ### buf_ver=[1.00] U-Boot Ver.=[1.00] ### build_date(env)=[Apr 6 2011 - 08:52:48] build_date(bin)=[Apr 6 2011 - 08:52:48] ag7240_enet_initialize... Reading MAC Address from ENV(0x83f8aabb) No valid address in Flash. Using fixed address Virian MDC CFG Value ==> 4 : cfg1 0x7 cfg2 0x7114 eth0: 02:aa:bb:cc:dd:23 athrs16_reg_init: complete eth0 up Virian MDC CFG Value ==> 4 : cfg1 0xf cfg2 0x7214 eth1: 00:03:7f:09:0b:ad eth1 up eth0 02:AA:BB:CC:DD:23 , 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. LAN port disabling: done ## Checking Image at bf060000 ... Bad Magic Number =========================================== == Broken first FW, Trying second FW... == =========================================== Loading second FW to RAM... ## Checking Image at 81f00000 ... Bad Magic Number =========================================== == Broken second FW. Need to repair FW...== =========================================== # LED(0x4000) Blink[2] (Please press 'Ctrl+c' to stop) ar7240>
when the LED starts blinking you can press ctrl+c to come to u-boot prompt. from here the best way is to upload the image through serial port using y-modem protocol
ar7240> help loady loady [ off ] [ baud ] - load binary file over serial line with offset 'off' and baudrate 'baud' ar7240> loady 81F00000 115200
after pressing enter the router will be waiting for receiving the firmware, in Teraterm go to menu>file>transfer>ymodem>send then select openwrt-ar71xx-generic-wzr-hp-g450h-jffs2-sysupgrade.bin (which you should have downloaded earlier from http://downloads.openwrt.org/attitude_adjustment/12.09-rc1/ar71xx/generic/openwrt-ar71xx-generic-wzr-hp-g450h-jffs2-sysupgrade.bin)
ar7240> loady 81F00000 115200 ## Ready for binary (ymodem) download to 0x81F00000 at 115200 bps... CCxyzModem - CRC mode, 4(SOH)/2881(STX)/0(CAN) packets, 6 retries ## Total Size = 0x002d0004 = 2949124 Bytes ar7240>
it will take 5 to 6 minutes to upload then you can erase flash(ar7240> erase BF060000 BEFFFFFF) then write to flash (ar7240> cp.b 81F00000 BF060000 2D0004) then boot from flash (ar7240> bootm BF060000) you will be greeted with
ar7240> bootm BF060000 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 ## Booting image at bf060000 ... Image Name: MIPS OpenWrt Linux-3.3.8 Created: 2013-03-23 16:56:02 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 957019 Bytes = 934.6 kB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0xbf060040 ...crc32_fw: bf060040 - bf149a9a (len:000e9a5b) calc... crc32_fw: range1 bf060040 - bf149a9a 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.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:49:30 UTC 2013 [ 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-G450H 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: 61488k/65536k available (2211k kernel code, 4048k reserved, 418k 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-G450H [ 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: invalid calibration data [ 0.370000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit] [ 0.370000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref] [ 0.380000] pci 0000:00:00.0: using irq 40 for pin 1 [ 0.380000] Switching to clocksource MIPS [ 0.390000] NET: Registered protocol family 2 [ 0.390000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.400000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.410000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.410000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.420000] TCP reno registered [ 0.420000] 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.460000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.480000] msgmni has been set to 120 [ 0.480000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254) [ 0.490000] io scheduler noop registered [ 0.490000] io scheduler deadline registered (default) [ 0.500000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.530000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A [ 0.540000] console [ttyS0] enabled, bootconsole disabled [ 0.540000] console [ttyS0] enabled, bootconsole disabled [ 0.550000] m25p80 spi0.0: found w25q128, expected m25p80 [ 0.560000] m25p80 spi0.0: w25q128 (16384 Kbytes) [ 0.560000] m25p80 spi0.1: found w25q128, expected m25p80 [ 0.570000] m25p80 spi0.1: w25q128 (16384 Kbytes) [ 0.580000] Concatenating MTD devices: [ 0.580000] (0): "spi0.0" [ 0.580000] (1): "spi0.1" [ 0.580000] into device "flash" [ 0.590000] Creating 7 MTD partitions on "flash": [ 0.590000] 0x000000000000-0x000000040000 : "u-boot" [ 0.610000] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.610000] 0x000000050000-0x000000060000 : "ART" [ 0.620000] 0x000000060000-0x000000160000 : "uImage" [ 0.630000] 0x000000160000-0x000001fe0000 : "rootfs" [ 0.630000] mtd: partition "rootfs" set to be root filesystem [ 0.640000] mtd: partition "rootfs_data" created automatically, ofs=330000, len=1CB0000 [ 0.650000] 0x000000330000-0x000001fe0000 : "rootfs_data" [ 0.650000] 0x000001fe0000-0x000002000000 : "user_property" [ 0.660000] 0x000000060000-0x000001fe0000 : "firmware" [ 0.670000] ag71xx_mdio: probed [ 0.680000] eth0: Atheros AG71xx at 0xb9000000, irq 4 [ 1.250000] eth0: Atheros AR8316 switch driver attached. [ 1.260000] ar8316: Using port 4 as switch port [ 1.370000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8236/AR8316] [ 1.380000] TCP cubic registered [ 1.380000] NET: Registered protocol family 17 [ 1.380000] Bridge firewalling registered [ 1.390000] 8021q: 802.1Q VLAN Support v1.8 [ 1.400000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6. [ 1.410000] Freeing unused kernel memory: 212k freed - preinit - Press the [f] key and hit [enter] to enter failsafe mode [ 5.370000] eth0: link up (1000Mbps/Full duplex) - regular preinit - jffs2 not ready yet; using ramdisk - init - [ 7.300000] eth0: link down [ 9.290000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993 [ 9.290000] Backport based on wireless-testing.git master-2012-09-07 [ 9.300000] compat.git: wireless-testing.git [ 9.330000] cfg80211: Calling CRDA to update world regulatory domain [ 9.340000] cfg80211: World regulatory domain updated: [ 9.340000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 9.350000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.360000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 9.370000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 9.370000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.380000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.790000] usbcore: registered new interface driver usbfs [ 9.800000] usbcore: registered new interface driver hub [ 9.810000] usbcore: registered new device driver usb [ 10.560000] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xb0000000, irq=40 [ 10.570000] cfg80211: Calling CRDA for country: US [ 10.570000] cfg80211: Regulatory domain changed to country: US [ 10.580000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 10.590000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 10.600000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 10.600000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.610000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.620000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 10.630000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 10.690000] PPP generic driver version 2.4.2 [ 10.940000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.150000] NET: Registered protocol family 24 [ 11.170000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 11.180000] ehci-platform ehci-platform: Generic Platform EHCI Controller [ 11.190000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 11.220000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 11.240000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 11.240000] hub 1-0:1.0: USB hub found [ 11.250000] hub 1-0:1.0: 1 port detected [ 11.270000] nf_conntrack version 0.5.0 (964 buckets, 3856 max) [ 11.500000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver Please press Enter to activate this console. [ 16.010000] device eth0.1 entered promiscuous mode [ 16.020000] device eth0 entered promiscuous mode [ 17.390000] eth0: link up (1000Mbps/Full duplex) [ 17.400000] br-lan: port 1(eth0.1) entered forwarding state [ 17.400000] br-lan: port 1(eth0.1) entered forwarding state [ 19.400000] br-lan: port 1(eth0.1) entered forwarding state [ 31.350000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 31.360000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 31.370000] jffs2_build_filesystem(): erasing all blocks after the end marker... BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) 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 (12.09, r36088) ----------------------------------------------------- * 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:/# done.
after that connect to any LAN port and goto openwrt web interface and flash the latest image.
Hardware
Info
Architecture: | MIPS |
Vendor: | Qualcomm Atheros |
bootloader: | U-Boot |
System-On-Chip: | AR7242 |
CPU/Speed | 400MHz |
Flash-Chip: | 2X 25Q128BVFG |
Flash size: | 32 MiB 2X 16MiB |
RAM: | 64 MiB |
Wireless: | Atheros AR9381? |
Ethernet: | AR8316 swconfig |
USB: | Yes 1x 2.0 |
Serial: | yes@115200/8/n/1 |
JTAG: |
Photos
Serial Port and Internal Pictures
see http://www.overclock.net/t/1331611/guide-recovering-a-bricked-buffalo-airstation-n450-router-wzr-hp-g450h for pictures.
Serial Pinout:
Top Row | GND | RX | TX | VCC |
Bottom Row | RX | TX | GND | VCC |
Firmware
u-boot default environment
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) bootcmd=bootm BF060000 baudrate=115200 ethaddr=02:AA:BB:CC:DD:23 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_BB10082 hw_rev=0 tftp_wait=4 uboot_ethaddr=02:AA:BB:CC:DD:23 DEF-p_wireless_ath0_11bg-authmode=psk DEF-p_wireless_ath0_11bg-crypto=tkip+aes DEF-p_wireless_ath0_11bg-authmode_ex=mixed-psk DEF-p_wireless_ath0_11bg-wpapsk=scmyermf38a8b pincode=18797312 custom_id=0 buf_ver=1.00 product=WZR-HP-G450H build_date=Apr 6 2011 - 08:52:48 buf_crc=D8FD7242 region=US accept_open_rt_fmt=1 stdin=serial stdout=serial stderr=serial loadaddr=81F00000 ethact=eth0
Bootlog
This complete boot sequence shows Buffalo's U-BOOT ver 1.00, its TftpServer timing, and factory default DD-WRT kernel messages while booting up
BUFFALO U-BOOT Ver 1.00 == CPU:400MHz, DDR:400MHz, AHB:200MHz == AP111 (ar7241 - Virian) U-boot DRAM: 64 MB WAN port disabling: done Top of RAM usable for U-Boot at: 84000000 Reserving 258k 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 [W25Q128BV, blk:0x10000, sectors:256] flash bank #1 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256] Flash: 32 MB In: serial Out: serial Err: serial Memory Test (address line) uboot use 83F6BFB0 - 84000000 Memory Test start(0x80000000) end(0x83F00000) size(67108864) Data line test start:0x80000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA Address line test start:0x80000000 len:0x3f00000 pattern 0xAAAAAAAA 0x55555555 Fill test patnum:5 fill Pattern 5555AAAA Writing... Reading... fill Pattern AAAA5555 Writing... Reading... fill Pattern 0000FFFF Writing... Reading... fill Pattern FFFF0000 Writing... Reading... fill Pattern AAAAAAAA Writing... Reading... Memory Test OK ### buf_ver=[1.00] U-Boot Ver.=[1.00] ### build_date(env)=[Apr 6 2011 - 08:52:48] build_date(bin)=[Apr 6 2011 - 08:52:48] 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 0x7114 eth0: 02:aa:bb:cc:dd:23 athrs16_reg_init: complete eth0 up Virian MDC CFG Value ==> 4 : cfg1 0xf cfg2 0x7214 eth1: 00:03:7f:09:0b:ad eth1 up eth0 02:AA:BB:CC:DD:23 , 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. LAN port disabling: done ## Checking Image at bf060000 ... Image Name: MIPS Linux Kernel Image Created: 2011-05-27 10:22:38 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1016696 Bytes = 992.9 kB Load Address: 80002000 Entry Point: 80006150 Verifying Checksum ... crc32_fw: bf060040 - bf1583b7 (len:000f8378) calc... crc32_fw: range1 bf060040 - bf1583b7 OK 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 ## Booting image at bf060000 ... Image Name: MIPS Linux Kernel Image Created: 2011-05-27 10:22:38 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1016696 Bytes = 992.9 kB Load Address: 80002000 Entry Point: 80006150 Uncompressing Kernel Image ... OK No initrd ## Transferring control to Linux (at address 80006150) ... ## Giving linux memsize in bytes, 67108864 Starting kernel ... [ 0.000000] Linux version 2.6.34.9-svn17089 (root@dd-wrt) (gcc version 4.5.2 (Linaro GCC 4.5-2011.02-0) ) #5719 Fri May 27 12:10:20 CEST 2011 [ 0.000000] flash_size passed from bootloader = 32 [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) Booting AR7240(Python)... [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=ttyS0,115200 root=1f02 rootfstype=squashfs noinitrd init=/sbin/init [ 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: 61804k/65536k available (2171k kernel code, 3732k reserved, 541k data, 148k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] Calibrating delay loop... 266.24 BogoMIPS (lpj=1331200) [ 0.240000] Mount-cache hash table entries: 512 [ 0.240000] NET: Registered protocol family 16 [ 0.250000] found calibration data for slot 0 on 0xBF050000 [ 0.460000] registering PCI controller with io_map_base unset [ 0.470000] bio: create slab <bio-0> at 0 [ 0.480000] usbcore: registered new interface driver usbfs [ 0.480000] usbcore: registered new interface driver hub [ 0.490000] usbcore: registered new device driver usb [ 0.490000] detected swapped eeprom data [ 0.490000] pci 0000:00:00.0: fixup device configuration [ 0.500000] bootstrap returns device 168C:30 [ 0.500000] move calibration data offset 12288 [ 0.510000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit] [ 0.510000] pci 0000:00:00.0: BAR 0: set to [mem 0x10000000-0x1001ffff 64bit] (PCI address [0x10000000-0x1001ffff] [ 0.520000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref] [ 0.520000] PCI: mapping irq 48 to pin1@0000:00:00.0 [ 0.530000] fixup irq: got 48 [ 0.530000] Switching to clocksource MIPS [ 0.540000] NET: Registered protocol family 2 [ 0.540000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.540000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.550000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.550000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.560000] TCP reno registered [ 0.560000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.570000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.570000] NET: Registered protocol family 1 [ 0.580000] gpio_proc: module loaded and /proc/gpio/ created [ 0.590000] wl0gpio_proc: module loaded and /proc/wl0gpio/ created [ 0.590000] init_vdso successfull [ 0.600000] squashfs: version 3.0 (2006/03/15) Phillip Lougher [ 0.600000] msgmni has been set to 120 [ 0.610000] io scheduler noop registered [ 0.610000] io scheduler deadline registered (default) [ 0.620000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.630000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 19) is a 16550A [ 0.630000] console [ttyS0] enabled, bootconsole disabled [ 0.630000] console [ttyS0] enabled, bootconsole disabled [ 0.640000] check spi banks 2 [ 0.650000] 0000 : EF 40 18 [ 0.650000] found W25Q128BV device on bank#0 [ 0.650000] 0000 : EF 40 18 [ 0.660000] found W25Q128BV device on bank#1 [ 0.660000] SPI flash size total:32 Mbytes [ 0.730000] [ 0.730000] found squashfs at 159000 [ 0.740000] Creating 9 MTD partitions on "ar7240-nor0": [ 0.740000] 0x000000000000-0x000000050000 : "RedBoot" [ 0.750000] 0x000000060000-0x000001fe0000 : "linux" [ 0.760000] 0x000000159000-0x000000df0000 : "rootfs" [ 0.760000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.780000] mtd: partition "rootfs" set to be root filesystem [ 0.780000] 0x000000df0000-0x000001fe0000 : "ddwrt" [ 0.790000] 0x000001fe0000-0x000001ff0000 : "nvram" [ 0.790000] 0x000001ff0000-0x000002000000 : "FIS directory" [ 0.800000] 0x000001ff0000-0x000002000000 : "board_config" [ 0.810000] 0x000000000000-0x000002000000 : "fullflash" [ 0.810000] 0x000000040000-0x000000050000 : "uboot-env" [ 0.820000] PPP generic driver version 2.4.2 [ 0.820000] PPP Deflate Compression module registered [ 0.830000] PPP BSD Compression module registered [ 0.830000] PPP MPPE Compression module registered [ 0.840000] NET: Registered protocol family 24 [ 0.840000] PPPoL2TP kernel driver, V1.0 [ 0.850000] IMQ driver loaded successfully. [ 0.850000] Hooking IMQ before NAT on PREROUTING. [ 0.860000] Hooking IMQ after NAT on POSTROUTING. [ 0.860000] tun: Universal TUN/TAP device driver, 1.6 [ 0.870000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 0.870000] AG7240: Length per segment 1544 [ 0.880000] AG7240: Max segments per packet 1 [ 0.880000] AG7240: Max tx descriptor count 128 [ 0.890000] AG7240: Max rx descriptor count 252 [ 0.890000] AG7240: fifo cfg 3 01f00140 [ 0.900000] AG7240CHH: Mac address for unit 0 [ 0.900000] AG7240CHH: ff:ff:ff:ff:ff:ff [ 1.110000] AG7240CHH: Mac address for unit 1 [ 1.110000] AG7240CHH: ff:ff:ff:ff:ff:ff [ 1.320000] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0) [ 1.320000] u32 classifier [ 1.330000] input device check on [ 1.330000] Actions configured [ 1.330000] Netfilter messages via NETLINK v0.30. [ 1.340000] nf_conntrack version 0.5.0 (965 buckets, 3860 max) [ 1.350000] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use [ 1.350000] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or [ 1.360000] sysctl net.netfilter.nf_conntrack_acct=1 to enable it. [ 1.370000] nf_conntrack_rtsp v0.6.21 loading [ 1.370000] nf_nat_rtsp v0.6.21 loading [ 1.380000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.380000] IPP2P v0.8.2 loading [ 1.380000] TCP westwood registered [ 1.390000] TCP hybla registered [ 1.390000] TCP vegas registered [ 1.390000] NET: Registered protocol family 17 [ 1.400000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> [ 1.410000] All bugs added by David S. Miller <davem@redhat.com> [ 1.490000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.500000] Freeing unused kernel memory: 148k freed start service starting Architecture code for wzrg450 starting hotplug Jan 1 00:00:03 udevtrigger[195]: parse_config_file: can't open '/etc/udev/udev.conf' as config file: No such file or directory done load ATH Ethernet Driver insmod: ag7100_mod.ko: module not found configure eth0 to 10:6F:3F:25:FD:8D [ 4.280000] ag7240_ring_alloc Allocated 2048 at 0x838c5800 [ 4.280000] ag7240_ring_alloc Allocated 4032 at 0x83a01000 [ 4.290000] Virian MDC CFG Value ==> 4 [ 4.290000] CFG Board AP96 [ 4.300000] athrs16_reg_init complete. [ 4.300000] Setting PHY... configure vlan1 to 10:6F:3F:25:FD:8D configure vlan2 to 10:6F:3F:25:FD:8D ifconfig: SIOCSIFHWADDR: Device or resource busy load ATH 802.11 a/b/g Driver insmod: ath_hal.ko: module not found insmod: ath_pci.ko: module not found insmod: ath_ahb.ko: module not found load ATH9K 802.11n Driver [ 5.550000] Compat-wireless backport release: compat-wireless-2011-05-11-r26927 [ 5.560000] Backport based on wireless-testing.git master-2011-05-13 insmod: compat_firmware_class.ko: module not found [ 5.850000] cfg80211: Calling CRDA to update world regulatory domain [ 5.980000] cfg80211: World regulatory domain updated: [ 5.990000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 6.000000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 6.000000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 6.010000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 6.020000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 6.030000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 6.970000] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xb0000000, irq=48 [ 6.980000] cfg80211: Calling CRDA for country: US [ 7.010000] cfg80211: Regulatory domain changed to country: US [ 7.020000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 7.030000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 7.030000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 7.040000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 7.050000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 7.060000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 7.070000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) /bin/sh: can't create /proc/sys/dev/wifi0/ledpin: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/softled: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi1/ledpin: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi1/softled: nonexistent directory [USB] checking... umount: can't umount /mnt: Invalid argument rmmod: usblp: No such file or directory rmmod: printer: No such file or directory rmmod: usb-storage: No such file or directory rmmod: sd_mod: No such file or directory rmmod: scsi_wait_scan: No such file or directory rmmod: scsi_mod: No such file or directory rmmod: usb-ohci: No such file or directory rmmod: ohci-hcd: No such file or directory rmmod: uhci-hcd: No such file or directory rmmod: usb-uhci: No such file or directory rmmod: ehci-hcd: No such file or directory rmmod: usbcore: No such file or directory rmmod: xfs: No such file or directory rmmod: msdos: No such file or directory rmmod: vfat: No such file or directory rmmod: fat: No such file or directory rmmod: nls_utf8: No such file or directory rmmod: nls_iso8859-2: No such file or directory rmmod: nls_iso8859-1: No such file or directory rmmod: nls_cp437: No such file or directory rmmod: nls_base: No such file or directory rmmod: ext3: No such file or directory rmmod: jbd: No such file or directory rmmod: ext2: No such file or directory rmmod: mbcache: No such file or directory rmmod: fuse: No such file or directory /bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-arptables: nonexistent directory /bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-ip6tables: nonexistent directory /bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-iptables: nonexistent directory ath9k deconfigure_single: phy0 ath0 [ 9.670000] device br0 entered promiscuous mode killall: ead: no process killed [ 9.750000] device vlan1 entered promiscuous mode [ 9.760000] device eth0 entered promiscuous mode /bin/sh: ead: not found[ 9.770000] br0: port 1(vlan1) entering learning state [ 9.780000] device br0 left promiscuous mode [ 9.780000] device br0 entered promiscuous mode [ 9.790000] device br0 left promiscuous mode [ 9.800000] device br0 entered promiscuous mode ifconfig: ioctl 0x8914 failed: Cannot assign requested address ath9k deconfigure_single: phy0 ath0 /bin/sh: can't create /proc/sys/dev/wifi0/superchannel: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/regdomain: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/countrycode: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/outdoor: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/antennagain: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/antennagainsub: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/channelbw: nonexistent directory /bin/sh: can't create /proc/sys/dev/wifi0/channelshift: nonexistent directory ath9k configure_single: phy0 ath0 /bin/sh: can't create /sys/kernel/debug/ath9k/phy0/rx_chainmask: nonexistent directory /bin/sh: can't create /sys/kernel/debug/ath9k/phy0/tx_chainmask: nonexistent directory command failed: Invalid argument (-22) call mac80211autochannel for interface: ath0 mac80211autochannel interface: ath0 frequency: 2412 setup ath0 10:6F:3F:25:FD:8D Configuration file: /tmp/ath0_hostap.conf [ 10.590000] device ath0 entered promiscuous mode [ 10.610000] br0: port 2(ath0) entering learning state Using interface ath0 with hwaddr 10:6f:3f:25:fd:8d and ssid '106F3F25FD8D' [ 10.780000] br0: port 1(vlan1) entering forwarding state device ath0 is already a member of a bridge; can't enslave it to bridge br0. killall: roaming_daemon: no process killed rmmod: bonding: No such file or directory [ 11.160000] bonding: Ethernet Channel Bonding Driver: v3.6.0 (September 26, 2009) [ 11.170000] bonding: MII link monitoring set to 100 ms [ 11.610000] br0: port 2(ath0) entering forwarding state cp: cannot stat '/tmp/mycron.d/*': No such file or directory cp: cannot stat '/jffs/mycron.d/*': No such file or directory cp: cannot stat '/mmc/mycron.d/*': No such file or directory rmmod: n_hdlc: No such file or directory [ 12.230000] device vlan2 entered promiscuous mode [ 12.250000] device vlan2 left promiscuous mode SIOCGIFFLAGS: No such device ath9k radio on: phy-1 ath-1 /bin/sh: can't create /proc/sys/dev/wifi0/silent: nonexistent directory SIOCGIFFLAGS: No such device SIOCGIFFLAGS: No such device SIOCGIFFLAGS: No such device [ 13.830000] etherip: Ethernet over IPv4 tunneling driver rmmod: ipt_webstr: No such file or directory rmmod: ipt_layer7: No such file or directory rmmod: ipt_ipp2p: No such file or directory The Milkfish Router Services ERROR: Necessary service setting not found: milkfish_username - aborting. rmmod: ebt_dnat: No such file or directory rmmod: ebt_snat: No such file or directory killall: proxywatchdog.sh: no process killed The Milkfish Router Services Restoring SIP ddsubscriber database from NVRAM... rmmod: ebt_mark_m: No such file or directory rmmod: ebt_mark: No such file or directory rmmod: ebtable_filter: No such file or directory Empty. The Milkfish Router Services Restoring SIP ddaliases database from NVRAM... rmmod: ebtable_nat: No such file or directory Empty. rmmod: ebtables: No such file or directory /bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-arptables: nonexistent directory /bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-ip6tables: nonexistent directory /bin/sh: can't create /proc/sys/net/bridge/bridge-nf-call-iptables: nonexistent directory rmmod: imq: No such file or directory umount: can't umount /tmp/smbshare: No such file or directory rmmod: cifs: No such file or directory killall: schedulerb.sh: no process killed killall: shatd: no process killed killall: wdswatchdog.sh: no process killed DD-WRT v24-sp2 std (c) 2011 NewMedia-NET GmbH Release: 05/27/11 (SVN revision: 17140) DD-WRT login: