User Tools

Site Tools


toh:ubiquiti:nanobeam

Ubiquiti NanoBeam M2 and M5

The Ubiquiti Networks® NanoBeam®M devices are CPE equipment for customer locations with one Ethernet port and a 802.11n 2T/2R 2.4 GHz or 5 GHz 300Mbps wireless interface.

The first four devices (NBE-M2-400, NBE-M5-300, NBE-M5-400, NBE-M5-620) are supported by 15.05-rc3. The "factory" ROM image is recognized as non-native and then installed correctly by the AirOS software update page. AirOS snarks "better be familiar with the recovery procedure!"

Warning! There is a bug in the xw line, which includes this device. Please check the bug description

Supported versions

There are two models of NanoBeam devices:

Version/Model Launch Date OpenWrt version supported Chip Latest stable version Notes Tested by
NBE-M5-16 2014 trunk r42549, 14.07 Atheros AR934x 15.05 Works! Ethernet XW bug NOT present! progettoneco.org
NBE-M5-19 2014 trunk r42549, 14.07 Atheros AR934x 15.05 Gigabit ethernet, XW bug present on some models. progettoneco.org
Warning! Do NOT flash if AirOS version is 5.6 or higher!! Downgrade first with AirOS 5.5.x

Initially there were four more devices (with a separate feed and dish antenna) that were later renamed by Ubiquiti as PowerBeam, which are also supported by OpenWrt.

Old Models

Version/Model Launch Date OpenWrt version supported Chip Tested by
NBE-M2-400 2013 (?) Atheros AR934x -
NBE-M5-300 2013 (?) 15.03-rc3 Atheros AR934x
NBE-M5-400 2013 (?) 15.03-rc3 Atheros AR934x Bruce Perens bruce@perens.com 29-August-2015
NBE-M5-620 2013 (?) ? Atheros AR934x -

If you have installed OpenWrt and issue cat /proc/cpuinfo or look trough boot messages XW based hardware should come back as Atheros AR93xx, XM = Atheros AR72xx

Boot and system logs

Original firmware dmesg

[ 0.000000] Linux version 2.6.32.60 (buildd@builder) (gcc version 4.1.2) #1 Thu Apr 3 18:01:56 EEST 2014 [ 0.000000] flash_size passed from bootloader = 8 [ 0.000000] CPU revision is: 0001974c (MIPS 74Kc) [ 0.000000] ath_sys_frequency: cpu srif ddr srif cpu 535 ddr 400 ahb 200 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] User-defined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone PFN ranges: [ 0.000000] Normal 0x00000000 -> 0x00004000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00004000 [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat 802a4a50, node_mem_map 81000000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16256 pages, LIFO batch:3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: console=tty0 root=31:03 rootfstype=squashfs init=/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) mem=64M panic=3 quiet [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 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: 61916k/65536k available (2179k kernel code, 3548k reserved, 524k 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... 266.24 BogoMIPS (lpj=133120) [ 0.022000] Mount-cache hash table entries: 512 [ 0.025000] NET: Registered protocol family 16 [ 0.033000] bio: create slab <bio-0> at 0 [ 0.035000] Switching to clocksource MIPS [ 0.037000] NET: Registered protocol family 2 [ 0.038000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.039000] TCP established hash table entries: 2048 (order: 2, 16384 bytes) [ 0.039000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes) [ 0.039000] TCP: Hash tables configured (established 2048 bind 2048) [ 0.039000] TCP reno registered [ 0.040000] NET: Registered protocol family 1 [ 0.040000] ATH GPIOC major 0 [ 0.042000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.042000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.042000] msgmni has been set to 121 [ 0.043000] io scheduler noop registered (default) [ 0.066000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled [ 0.068000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A [ 0.069000] 6 cmdlinepart partitions found on MTD device ath-nor0 [ 0.069000] Creating 6 MTD partitions on "ath-nor0": [ 0.069000] 0x000000000000-0x000000040000 : "u-boot" [ 0.070000] 0x000000040000-0x000000050000 : "u-boot-env" [ 0.072000] 0x000000050000-0x000000150000 : "kernel" [ 0.073000] 0x000000150000-0x0000007b0000 : "rootfs" [ 0.074000] mtd: partition "rootfs" set to be root filesystem [ 0.074000] 0x0000007b0000-0x0000007f0000 : "cfg" [ 0.075000] 0x0000007f0000-0x000000800000 : "EEPROM" [ 0.077000] u32 classifier [ 0.077000] Performance counters on [ 0.077000] input device check on [ 0.077000] Actions configured [ 0.078000] TCP westwood registered [ 0.078000] NET: Registered protocol family 10 [ 0.082000] NET: Registered protocol family 17 [ 0.082000] Bridge firewalling registered [ 0.082000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> [ 0.082000] All bugs added by David S. Miller <davem@redhat.com> [ 0.082000] athwdt_init: Registering WDT success [ 0.082000] ath_otp_init: Registering OTP success [ 0.083000] ath_clksw_init: Registering Clock Switch Interface success [ 0.089000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3. [ 0.090000] Freeing unused kernel memory: 136k freed [ 0.098000] Please be patient, while AirOS loads ... [ 0.894000] Algorithmics/MIPS FPU Emulator v1.5 [ 5.674000] ar7240-gpio 1.1 initialised [ 5.814000] ATHR_GMAC: Length per segment 1536 [ 5.814000] ATHR_GMAC: skb_overhead 64, shinfo: 344 [ 5.814000] ATHR_GMAC: RX sizes - 2k_fit: 1610, reserve: 0 [ 5.814000] ATHR_GMAC: fifo cfg 3 01f00140 [ 5.814000] AR8035 Detected [ 5.814000] ATHR_GMAC: Mac address for unit 0:bfff0000 [ 5.814000] ATHR_GMAC: fa:ba:da:fa:ba:da [ 6.371000] mac:0 Registering S27.... [ 6.372000] ATHR_GMAC: Max segments per packet : 1 [ 6.372000] ATHR_GMAC: Max tx descriptor count : 128 [ 6.372000] ATHR_GMAC: Max rx descriptor count : 252 [ 6.372000] ATHR_GMAC: Mac capability flags : 4380 [ 6.372000] phy 0 with phyid 0x0000:0x004d - vs AR8236 - 0x004d:0xd043 [ 6.372000] ATHR_GMAC: Mac address for unit 1:bfff0006 [ 6.372000] ATHR_GMAC: fa:ba:da:fa:ba:da [ 6.929000] mac:1 Registering S27.... [ 6.929000] ATHR_GMAC: Max segments per packet : 1 [ 6.929000] ATHR_GMAC: Max tx descriptor count : 128 [ 6.929000] ATHR_GMAC: Max rx descriptor count : 252 [ 6.929000] ATHR_GMAC: Mac capability flags : 4B80 [ 7.361000] PPP generic driver version 2.4.2 [ 7.518000] PPP MPPE Compression module registered [ 7.545000] NET: Registered protocol family 24 [ 7.689000] urd: module license 'Proprietary' taints kernel. [ 7.689000] Disabling lock debugging due to kernel taint [ 7.693000] URD Init [ 8.540000] ath_hal: 0.9.17.1 (AR9380, DEBUG, REGOPS_FUNC, 11D) [ 8.994000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved [ 9.634000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved [ 10.594000] ath_ahb: 9.2.0_U11.14 (Atheros/multi-bss) [ 10.594000] __ath_attach: Set global_scn[0] [ 10.594000] ACBKMinfree = 48 [ 10.594000] ACBEMinfree = 32 [ 10.594000] ACVIMinfree = 16 [ 10.594000] ACVOMinfree = 0 [ 10.594000] CABMinfree = 48 [ 10.594000] UAPSDMinfree = 0 [ 10.599000] Bootstrap clock 40MHz [ 10.603000] ar9300Attach: This Mac Chip Rev 0x300.2 PCI devid 0x31 [ 10.603000] Wasp Enterprise mode: 0x00000000 [ 10.603000] ar9300RadioAttach: Need analog access recipe!! [ 10.627000] Restoring Cal data from Flash [ 10.628000] Using Cal data from Flash 0xbfff1000 [ 10.628000] ath_hal: Ubiquiti Osprey (0777:e825) [ 10.633000] ath_get_caps[5384] rx chainmask mismatch actual 3 sc_chainmak 0 [ 10.633000] ath_get_caps[5359] tx chainmask mismatch actual 3 sc_chainmak 0 [ 10.650000] wifi0: Atheros 9340: mem=0xb8100000, irq=2 [ 11.287000] ubnt_poll: Initializing polling module... [ 11.287000] ubnt_poll: Initializing packet classifier... [ 11.287000] ubnt_poll: OS timer frequency 1000 Hz [ 11.360000] rssi-leds 1.2 loaded [ 11.431000] ubnt_poll: Attaching hooks... [ 11.514000] wlan_vap_create : enter. devhandle=0x83b602c0, opmode=IEEE80211_M_STA, flags=0x3 [ 11.514000] ubnt_poll: TX CTRL configured with 0/18/200/0/6 [ 11.514000] ubnt_poll: Initializing STA ranging engine [ 11.514000] VAP attach: burst beacon mode. [ 11.514000] wlan_vap_create : exit. devhandle=0x83b602c0, opmode=IEEE80211_M_STA, flags=0x3. [ 12.181000] Ebtables v2.0 registered [ 12.572000] device eth0 entered promiscuous mode [ 12.578000] device ath0 entered promiscuous mode [ 12.586000] ERROR:_s27_rd_phy failed:phy:3 reg:0 rd_data:80000000 [ 12.589000] ERROR:_s27_rd_phy failed:phy:3 reg:11 rd_data:80000000 [ 12.592000] ERROR:_s27_rd_phy failed:phy:3 reg:11 rd_data:80000000 [ 12.595000] ERROR:_s27_rd_phy failed:phy:3 reg:11 rd_data:80000000 [ 12.595000] device eth1 entered promiscuous mode [ 12.621000] athr_gmac_ring_alloc Allocated 2048 at 0x83315800 [ 12.622000] athr_gmac_ring_alloc Allocated 4032 at 0x83304000 [ 12.921000] athr_gmac_mii_setup 0 [ 12.921000] WASP ----> AR8035 PHY [ 12.921000] MAC0 MDC is 11 at line 591 [ 12.921000] Setting Drop CRC Errors, Pause Frames and Length Error frames [ 12.923000] Setting PHY... [ 15.944000] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.949000] ADDRCONF(NETDEV_UP): eth0: link is not ready [ 15.954000] ubnt_poll: Setting timing params to min:1000 max:3000 offset:3000 tx_time: 3000 init: 5 [ 15.954000] ubnt_poll: Setting aggregation params to non-txop:0 tx-op:0 scheduling:0 [ 15.954000] ubnt_poll: Setting TXOP Window parameters to size:25 timeout-perc:5 [ 15.954000] ubnt_poll: Module started in STA mode [ 18.965000] ADDRCONF(NETDEV_UP): ath0: link is not ready [ 18.971000] ADDRCONF(NETDEV_UP): ath0: link is not ready [ 24.068000] athr_gmac_ring_alloc Allocated 2048 at 0x8285b000 [ 24.068000] athr_gmac_ring_alloc Allocated 4032 at 0x83318000 [ 24.369000] athr_gmac_mii_setup 1 [ 24.369000] phy 1 with phyid 0x004d:0xd042 - vs AR8032 - 0x004d:0xd023 [ 24.369000] phy 1 with phyid 0x004d:0xd042 - vs AR8032 - 0x004d:0xd023 [ 24.370000] phy 1 with phyid 0x004d:0xd042 - vs AR8032 - 0x004d:0xd023 [ 24.370000] phy 1 with phyid 0x004d:0xd042 - vs AR8032 - 0x004d:0xd023 [ 24.370000] phy 1 with phyid 0x004d:0xd042 - vs AR8032 - 0x004d:0xd023 [ 24.370000] phy 1 with phyid 0x004d:0xd042 - vs AR8032 - 0x004d:0xd023 [ 24.370000] phy 4 with phyid 0x004d:0xd042 - vs AR8035 - 0x004d:0xd072 [ 24.370000] WASP ----> S27 PHY MDIO [ 24.370000] MAC1 MDC is 7 at line 659 [ 24.370000] Setting Drop CRC Errors, Pause Frames and Length Error frames [ 24.370000] ATHRS27: resetting s27 [ 24.472000] ATHRS27: s27 reset done [ 24.486000] Setting PHY... [ 25.556000] ADDRCONF(NETDEV_UP): eth1: link is not ready [ 25.562000] ADDRCONF(NETDEV_UP): eth1: link is not ready [ 30.944000] ATH_MAC_TIMER: MAC 0 PHY 0x04 - LINK NOW UP [link=UP speed=100Mbps duplex=full duplex carrier=0] [ 30.944000] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 30.945000] br0: port 1(eth0) entering learning state [ 31.945000] br0: port 1(eth0) entering forwarding state [ 34.966000] br0: no IPv6 routers present [ 40.996000] eth0: no IPv6 routers present


/proc/cpuinfo

system type		: Atheros AR934x
processor		: 0
cpu model		: MIPS 74Kc V4.12
BogoMIPS		: 266.24
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0000, 0x01b0, 0x05a0, 0x0000]
ASEs implemented	: mips16 dsp
shadow register sets	: 1
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

/proc/cpuinfo (NBE-M5-300, Barrier Breaker 14.07)

system type		: Atheros AR9342 rev 2
machine			: Ubiquiti Nanostation M XW
processor		: 0
cpu model		: MIPS 74Kc V4.12
BogoMIPS		: 266.64
wait instruction	: yes
microsecond timers	: yes
tlb_entries		: 32
extra interrupt vector	: yes
hardware watchpoint	: yes, count: 4, address/irw mask: [0x0000, 0x0ff8, 0x0ff8, 0x0ff8]
isa			: mips1 mips2 mips32r1 mips32r2
ASEs implemented	: mips16 dsp dsp2
shadow register sets	: 1
kscratch registers	: 0
core			: 0
VCED exceptions		: not available
VCEI exceptions		: not available

Flashing

Flashing from the original firmware via SSH

To flash a new firmware image from the original one, follow these steps:

- Find the appropriate image for the device (openwrt-ar71xx-generic-ubnt-loco-m-xw-squashfs-factory.bin) in the downloads page and download it (or upload it from your computer) to the /tmp directory of the device - Use SSH to log into the device and use the fwupdate.real utility:

fwupdate.real -m firmware_image_file.bin -d

Flashing from the original firmware via TFTP (rescue mode)

To flash a new firmware image via TFTP, follow these steps:

- Enter the rescue mode. Power off the device, push the reset button on the device (or the PoE) and keep it pressed. Power on the device, while still pushing the reset button. When all the leds blink at the same time, release the reset button. - Upload the firmware image file via TFTP:

tftp 192.168.1.20
tftp> bin
tftp> trace
Packet tracing on.
tftp> put firmware_image.bin

Flashing process log

XW.v5.5.6# fwupdate.real -m openwrt-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin -d Found mtd block: /dev/mtd0(u-boot) Found mtd block: /dev/mtd1(u-boot-env) Found mtd block: /dev/mtd2(kernel) Found mtd block: /dev/mtd3(rootfs) Found mtd block: /dev/mtd4(cfg) Found mtd block: /dev/mtd5(EEPROM) Got U-Boot variable: mtdparts = mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM) Adding U-Boot partition: u-boot 9F000000 00040000 Adding U-Boot partition: u-boot-env 9F040000 00010000 Adding U-Boot partition: kernel 9F050000 00100000 Adding U-Boot partition: rootfs 9F150000 00660000 Adding U-Boot partition: cfg 9F7B0000 00040000 Adding U-Boot partition: EEPROM 9F7F0000 00010000 Calculating flash size: Adding block: /dev/mtd0("u-boot") - size: 00040000 Adding block: /dev/mtd1("u-boot-env") - size: 00010000 Adding block: /dev/mtd2("kernel") - size: 00100000 Adding block: /dev/mtd3("rootfs") - size: 00660000 Adding block: /dev/mtd4("cfg") - size: 00040000 Adding block: /dev/mtd5("EEPROM") - size: 00010000 Total flash size: 00800000 Flash start: 9F000000 Flash end: 9F800000 Header MAGIC 'OPEN' Current: XW.ar934x.v5.5.6.18861.130830.1623 New ver: XW.ar934x.v6.0.0-OpenWrt-r42092 Versions: New(393216) 6.0.0, Required(328966) 5.5.6 FW Part: "kernel"(1), MAGIC: 'PART', Base: 0x9F050000, DLen: 0x00100000, PLen: 0x00100000 FW Part: "rootfs"(2), MAGIC: 'PART', Base: 0x9F150000, DLen: 0x001E0004, PLen: 0x005A0000 Adding adjusted FW partition: name: 'kernel' flash_base: 0x9F050000 mem_base: 0x80002000 size: 0x00100000 entry_point: 0x80002000 data_len: 0x00100000 desc_cksum: 0x00000000 file_cksum: 0x00000000 =========================== Adding adjusted FW partition: name: 'rootfs' flash_base: 0x9F150000 mem_base: 0xBDBDBDBD size: 0x005A0000 entry_point: 0xBDBDBDBD data_len: 0x001E0004 desc_cksum: 0x00000000 file_cksum: 0x00000000 =========================== Signature MAGIC 'END.' Working(1) with block: /dev/mtd0 Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F000000 + blk->size: 40000 Copying FIS partition: 0 => name: 'u-boot' flash_base: 0x9F000000 mem_base: 0xBDBDBDBD size: 0x00040000 entry_point: 0xBDBDBDBD data_len: 0x00040000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== Working(1) with block: /dev/mtd1 Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F040000 + blk->size: 10000 Copying FIS partition: 1 => name: 'u-boot-env' flash_base: 0x9F040000 mem_base: 0xBDBDBDBD size: 0x00010000 entry_point: 0xBDBDBDBD data_len: 0x00010000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== Working(1) with block: /dev/mtd2 Working(2) with block: /dev/mtd2 End check: 9F050000 + 00100000 <= 9F150000 Creating FIS partition: 2 => name: 'kernel' flash_base: 0x9F050000 mem_base: 0x80002000 size: 0x00100000 entry_point: 0x80002000 data_len: 0x00100000 desc_cksum: 0x00000000 file_cksum: 0x00000000 =========================== Working(1) with block: /dev/mtd2 Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F150000 < blk->base: 9F050000 + blk->size: 100000 Working(1) with block: /dev/mtd3 Working(2) with block: /dev/mtd3 End check: 9F150000 + 005A0000 <= 9F7B0000 Creating FIS partition: 3 => name: 'rootfs' flash_base: 0x9F150000 mem_base: 0xBDBDBDBD size: 0x005A0000 entry_point: 0xBDBDBDBD data_len: 0x001E0004 desc_cksum: 0x00000000 file_cksum: 0x00000000 =========================== Working(3) with block: /dev/mtd4 Copying FIS partition: 4 <= name: 'cfg' flash_base: 0x9F7B0000 mem_base: 0xBDBDBDBD size: 0x00040000 entry_point: 0xBDBDBDBD data_len: 0x00040000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== Working(3) with block: /dev/mtd5 Copying FIS partition: 5 <= name: 'EEPROM' flash_base: 0x9F7F0000 mem_base: 0xBDBDBDBD size: 0x00010000 entry_point: 0xBDBDBDBD data_len: 0x00010000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== New FIS entries count 6 Executing: '/bin/updatefix.sh 328966 393216' '/bin/updatefix.sh 328966 393216' result: 0 Working(1) with block: /dev/mtd0 Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F000000 + blk->size: 40000 Copying FIS partition: 0 => name: 'u-boot' flash_base: 0x9F000000 mem_base: 0xBDBDBDBD size: 0x00040000 entry_point: 0xBDBDBDBD data_len: 0x00040000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== Working(1) with block: /dev/mtd1 Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F050000 < blk->base: 9F040000 + blk->size: 10000 Copying FIS partition: 1 => name: 'u-boot-env' flash_base: 0x9F040000 mem_base: 0xBDBDBDBD size: 0x00010000 entry_point: 0xBDBDBDBD data_len: 0x00010000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== Working(1) with block: /dev/mtd2 Working(2) with block: /dev/mtd2 Unlocking /dev/mtd2(kernel) ... Unlocking device failed: ioctl(MEMUNLOCK): Operation not supported Writing 'kernel ' to /dev/mtd2(kernel ) ... Writing: 0x00100000 bytes with offset 0x00000000 [%0 ] Block on '/dev/mtd2' at 00000000(len: 00010000) has changes. [%6 ] Block on '/dev/mtd2' at 00010000(len: 00010000) has changes. [%12 ] Block on '/dev/mtd2' at 00020000(len: 00010000) has changes. [%18 ] Block on '/dev/mtd2' at 00030000(len: 00010000) has changes. [%25 ] Block on '/dev/mtd2' at 00040000(len: 00010000) has changes. [%31 ] Block on '/dev/mtd2' at 00050000(len: 00010000) has changes. [%37 ] Block on '/dev/mtd2' at 00060000(len: 00010000) has changes. [%43 ] Block on '/dev/mtd2' at 00070000(len: 00010000) has changes. [%50 ] Block on '/dev/mtd2' at 00080000(len: 00010000) has changes. [%56 ] Block on '/dev/mtd2' at 00090000(len: 00010000) has changes. [%62 ] Block on '/dev/mtd2' at 000A0000(len: 00010000) has changes. [%68 ] Block on '/dev/mtd2' at 000B0000(len: 00010000) has changes. [%75 ] Block on '/dev/mtd2' at 000C0000(len: 00010000) has changes. [%81 ] Block on '/dev/mtd2' at 000D0000(len: 00010000) has changes. [%87 ] Block on '/dev/mtd2' at 000E0000(len: 00010000) has changes. [%93 ] Block on '/dev/mtd2' at 000F0000(len: 00010000) has changes. [%100] End check: 9F050000 + 00100000 <= 9F150000 Creating FIS partition: 2 => name: 'kernel' flash_base: 0x9F050000 mem_base: 0x80002000 size: 0x00100000 entry_point: 0x80002000 data_len: 0x00100000 desc_cksum: 0x00000000 file_cksum: 0x00000000 =========================== Working(1) with block: /dev/mtd2 Skipping: artificial: 0, unallocated: 0,writeable: 1024(WRITEABLE: 400, flags: C00), fw.flash_base: 9F150000 < blk->base: 9F050000 + blk->size: 100000 Working(1) with block: /dev/mtd3 Working(2) with block: /dev/mtd3 Unlocking /dev/mtd3(rootfs) ... Unlocking device failed: ioctl(MEMUNLOCK): Operation not supported Writing 'rootfs ' to /dev/mtd3(rootfs ) ... Writing: 0x001E0004 bytes with offset 0x00000000 [%0 ] Block on '/dev/mtd3' at 00000000(len: 00010000) has changes. [%3 ] Block on '/dev/mtd3' at 00010000(len: 00010000) has changes. [%6 ] Block on '/dev/mtd3' at 00020000(len: 00010000) has changes. [%9 ] Block on '/dev/mtd3' at 00030000(len: 00010000) has changes. [%13 ] Block on '/dev/mtd3' at 00040000(len: 00010000) has changes. [%16 ] Block on '/dev/mtd3' at 00050000(len: 00010000) has changes. [%19 ] Block on '/dev/mtd3' at 00060000(len: 00010000) has changes. [%23 ] Block on '/dev/mtd3' at 00070000(len: 00010000) has changes. [%26 ] Block on '/dev/mtd3' at 00080000(len: 00010000) has changes. [%29 ] Block on '/dev/mtd3' at 00090000(len: 00010000) has changes. [%33 ] Block on '/dev/mtd3' at 000A0000(len: 00010000) has changes. [%36 ] Block on '/dev/mtd3' at 000B0000(len: 00010000) has changes. [%39 ] Block on '/dev/mtd3' at 000C0000(len: 00010000) has changes. [%43 ] Block on '/dev/mtd3' at 000D0000(len: 00010000) has changes. [%46 ] Block on '/dev/mtd3' at 000E0000(len: 00010000) has changes. [%49 ] Block on '/dev/mtd3' at 000F0000(len: 00010000) has changes. [%53 ] Block on '/dev/mtd3' at 00100000(len: 00010000) has changes. [%56 ] Block on '/dev/mtd3' at 00110000(len: 00010000) has changes. [%59 ] Block on '/dev/mtd3' at 00120000(len: 00010000) has changes. [%63 ] Block on '/dev/mtd3' at 00130000(len: 00010000) has changes. [%66 ] Block on '/dev/mtd3' at 00140000(len: 00010000) has changes. [%69 ] Block on '/dev/mtd3' at 00150000(len: 00010000) has changes. [%73 ] Block on '/dev/mtd3' at 00160000(len: 00010000) has changes. [%76 ] Block on '/dev/mtd3' at 00170000(len: 00010000) has changes. [%79 ] Block on '/dev/mtd3' at 00180000(len: 00010000) has changes. [%83 ] Block on '/dev/mtd3' at 00190000(len: 00010000) has changes. [%86 ] Block on '/dev/mtd3' at 001A0000(len: 00010000) has changes. [%89 ] Block on '/dev/mtd3' at 001B0000(len: 00010000) has changes. [%93 ] Block on '/dev/mtd3' at 001C0000(len: 00010000) has changes. [%96 ] Block on '/dev/mtd3' at 001D0000(len: 00010000) has changes. [%99 ] Block on '/dev/mtd3' at 001E0000(len: 00000004) has changes. [%100] End check: 9F150000 + 005A0000 <= 9F7B0000 Creating FIS partition: 3 => name: 'rootfs' flash_base: 0x9F150000 mem_base: 0xBDBDBDBD size: 0x005A0000 entry_point: 0xBDBDBDBD data_len: 0x001E0004 desc_cksum: 0x00000000 file_cksum: 0x00000000 =========================== Working(3) with block: /dev/mtd4 Copying FIS partition: 4 <= name: 'cfg' flash_base: 0x9F7B0000 mem_base: 0xBDBDBDBD size: 0x00040000 entry_point: 0xBDBDBDBD data_len: 0x00040000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== Working(3) with block: /dev/mtd5 Copying FIS partition: 5 <= name: 'EEPROM' flash_base: 0x9F7F0000 mem_base: 0xBDBDBDBD size: 0x00010000 entry_point: 0xBDBDBDBD data_len: 0x00010000 desc_cksum: 0xBDBDBDBD file_cksum: 0xBDBDBDBD =========================== New FIS entries count 6 FIS Change: change in partition entry 'kernel'. FIS Change: change in partition entry 'rootfs'. FIS Change: added partition terminator instead of 0xBD. New partition count: 6, changes: 3 Writing U-Boot 'mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),5760k(rootfs),256k(cfg),64k(EEPROM)' Writing U-Boot environment to /dev/mtd1


Tags

toh/ubiquiti/nanobeam.txt · Last modified: 2017/11/29 17:12 by danitool