Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11038 closed defect (fixed)

Ubiquiti Airgrid M5 / upgrade to openwrt fails (imagecheck fails)

Reported by: Bastian Bittorf <bittorf@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: other Version: Trunk
Keywords: Cc:


even after updating AirOS to newest XM-v5.3.5.build11245.bin the upgrade-procedure will fail:

wget -O /tmp/fwupdate.bin http://myserver/openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin
/usr/sbin/fwupdate -m
Invalid version 'XM.ar7240.v5.x.x-OpenWrt-r30671'
/usr/sbin/fwupdate: Firmware update file check failed!

wiki suggest the bullet-m image:

overriding the image-check gives some more output:

XM.v5.3.5.# /sbin/ubntbox fwupdate.real -m /tmp/fwupdate.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=mtdparts=ar7240-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
Current: XM.ar7240.v5.3.5.11245.111219.2046

New ver: XM.ar7240.v5.x.x-OpenWrt-r30671
Versions: New(327680) 5.0.0, Required(327681) 5.0.1
Invalid version 'XM.ar7240.v5.x.x-OpenWrt-r30671'

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by Bastian Bittorf <bittorf@…>

after changing the signature in makefile from 5.x.x to 6.0.0
and doing make target/linux/install it just works. (thanks juhosg for the hint!)

comment:2 Changed 6 years ago by juhosg

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r30712. Thanks!

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.