<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 12, 2016 at 10:54 PM, Bill Moffitt <span dir="ltr"><<a href="mailto:bmoffitt@ayrstone.com" target="_blank">bmoffitt@ayrstone.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I got a new batch of LocoM2 units, and they won't flash using the "recovery" (tftp) method - it says,<br>
<br>
received ERROR <code=2, msg=Firmware check failed><br>
Error code 2: Firmware check failed<br>
<br>
I tried flashing it through the AirOS web interface, and it accepted the firmware, but the unit didn't boot. I took it apart and connected the serial cable, and this is what I saw:<br>
<br>
20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #25 Mon May 12 16:14:26 PDT 2014<br>
[ 0.000000] bootconsole [early0] enabled<br>
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)<br>
[ 0.000000] SoC: Atheros AR7241 rev 1<br>
[ 0.000000] Clocks: CPU:390.000MHz, DDR:390.000MHz, AHB:195.000MHz, Ref:5.000MHz<br>
[ 0.000000] Determined physical RAM map:<br>
[ 0.000000] memory: 02000000 @ 00000000 (usable)<br>
[ 0.000000] Initrd not found or empty - disabling initrd<br>
[ 0.000000] Zone PFN ranges:<br>
[ 0.000000] Normal 0x00000000 -> 0x00002000<br>
[ 0.000000] Movable zone start PFN for each node<br>
[ 0.000000] Early memory PFN ranges<br>
[ 0.000000] 0: 0x00000000 -> 0x00002000<br>
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128<br>
[ 0.000000] Kernel command line: board=UBNT-NM console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd<br>
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)<br>
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)<br>
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)<br>
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.<br>
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes<br>
[ 0.000000] Writing ErrCtl register=00000000<br>
[ 0.000000] Readback ErrCtl register=00000000<br>
[ 0.000000] Memory: 29116k/32768k available (2115k kernel code, 3652k reserved, 407k data, 208k init, 0k highmem)<br>
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1<br>
[ 0.000000] NR_IRQS:51<br>
[ 0.000000] Calibrating delay loop... 259.27 BogoMIPS (lpj=1296384)<br>
[ 0.070000] pid_max: default: 32768 minimum: 301<br>
[ 0.070000] Mount-cache hash table entries: 512<br>
[ 0.080000] NET: Registered protocol family 16<br>
[ 0.080000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79<br>
[ 0.090000] MIPS: machine is Ubiquiti Nanostation M<br>
[ 0.090000] registering PCI controller with io_map_base unset<br>
[ 0.500000] bio: create slab <bio-0> at 0<br>
[ 0.510000] PCI host bridge to bus 0000:00<br>
[ 0.510000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]<br>
[ 0.520000] pci_bus 0000:00: root bus resource [io 0x0000]<br>
[ 0.520000] pci 0000:00:00.0: fixup device configuration<br>
[ 0.530000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]<br>
[ 0.530000] pci 0000:00:00.0: using irq 40 for pin 1<br>
[ 0.540000] Switching to clocksource MIPS<br>
[ 0.540000] NET: Registered protocol family 2<br>
[ 0.550000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br>
[ 0.550000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)<br>
[ 0.560000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)<br>
[ 0.560000] TCP: Hash tables configured (established 1024 bind 1024)<br>
[ 0.570000] TCP reno registered<br>
[ 0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)<br>
[ 0.580000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)<br>
[ 0.590000] NET: Registered protocol family 1<br>
[ 0.610000] squashfs: version 4.0 (2009/01/31) Phillip Lougher<br>
[ 0.620000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.<br>
[ 0.630000] msgmni has been set to 56<br>
[ 0.630000] io scheduler noop registered<br>
[ 0.630000] io scheduler deadline registered (default)<br>
[ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled<br>
[ 0.670000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A<br>
[ 0.670000] console [ttyS0] enabled, bootconsole disabled<br>
[ 0.670000] console [ttyS0] enabled, bootconsole disabled<br>
[ 0.690000] m25p80 spi0.0: found mx25l6405d, expected m25p80<br>
[ 0.690000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)<br>
[ 0.700000] 7 cmdlinepart partitions found on MTD device spi0.0<br>
[ 0.710000] Creating 7 MTD partitions on "spi0.0":<br>
[ 0.710000] 0x000000000000-0x000000040000 : "u-boot"<br>
[ 0.720000] 0x000000040000-0x000000050000 : "u-boot-env"<br>
[ 0.720000] 0x000000050000-0x000000150000 : "kernel"<br>
[ 0.730000] 0x000000150000-0x0000007b0000 : "rootfs"<br>
[ 0.740000] mtd: partition "rootfs" set to be root filesystem<br>
[ 0.740000] mtd: partition "rootfs_data" created automatically, ofs=360000, len=450000<br>
[ 0.750000] 0x000000360000-0x0000007b0000 : "rootfs_data"<br>
[ 0.760000] 0x0000007b0000-0x0000007f0000 : "cfg"<br>
[ 0.770000] 0x0000007f0000-0x000000800000 : "EEPROM"<br>
[ 0.770000] 0x000000050000-0x0000007b0000 : "firmware"<br>
[ 0.790000] ag71xx_mdio: probed<br>
[ 0.790000] eth0: Atheros AG71xx at 0xb9000000, irq 4<br>
[ 1.350000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]<br>
[ 1.360000] eth1: Atheros AG71xx at 0xba000000, irq 5<br>
[ 1.920000] eth1: Found an AR7240/AR9330 built-in switch<br>
[ 2.950000] TCP cubic registered<br>
[ 2.950000] NET: Registered protocol family 17<br>
[ 2.950000] 8021q: 802.1Q VLAN Support v1.8<br>
[ 2.970000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.<br>
[ 2.970000] Freeing unused kernel memory: 208k freed<br>
- preinit -<br>
Press the [f] key and hit [enter] to enter failsafe mode<br>
- regular preinit -<br>
jffs2 not ready yet; using ramdisk<br>
- init -<br>
[ 9.230000] Compat-drivers backport release: compat-drivers-2013-01-21-1<br>
[ 9.230000] Backport based on wireless-testing.git master-2013-02-22<br>
[ 9.240000] compat.git: wireless-testing.git<br>
[ 9.270000] cfg80211: Calling CRDA to update world regulatory domain<br>
[ 9.280000] cfg80211: World regulatory domain updated:<br>
[ 9.280000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)<br>
[ 9.290000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br>
[ 9.300000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)<br>
[ 9.310000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)<br>
[ 9.320000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br>
[ 9.320000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br>
[ 9.670000] usbcore: registered new interface driver usbfs<br>
[ 9.680000] usbcore: registered new interface driver hub<br>
[ 9.680000] usbcore: registered new device driver usb<br>
[ 10.200000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)<br>
[ 10.230000] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=40<br>
[ 10.240000] cfg80211: Calling CRDA for country: US<br>
[ 10.250000] cfg80211: Regulatory domain changed to country: US<br>
[ 10.250000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)<br>
[ 10.260000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)<br>
[ 10.270000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)<br>
[ 10.270000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br>
[ 10.280000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br>
[ 10.290000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)<br>
[ 10.300000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)<br>
[ 10.340000] PPP generic driver version 2.4.2<br>
[ 10.510000] ip_tables: (C) 2000-2006 Netfilter Core Team<br>
[ 10.630000] NET: Registered protocol family 24<br>
[ 10.650000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver<br>
[ 10.680000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)<br>
[ 10.910000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver<br>
<br>
Please press Enter to activate this console. [ 14.030000] device eth0 entered promiscuous mode<br>
[ 31.230000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0<br>
[ 31.250000] jffs2_build_filesystem(): unlocking the mtd device... done.<br>
[ 31.250000] jffs2_build_filesystem(): erasing all blocks after the end marker...<br>
[ 31.270000] Newly-erased block contained word 0x19852003 at offset 0x00440000<br>
[ 31.280000] Newly-erased block contained word 0x19852003 at offset 0x00430000<br>
[ 31.290000] Newly-erased block contained word 0x19852003 at offset 0x00420000<br>
[ 31.300000] Newly-erased block contained word 0x19852003 at offset 0x00410000<br>
[ 31.310000] Newly-erased block contained word 0x19852003 at offset 0x00400000<br>
[ 31.330000] Newly-erased block contained word 0x19852003 at offset 0x003f0000<br>
[ 31.340000] Newly-erased block contained word 0x19852003 at offset 0x003e0000<br>
[ 31.350000] Newly-erased block contained word 0x19852003 at offset 0x003d0000<br>
[ 31.360000] Newly-erased block contained word 0x0 at offset 0x003c0000<br>
[ 31.370000] Newly-erased block contained word 0xdeadc0de at offset 0x003b0000<br>
[ 31.380000] Newly-erased block contained word 0xdeadc0de at offset 0x003a0000<br>
[ 31.390000] Newly-erased block contained word 0x4a75fa8e at offset 0x00390000<br>
[ 31.400000] Newly-erased block contained word 0x529688b3 at offset 0x00380000<br>
[ 31.410000] Newly-erased block contained word 0x72c5c469 at offset 0x00370000<br>
[ 31.420000] Newly-erased block contained word 0x37d3b7b1 at offset 0x00360000<br>
[ 31.430000] Newly-erased block contained word 0x3701cf35 at offset 0x00350000<br>
[ 31.450000] Newly-erased block contained word 0xe92b7c18 at offset 0x00340000<br>
[ 31.460000] Newly-erased block contained word 0x9509712e at offset 0x00330000<br>
[ 31.470000] Newly-erased block contained word 0x60acb07d at offset 0x00320000<br>
[ 31.480000] Newly-erased block contained word 0x47a1a3d9 at offset 0x00310000<br>
[ 31.490000] Newly-erased block contained word 0xe212a57b at offset 0x00300000<br>
[ 31.500000] Newly-erased block contained word 0x503dddd7 at offset 0x002f0000<br>
[ 31.510000] Newly-erased block contained word 0xdab1df97 at offset 0x002e0000<br>
[ 31.520000] Newly-erased block contained word 0xcfb10ba9 at offset 0x002d0000<br>
[ 31.530000] Newly-erased block contained word 0x3ce9160b at offset 0x002c0000<br>
[ 31.540000] Newly-erased block contained word 0xe9f4632c at offset 0x002b0000<br>
[ 31.550000] Newly-erased block contained word 0x62ff3bc1 at offset 0x002a0000<br>
[ 31.560000] Newly-erased block contained word 0x2e6fe819 at offset 0x00290000<br>
[ 31.580000] Newly-erased block contained word 0x57385080 at offset 0x00280000<br>
[ 31.590000] Newly-erased block contained word 0x247953e9 at offset 0x00270000<br>
[ 31.600000] Newly-erased block contained word 0x3b06bbb0 at offset 0x00260000<br>
[ 31.610000] Newly-erased block contained word 0x2da7a328 at offset 0x00250000<br>
[ 31.620000] Newly-erased block contained word 0xffff3ead at offset 0x00240000<br>
[ 31.630000] Newly-erased block contained word 0x335623ff at offset 0x00230000<br>
[ 31.640000] Newly-erased block contained word 0x3726f738 at offset 0x00220000<br>
[ 31.650000] Newly-erased block contained word 0xc0f98fd4 at offset 0x00210000<br>
[ 31.660000] Newly-erased block contained word 0xca7dc293 at offset 0x00200000<br>
[ 31.670000] Newly-erased block contained word 0x857378b2 at offset 0x001f0000<br>
[ 31.680000] Newly-erased block contained word 0x9861d4fe at offset 0x001e0000<br>
[ 31.690000] Newly-erased block contained word 0x22a76231 at offset 0x001d0000<br>
[ 31.700000] Newly-erased block contained word 0xf0b375b8 at offset 0x001c0000<br>
[ 31.710000] Newly-erased block contained word 0xd33a9001 at offset 0x001b0000<br>
[ 31.720000] Newly-erased block contained word 0x89397348 at offset 0x001a0000<br>
[ 31.730000] Newly-erased block contained word 0x83d192f2 at offset 0x00190000<br>
[ 31.740000] Newly-erased block contained word 0xca2178ad at offset 0x00180000<br>
[ 31.750000] Newly-erased block contained word 0x6cabc8b3 at offset 0x00170000<br>
[ 31.760000] Newly-erased block contained word 0x38ee4330 at offset 0x00160000<br>
[ 31.770000] Newly-erased block contained word 0x64b6aa0c at offset 0x00150000<br>
[ 31.780000] Newly-erased block contained word 0x7a5b7560 at offset 0x00140000<br>
[ 31.800000] Newly-erased block contained word 0xe177e91 at offset 0x00130000<br>
[ 31.810000] Newly-erased block contained word 0xd37014b5 at offset 0x00120000<br>
[ 31.820000] Newly-erased block contained word 0xd837cbc0 at offset 0x00110000<br>
[ 31.830000] Newly-erased block contained word 0x6bd36a94 at offset 0x00100000<br>
[ 31.850000] Newly-erased block contained word 0xfa3e9f50 at offset 0x000f0000<br>
[ 31.850000] Newly-erased block contained word 0x467bb66e at offset 0x000e0000<br>
[ 31.870000] Newly-erased block contained word 0x540ba61b at offset 0x000d0000<br>
[ 31.880000] Newly-erased block contained word 0x2ff93485 at offset 0x000c0000<br>
[ 31.890000] Newly-erased block contained word 0x858a231 at offset 0x000b0000<br>
[ 31.900000] Newly-erased block contained word 0xc7651bcd at offset 0x000a0000<br>
[ 31.910000] Newly-erased block contained word 0x82440040 at offset 0x00090000<br>
[ 31.920000] Newly-erased block contained word 0xac9d2906 at offset 0x00080000<br>
[ 31.940000] Newly-erased block contained word 0xe21295c2 at offset 0x00070000<br>
[ 31.950000] Newly-erased block contained word 0x8cba2c3e at offset 0x00060000<br>
[ 31.960000] Newly-erased block contained word 0xcd35e173 at offset 0x00050000<br>
[ 31.970000] Newly-erased block contained word 0xa9d4a3b7 at offset 0x00040000<br>
[ 31.980000] Newly-erased block contained word 0xcd4325 at offset 0x00030000<br>
[ 31.990000] Newly-erased block contained word 0xd3604763 at offset 0x00020000<br>
[ 32.010000] Newly-erased block contained word 0x8a38aa45 at offset 0x00010000<br>
[ 32.020000] Newly-erased block contained word 0xdeadc0de at offset 0x00000000<br>
[ 32.020000] done.<br>
[ 32.030000] JFFS2 notice: (1164) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.<br>
<br>
I'm flashing Chaos Calmer. The radio has a MAC address starting with 68:72, which is not new (in the past, UBNT has "signaled" a change by changing the MAC address prefix). It is still an "XM" device (only the M5 seems to have moved to "XW").<br>
<br>
Has anyone else seen this? Is there a fix at hand?</blockquote><div><br></div><div>last i knew at least on the new bullets/picos you needed to downgrade AirOS before you could flash them with WRT, due to ubott changes, wonder if its true for this unit also.....</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Bill Moffitt<br>
Ayrstone Productivity<br>
<a href="http://ayrstone.com" rel="noreferrer" target="_blank">http://ayrstone.com</a><br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</font></span></blockquote></div><br></div></div>