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 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$$$$$$$$$$$$$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608] bytes, now writing... flash-addr 0xBF060000 - 0xBF62FFFF search sector 0xbf060000 - 0xbf62ffff BANK #1 (6 : 98) 000 PPPP.Poooooooooooooooooooooooooo 032 oooooooooooooooooooooooooooooooo 064 oooooooooooooooooooooooooooooooo 096 ooo............................. 128 ................................ 160 ................................ 192 ................................ 224 ................................ BANK #2 (-1 : -1) 000 ................................ 032 ................................ 064 ................................ 096 ................................ 128 ................................ 160 ................................ 192 ................................ 224 ................................ First 0x6 last 0x62 sector size 0x10000 98 Erased 93 sectors Copy to Flash... Copy 6084608 byte to Flash... write data: 81f00020 --> bf060000 (len:5cd800) 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-09 19:17:29 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 994017 Bytes = 970.7 kB Load Address: 80050000 Entry Point: 80050100 Verifying Checksum ... crc32_fw: bf060040 - bf152b20 (len:000f2ae1) calc... crc32_fw: range1 bf060040 - bf152b20 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 Config3=0x20 Physical memory chunk(s): 0x4ea000 - 0x3ffffff, 61956096 bytes (15126 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-CURRENT #21 r255422M: Mon Sep 9 12:16:37 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 0x804e3604. real memory = 67108864 (65536K bytes) Physical memory chunk(s): 0x0057e000 - 0x03eb6fff, 60002304 bytes (14649 pages) avail memory = 59281408 (56MB) random device not loaded; using insecure entropy null: mem: nexus0: clock0: on nexus0 Timecounter "MIPS32" frequency 200000000 Hz quality 800 Event timer "MIPS32" frequency 200000000 Hz quality 800 argemdio0: at mem 0x1a000000-0x1a000fff on nexus0 mdio0: on argemdio0 mdioproxy0: on mdio0 arswitch0: on mdio0 miibus0: on arswitch0 ukphy0: 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: 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: 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: 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: on mdio1 apb0 at irq 4 on nexus0 uart0: <16550 or compatible> on apb0 uart0: console (115200,n,8,1) uart0: fast interrupt 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: 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 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 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: 160000x1e90000, data=0x1e90000 "/dev/map/rootfs" MAP: 1ff0000x10000, data=0x10000 "/dev/map/cfg" map/rootfs.uncompress: GEOM_ULZMA image found map/rootfs.uncompress: 174 x 131072 blocks MAP: No valid partition found at map/rootfs.uncompress 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 9 19:17:17 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 .. dd: /dev/map/cfg: Input/output error 0+0 records in 0+0 records out 0 bytes transferred in 0.003863 secs (0 bytes/sec) gunzip: (stdin): unexpected end of file 0 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: 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 random adaptor random: 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: 76:ff:f1:ac:f0:9c 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: