Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2015 13:26:10 +1100
From:      Michael Vale <m.vale@live.com.au>
To:        "freebsd-embedded@freebsd.org" <freebsd-embedded@freebsd.org>
Subject:   Ubiquiti Bullet M (and Rocket M)
Message-ID:  <COL130-W5031D3D9510691C6C5BD9BC4440@phx.gbl>

next in thread | raw e-mail | index | archive | help
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<PerfCount=2CWatchRegs=2CMIPS16=2CEJTA=
G>  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 <Dummy>nexus0: <MIPS32 root nexus>clock0: <Generic MIPS32 tick=
er> on nexus0Timecounter "MIPS32" frequency 195000000 Hz quality 800Event t=
imer "MIPS32" frequency 195000000 Hz quality 800argemdio0: <Atheros AR71xx =
built-in ethernet interface=2C MDIO controller> at mem 0x1a000000-0x1a000ff=
f on nexus0mdio0: <MDIO> on argemdio0mdioproxy0: <MII/MDIO proxy=2C MDIO si=
de> on mdio0arswitch0: <Atheros AR7240 Ethernet Switch> 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: <GPIO controller> on gp=
io0gpiobus0: <GPIO bus> on gpio0gpioled0: <GPIO led> at pin(s) 0 on gpiobus=
0gpioled1: <GPIO led> at pin(s) 1 on gpiobus0gpioled2: <GPIO led> at pin(s)=
 11 on gpiobus0gpioled3: <GPIO led> 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: <PCI bus> on pcib0pci0: <network> at device 0.0 (no driv=
er attached)arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19=
000000-0x19000fff irq 2 on nexus0arge0: Overriding MAC from EEPROMmiiproxy0=
: <MII/MDIO proxy=2C MII side> 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: <Atheros AR71xx built-in e=
thernet interface> 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: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0spibu=
s0: <spibus bus> on spi0mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0mx2=
5l0: m25p64=2C sector 65536 bytes=2C 128 sectorsar71xx_wdog0: <Atheros AR71=
XX watchdog timer> 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 <Yarrow>ath0:=
 <Atheros 9280> 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
 		 	   		  =



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?COL130-W5031D3D9510691C6C5BD9BC4440>