From owner-freebsd-embedded@FreeBSD.ORG Fri Jan 9 02:39:35 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 AE8E1D5 for ; Fri, 9 Jan 2015 02:39:35 +0000 (UTC) Received: from COL004-OMC1S8.hotmail.com (col004-omc1s8.hotmail.com [65.55.34.18]) (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 84B67EEB for ; Fri, 9 Jan 2015 02:39:35 +0000 (UTC) Received: from COL130-W24 ([65.55.34.8]) by COL004-OMC1S8.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Thu, 8 Jan 2015 18:38:29 -0800 X-TMN: [sbkcIy50Sm0EpsoNC5pHuJfbgO3Y/Nl3+ya8Ox2EEHU=] X-Originating-Email: [m.vale@live.com.au] Message-ID: From: Michael Vale To: "freebsd-embedded@freebsd.org" Subject: RE: Ubiquiti Bullet M (and Rocket M) Date: Fri, 9 Jan 2015 13:38:29 +1100 Importance: Normal In-Reply-To: References: MIME-Version: 1.0 X-OriginalArrivalTime: 09 Jan 2015 02:38:29.0813 (UTC) FILETIME=[5A51CE50:01D02BB5] 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:39:35 -0000 Adrian just noted that the random module must be compiled into the kernel. = I've confirmed it works=2C so if somebody wants to add device random to PI= COSTATION_M2HP kernel config that'd be sweet. > From: m.vale@live.com.au > To: freebsd-embedded@freebsd.org > Subject: Ubiquiti Bullet M (and Rocket M) > Date: Fri=2C 9 Jan 2015 13:26:10 +1100 >=20 > Hi. > I've used the PICOSTATION_M2HP kernel config in -HEAD and produced some i= mages for the UBNT XM series. > Now they boot okay=2C but arge0 doesn't attach so there is no ethernetwor= king..=2C and something is wrong with the random number generator=2C if i t= ry and cat /dev/random it says Resource temporarily unavailable=2C as a res= ult=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 MBP= CIe 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 co= mpressed) Data Size: 929588 Bytes =3D 907.8 kB Load Address: 8005000= 0 Entry Point: 80050100 Verifying Checksum ... OK Uncompressing Kern= el Image ... OK > Starting kernel ... > CPU platform: Atheros AR7240 rev 2CPU Frequency=3D390 MHzCPU DDR Frequenc= y=3D390 MHzCPU AHB Frequency=3D195 MHzplatform frequency: 390 MHzCPU refere= nce clock: 5 MHzCPU MDIO clock: 5 MHzarguments: a0 =3D 00000006 a1 =3D a= 1f4bfb0 a2 =3D a1f4c460 a3 =3D 00000000Cmd line:argv is invalidEnvironmen= t:envp is invalidCache info: picache_stride =3D 4096 picache_loopcount= =3D 16 pdcache_stride =3D 4096 pdcache_loopcount =3D 8cpu0: MIPS Tech= nologies 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 3= 2 bytes per line Config1=3D0x9ee3519e Config3=3D0x20KDB: debugger backends: ddbKDB: current backend: ddbCopy= right (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 =20 > 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]real = memory =3D 33554432 (32768K bytes)avail memory =3D 28241920 (26MB)random d= evice not loaded/active=3B using insecure pseudo-random number generatorran= dom: entropy device infrastructure driverrandom: selecting highest priority= adaptor nexus0: clock0: = on nexus0Timecounter "MIPS32" frequency 195000000 Hz quality 800Event timer= "MIPS32" frequency 195000000 Hz quality 800argemdio0: at mem 0x1a000000-0x1a000fff on= nexus0mdio0: on argemdio0mdioproxy0: = on mdio0arswitch0: on mdio0arswitch0: atta= ching PHY 0 failedarswitch0: attaching PHY 1 failedarswitch0: attaching PHY= 2 failedarswitch0: attaching PHY 3 faileddevice_attach: arswitch0 attach r= eturned 6apb0 at irq 4 on nexus0uar > t0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0uart= 0: console (115200=2Cn=2C8=2C1)gpio0: at mem 0= x18040000-0x18040fff irq 2 on apb0gpio0: [GIANT-LOCKED]gpio0: gpio pinmask= =3D0x1883gpioc0: on gpio0gpiobus0: on gpio0gpi= oled0: at pin(s) 0 on gpiobus0gpioled1: at pin(s) 1 o= n gpiobus0gpioled2: at pin(s) 11 on gpiobus0gpioled3: = at pin(s) 7 on gpiobus0pcib0 at irq 0 on nexus0pcib0: found EEPROM at 0x1f= ff1000 on 0.0.0pcib0: EEPROM firmware: 0x1fff1000 @ 4096 bytespcib0: device= EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registeredpci0: on pci= b0pci0: at device 0.0 (no driver attached)arge0: at mem 0x19000000-0x19000fff irq 2 on nexus0ar= ge0: Overriding MAC from EEPROMmiiproxy0: on a= rge0arge0: can't attach proxyarge0: finishing attachment=2C phymask 0010=2C= proxy null arge0: unable to attach PHY=20 > 4: 6device_attach: arge0 attach returned 6arge1: at mem 0x1a000000-0x1a000fff irq 3 on nexus0arge1: fi= nishing attachment=2C phymask 0000=2C proxy null arge1: Ethernet address: 0= 0:15:6d:dd:2e:f4spi0: at mem 0x1f000000-0x1f00000f on nexus0sp= ibus0: on spi0mx25l0: at cs 0 on spibus0= mx25l0: m25p64=2C sector 65536 bytes=2C 128 sectorsar71xx_wdog0: on nexus0ar71xx_wdog0: Previous reset was due to watc= hdog timeoutTimecounters tick every 1.000 msecmap/rootfs.uncompress: GEOM_U= LZMA image foundmap/rootfs.uncompress: 171 x 131072 blocksTrying to mount r= oot from ufs:/dev/map/rootfs.uncompress []...warning: no time-of-day clock = registered=2C system time will not be set accuratelyJan 9 02:07:48 init: l= ogin_getclass: unknown class 'daemon'*** Populating /var ..*** Loading conf= iguration files ..*** Restoring from /dev/map/cfg .. gunzip: invalid compre= ssed data--crc erroretc/cfg/manifes > tetc/master.passwdetc/groupetc/cfg/rc.conf7 blocks*** Completed.*** sett= ing up hostname*** Load kernel modulesrandom: SOFT: yarrow init()random: se= lecting highest priority adaptor ath0: at device 0.0= on pci0ath0: ath_pci_attach: EEPROM firmware @ 0x8047d000ath0: [HT] enabli= ng HT modesath0: [HT] 1 stream STBC receive enabledath0: [HT] 1 RX streams= =3B 1 TX streamsath0: AR9280 mac 128.2 RF5133 phy 13.0ath0: 2GHz radio: 0x0= 000=3B 5GHz radio: 0x00c0*** bringing up loopback ..*** Default password/lo= gin databases ..*** Starting networking via /etc/rc.d/base/netdev.ath.0.txq= _mcastq_maxdepth: 512 -> 32sysctl: unknown oid 'dev.ath.1.txq_mcastq_maxdep= th': No such file or directorydev.ath.0.hal.force_full_reset: 0 -> 1sysctl:= unknown oid 'dev.ath.1.hal.force_full_reset': No such file or directory***= Interface: arge1: start*** Interface: arge1: done*** Interface: wlan0: sta= rtwlan0: Ethernet address: 00:15:6d:dc:2e:f3ar5416PerCalibrationN: NF calib= ration didn't finish=3B delaying > CCA*** Interface: wlan0: done*** Interface: bridge0: startbridge0: Ethe= rnet address: 02:32:ce:f5:ba:d0wlan0: promiscuous mode enabledbridge0: link= state changed to UParge1: promiscuous mode enabled*** Interface: bridge0: = done*** inetd*** Done! > FreeBSD/mips (freebsd-wifi-build) (ttyu0) > login:=20 > =20 > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe=2C send any mail to "freebsd-embedded-unsubscribe@freebsd.= org" =