Difference between revisions of "Mesh/Flashing extender nodes"

Jump to navigation Jump to search
→‎Firmware check failure: minimizing serial output with firmware check failure, replacing official firmware flash with only links
(adding instructions for using serial to run tftp for successful flash of sudowrt)
(→‎Firmware check failure: minimizing serial output with firmware check failure, replacing official firmware flash with only links)
Line 51: Line 51:
=== Firmware check failure ===
=== Firmware check failure ===


If you attempt to flash the extender and receive a 'Firmware check failed' error, then you have a version of the NSM5 that is protected from being flashed via the TFTP method. You will need to obtain a serial to USB interface (USB to UART TTL Module Serial Converter, 5 pin) and use it to flash the firmware.
If you attempt to flash the extender and receive a 'Firmware check failed' error, then you have a version of the NSM5 that is protected from being flashed via the default TFTP method. You will need to obtain a serial to USB interface (USB to UART TTL Module Serial Converter, 5 pin) and use it to flash the firmware.


   $ ./flasher.js openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
   $ ./flasher.js openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin
Line 59: Line 59:
   [Error: (Server) Firmware check failed]
   [Error: (Server) Firmware check failed]


==== TFTP Serial Output ====
When connected to the NSM5 via a serial connection, a similar error is displayed when attempting to load the SudoWRT firmware image.


When booting with the reset button held down on a Ubiquity NSM5, the following output is displayed.
  U-Boot 1.1.4-s958 (Jun 10 2015 - 10:56:20)
 
  DRAM:  64 MB
  Flash:  8 MB (0xc2, 0x20, 0x17)
  Net:  AR8236
  eth0, eth1
  Board: Ubiquiti Networks AR9342 board (e855-22585.1122.0030)
  Radio: 0777:e855
  Reset: Normal
  Hit any key to stop autoboot:  0
   Setting default IP 192.168.1.20
   Setting default IP 192.168.1.20
   Starting TFTP server...
   Starting TFTP server...
Line 86: Line 74:
   Firmware check failed! (1)
   Firmware check failed! (1)


==== TFTP with Official Firmware ====
==== NSM5 Official Firmware ====
 
You can download the official firmware image from Ubiquity - [https://www.ubnt.com/download/airmax-m/nanostationm/default/airos-xw-board-firmware-v564 airOS for XW board firmware v5.6.4] - [http://dl.ubnt.com/firmwares/XW-fw/v5.6.3/XW.v5.6.3.28591.151130.1735.bin airOS for XW board firmware v5.6.3]
 
Then you can start the TFTP server
 
  ar7240> urescue
  Setting default IP 192.168.1.20
  Starting TFTP server...
  Using eth0 (192.168.1.20), address: 0x81000000
  Waiting for connection: |
 
From your machine, configured as 192.168.1.10, use TFTP to upload the official image
 
  $ tftp 192.168.1.20
  tftp> put XW.v5.6.4.28924.160331.1238.bin
  Transfer timed out.
 
The file uploads, and as expected the image does not result in a firmware check error.
 
  Receiving file from 192.168.1.10:56564
  Received 7296551 bytes
  Firmware Version: XW.ar934x.v5.6.4.28924.160331.1238
 
This produces no change in the boot output. I try the v5.6.3 firmware.
 
  Receiving file from 192.168.1.10:36771
  Received 7293587 bytes
  Firmware Version: XW.ar934x.v5.6.3.28591.151130.1735
 
The TFTP client times out, but I wait for the firmware message on the serial output to change. Nothing happens. Reboot the device. No changes in the image detected.


  ## Booting image at 9f050000 ...
Official firmware from Ubiquity Nanostation M5 (NSM5)
    Image Name:  MIPS Ubiquiti Linux-2.6.32.68
    Created:      2016-03-31  9:39:16 UTC
    Image Type:  MIPS Linux Kernel Image (lzma compressed)
    Data Size:    955842 Bytes = 933.4 kB
    Load Address: 80002000
    Entry Point:  80002000
    Verifying Checksum at 0x9f050040 ...OK
    Uncompressing Kernel Image ... OK


  Starting kernel ...
* [https://www.ubnt.com/download/airmax-m/nanostationm/default/airos-xw-board-firmware-v564 airOS for XW board firmware v5.6.4]
 
* [http://dl.ubnt.com/firmwares/XW-fw/v5.6.3/XW.v5.6.3.28591.151130.1735.bin airOS for XW board firmware v5.6.3]
  Booting Atheros AR934x


=== USB to Serial Connection ===
=== USB to Serial Connection ===
128

edits

Navigation menu