openwrt/target/linux/ath79/image
Nick Hainke cfa670bf16 ath79: add missing UBNT_REVISION
The UBNT_REVISION was already added for the ubnt-xw target because:

  U-boot bootloader on M-XW devices expects factory image revision
  version in specific format. On airOS v6.1.7 with `U-Boot 1.1.4-s1039
  (May 24 2017 - 15:58:18)` bootloader checks if the revision major(?)
  number is actually a number, but in currently generated images there's
  OpenWrt text and so the check fails

  ...

  By placing arbitrary correct number first in major version, we make the
  bootloader happy and we can flash factory images over TFTP again.

  commit d42a7c4699 ("ath79: ubnt-m-xw: Fix factory image flashing using TFTP recovery method")

Fixes errors in the form of (tftp flashing):
  sent DATA <block=8577, 412 bytes>
  received ERROR <code=2, msg=Firmware check failed>
  Error code 2: Firmware check failed

The missing UBNT_REVISION was not noticed before, since the
UBNT_REVISION field for the ubnt-xm target was also set to:
  "42.OpenWrt-..."
Probably, UBNT_REVISION for the ubnt-xm target was set by the ubnt-xw
and was never overridden somewhere else. However, it is missing and
should be part of the ubnt-xm device.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2021-12-27 03:07:22 +01:00
..
bin ath79: add support for PISEN WMB001N 2019-08-08 21:00:59 +08:00
lzma-loader ath79: lzma-loader: allow setting custom kernel magic 2021-04-08 09:20:59 +02:00
common-buffalo.mk ath79: use common device definition for Buffalo devices 2020-09-16 17:31:03 +02:00
common-mikrotik.mk treewide: call check-size before append-metadata 2021-07-10 19:40:10 +02:00
common-netgear.mk treewide: call check-size before append-metadata 2021-07-10 19:40:10 +02:00
common-senao.mk ath79: add recipe for common setup with loader-okli-compile 2021-10-02 21:26:12 +02:00
common-tp-link.mk treewide: call check-size before append-metadata 2021-07-10 19:40:10 +02:00
common-yuncore.mk ath79: add support for YunCore TFTP image generation 2019-11-25 17:32:46 +01:00
generic-tp-link.mk ath79: add support for TP-Link EAP225 v1 2021-12-05 18:49:14 +01:00
generic-ubnt.mk ath79: add missing UBNT_REVISION 2021-12-27 03:07:22 +01:00
generic.mk ath79: add support for WD My Net N600 2021-12-11 00:50:02 +01:00
Makefile ath79: lzma-loader: fix & re-enable per-board CONFIG_BOARD_DEV 2021-10-22 21:25:18 +02:00
mikrotik.mk Revert "ath79: add support for Mikrotik LHG 5" 2021-11-23 00:45:39 +01:00
nand.mk ath79: add support for Netgear R6100 2021-11-03 12:45:40 +01:00
tiny-netgear.mk ath79: netgear: trim down uImage customisations 2020-11-25 16:33:49 +01:00
tiny-tp-link.mk ath79: add support for TP-Link TL-WA901ND v3 2020-08-08 20:40:48 +02:00
tiny.mk treewide: call check-size before append-metadata 2021-07-10 19:40:10 +02:00