aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts3
-rw-r--r--target/linux/ramips/image/mt76x8.mk2
2 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts b/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts
index f8c024a85d..c3ea41bbf6 100644
--- a/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts
+++ b/target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts
@@ -146,7 +146,8 @@
};
partition@50000 {
- compatible = "openwrt,trx";
+ compatible = "brcm,trx";
+ brcm,trx-magic = <0x746f435c>;
label = "firmware";
reg = <0x50000 0x7c0000>;
};
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index 59559c4164..49b3c860dc 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -68,7 +68,7 @@ define Device/buffalo_wcr-1166ds
BUFFALO_TAG_VERSION := 9.99
BUFFALO_TAG_MINOR := 9.99
IMAGES += factory.bin
- IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
+ IMAGE/sysupgrade.bin := trx -M 0x746f435c | pad-rootfs | append-metadata
IMAGE/factory.bin := trx -M 0x746f435c | pad-rootfs | append-metadata | \
buffalo-enc WCR-1166DS $$(BUFFALO_TAG_VERSION) -l | \
buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | buffalo-dhp-image