Skip to content

AirstationWzrHp300

seanbruno edited this page Sep 6, 2014 · 8 revisions

#summary Build instructions for Buffalo Airstation WZR-300HP B1 A0

= Introduction = This is a AR7242 MIPS based unit with 64MB ram and 2x16MB Flash devices It uses a AR7240 switch.

= Building firmware =

{{{

/path/to/build/bin/build wzr300hp buildworld buildkernel installworld installkernel distribution mfsroot fsimage airstation

}}}

= Uploading firmware =

  • The Airstation build will produce put for your use via tftp from a host.
  • Connect your router's LAN 1 port to a FreeBSD host (model B0 A1)
    • If LAN port 1 does not work, try LAN port 4 (model B1 A0)
  • Set the FreeBSD host ip:
    • ifconfig fxp0 192.168.11.100/24
  • Set arp entry for router to get an IP Address
    • (arp -s 192.168.11.1 02:aa:bb:cc:dd:1a)
  • Run tftp
    • Set binary transfer mode (tftp> bin)
    • Enter upload command (tftp> put /tftpboot/wzr300hp-tftp.bin)
  • Power on router and let it TFTP the image from your FreeBSD host
    • The router will configure itself for 192.168.11 {{{ 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 = 6190112 (5e7420 hex)

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

flash-addr 0xBF060000 - 0xBF64FFFF search sector 0xbf060000 - 0xbf64ffff BANK #1 (6 : 100) 000 PPPP.Poooooooooooooooooooooooooo 032 oooooooooooooooooooooooooooooooo 064 oooooooooooooooooooooooooooooooo 096 ooooo........................... 128 ................................ 160 ................................ 192 ................................ 224 ................................ BANK #2 (-1 : -1) 000 ................................ 032 ................................ 064 ................................ 096 ................................ 128 ................................ 160 ................................ 192 ................................ 224 ................................

First 0x6 last 0x64 sector size 0x10000 100 Erased 95 sectors Copy to Flash... Copy 6190080 byte to Flash... write data: 81f00020 --> bf060000 (len:5e7400) 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: FreeBSD Created: 2013-09-17 21:02:04 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1011245 Bytes = 987.5 kB Load Address: 80050000 Entry Point: 80050100 Verifying Checksum ... crc32_fw: bf060040 - bf156e6c (len:000f6e2d) calc... crc32_fw: range1 bf060040 - bf156e6c OK Uncompressing Kernel Image ... OK Ethernet Disabled! No initrd

Transferring control to Linux (at address 80050100) ...

Giving linux memsize in bytes, 67108864

Starting kernel ...

CPU platform: Atheros AR7242 rev 1 CPU Frequency=400 MHz CPU DDR Frequency=400 MHz CPU AHB Frequency=200 MHz platform frequency: 400000000 CPU reference clock: 5 MHz arguments: a0 = 00000009 a1 = a3f6bfb0 a2 = a3f6c490 a3 = 00000020 Cmd line:argv is invalid Environment: envp is invalid Cache info: picache_stride = 4096 picache_loopcount = 16 pdcache_stride = 4096 pdcache_loopcount = 8 cpu0: MIPS Technologies processor v116.147 MMU: Standard TLB, 16 entries L1 i-cache: 4 ways of 512 sets, 32 bytes per line L1 d-cache: 4 ways of 256 sets, 32 bytes per line Config1=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG> Config3=0x20 Physical memory chunk(s): 0x4fa000 - 0x3ffffff, 61890560 bytes (15110 pages) Maxmem is 0x4000000 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-ALPHA1 #78 r255615M: Tue Sep 17 14:01:21 PDT 2013 sbruno@powernoodle:/home/sbruno/bsd/obj/mipseb/mips.mips/home/sbruno/bsd/head/sys/WZR-300HP mips gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: MEMGUARD map base: 0xc0800000 MEMGUARD map size: 104860 KBytes Preloaded elf kernel "kernel" at 0x804f3a44. real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x0058e000 - 0x03eb6fff, 59936768 bytes (14633 pages) avail memory = 59215872 (56MB) random device not loaded; using insecure entropy mem: null: <null device, zero device> nexus0: clock0: on nexus0 Timecounter "MIPS32" frequency 200000000 Hz quality 800 Event timer "MIPS32" frequency 200000000 Hz quality 800 argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x1a000000-0x1a000fff on nexus0 mdio0: on argemdio0 mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0 arswitch0: on mdio0 miibus0: on arswitch0 ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0 ukphy0: OUI 0x00c82e, model 0x0004, rev. 1 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto miibus1: on arswitch0 ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1 ukphy1: OUI 0x00c82e, model 0x0004, rev. 1 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto miibus2: on arswitch0 ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2 ukphy2: OUI 0x00c82e, model 0x0004, rev. 1 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto miibus3: on arswitch0 ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3 ukphy3: OUI 0x00c82e, model 0x0004, rev. 1 ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto etherswitch0: on arswitch0 mdio1: on arswitch0 mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> on apb0 uart0: console (115200,n,8,1) uart0: fast interrupt gpio0: on apb0 gpio0: [GIANT-LOCKED] gpio0: gpio pinmask=0x103d0 gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 4 on gpiobus0 gpioled1: at pin(s) 6 on gpiobus0 gpioled2: at pin(s) 7 on gpiobus0 gpioled3: at pin(s) 8 on gpiobus0 gpioled4: at pin(s) 9 on gpiobus0 gpioled5: at pin(s) 16 on gpiobus0 pcib0 at irq 0 on nexus0 pcib0: ar724x_pci_slot_fixup: checking dev pcib0, 0/0/0 pcib0: found EEPROM at 0x1f051000 on 0.0.0 0x00006000=0x29168c 0x00006008=0x2800001 0x0000602c=0xa093168c 0x00005000=0x2a168c 0x00005008=0x2800001 0x0000502c=0xa093168c 0x00005064=0x5040cc0 0x0000506c=0x33811 0x00004004=0x40073b 0x00004074=0x0003 0x00004000=0x1c25001 0x00006034=0x0044 pcib0: EEPROM firmware: 0x1f051000 @ 4096 bytes firmware: 'pcib.0.bus.0.0.0.eeprom_firmware' version 1: 4096 bytes loaded at 0xc6ecd000 pcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registered pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x168c, dev=0x002a, revid=0x01 domain=0, bus=0, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0146, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 MSI-X supports 1 message in map 0x10 map[10]: type Memory, range 64, base 0, size 16, enabled pci0: at device 0.0 (no driver attached) arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: Overriding MAC from EEPROM miiproxy0: <MII/MDIO proxy, MII side> on arge0 miiproxy0: attached to target mdio1 arge0: finishing attachment, phymask 0000, proxy set arge0: bpf attached arge0: Ethernet address: 10:6f:3f:db:29:2c arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 mii_attach_proxy: not attaching, no mdio device hint for arge1 arge1: finishing attachment, phymask 0000, proxy null arge1: bpf attached arge1: Ethernet address: 10:6f:3f:db:29:2d spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 on spibus0 mx25l0: mx25ll128, sector 65536 bytes, 256 sectors mx25l1: at cs 1 on spibus0 mx25l1: mx25ll128, sector 65536 bytes, 256 sectors ar71xx_wdog0: on nexus0 ar71xx_wdog0: Previous reset was due to watchdog timeout Device configuration finished. Timecounters tick every 1.000 msec tcp_init: net.inet.tcp.tcbhashsize auto tuned to 1024 lo0: bpf attached arswitch0port1: link state changed to DOWN arswitch0port2: link state changed to DOWN arswitch0port3: link state changed to DOWN arswitch0port4: link state changed to DOWN GEOM: new disk flash/spi0 GEOM: new disk flash/spi1 MAP: 0x40000, data=0x40000 "/dev/map/uboot" MAP: 40000x10000, data=0x10000 "/dev/map/u-boot-env" MAP: 50000x10000, data=0x10000 "/dev/map/ART" MAP: 60000x100000, data=0x100000 "/dev/map/kernel" MAP: 160000xe90000, data=0xe90000 "/dev/map/rootfs" MAP: ff0000x10000, data=0x10000 "/dev/map/cfg" MAP: No valid partition found at flash/spi1 map/rootfs.uncompress: GEOM_ULZMA image found map/rootfs.uncompress: 178 x 131072 blocks MAP: No valid partition found at map/rootfs.uncompress hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> MIPS24K/2/32/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA> WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/map/rootfs.uncompress []... warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Sep 17 21:01:54 init: login_getclass: unknown class 'daemon' MAP: No valid partition found at md0 MAP: No valid partition found at md0 MAP: No valid partition found at md1 MAP: No valid partition found at md1 MAP: No valid partition found at md2 MAP: No valid partition found at md2 *** Populating /var .. *** Loading configuration files .. *** Restoring from /dev/map/cfg .. 1+0 records in 1+0 records out 65536 bytes transferred in 0.090073 secs (727589 bytes/sec) gunzip: invalid compressed data--crc error etc/cfg/manifest etc/master.passwd etc/group etc/cfg/rc.conf 8 blocks *** Completed. *** setting up hostname *** Load kernel modules wlan: <802.11 Link Layer> pci0: driver added found-> vendor=0x168c, dev=0x002a, revid=0x01 domain=0, bus=0, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0146, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 MSI-X supports 1 message in map 0x10 pci0:0:0:0: reprobing on driver added ath0: <Atheros 9280> at device 0.0 on pci0 ath0: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0x10000000 ath0: ath_pci_attach: looking up firmware @ 'pcib.0.bus.0.0.0.eeprom_firmware' ath0: ath_pci_attach: EEPROM firmware @ 0xc6ecd000 ath0: [HT] enabling HT modes ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] 2 RX streams; 2 TX streams ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: 2T2R ath0: 11ng MCS 20MHz ath0: MCS 0-7: 6.5Mbps - 65Mbps ath0: MCS 8-15: 13Mbps - 130Mbps ath0: 11ng MCS 40MHz: ath0: MCS 0-7: 13.5Mbps - 135Mbps ath0: MCS 8-15: 27Mbps - 270Mbps ath0: 11ng MCS 40MHz SGI: ath0: MCS 0-7: 15Mbps - 150Mbps ath0: MCS 8-15: 30Mbps - 300Mbps ath0: AR9280 mac 128.2 RF5133 phy 13.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ath0: Use hw queue 1 for WME_AC_BE traffic ath0: Use hw queue 0 for WME_AC_BK traffic ath0: Use hw queue 2 for WME_AC_VI traffic ath0: Use hw queue 3 for WME_AC_VO traffic ath0: Use hw queue 8 for CAB traffic ath0: Use hw queue 9 for beacons ath0: using multicast key search Falling back to <Software, Yarrow> random adaptor random: <Software, Yarrow> initialized *** bringing up loopback .. *** Starting networking via /etc/rc.d/base/net dev.ath.0.txq_mcastq_maxdepth: 512 -> 32 sysctl: unknown oid 'dev.ath.1.txq_mcastq_maxdepth': No such file or directory *** Interface: arge0: start *** Interface: arge0: done *** Interface: wlan0: start wlan0: bpf attached wlan0: bpf attached wlan0: Ethernet address: 10:6f:3f:db:29:2c ifconfig: unknown/undefined channel number 36 flags 0x0 *** Starting hostapd.. Configuration file: /etc/cfg/hostapd.wlan0.conf Could not open configuration file '/etc/cfg/hostapd.wlan0.conf' for reading. *** Interface: wlan0: done *** Interface: bridge0: start bridge0: bpf attached bridge0: Ethernet address: 06:af:48:11:0a:f8 arge0: promiscuous mode enabled bridge0: link state changed to UP *** Interface: bridge0: done *** Default password/login databases .. *** inetd *** Done!

FreeBSD/mips (freebsd-wifi-build) (ttyu0)

login:

}}}

= Default boot =

  • bridge0 - 192.168.1.20/24
  • bridge0 only has arge0, so you should plug into the WAN port (or LAN port, maybe I have these instructions backwards..)
  • telnet -K 192.168.1.20, login as user with no password; su to root with no password.

= Current Issues =

NONE

= Further information =

  • [http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300nh2]

= Example boot messages =

{{{ 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

eth0 link down

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

TftpServer Timeout; no file was loaded. change bootargs console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties) mem=64M product_rev=1 UART=1

Booting image at bf060000 ...

Image Name: FreeBSD Created: 2013-09-17 21:02:04 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 1011245 Bytes = 987.5 kB Load Address: 80050000 Entry Point: 80050100 Verifying Checksum ... crc32_fw: bf060040 - bf156e6c (len:000f6e2d) calc... crc32_fw: range1 bf060040 - bf156e6c OK Uncompressing Kernel Image ... OK Ethernet Disabled! No initrd

Transferring control to Linux (at address 80050100) ...

Giving linux memsize in bytes, 67108864

Starting kernel ...

CPU platform: Atheros AR7242 rev 1 CPU Frequency=400 MHz CPU DDR Frequency=400 MHz CPU AHB Frequency=200 MHz platform frequency: 400000000 CPU reference clock: 5 MHz arguments: a0 = 00000009 a1 = a3f6bfb0 a2 = a3f6c490 a3 = 00000020 Cmd line:argv is invalid Environment: envp is invalid Cache info: picache_stride = 4096 picache_loopcount = 16 pdcache_stride = 4096 pdcache_loopcount = 8 cpu0: MIPS Technologies processor v116.147 MMU: Standard TLB, 16 entries L1 i-cache: 4 ways of 512 sets, 32 bytes per line L1 d-cache: 4 ways of 256 sets, 32 bytes per line Config1=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG> Config3=0x20 Physical memory chunk(s): 0x4fa000 - 0x3ffffff, 61890560 bytes (15110 pages) Maxmem is 0x4000000 KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-ALPHA1 #78 r255615M: Tue Sep 17 14:01:21 PDT 2013 sbruno@powernoodle:/home/sbruno/bsd/obj/mipseb/mips.mips/home/sbruno/bsd/head/sys/WZR-300HP mips gcc version 4.2.1 20070831 patched [FreeBSD] WARNING: WITNESS option enabled, expect reduced performance. MEMGUARD DEBUGGING ALLOCATOR INITIALIZED: MEMGUARD map base: 0xc0800000 MEMGUARD map size: 104860 KBytes Preloaded elf kernel "kernel" at 0x804f3a44. real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x0058e000 - 0x03eb6fff, 59936768 bytes (14633 pages) avail memory = 59215872 (56MB) random device not loaded; using insecure entropy mem: null: <null device, zero device> nexus0: clock0: on nexus0 Timecounter "MIPS32" frequency 200000000 Hz quality 800 Event timer "MIPS32" frequency 200000000 Hz quality 800 argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x1a000000-0x1a000fff on nexus0 mdio0: on argemdio0 mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0 arswitch0: on mdio0 miibus0: on arswitch0 ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0 ukphy0: OUI 0x00c82e, model 0x0004, rev. 1 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto miibus1: on arswitch0 ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1 ukphy1: OUI 0x00c82e, model 0x0004, rev. 1 ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto miibus2: on arswitch0 ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2 ukphy2: OUI 0x00c82e, model 0x0004, rev. 1 ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto miibus3: on arswitch0 ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3 ukphy3: OUI 0x00c82e, model 0x0004, rev. 1 ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto etherswitch0: on arswitch0 mdio1: on arswitch0 mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> on apb0 uart0: console (115200,n,8,1) uart0: fast interrupt gpio0: on apb0 gpio0: [GIANT-LOCKED] gpio0: gpio pinmask=0x103d0 gpioc0: on gpio0 gpiobus0: on gpio0 gpioled0: at pin(s) 4 on gpiobus0 gpioled1: at pin(s) 6 on gpiobus0 gpioled2: at pin(s) 7 on gpiobus0 gpioled3: at pin(s) 8 on gpiobus0 gpioled4: at pin(s) 9 on gpiobus0 gpioled5: at pin(s) 16 on gpiobus0 pcib0 at irq 0 on nexus0 pcib0: ar724x_pci_slot_fixup: checking dev pcib0, 0/0/0 pcib0: found EEPROM at 0x1f051000 on 0.0.0 0x00006000=0x29168c 0x00006008=0x2800001 0x0000602c=0xa093168c 0x00005000=0x2a168c 0x00005008=0x2800001 0x0000502c=0xa093168c 0x00005064=0x5040cc0 0x0000506c=0x33811 0x00004004=0x40073b 0x00004074=0x0003 0x00004000=0x1c25001 0x00006034=0x0044 pcib0: EEPROM firmware: 0x1f051000 @ 4096 bytes firmware: 'pcib.0.bus.0.0.0.eeprom_firmware' version 1: 4096 bytes loaded at 0xc6ecd000 pcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registered pci0: on pcib0 pci0: domain=0, physical bus=0 found-> vendor=0x168c, dev=0x002a, revid=0x01 domain=0, bus=0, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0146, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 MSI-X supports 1 message in map 0x10 map[10]: type Memory, range 64, base 0, size 16, enabled pci0: at device 0.0 (no driver attached) arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0 arge0: Overriding MAC from EEPROM miiproxy0: <MII/MDIO proxy, MII side> on arge0 miiproxy0: attached to target mdio1 arge0: finishing attachment, phymask 0000, proxy set arge0: bpf attached arge0: Ethernet address: 10:6f:3f:db:29:2c arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0 mii_attach_proxy: not attaching, no mdio device hint for arge1 arge1: finishing attachment, phymask 0000, proxy null arge1: bpf attached arge1: Ethernet address: 10:6f:3f:db:29:2d spi0: at mem 0x1f000000-0x1f00000f on nexus0 spibus0: on spi0 mx25l0: at cs 0 on spibus0 mx25l0: mx25ll128, sector 65536 bytes, 256 sectors mx25l1: at cs 1 on spibus0 mx25l1: mx25ll128, sector 65536 bytes, 256 sectors ar71xx_wdog0: on nexus0 ar71xx_wdog0: Previous reset was due to watchdog timeout Device configuration finished. Timecounters tick every 1.000 msec tcp_init: net.inet.tcp.tcbhashsize auto tuned to 1024 lo0: bpf attached arswitch0port1: link state changed to DOWN arswitch0port2: link state changed to DOWN arswitch0port3: link state changed to DOWN arswitch0port4: link state changed to DOWN GEOM: new disk flash/spi0 GEOM: new disk flash/spi1 MAP: 0x40000, data=0x40000 "/dev/map/uboot" MAP: 40000x10000, data=0x10000 "/dev/map/u-boot-env" MAP: 50000x10000, data=0x10000 "/dev/map/ART" MAP: 60000x100000, data=0x100000 "/dev/map/kernel" MAP: 160000xe90000, data=0xe90000 "/dev/map/rootfs" MAP: ff0000x10000, data=0x10000 "/dev/map/cfg" MAP: No valid partition found at flash/spi1 map/rootfs.uncompress: GEOM_ULZMA image found map/rootfs.uncompress: 178 x 131072 blocks MAP: No valid partition found at map/rootfs.uncompress hwpmc: SOFT/16/64/0x67<INT,USR,SYS,REA,WRI> MIPS24K/2/32/0x1ff<INT,USR,SYS,EDG,THR,REA,WRI,INV,QUA> WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/map/rootfs.uncompress []... warning: no time-of-day clock registered, system time will not be set accurately start_init: trying /sbin/init Sep 17 21:01:54 init: login_getclass: unknown class 'daemon' MAP: No valid partition found at md0 MAP: No valid partition found at md0 MAP: No valid partition found at md1 MAP: No valid partition found at md1 MAP: No valid partition found at md2 MAP: No valid partition found at md2 *** Populating /var .. *** Loading configuration files .. *** Restoring from /dev/map/cfg .. 1+0 records in 1+0 records out 65536 bytes transferred in 0.090021 secs (728007 bytes/sec) gunzip: invalid compressed data--crc error etc/cfg/manifest etc/master.passwd etc/group etc/cfg/rc.conf 8 blocks *** Completed. *** setting up hostname *** Load kernel modules wlan: <802.11 Link Layer> pci0: driver added found-> vendor=0x168c, dev=0x002a, revid=0x01 domain=0, bus=0, slot=0, func=0 class=02-80-00, hdrtype=0x00, mfdev=0 cmdreg=0x0146, statreg=0x0010, cachelnsz=0 (dwords) lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns) intpin=a, irq=255 MSI-X supports 1 message in map 0x10 pci0:0:0:0: reprobing on driver added ath0: <Atheros 9280> at device 0.0 on pci0 ath0: Lazy allocation of 0x10000 bytes rid 0x10 type 3 at 0x10000000 ath0: ath_pci_attach: looking up firmware @ 'pcib.0.bus.0.0.0.eeprom_firmware' ath0: ath_pci_attach: EEPROM firmware @ 0xc6ecd000 ath0: [HT] enabling HT modes ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 stream STBC transmit enabled ath0: [HT] 2 RX streams; 2 TX streams ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps ath0: 2T2R ath0: 11ng MCS 20MHz ath0: MCS 0-7: 6.5Mbps - 65Mbps ath0: MCS 8-15: 13Mbps - 130Mbps ath0: 11ng MCS 40MHz: ath0: MCS 0-7: 13.5Mbps - 135Mbps ath0: MCS 8-15: 27Mbps - 270Mbps ath0: 11ng MCS 40MHz SGI: ath0: MCS 0-7: 15Mbps - 150Mbps ath0: MCS 8-15: 30Mbps - 300Mbps ath0: AR9280 mac 128.2 RF5133 phy 13.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 ath0: Use hw queue 1 for WME_AC_BE traffic ath0: Use hw queue 0 for WME_AC_BK traffic ath0: Use hw queue 2 for WME_AC_VI traffic ath0: Use hw queue 3 for WME_AC_VO traffic ath0: Use hw queue 8 for CAB traffic ath0: Use hw queue 9 for beacons ath0: using multicast key search Falling back to <Software, Yarrow> random adaptor random: <Software, Yarrow> initialized *** bringing up loopback .. *** Starting networking via /etc/rc.d/base/net dev.ath.0.txq_mcastq_maxdepth: 512 -> 32 sysctl: unknown oid 'dev.ath.1.txq_mcastq_maxdepth': No such file or directory *** Interface: arge0: start *** Interface: arge0: done *** Interface: wlan0: start wlan0: bpf attached wlan0: bpf attached wlan0: Ethernet address: 10:6f:3f:db:29:2c ifconfig: unknown/undefined channel number 36 flags 0x0 *** Starting hostapd.. Configuration file: /etc/cfg/hostapd.wlan0.conf Could not open configuration file '/etc/cfg/hostapd.wlan0.conf' for reading. *** Interface: wlan0: done *** Interface: bridge0: start bridge0: bpf attached bridge0: Ethernet address: 2e:69:31:76:5d:ba arge0: promiscuous mode enabled bridge0: link state changed to UP *** Interface: bridge0: done *** Default password/login databases .. *** inetd *** Done!

FreeBSD/mips (freebsd-wifi-build) (ttyu0)

login: }}}

Clone this wiki locally