From owner-freebsd-embedded@FreeBSD.ORG Fri Jan 9 02:27:18 2015 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4F93EAEC for ; Fri, 9 Jan 2015 02:27:18 +0000 (UTC) Received: from COL004-OMC1S18.hotmail.com (col004-omc1s18.hotmail.com [65.55.34.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0DB70E14 for ; Fri, 9 Jan 2015 02:27:17 +0000 (UTC) Received: from COL130-W50 ([65.55.34.9]) by COL004-OMC1S18.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 8 Jan 2015 18:26:11 -0800 X-TMN: [z4MIrv7zVamDbUzeZP2KL5QpBNBqCxHn32AuAxRwPWk=] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: "freebsd-embedded@freebsd.org" Subject: Ubiquiti Bullet M (and Rocket M) Date: Fri, 9 Jan 2015 13:26:10 +1100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 09 Jan 2015 02:26:11.0319 (UTC) FILETIME=[A2249070:01D02BB3] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jan 2015 02:27:18 -0000 Hi. I've used the PICOSTATION_M2HP kernel config in -HEAD and produced some ima= ges for the UBNT XM series. Now they boot okay=2C but arge0 doesn't attach so there is no ethernetworki= ng..=2C and something is wrong with the random number generator=2C if i try= and cat /dev/random it says Resource temporarily unavailable=2C as a resul= t=2C I cannot enable WPA in hostap. Everything else appears to be running as it should. Here is a log of my boot process U-Boot 1.1.4.2-s594 (Dec 5 2012 - 15:23:07) Board: Ubiquiti Networks XM board (rev 0.0 e202)DRAM: 32 MBFlash: 8 MBPCI= e WLAN Module found (#1).Net: eth0=2C eth1Hit any key to stop autoboot: = 0 ## Booting image at 9f050000 ... Image Name: FreeBSD Created: = 2015-01-09 2:08:14 UTC Image Type: MIPS Linux Kernel Image (lzma comp= ressed) Data Size: 929588 Bytes =3D 907.8 kB Load Address: 80050000 = Entry Point: 80050100 Verifying Checksum ... OK Uncompressing Kernel= Image ... OK Starting kernel ... CPU platform: Atheros AR7240 rev 2CPU Frequency=3D390 MHzCPU DDR Frequency= =3D390 MHzCPU AHB Frequency=3D195 MHzplatform frequency: 390 MHzCPU referen= ce clock: 5 MHzCPU MDIO clock: 5 MHzarguments: a0 =3D 00000006 a1 =3D a1= f4bfb0 a2 =3D a1f4c460 a3 =3D 00000000Cmd line:argv is invalidEnvironment= :envp is invalidCache info: picache_stride =3D 4096 picache_loopcount = =3D 16 pdcache_stride =3D 4096 pdcache_loopcount =3D 8cpu0: MIPS Techn= ologies processor v116.147 MMU: Standard TLB=2C 16 entries L1 i-cache: 4 = ways of 512 sets=2C 32 bytes per line L1 d-cache: 4 ways of 256 sets=2C 32= bytes per line Config1=3D0x9ee3519e Config3=3D0x20KDB: debugger backends: ddbKDB: current backend: ddbCopyr= ight (c) 1992-2015 The FreeBSD Project.Copyright (c) 1979=2C 1980=2C 1983= =2C 1986=2C 1988=2C 1989=2C 1991=2C 1992=2C 1993=2C 1994 The Regents= of the University of California. All rights reserved.FreeBSD is a register= ed trademark of The FreeBSD Foundation.FreeBSD 11.0-CURRENT #3 r276847M: Fr= i Jan 9 13:07:32 AEDT 2015 masked@charlotte:/usr/obj/mips/mips.mips/usr= /src/sys/PICOSTATION_M2HP mipsgcc version 4.2.1 20070831 patched [FreeBSD]r= eal memory =3D 33554432 (32768K bytes)avail memory =3D 28241920 (26MB)rand= om device not loaded/active=3B using insecure pseudo-random number generato= rrandom: entropy device infrastructure driverrandom: selecting highest prio= rity adaptor nexus0: clock0: on nexus0Timecounter "MIPS32" frequency 195000000 Hz quality 800Event t= imer "MIPS32" frequency 195000000 Hz quality 800argemdio0: at mem 0x1a000000-0x1a000ff= f on nexus0mdio0: on argemdio0mdioproxy0: on mdio0arswitch0: on mdio0arswitch0: = attaching PHY 0 failedarswitch0: attaching PHY 1 failedarswitch0: attaching= PHY 2 failedarswitch0: attaching PHY 3 faileddevice_attach: arswitch0 atta= ch returned 6apb0 at irq 4 on nexus0uart0: <16550 or compatible> at mem 0x1= 8020003-0x1802001a irq 3 on apb0uart0: console (115200=2Cn=2C8=2C1)gpio0: <= Atheros AR71XX GPIO driver> at mem 0x18040000-0x18040fff irq 2 on apb0gpio0= : [GIANT-LOCKED]gpio0: gpio pinmask=3D0x1883gpioc0: on gp= io0gpiobus0: on gpio0gpioled0: at pin(s) 0 on gpiobus= 0gpioled1: at pin(s) 1 on gpiobus0gpioled2: at pin(s)= 11 on gpiobus0gpioled3: at pin(s) 7 on gpiobus0pcib0 at irq 0 o= n nexus0pcib0: found EEPROM at 0x1fff1000 on 0.0.0pcib0: EEPROM firmware: 0= x1fff1000 @ 4096 bytespcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmwar= e' registeredpci0: on pcib0pci0: at device 0.0 (no driv= er attached)arge0: at mem 0x19= 000000-0x19000fff irq 2 on nexus0arge0: Overriding MAC from EEPROMmiiproxy0= : on arge0arge0: can't attach proxyarge0: fini= shing attachment=2C phymask 0010=2C proxy null arge0: unable to attach PHY = 4: 6device_attach: arge0 attach returned 6arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0arge1: finis= hing attachment=2C phymask 0000=2C proxy null arge1: Ethernet address: 00:1= 5:6d:dd:2e:f4spi0: at mem 0x1f000000-0x1f00000f on nexus0spibu= s0: on spi0mx25l0: at cs 0 on spibus0mx2= 5l0: m25p64=2C sector 65536 bytes=2C 128 sectorsar71xx_wdog0: on nexus0ar71xx_wdog0: Previous reset was due to watchdo= g timeoutTimecounters tick every 1.000 msecmap/rootfs.uncompress: GEOM_ULZM= A image foundmap/rootfs.uncompress: 171 x 131072 blocksTrying to mount root= from ufs:/dev/map/rootfs.uncompress []...warning: no time-of-day clock reg= istered=2C system time will not be set accuratelyJan 9 02:07:48 init: logi= n_getclass: unknown class 'daemon'*** Populating /var ..*** Loading configu= ration files ..*** Restoring from /dev/map/cfg .. gunzip: invalid compresse= d data--crc erroretc/cfg/manifestetc/master.passwdetc/groupetc/cfg/rc.conf7= blocks*** Completed.*** setting up hostname*** Load kernel modulesrandom: = SOFT: yarrow init()random: selecting highest priority adaptor ath0:= at device 0.0 on pci0ath0: ath_pci_attach: EEPROM firmware = @ 0x8047d000ath0: [HT] enabling HT modesath0: [HT] 1 stream STBC receive en= abledath0: [HT] 1 RX streams=3B 1 TX streamsath0: AR9280 mac 128.2 RF5133 p= hy 13.0ath0: 2GHz radio: 0x0000=3B 5GHz radio: 0x00c0*** bringing up loopba= ck ..*** Default password/login databases ..*** Starting networking via /et= c/rc.d/base/netdev.ath.0.txq_mcastq_maxdepth: 512 -> 32sysctl: unknown oid = 'dev.ath.1.txq_mcastq_maxdepth': No such file or directorydev.ath.0.hal.for= ce_full_reset: 0 -> 1sysctl: unknown oid 'dev.ath.1.hal.force_full_reset': = No such file or directory*** Interface: arge1: start*** Interface: arge1: d= one*** Interface: wlan0: startwlan0: Ethernet address: 00:15:6d:dc:2e:f3ar5= 416PerCalibrationN: NF calibration didn't finish=3B delaying CCA*** Interfa= ce: wlan0: done*** Interface: bridge0: startbridge0: Ethernet address: 02:3= 2:ce:f5:ba:d0wlan0: promiscuous mode enabledbridge0: link state changed to = UParge1: promiscuous mode enabled*** Interface: bridge0: done*** inetd*** D= one! FreeBSD/mips (freebsd-wifi-build) (ttyu0) login:=20 =