Ubiquiti Bullet M (and Rocket M)

Michael Vale m.vale at live.com.au
Fri Jan 9 02:27:18 UTC 2015


Hi.
I've used the PICOSTATION_M2HP kernel config in -HEAD and produced some images for the UBNT XM series.
Now they boot okay, but arge0 doesn't attach so there is no ethernetworking.., and something is wrong with the random number generator, if i try and cat /dev/random it says Resource temporarily unavailable, as a result, 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 MBPCIe WLAN Module found (#1).Net:   eth0, 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 compressed)   Data Size:    929588 Bytes = 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=390 MHzCPU DDR Frequency=390 MHzCPU AHB Frequency=195 MHzplatform frequency: 390 MHzCPU reference clock: 5 MHzCPU MDIO clock: 5 MHzarguments:   a0 = 00000006  a1 = a1f4bfb0  a2 = a1f4c460  a3 = 00000000Cmd line:argv is invalidEnvironment:envp is invalidCache info:  picache_stride    = 4096  picache_loopcount = 16  pdcache_stride    = 4096  pdcache_loopcount = 8cpu0: 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<PerfCount,WatchRegs,MIPS16,EJTAG>  Config3=0x20KDB: debugger backends: ddbKDB: current backend: ddbCopyright (c) 1992-2015 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 11.0-CURRENT #3 r276847M: Fri Jan  9 13:07:32 AEDT 2015    masked at charlotte:/usr/obj/mips/mips.mips/usr/src/sys/PICOSTATION_M2HP mipsgcc version 4.2.1 20070831 patched [FreeBSD]real memory  = 33554432 (32768K bytes)avail memory = 28241920 (26MB)random device not loaded/active; using insecure pseudo-random number generatorrandom: 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 built-in ethernet interface, MDIO controller> at mem 0x1a000000-0x1a000fff on nexus0mdio0: <MDIO> on argemdio0mdioproxy0: <MII/MDIO proxy, MDIO side> 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 attach returned 6apb0 at irq 4 on nexus0uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0uart0: console (115200,n,8,1)gpio0: <Atheros AR71XX GPIO driver> at mem 0x18040000-0x18040fff irq 2 on apb0gpio0: [GIANT-LOCKED]gpio0: gpio pinmask=0x1883gpioc0: <GPIO controller> on gpio0gpiobus0: <GPIO bus> on gpio0gpioled0: <GPIO led> at pin(s) 0 on gpiobus0gpioled1: <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 on nexus0pcib0: found EEPROM at 0x1fff1000 on 0.0.0pcib0: EEPROM firmware: 0x1fff1000 @ 4096 bytespcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registeredpci0: <PCI bus> on pcib0pci0: <network> at device 0.0 (no driver attached)arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0arge0: Overriding MAC from EEPROMmiiproxy0: <MII/MDIO proxy, MII side> on arge0arge0: can't attach proxyarge0: finishing attachment, phymask 0010, proxy null arge0: unable to attach PHY 4: 6device_attach: arge0 attach returned 6arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0arge1: finishing attachment, phymask 0000, proxy null arge1: Ethernet address: 00:15:6d:dd:2e:f4spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0spibus0: <spibus bus> on spi0mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0mx25l0: m25p64, sector 65536 bytes, 128 sectorsar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0ar71xx_wdog0: Previous reset was due to watchdog timeoutTimecounters tick every 1.000 msecmap/rootfs.uncompress: GEOM_ULZMA image foundmap/rootfs.uncompress: 171 x 131072 blocksTrying to mount root from ufs:/dev/map/rootfs.uncompress []...warning: no time-of-day clock registered, system time will not be set accuratelyJan  9 02:07:48 init: login_getclass: unknown class 'daemon'*** Populating /var ..*** Loading configuration files ..*** Restoring from /dev/map/cfg .. gunzip: invalid compressed 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 enabledath0: [HT] 1 RX streams; 1 TX streamsath0: AR9280 mac 128.2 RF5133 phy 13.0ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0*** bringing up loopback ..*** Default password/login databases ..*** Starting networking via /etc/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.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: startwlan0: Ethernet address: 00:15:6d:dc:2e:f3ar5416PerCalibrationN: NF calibration didn't finish; delaying CCA*** Interface: wlan0: done*** Interface: bridge0: startbridge0: Ethernet 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: 
 		 	   		  


More information about the freebsd-embedded mailing list