You are here

Loading AREDN on Bullet m2

14 posts / 0 new
Last post
AE5MT
Loading AREDN on Bullet m2

Newbie here am, I understanding the install instructions correctly there is no current way of installing AREDN software on Bullet m2 running Airos version 5.6.2
Please tell me I am wrong. I have will have to use TTL recovery on one bullet. but if there is no current way of getting the AREDN  software on the Bullet there is no point of recovery anyway.

Thanks
Brian AE5MT
 

ke6bxt
ke6bxt's picture
You will first need to flash
You will first need to flash it to autos version 5.5 or earlier and then flash to the AREDN firmware.
N4HAI
Bullet M2 XM 5.6.11 - TFTP Firmware v 3.20.3.1 Fails

I cannot download ARDEN firmware to the Bullet M2HP Titanium.  

- Version: XM 5.16.15
- I upgraded from .11, downloaded from ui.com and using the AirOS utility, hoping that'd resolve the issue
- I saw a lot of notes around downgrading to AirOS 5.5, but I do not see that on their firmware download page, and a little apprehensive to use the link in a comment below; do we know it's safe?
- This is a friend's Bullet, so I don't want to brick it
- Yes, I'm holding reset as I power it up, for about 30 seconds, until I see multicolor flashing, peering into the bottom of the M2.
- WHICH VERSION of firmware should I use? 
----- aredn-3.20.3.1-ar71xx-ubnt-bullet-m-factory.bin
----- aredn-3.20.3.1-ar71xx-ubnt-rocket-m-ti-factory.bin
I see that they are different:
N4HAImbp:Downloads thomasfoy$ diff *factory.bin
Binary files aredn-3.20.3.1-ar71xx-ubnt-bullet-m-factory.bin and aredn-3.20.3.1-ar71xx-ubnt-rocket-m-ti-factory.bin differ


Any suggestions?  

1) TFTP Output: (yes, I was using bin, etc.)
. . .
received ACK <block=13056>
sent DATA <block=13057, 412 bytes>
received ERROR <code=2, msg=Firmware check failed>
Error code 512: Firmware check failed
Sent 6684672 bytes in 12.0 seconds


2) Someone suggested posting dmesg output.  Here it is...

XM.v5.6.15-sign.31612.170908.1458# dmesg

[    0.000000] Linux version 2.6.32.68 (buildd@builder) (gcc version 4.1.2) #1 Fri Sep 8 14:59:27 EEST 2017

[    0.000000] flash_size passed from bootloader = 0

[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)

[    0.000000] Determined physical RAM map:

[    0.000000]  memory: 02000000 @ 00000000 (usable)

[    0.000000] Initrd not found or empty - disabling initrd

[    0.000000] Zone PFN ranges:

[    0.000000]   Normal   0x00000000 -> 0x00002000

[    0.000000] Movable zone start PFN for each node

[    0.000000] early_node_map[1] active PFN ranges

[    0.000000]     0: 0x00000000 -> 0x00002000

[    0.000000] On node 0 totalpages: 8192

[    0.000000] free_area_init_node: node 0, pgdat 802aaf80, node_mem_map 81000000

[    0.000000]   Normal zone: 64 pages used for memmap

[    0.000000]   Normal zone: 0 pages reserved

[    0.000000]   Normal zone: 8128 pages, LIFO batch:0

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128

[    0.000000] Kernel command line: console=tty0 root=31:03 rootfstype=squashfs init=/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) panic=3 quiet

[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)

[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.

[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes

[    0.000000] Writing ErrCtl register=00000000

[    0.000000] Readback ErrCtl register=00000000

[    0.000000] Memory: 29380k/32768k available (2204k kernel code, 3388k reserved, 520k data, 136k init, 0k highmem)

[    0.000000] Hierarchical RCU implementation.

[    0.000000] NR_IRQS:128

[    0.000000] plat_time_init: plat time init done

[    0.000000] Console: colour dummy device 80x25

[    0.000000] console [tty0] enabled

[    0.000000] Calibrating delay loop... 265.21 BogoMIPS (lpj=132608)

[    0.022000] Mount-cache hash table entries: 512

[    0.025000] NET: Registered protocol family 16

[    0.027000] ===== ar7240_platform_init: 0

[    0.027000] PCIe WLAN H/W found [tries: 1]

[    0.027000] PCI init:ar7240_pcibios_init

[    0.027000] ar7240_pcibios_init(368): PCI CMD write: 0x356

[    0.027000] registering PCI controller with io_map_base unset

[    0.035000] bio: create slab <bio-0> at 0

[    0.037000] usbcore: registered new interface driver usbfs

[    0.037000] usbcore: registered new interface driver hub

[    0.037000] usbcore: registered new device driver usb

[    0.038000] pci 0000:00:00.0: reg 10 64bit mmio: [0x10000000-0x1000ffff]

[    0.039000] pci 0000:00:00.0: supports D1

[    0.039000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot

[    0.039000] pci 0000:00:00.0: PME# disabled

[    0.039000] Returning IRQ 48

[    0.040000] Switching to clocksource MIPS

[    0.043000] NET: Registered protocol family 2

[    0.044000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

[    0.045000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)

[    0.045000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

[    0.045000] TCP: Hash tables configured (established 1024 bind 1024)

[    0.045000] TCP reno registered

[    0.046000] NET: Registered protocol family 1

[    0.046000] AR7240 GPIOC major 0

[    0.048000] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.048000] msgmni has been set to 57

[    0.049000] io scheduler noop registered (default)

[    0.074000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled

[    0.076000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A

[    0.077000] 6 cmdlinepart partitions found on MTD device ar7240-nor0

[    0.077000] Creating 6 MTD partitions on "ar7240-nor0":

[    0.077000] 0x000000000000-0x000000040000 : "u-boot"

[    0.079000] 0x000000040000-0x000000050000 : "u-boot-env"

[    0.080000] 0x000000050000-0x000000150000 : "kernel"

[    0.081000] 0x000000150000-0x0000007b0000 : "rootfs"

[    0.083000] mtd: partition "rootfs" set to be root filesystem

[    0.083000] 0x0000007b0000-0x0000007f0000 : "cfg"

[    0.084000] 0x0000007f0000-0x000000800000 : "EEPROM"

[    0.086000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

[    0.117000] Port Status c000004

[    0.117000] ar7240-ehci ar7240-ehci.0: ATH EHCI

[    0.117000] ar7240-ehci ar7240-ehci.0: new USB bus registered, assigned bus number 1

[    0.118000] ehci_reset Intialize USB CONTROLLER in host mode: 3

[    0.120000] ehci_reset Port Status c000000

[    0.120000] ar7240-ehci ar7240-ehci.0: irq 3, io mem 0x1b000000

[    0.121000] ehci_reset Intialize USB CONTROLLER in host mode: 3

[    0.122000] ehci_reset Port Status c000000

[    0.128000] ar7240-ehci ar7240-ehci.0: USB 2.0 started, EHCI 1.00

[    0.128000] usb usb1: configuration #1 chosen from 1 choice

[    0.129000] hub 1-0:1.0: USB hub found

[    0.129000] hub 1-0:1.0: 1 port detected

[    0.130000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

[    0.130000] u32 classifier

[    0.130000]     Performance counters on

[    0.130000]     input device check on

[    0.130000]     Actions configured

[    0.132000] TCP westwood registered

[    0.132000] NET: Registered protocol family 10

[    0.137000] NET: Registered protocol family 17

[    0.137000] Bridge firewalling registered

[    0.137000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>

[    0.137000] All bugs added by David S. Miller <davem@redhat.com>

[    0.137000] ar7240wdt_init: Registering WDT success

[    0.146000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.

[    0.147000] Freeing unused kernel memory: 136k freed

[    0.157000] Please be patient, while AirOS loads ...

[    1.285000] Algorithmics/MIPS FPU Emulator v1.5

[    1.756000] ubnthal: module license 'Proprietary' taints kernel.

[    1.756000] Disabling lock debugging due to kernel taint

[    1.802000] ubnthal: initializing...

[    1.802000] ath-gpio 2.0 initialised

[    1.802000] ubnthal: initialised, board found, sysid = 0xe2d2, name = Bullet M2 Titanium

[    1.802000] ubnthal: host_board_t size: 7576B, boards table size: 525kB

[   10.976000] AG7240: Length per segment 1536

[   10.976000] AG7240: skb_overhead 64, shinfo: 344

[   10.976000] AG7240: RX sizes - 2k_fit: 1614, reserve: 0

[   10.976000] AG7240: Max segments per packet 1

[   10.976000] AG7240: Max tx descriptor count    80

[   10.976000] AG7240: Max rx descriptor count    252

[   10.976000] AG7240: fifo cfg 3 01f00140

[   10.976000] AG7240CHH: Mac address for unit 0

[   10.976000] AG7240CHH: 68:72:51:85:dc:9f

[   11.182000] AG7240CHH: Mac address for unit 1

[   11.182000] AG7240CHH: 6a:72:51:85:dc:9f

[   11.756000] SCSI subsystem initialized

[   12.563000] PPP generic driver version 2.4.2

[   12.757000] PPP MPPE Compression module registered

[   12.791000] NET: Registered protocol family 24

[   13.189000] URD Init

[   14.219000] ath_hal: 0.9.17.1 (AR5416, DEBUG, REGOPS_FUNC, 11D)

[   14.708000] wlan: 0.8.4.2 (Atheros/multi-bss)

[   14.853000] wlan: mac acl policy registered

[   15.016000] wlan_me: Version 0.1

[   15.016000] Copyright (c) 2008 Atheros Communications, Inc. All Rights Reserved

[   15.140000] usbcore: registered new interface driver cdc_acm

[   15.140000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters

[   15.371000] usbcore: registered new interface driver usbserial

[   15.371000] USB Serial support registered for generic

[   15.371000] usbcore: registered new interface driver usbserial_generic

[   15.371000] usbserial: USB Serial Driver core

[   15.538000] Initializing USB Mass Storage driver...

[   15.538000] usbcore: registered new interface driver usb-storage

[   15.538000] USB Mass Storage support registered.

[   15.639000] USB Serial support registered for GSM modem (1-port)

[   15.640000] usbcore: registered new interface driver option

[   15.640000] option: v0.7.2:USB Driver for GSM modems

[   15.830000] USB Serial support registered for Sierra USB modem

[   15.830000] usbcore: registered new interface driver sierra

[   15.830000] sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems

[   15.975000] fuse init (API version 7.13)

[   16.581000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved

[   18.023000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved

[   18.709000] ath_pci: 0.9.4.5 (Atheros/multi-bss)

[   18.709000] PCI: Setting latency timer of device 0000:00:00.0 to 64

[   18.715000] ar5416Attach: Mac Chip.Rev 0x80.2 PCI devid 0x2a

[   18.718000] ath_hal: Ubiquiti Merlin (0777:e2d2)

[   18.719000] ath_hal: NF adjust values: 5G - 0/0/0/0/0/0, 2G: -110/0/0/-110/0/0

[   18.775000] wifi0: Atheros 9280: mem=0x10000000, irq=48 hw_base=0xb0000000

[   19.689000] ubnt_poll: Initializing polling module...

[   19.689000] ubnt_poll: Initializing packet classifier...

[   19.690000] ubnt_poll: OS timer frequency 1000 Hz

[   19.762000] rssi-leds 1.2 loaded

[   19.849000] ubnt_poll: Attaching hooks...

[   19.914000] ubnt_poll: TX CTRL configured with 0/18/200/0/6/0/0

[   19.915000] ubnt_poll: Initializing STA ranging engine

[   19.915000] ubnt_poll: Setting timing params to min:1000 max:3000 offset:3000 tx_time: 3000 init: 5

[   19.915000] ubnt_poll: Setting aggregation params to non-txop:0 tx-op:0 scheduling:0

[   19.915000] ubnt_poll: Setting TXOP Window parameters to size:25 timeout-perc:5

[   19.915000] ubnt_poll: AR7240 CPU Freq set at 400 MHz, using auxillary timer at 40 KHz

[   19.915000] ubnt_poll: Module started in STA mode

[   20.014000] ubnt_poll_set_noack_rate: was set auto_rate 1 mcs_index 0

[   20.392000] Ebtables v2.0 registered

[   21.001000] device eth0 entered promiscuous mode

[   21.007000] device ath0 entered promiscuous mode

[   21.013000] device eth1 entered promiscuous mode

[   21.064000] ag7240_ring_alloc Allocated 1920 at 0x80a48800

[   21.064000] ag7240_ring_alloc Allocated 6048 at 0x8186c000

[   21.065000] Virian MDC CFG Value ==> 6

[   21.065000] Setting PHY...

[   24.091000] AG7240: enet unit:0 phy:4 is up...GMii 100Mbps full duplex

[   24.091000] AG7240: done cfg2 0x7135 ifctl 0x10000 miictrl

[   24.091000] Virian MDC CFG Value ==> 6

[   24.091000] AG7240: enet unit 0 phy 4 mode 0x4c04

[   24.138000] device wifi0 entered promiscuous mode

[   24.138000] ADDRCONF(NETDEV_UP): ath0: link is not ready

[   24.163000] br0: port 1(eth0) entering learning state

[   25.163000] br0: port 1(eth0) entering forwarding state

[   29.281000] ag7240_ring_alloc Allocated 1920 at 0x80a97800

[   29.281000] ag7240_ring_alloc Allocated 6048 at 0x80b94000

[   29.283000] Virian MDC CFG Value ==> 6

[   29.283000] ATHRS26: resetting s26

[   29.396000] ATHRS26: s26 reset done

[   29.403000] Setting PHY...

[   30.478000] ADDRCONF(NETDEV_UP): eth1: link is not ready

[  377.846000] Snoop Dump:

[  377.846000]   No Routers(PIM)

[  377.846000]   No Routers(PIM)  count  0

[  377.846000]   misc   0

[  377.846000]     EMPTY

XM.v5.6.15-sign.31612.170908.1458#


3) Here's the cat ouput on /dev/mtd0

 

XM.v5.6.15-sign.31612.170908.1458# cat /dev/mtd0 | grep -i u-boot

U-Boot 1.1.4.2-s1031 (May  4 2017 - 15:26:57)

U-Boot

'mtdids' - linux kernel mtd device id <-> u-boot device id mapping

mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)

256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)

u-boot-env

u-boot-env is invalid, overiding with default.

Setting U-Boot environment variables

u-boot

Will not overwrite u-boot partition! Skipped.

mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)

XM.v5.6.15-sign.31612.170908.1458#


 

nc8q
nc8q's picture
GUI download ARDEN firmware to the Bullet M2HP Titanium

aredn-3.20.3.1-ar71xx-ubnt-bullet-m-factory.bin

Seems to me that you need to 'TFTP put' the above file on the node.

I have one Bullet M2 XM. It is not a Titanium.

I have been successful using the TFTP method to 'flash' the firmware onto my Bullet and numerous other devices.

- WHICH VERSION of firmware should I use?
aredn-3.20.3.1-ar71xx-ubnt-bullet-m-factory.bin

Yes, that looks like the correct file to me.

IIRC downgrading AirOS was to be used to allow the AirOS GUI to load the firmware.
Now-a-days it is recommended to use the TFTP method.

Please give the TFTP method another try.
https://arednmesh.readthedocs.io/en/latest/arednGettingStarted/installing_firmware.html#ubiquiti-first-install-process

I hope this helps.
Chuck
 

AE5MT
How via TFTP or airos
Thanks for the quick reply
How is the best way to flash it to autos 5.5 via TFTP or Airos and where do i download Autos Versions 5.5?
WU2S
WU2S's picture
Link to AirOS 5,5
AE5MT
So Let me see if i have this right
So let see if i have this right so i don't brick another node 
I need to down load this version of the AirOS to dowgrade the From 5.6.2 to http://dl.ubnt.com/firmwares/XN-fw/v5.5.11/XM.v5.5.11.28002.150723.1344.bin
Then I need to use TFTP to load it into the Bullet m2 using the command tftp -i 192.168.1.20 [File name from above] 
Then load the Factory AREDN via the AirOS GUI interface 
is this correct Thank for all of your help I really do apprecite it.
Brian - AE5MT


 
WU2S
WU2S's picture
Corrected TFTP command
The correct command is:
tftp -i 192.168.1.20 put XM.v5.5.11.v5.5.11.28002.150723.1344.bin
Notice the word "put" in the command line
 
AE6XE
AE6XE's picture
Brian,   a minor but
Brian,   a minor but significant clarification.   You need to load the xm.v5.5.11 airos image from the airOS v5.6 UI, not via tftp.    The UI upload is the step to downgrade the bootloader on the device to have one compatible with AREDN 3.16.1.x.      The 'tftp' process does not downgrade the bootloader.   (I'm fairly sure this is in the instructions in the download section on the web site.)

If you load the nighty builds, then you can simply just load it with tftp.   We've gotten past this limitation.

Joe AE6XE
kf7nqw
Bullet M2 or M2HP?
Make sure the Bullet is NOT an M2 but an M2HP. You can't flash the M2, something about not enough memory if I am correct.
AE5MT
Fail to resolve Host
Ok I have successfully downgraded my Bullet m2HP to the correct firmware. reran the AREDN U-BOOT program and got  a GOOD/GOOD. so I preceded to install the ARDEN factory firmware that appeared to be a success. while following the download instructions on the ARDEN download site. reset my network connection to obtain ip and dns automatically.  went to my web browser and typed http://localnode:8080 and got failed to resolve host. when i checked my network status the ip address said 169.254.161.193 with a subnet of 255.255.0.0 any thought as to what might have went wrong.

Thanks to everyone on here for there help and patience while i go this learning curve,

Thanks
Brian -AE5MT 
k1ky
k1ky's picture
Fail to resolve Host
Your computer isn't seeing the device via DHCP.  Might try reboot of your computer - verify it's network settings to DHCP and accept new network connection when discovered by Windows.
AE5MT
We have a ARDEN node
Ok just for the record i was a combination of two things the ARDEN node need to be unplugged and the compute rebooted after the computer comes back up reconnect the node and it should acquire.

Thanks to everyone for all there input and help, I really do appreciate it. 
Brian AE5MT

  
WU2S
WU2S's picture
Congratulations
Happy to hear that you resolved the problems and got everything working.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer