diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-03-04 02:49:38 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-04 02:57:19 +0000 |
commit | 1d412235a57f3359d1c7bb63bfebce50c56caee6 (patch) | |
tree | 2f62856c5dda498879734ff1671c0d7e8b57a3c3 /target/linux/mediatek/image/mt7622.mk | |
parent | 20caa68fec4fe033f72c9d488639f8dd2bcfa02c (diff) | |
download | upstream-1d412235a57f3359d1c7bb63bfebce50c56caee6.tar.gz upstream-1d412235a57f3359d1c7bb63bfebce50c56caee6.tar.bz2 upstream-1d412235a57f3359d1c7bb63bfebce50c56caee6.zip |
mediatek: mt7622: check firmware metadata
All mt7622 devices except for the UBI-variant of the mt7622-rfb1 carry
metadata appended to the sysupgrade image.
Add it for the mt7622-rfb1-ubi as well and check it on sysupgrade to
avoid accidentally flashing firmware for the wrong device (or variant
or future DEVICE_COMPAT_VERSION).
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/image/mt7622.mk')
-rw-r--r-- | target/linux/mediatek/image/mt7622.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk index 11185ba52a..0de1c375b2 100644 --- a/target/linux/mediatek/image/mt7622.mk +++ b/target/linux/mediatek/image/mt7622.mk @@ -129,7 +129,7 @@ define Device/mediatek_mt7622-rfb1-ubi IMAGES += factory.bin IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \ check-size $$$$(IMAGE_SIZE) - IMAGE/sysupgrade.bin := sysupgrade-tar + IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata DEVICE_PACKAGES := kmod-usb-ohci kmod-usb2 kmod-usb3 kmod-ata-ahci-mtk endef TARGET_DEVICES += mediatek_mt7622-rfb1-ubi |