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

next in thread | previous in thread | raw e-mail | index | archive | help
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<PerfCount=2CWatchRegs=2CMIPS16=2CEJT=
AG>  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 <Dummy>nexus0: <MIPS32 root nexus>clock0: <Generic MIPS32 ticker> =
on nexus0Timecounter "MIPS32" frequency 195000000 Hz quality 800Event timer=
 "MIPS32" frequency 195000000 Hz quality 800argemdio0: <Atheros AR71xx buil=
t-in ethernet interface=2C MDIO controller> at mem 0x1a000000-0x1a000fff on=
 nexus0mdio0: <MDIO> on argemdio0mdioproxy0: <MII/MDIO proxy=2C MDIO side> =
on mdio0arswitch0: <Atheros AR7240 Ethernet Switch> 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: <Atheros AR71XX GPIO driver> at mem 0=
x18040000-0x18040fff irq 2 on apb0gpio0: [GIANT-LOCKED]gpio0: gpio pinmask=
=3D0x1883gpioc0: <GPIO controller> on gpio0gpiobus0: <GPIO bus> on gpio0gpi=
oled0: <GPIO led> at pin(s) 0 on gpiobus0gpioled1: <GPIO led> at pin(s) 1 o=
n gpiobus0gpioled2: <GPIO led> at pin(s) 11 on gpiobus0gpioled3: <GPIO led>=
 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: <PCI bus> on pci=
b0pci0: <network> at device 0.0 (no driver attached)arge0: <Atheros AR71xx =
built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0ar=
ge0: Overriding MAC from EEPROMmiiproxy0: <MII/MDIO proxy=2C MII side> 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: <Atheros AR71xx built-i=
n ethernet interface> 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: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0sp=
ibus0: <spibus bus> on spi0mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0=
mx25l0: m25p64=2C sector 65536 bytes=2C 128 sectorsar71xx_wdog0: <Atheros A=
R71XX watchdog timer> 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 <Yarrow>ath0: <Atheros 9280> 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"
 		 	   		  =



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