This patch adds "REQUIRE_IMAGE_METADATA=1" requirement for the MR26 and
MR32, with REQUIRE_IMAGE_METADATA explicitly 0 elsewhere. This is based
upon bcm63xx's base-files/lib/upgrade/platform.sh.
Signed-off-by: Matthew Hagan <mnhagan88@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16634
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
RAMFS_COPY_BIN='osafeloader oseama otrx truncate'
PART_NAME=firmware
+REQUIRE_IMAGE_METADATA=0
BCM53XX_FW_FORMAT=
BCM53XX_FW_BOARD_ID=
board="$(board_name)"
case "$board" in
- # Ideally, REQUIRE_IMAGE_METADATA=1 would suffice
- # but this would require converting all other
- # devices too.
meraki,mr26 | \
meraki,mr32)
- nand_do_platform_check "${board//,/_}" "$1"
- return $?
+ # NAND sysupgrade
+ return 0
;;
*)
platform_other_check_image "$1"
case "$(board_name)" in
meraki,mr26 | \
meraki,mr32)
+ REQUIRE_IMAGE_METADATA=1
CI_KERNPART="part.safe"
nand_do_upgrade "$1"
;;